-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: function 'execLaterFdNative' not provided by package 'later' #203
Comments
Easy local repro steps (using promises instead of httpuv as it's much faster to compile): install.packages("later")
install.packages("promises", type="source")
devtools::install_version("later", "1.3.1") Then restart R and |
#204 takes the approach of looking at later's runtime API version number (kudos to @wch for adding that five years ago!). Another option would be to leave the version number and call @shikokuchuo I know it's getting late there but I'd really like to get this fixed today--do you have a moment for a quick zoom call? I can do the work but would like to have your approval on the approach. |
@jcheng5 I've messaged you on Slack. |
…er (#204) * Graceful later_fd fallback if later_api.h is newer than installed later * Add comments, clearer stub function name * GHA test for issue #203 * Intentionally break GHA test to see if it errors * Try to fix GHA test * Fix GHA * FIX GHA * Undo intentional breakage * Add NEWS * Apply suggestions from code review Co-authored-by: Charlie Gao <[email protected]> --------- Co-authored-by: Charlie Gao <[email protected]>
NOTICE: If you're seeing this error,
install.packages("later")
and restarting R should fix it. If not, please leave a comment includingpackageVersion("later")
This error is happening when a copy of a
LinkingTo: later
package (like httpuv or promises) is installed that was built against later 1.4.0, but the version of later that's actually installed is 1.3.1 or earlier.This is not academic; it happens for many deployed Shiny apps if they are installing binary packages from CRAN or Posit Package Manager.
For example:
httpuv 1.6.15
andlater 1.3.1
. All is well.inst/include/later.h
is trying to load an RCCallable that doesn't exist.The text was updated successfully, but these errors were encountered: