R Under development (unstable) (2025-06-05 r88281 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. > source("incl/start.R") Loading required package: parallelly Loading required package: future > > message("*** Futures - labels ...") *** Futures - labels ... > > strategies <- c("batchtools_local") > > ## CRAN processing times: > ## On Windows 32-bit, don't run these tests > if (!fullTest && isWin32) strategies <- character(0L) > > for (strategy in strategies) { + mprintf("- plan('%s') ...\n", strategy) + plan(strategy) + + for (label in list(NULL, sprintf("strategy_%s", strategy))) { + fcn <- get(strategy, mode = "function") + stopifnot(inherits(fcn, strategy)) + f <- fcn(42, label = label) + stopifnot(identical(f$label, label)) + v <- value(f) + stopifnot(v == 42) + print(f) + + f <- future(42, label = label) + stopifnot(identical(f$label, label)) + v <- value(f) + stopifnot(v == 42) + + v %<-% { 42 } %label% label + f <- futureOf(v) + stopifnot(identical(f$label, label)) + stopifnot(v == 42) + + } ## for (label ...) + + mprintf("- plan('%s') ... DONE\n", strategy) + } ## for (strategy ...) - plan('batchtools_local') ... [04:38:05.771] Launched future #1 BatchtoolsLocalFuture: Label: Expression: [1] 42 Globals: Packages: L'Ecuyer-CMRG RNG seed: (seed = FALSE) Capture standard output: TRUE Capture condition classes: 'condition' (excluding '') Immediate condition classes: 'immediateCondition' Lazy evaluation: FALSE Local evaluation: TRUE Asynchronous evaluation: TRUE Early signaling: FALSE Environment: R_GlobalEnv State: 'finished' Resolved: TRUE Unique identifier: 7198f2e4eb9cd3977dc57d89b97a0e18-1 Owner process: 7198f2e4eb9cd3977dc57d89b97a0e18 Class: 'BatchtoolsLocalFuture', 'BatchtoolsUniprocessFuture', 'BatchtoolsFuture', 'Future', 'environment' Value: 39 bytes of class 'numeric' Duration: 0.08694887 secs (started 2025-06-06 04:38:05.129981) Worker process: 3680634a69b61f276370669320cd07c3 batchtools configuration file: 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/templates-for-R_CMD_check/batchtools.conf.R' (82 bytes; 1 lines) batchtools cluster functions: 'Interactive' batchtools cluster functions template: batchtools status: 'defined', 'finished', 'started', 'submitted' batchtools Registry: File dir exists: FALSE Work dir exists: TRUE Job Registry Backend : Interactive File dir : D:/temp/2025_06_06_04_35_16_24916/RtmpEh9qPe/.future/20250606_043803-Eh9qPe/batchtools_734577735 Work dir : D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests Jobs : 1 Seed : 12860 Writeable: TRUE [04:38:07.099] Launched future #1 [04:38:08.391] Launched future #1 [04:38:10.120] Launched future #1 BatchtoolsLocalFuture: Label: 'strategy_batchtools_local' Expression: [1] 42 Globals: Packages: L'Ecuyer-CMRG RNG seed: (seed = FALSE) Capture standard output: TRUE Capture condition classes: 'condition' (excluding '') Immediate condition classes: 'immediateCondition' Lazy evaluation: FALSE Local evaluation: TRUE Asynchronous evaluation: TRUE Early signaling: FALSE Environment: R_GlobalEnv State: 'finished' Resolved: TRUE Unique identifier: 7198f2e4eb9cd3977dc57d89b97a0e18-6 Owner process: 7198f2e4eb9cd3977dc57d89b97a0e18 Class: 'BatchtoolsLocalFuture', 'BatchtoolsUniprocessFuture', 'BatchtoolsFuture', 'Future', 'environment' Value: 39 bytes of class 'numeric' Duration: 0.08161211 secs (started 2025-06-06 04:38:09.88166) Worker process: 9a64e5258af205ddd4712b52501e168f batchtools configuration file: 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/templates-for-R_CMD_check/batchtools.conf.R' (82 bytes; 1 lines) batchtools cluster functions: 'Interactive' batchtools cluster functions template: batchtools status: 'defined', 'finished', 'started', 'submitted' batchtools Registry: File dir exists: FALSE Work dir exists: TRUE Job Registry Backend : Interactive File dir : D:/temp/2025_06_06_04_35_16_24916/RtmpEh9qPe/.future/20250606_043803-Eh9qPe/strategy_batchtools_local_1499973552 Work dir : D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests Jobs : 1 Seed : 20087 Writeable: TRUE [04:38:11.768] Launched future #1 [04:38:13.194] Launched future #1 - plan('batchtools_local') ... DONE > > message("*** Futures - labels ... DONE") *** Futures - labels ... DONE > > source("incl/end.R") > > proc.time() user system elapsed 1.89 0.53 10.70