-
Notifications
You must be signed in to change notification settings - Fork 18
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: ‘inherits(future, "Future")’ is not TRUE #107
Comments
Here is a video of the behaviour: future_debug_small.movI believe this might only be happening when I launch the window from RStudio. Thus, a workaround is to simply turn that behaviour off using Edit: No, I can actually reproduce this just clicking "Run App" in RStudio. The behaviour is so inconsistent. |
I also see that error in some shiny-apps, when hitting F5 (reload) sometimes..
I have multiple ExtendedTask in some apps, using this structure:
|
I think putting I was using some delayed start of the multisession..
|
I also randomly get this error |
Describe the bug
When I try to load a promise in the context of starting up a Shiny app, I get the following error:
Error: ‘inherits(future, "Future")’ is not TRUE
This doesn't happen consistently.
The traceback (see below) is interesting. It suggests my promise is of cluster type, even though I have used plan(multisession). If I explicitly set the plan when calling
future_promise
, I still get the same behaviour.Reproduce example
Expected behavior
I expect the promise not to fail.
Traceback
Session information
The text was updated successfully, but these errors were encountered: