R Under development (unstable) (2025-06-04 r88278 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > ## This runs testme test script inst/testme/test-future.tests-mirai_multisession.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > future.mirai:::testme("future.tests-mirai_multisession") Test 'future.tests-mirai_multisession' ... Sourcing 9 prologue scripts ... 01/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/001.load.R' 02/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/002.record-state.R' 03/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/030.imports.R' 04/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/050.utils.R' 05/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/090.context.R' 06/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/090.options.R' 07/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/091.envvars.R' 08/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/099.future-setup.R' 09/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_prologue/995.detrius-connections.R' Sourcing 9 prologue scripts ... done Running test script: 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/test-future.tests-mirai_multisession.R' > if (requireNamespace("future.tests")) { + mirai::daemons(0) + future.tests::check("future.mirai::mirai_multisession", timeout = 30, + .... [TRUNCATED] Loading required namespace: future.tests ── Settings ──────────────────────────────────────────────────────────────────── - future.tests version : 0.9.0 - R_FUTURE_TESTS_ROOT : - Option 'future.tests.root': NULL - Default test set folder : D:/RCompile/CRANpkg/lib/4.6/future.tests/test-db - Max number of workers : 2 - Timeout : 30 seconds ── Running 55 test sets with plan(future.mirai::mirai_multisession) ──────────── ℹ Backend package: future.mirai 0.10.0 - future() - conditions \ future() - conditions (1/1) ✔ 1. future() - conditions (1 test) (1.3s) - %<-% - conditions \ %<-% - conditions (1/1) ✔ 2. %<-% - conditions (1 test) (35ms) - future() - muffle conditions \ future() - muffle conditions (1/1) ✔ 3. future() - muffle conditions (1 test) (46ms) - Argument '...' \ Argument '...' (1/1) ✔ 4. Argument '...' (1 test) (20ms) - Argument '...' from parent function \ Argument '...' from parent function (1/1) ✔ 5. Argument '...' from parent function (1 test) (23ms) - Argument '...' - non existing \ Argument '...' - non existing (1/1) ✔ 6. Argument '...' - non existing (1 test) (21ms) - Argument '...' - exception \ Argument '...' - exception (1/1) ✔ 7. Argument '...' - exception (1 test) (22ms) - Early signaling of errors \ Early signaling of errors (1/4) | Early signaling of errors (2/4) / Early signaling of errors (3/4) - Early signaling of errors (4/4) ✔ 8. Early signaling of errors (4 tests) (68ms) - Early signaling of warnings \ Early signaling of warnings (1/4) | Early signaling of warnings (2/4) / Early signaling of warnings (3/4) - Early signaling of warnings (4/4) ✔ 9. Early signaling of warnings (4 tests) (67ms) - Early signaling of messages \ Early signaling of messages (1/4) | Early signaling of messages (2/4) / Early signaling of messages (3/4) - Early signaling of messages (4/4) ✔ 10. Early signaling of messages (4 tests) (70ms) - futureAssign() - lazy evaluation \ futureAssign() - lazy evaluation (1/2) | futureAssign() - lazy evaluation (2/2) ✔ 11. futureAssign() - lazy evaluation (2 tests) (35ms) - futureAssign() - potential task name clashes \ futureAssign() - potential task name clashes (1/1) ✔ 12. futureAssign() - potential task name clashes (1 test) (162ms) - futureAssign() - global variables with and without lazy evaluation \ futureAssign() - global variables with and without lazy evaluation (1/2) | futureAssign() - global variables with and without lazy evaluation (2/2) ✔ 13. futureAssign() - global variables with and without lazy evaluation (2 tests) (75ms) - futureAssign() - lazy evaluation via disposable option \ futureAssign() - lazy evaluation via disposable option (1/2) | futureAssign() - lazy evaluation via disposable option (2/2) ✔ 14. futureAssign() - lazy evaluation via disposable option (2 tests) (37ms) - %<-% - local evaluation \ %<-% - local evaluation (1/2) | %<-% - local evaluation (2/2) ✔ 15. %<-% - local evaluation (2 tests) (38ms) - %<-% - local evaluation & global variable \ %<-% - local evaluation & global variable (1/2) | %<-% - local evaluation & global variable (2/2) ✔ 16. %<-% - local evaluation & global variable (2 tests) (37ms) - %<-% - errors \ %<-% - errors (1/2) | %<-% - errors (2/2) ✔ 17. %<-% - errors (2 tests) (49ms) - %<-% - errors and listenv \ %<-% - errors and listenv (1/2) | %<-% - errors and listenv (2/2) ✔ 18. %<-% - errors and listenv (2 tests) (376ms) - %<-% & %->% \ %<-% & %->% (1/2) | %<-% & %->% (2/2) ✔ 19. %<-% & %->% (2 tests) (46ms) - %<-% - nested \ %<-% - nested (1/1) ✔ 20. %<-% - nested (1 test) (104ms) - futureCall() \ futureCall() (1/4) | futureCall() (2/4) / futureCall() (3/4) - futureCall() (4/4) ✔ 21. futureCall() (4 tests) (104ms) - futureCall() - globals = list(a = 3) \ futureCall() - globals = list(a = 3) (1/2) | futureCall() - globals = list(a = 3) (2/2) ✔ 22. futureCall() - globals = list(a = 3) (2 tests) (32ms) - futureCall() - globals = "a" \ futureCall() - globals = "a" (1/2) | futureCall() - globals = "a" (2/2) ✔ 23. futureCall() - globals = "a" (2 tests) (26ms) - future() - rm() a global variable \ future() - rm() a global variable (1/2) | future() - rm() a global variable (2/2) ✔ 24. future() - rm() a global variable (2 tests) (60ms) - future() - non-exported package objects \ future() - non-exported package objects (1/1) ✔ 25. future() - non-exported package objects (1 test) (192ms) - future() - NSE '...' \ future() - NSE '...' (1/1) ✔ 26. future() - NSE '...' (1 test) (22ms) - future() - global variables with and without lazy evaluation \ future() - global variables with and without lazy evaluation (1/2) | future() - global variables with and without lazy evaluation (2/2) ✔ 27. future() - global variables with and without lazy evaluation (2 tests) (40ms) - resolved() on lazy futures \ resolved() on lazy futures (1/1) ✔ 28. resolved() on lazy futures (1 test) (116ms) - demo("mandelbrot", package = "future") \ demo("mandelbrot", package = "future") (1/2) | demo("mandelbrot", package = "future") (2/2) ✔ 29. demo("mandelbrot", package = "future") (2 tests) (1.3s) - nbrOfWorkers() \ nbrOfWorkers() (1/1) ✔ 30. nbrOfWorkers() (1 test) (1ms) - future() - preserve R options (data.table) \ future() - preserve R options (data.table) (1/1) ✔ 31. future() - preserve R options (data.table) (1 test) (2ms) - future() - 'data.table' inject \ future() - 'data.table' inject (1/1) ★ 32. future() - 'data.table' inject (1 test) (2ms) ★ lazy=FALSE, globals=TRUE, stdout=TRUE Test requires the 'data.table' package - future() - can load 'ff' package \ future() - can load 'ff' package (1/1) ★ 33. future() - can load 'ff' package (1 test) (2ms) ★ lazy=FALSE, globals=TRUE, stdout=TRUE Test requires the 'ff' package - future() - can attach 'ff' package \ future() - can attach 'ff' package (1/1) ★ 34. future() - can attach 'ff' package (1 test) (2ms) ★ lazy=FALSE, globals=TRUE, stdout=TRUE Test requires the 'ff' package - future() - preserve R options (ff) \ future() - preserve R options (ff) (1/1) ★ 35. future() - preserve R options (ff) (1 test) (2ms) ★ lazy=FALSE, globals=TRUE, stdout=TRUE Test requires the 'ff' package - plan() \ plan() (1/1) ✔ 36. plan() (1 test) (5ms) - plan() - workers= \ plan() - workers= (1/1) ✔ 37. plan() - workers= (1 test) (438ms) - plan() - workers= \ plan() - workers= (1/1) ✔ 38. plan() - workers= (1 test) (413ms) - plan() - workers= \ plan() - workers= (1/1) ✔ 39. plan() - workers= (1 test) (7ms) - resolve() \ resolve() (1/8) | resolve() (2/8) / resolve() (3/8) - resolve() (4/8) \ resolve() (5/8) | resolve() (6/8) / resolve() (7/8) - resolve() (8/8) ✔ 40. resolve() (8 tests) (7.1s) - resolve() - run-time exception \ resolve() - run-time exception (1/8) | resolve() - run-time exception (2/8) / resolve() - run-time exception (3/8) - resolve() - run-time exception (4/8) \ resolve() - run-time exception (5/8) | resolve() - run-time exception (6/8) / resolve() - run-time exception (7/8) - resolve() - run-time exception (8/8) ✔ 41. resolve() - run-time exception (8 tests) (3.2s) - resolve() \ resolve() (1/2) | resolve() (2/2) ✔ 42. resolve() (2 tests) (1.2s) - resolve() \ resolve() (1/2) | resolve() (2/2) ✔ 43. resolve() (2 tests) (1.5s) - resolve() - time ordering \ resolve() - time ordering (1/1) ✔ 44. resolve() - time ordering (1 test) (1.2s) - resolved() - assert non-blocking while launching lazy futures \ resolved() - assert non-blocking while launching lazy futures (1/1) ✔ 45. resolved() - assert non-blocking while launching lazy futures (1 test) (4.9s) - Random Number Generation (RNG) - seeds and preserving RNGkind \ Random Number Generation (RNG) - seeds and preserving RNGkind (1/1) ✔ 46. Random Number Generation (RNG) - seeds and preserving RNGkind (1 test) (8ms) - Random Number Generation (RNG) - future \ Random Number Generation (RNG) - future (1/2) | Random Number Generation (RNG) - future (2/2) ✔ 47. Random Number Generation (RNG) - future (2 tests) (3.4s) - Random Number Generation (RNG) - %<-% \ Random Number Generation (RNG) - %<-% (1/2) | Random Number Generation (RNG) - %<-% (2/2) ✔ 48. Random Number Generation (RNG) - %<-% (2 tests) (3.4s) - Orchestration Stability - future() does not update RNG state \ Orchestration Stability - future() does not update RNG state (1/1) ✔ 49. Orchestration Stability - future() does not update RNG state (1 test) (156ms) - Orchestration Stability - run() does not update RNG state \ Orchestration Stability - run() does not update RNG state (1/1) ✔ 50. Orchestration Stability - run() does not update RNG state (1 test) (17ms) - Orchestration Stability - result() does not update RNG state \ Orchestration Stability - result() does not update RNG state (1/1) ✔ 51. Orchestration Stability - result() does not update RNG state (1 test) (14ms) - Orchestration Stability - value() does not update RNG state \ Orchestration Stability - value() does not update RNG state (1/1) ✔ 52. Orchestration Stability - value() does not update RNG state (1 test) (27ms) - future() - standard output \ future() - standard output (1/2) | future() - standard output (2/2) ✔ 53. future() - standard output (2 tests) (142ms) - %<-% - standard output \ %<-% - standard output (1/2) | %<-% - standard output (2/2) ✔ 54. %<-% - standard output (2 tests) (105ms) - value() - visibility \ value() - visibility (1/1) ✔ 55. value() - visibility (1 test) (25ms) Number of tests: 55 Number of test steps: 100 Duration: 32.9s Results: 96 ok ✔ | 4 skips ★ | 0 errors ✖ | 0 timeouts T used (Mb) gc trigger (Mb) max used (Mb) Ncells 740485 39.6 1396235 74.6 1124074 60.1 Vcells 1520470 11.7 8388608 64.0 2342234 17.9 Sourcing 6 epilogue scripts ... 01/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_epilogue/001.undo-future.R' 02/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_epilogue/002.undo-state.R' Failed to undo environment variables: - Expected environment variables: [n=213] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', ..., 'tempdirname' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: 03/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_epilogue/090.gc.R' 04/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_epilogue/099.session_info.R' 05/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_epilogue/995.detritus-connections.R' 06/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future.mirai/testme/_epilogue/999.detritus-files.R' Skipping, because path appears not to be an 'R CMD check' folder: 'D:/temp/2025_06_05_20_20_16_26232' Sourcing 6 epilogue scripts ... done Test time: user.self=4s, sys.self=0.2s, elapsed=3e+01s, user.child=NAs, sys.child=NAs Test 'tempdirname' ... success > > proc.time() user system elapsed 4.65 0.29 34.82