R Under development (unstable) (2024-07-02 r86866 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > if (requireNamespace("future.tests")) { + mirai::daemons(0) ## Reset any daemons running + + future.tests::check("future.mirai::mirai_multisession", timeout = 30.0, exit_value = FALSE) + + mirai::daemons(0) ## Reset any daemons running + gc() + } Loading required namespace: future.tests ── Settings ──────────────────────────────────────────────────────────────────── - future.tests version : 0.7.0 - R_FUTURE_TESTS_ROOT : - Option 'future.tests.root': NULL - Default test set folder : D:/RCompile/CRANpkg/lib/4.5/future.tests/test-db - Max number of workers : 2 - Timeout : 30 seconds ── Running 54 test sets with plan(future.mirai::mirai_multisession) ──────────── ℹ Backend package: future.mirai 0.2.2 - future() - conditions \ future() - conditions (1/1) ✔ 1. future() - conditions (1 test) (203ms) - %<-% - conditions \ %<-% - conditions (1/1) ✔ 2. %<-% - conditions (1 test) (28ms) - future() - muffle conditions \ future() - muffle conditions (1/1) ✔ 3. future() - muffle conditions (1 test) (38ms) - Argument '...' \ Argument '...' (1/1) ✔ 4. Argument '...' (1 test) (12ms) - Argument '...' from parent function \ Argument '...' from parent function (1/1) ✔ 5. Argument '...' from parent function (1 test) (10ms) - Argument '...' - non existing \ Argument '...' - non existing (1/1) ✔ 6. Argument '...' - non existing (1 test) (9ms) - Argument '...' - exception \ Argument '...' - exception (1/1) ✔ 7. Argument '...' - exception (1 test) (14ms) - 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) (30ms) - 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) (28ms) - 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) (32ms) - futureAssign() - lazy evaluation \ futureAssign() - lazy evaluation (1/2) | futureAssign() - lazy evaluation (2/2) ✔ 11. futureAssign() - lazy evaluation (2 tests) (14ms) - futureAssign() - potential task name clashes \ futureAssign() - potential task name clashes (1/1) ✔ 12. futureAssign() - potential task name clashes (1 test) (11ms) - 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) (33ms) - 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) (17ms) - %<-% - local evaluation \ %<-% - local evaluation (1/2) | %<-% - local evaluation (2/2) ✔ 15. %<-% - local evaluation (2 tests) (15ms) - %<-% - local evaluation & global variable \ %<-% - local evaluation & global variable (1/2) | %<-% - local evaluation & global variable (2/2) ✔ 16. %<-% - local evaluation & global variable (2 tests) (17ms) - %<-% - errors \ %<-% - errors (1/2) | %<-% - errors (2/2) ✔ 17. %<-% - errors (2 tests) (17ms) - %<-% - errors and listenv \ %<-% - errors and listenv (1/2) | %<-% - errors and listenv (2/2) ✔ 18. %<-% - errors and listenv (2 tests) (51ms) - %<-% & %->% \ %<-% & %->% (1/2) | %<-% & %->% (2/2) ✔ 19. %<-% & %->% (2 tests) (24ms) - %<-% - nested \ %<-% - nested (1/1) ✔ 20. %<-% - nested (1 test) (35ms) - futureCall() \ futureCall() (1/4) | futureCall() (2/4) / futureCall() (3/4) - futureCall() (4/4) ✔ 21. futureCall() (4 tests) (92ms) - 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) (18ms) - futureCall() - globals = "a" \ futureCall() - globals = "a" (1/2) | futureCall() - globals = "a" (2/2) ✔ 23. futureCall() - globals = "a" (2 tests) (15ms) - 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) (17ms) - future() - non-exported package objects \ future() - non-exported package objects (1/1) ✔ 25. future() - non-exported package objects (1 test) (42ms) - future() - NSE '...' \ future() - NSE '...' (1/1) ✔ 26. future() - NSE '...' (1 test) (13ms) - resolved() on lazy futures \ resolved() on lazy futures (1/1) ✔ 27. resolved() on lazy futures (1 test) (116ms) - demo("mandelbrot", package = "future") \ demo("mandelbrot", package = "future") (1/2) | demo("mandelbrot", package = "future") (2/2) ✔ 28. demo("mandelbrot", package = "future") (2 tests) (349ms) - nbrOfWorkers() \ nbrOfWorkers() (1/1) ✔ 29. nbrOfWorkers() (1 test) (1ms) - future() - preserve R options (data.table) \ future() - preserve R options (data.table) (1/1) ✔ 30. future() - preserve R options (data.table) (1 test) (2ms) - future() - 'data.table' inject \ future() - 'data.table' inject (1/1) ★ 31. 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) ★ 32. 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) ★ 33. 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) ★ 34. future() - preserve R options (ff) (1 test) (2ms) ★ lazy=FALSE, globals=TRUE, stdout=TRUE Test requires the 'ff' package - plan() \ plan() (1/1) ✔ 35. plan() (1 test) (1ms) - plan() - workers= \ plan() - workers= (1/1) ✔ 36. plan() - workers= (1 test) (710ms) - plan() - workers= \ plan() - workers= (1/1) ✔ 37. plan() - workers= (1 test) (256ms) - plan() - workers= \ plan() - workers= (1/1) ✔ 38. plan() - workers= (1 test) (3ms) - 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) ✔ 39. resolve() (8 tests) (4.7s) - 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) ✔ 40. resolve() - run-time exception (8 tests) (184ms) - resolve() \ resolve() (1/2) | resolve() (2/2) ✔ 41. resolve() (2 tests) (47ms) - resolve() \ resolve() (1/2) | resolve() (2/2) ✔ 42. resolve() (2 tests) (46ms) - resolve() - time ordering \ resolve() - time ordering (1/1) ✔ 43. resolve() - time ordering (1 test) (539ms) - resolved() - assert non-blocking while launching lazy futures \ resolved() - assert non-blocking while launching lazy futures (1/1) ✔ 44. resolved() - assert non-blocking while launching lazy futures (1 test) (4.1s) - Random Number Generation (RNG) - seeds and preserving RNGkind \ Random Number Generation (RNG) - seeds and preserving RNGkind (1/1) ✔ 45. Random Number Generation (RNG) - seeds and preserving RNGkind (1 test) (5ms) - Random Number Generation (RNG) - future \ Random Number Generation (RNG) - future (1/2) | Random Number Generation (RNG) - future (2/2) ✔ 46. Random Number Generation (RNG) - future (2 tests) (231ms) - Random Number Generation (RNG) - %<-% \ Random Number Generation (RNG) - %<-% (1/2) | Random Number Generation (RNG) - %<-% (2/2) ✔ 47. Random Number Generation (RNG) - %<-% (2 tests) (117ms) - Orchestration Stability - future() does not update RNG state \ Orchestration Stability - future() does not update RNG state (1/1) ✔ 48. Orchestration Stability - future() does not update RNG state (1 test) (10ms) - Orchestration Stability - run() does not update RNG state \ Orchestration Stability - run() does not update RNG state (1/1) ✔ 49. Orchestration Stability - run() does not update RNG state (1 test) (10ms) - Orchestration Stability - result() does not update RNG state \ Orchestration Stability - result() does not update RNG state (1/1) ✔ 50. Orchestration Stability - result() does not update RNG state (1 test) (10ms) - Orchestration Stability - value() does not update RNG state \ Orchestration Stability - value() does not update RNG state (1/1) ✔ 51. Orchestration Stability - value() does not update RNG state (1 test) (10ms) - future() - standard output \ future() - standard output (1/2) | future() - standard output (2/2) ✔ 52. future() - standard output (2 tests) (54ms) - %<-% - standard output \ %<-% - standard output (1/2) | %<-% - standard output (2/2) ✔ 53. %<-% - standard output (2 tests) (25ms) - value() - visibility \ value() - visibility (1/1) ✔ 54. value() - visibility (1 test) (12ms) Number of tests: 54 Number of test steps: 98 Duration: 13.2s Results: 94 ok ✔ | 4 skips ★ | 0 errors ✖ | 0 timeouts T used (Mb) gc trigger (Mb) max used (Mb) Ncells 683158 36.5 1249220 66.8 1249220 66.8 Vcells 1398078 10.7 8388608 64.0 2741817 21.0 > > proc.time() user system elapsed 3.09 0.21 14.96