-
Notifications
You must be signed in to change notification settings - Fork 0
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
TESTS: expect_true(inherits(plan(), 'sequential')) -> expect_true(identical(plan(), oplan)) #1
Comments
Actually, it should be: oplan <- plan("list")
...
expect_true(identical(plan(), oplan)) |
Hi Henrik, thank you for taking the time to let us know about this issue. However, even after installing the version of the future package on your GitHub (version 1.19.1), just running library(future)
oplan <- plan("list")
identical(plan(), oplan) returns library(future)
oplan <- plan()
identical(plan(), oplan) returns |
My bad (again), should be: library(future)
oplan <- plan("list")
identical(plan("list"), oplan) |
Excellent, this has been fixed with commit ac0eaa9. Thanks for your help! |
Almost. Right now you're basically testing oplan <- plan("list") at the beginning, before you call your functions that set |
Ah, got it. Ok this should now actually be fixed with 8b48c71 |
Hi, I'm running reverse package dependency checks on future. I do this with the default settings as well as with env var
R_FUTURE_PLAN=multisession
, which will force the default future plan to bemultisession
rather thansequential
. This will further validate that all packages work when running in parallel, e.g. all global variables are properly exported, etc.This results in errors when checking your package because some of your tests assert at the end that
sequential
is still set. You can reproduce this yourself by running:Could you please update to check something like:
The text was updated successfully, but these errors were encountered: