Skip to content
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

BUG: future.tests::check(plan = "sequential", tags = "options") tests fail if called more than once #26

Open
HenrikBengtsson opened this issue Jan 13, 2023 · 0 comments
Labels
Milestone

Comments

@HenrikBengtsson
Copy link
Collaborator

Issue

The future() - preserve R options tests fail in interacive mode, if called more than once.

> results <- future.tests::check(plan = "sequential", tags = "options")
── Settings ─────────────────────────────────────────────────────────────────────────────────────────────
- future.tests version      : 0.5.0
- R_FUTURE_TESTS_ROOT       : 
- Option 'future.tests.root': NULL
- Default test set folder   : /home/hb/R/x86_64-pc-linux-gnu-library/4.2-CBI-gcc9/future.tests/test-db
- Max number of workers     : 2
- Timeout                   : N/A

── Running 2 test sets with plan(sequential) ────────────────────────────────────────────────────────────
ℹ Backend package: future 1.30.0.9014
✔ future() - preserve R options (1 test) (182ms)                                
✔ future() - preserve R options (1 test) (107ms)                                

Number of tests: 2

Duration: 346ms

Results: 0 errors| 0 timeouts
> results <- future.tests::check(plan = "sequential", tags = "options")
── Settings ─────────────────────────────────────────────────────────────────────────────────────────────
- future.tests version      : 0.5.0
- R_FUTURE_TESTS_ROOT       : 
- Option 'future.tests.root': NULL
- Default test set folder   : /home/hb/R/x86_64-pc-linux-gnu-library/4.2-CBI-gcc9/future.tests/test-db
- Max number of workers     : 2
- Timeout                   : N/A

── Running 2 test sets with plan(sequential) ────────────────────────────────────────────────────────────
ℹ Backend package: future 1.30.0.9014
✖ future() - preserve R options (1 test) (30ms)                                 
  ✖ lazy=FALSE, globals=TRUE, stdout=TRUE
✖ future() - preserve R options (1 test) (10ms)                                 
  ✖ lazy=FALSE, globals=TRUE, stdout=TRUE

Number of tests: 2

Duration: 77ms

Results: 2 errors| 0 timeouts
@HenrikBengtsson HenrikBengtsson added this to the Next release milestone Jan 13, 2023
@HenrikBengtsson HenrikBengtsson modified the milestones: 0.6.0, Next release Mar 11, 2023
@HenrikBengtsson HenrikBengtsson modified the milestones: 0.7.0, Next release May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant