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:08:05.323] 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: a7891950722eae46027af39cbaa9695e-1 Owner process: a7891950722eae46027af39cbaa9695e Class: 'BatchtoolsLocalFuture', 'BatchtoolsUniprocessFuture', 'BatchtoolsFuture', 'Future', 'environment' Value: 39 bytes of class 'numeric' Duration: 0.07016087 secs (started 2025-06-06 04:08:05.132909) Worker process: 78de1041d0eaedd45e1016c6ce01f7a4 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_05_17_19038/Rtmp6T0m6u/.future/20250606_040804-6T0m6u/batchtools_53383146 Work dir : D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests Jobs : 1 Seed : 31789 Writeable: TRUE [04:08:06.644] Launched future #1 [04:08:08.694] Launched future #1 [04:08:10.006] 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: a7891950722eae46027af39cbaa9695e-6 Owner process: a7891950722eae46027af39cbaa9695e Class: 'BatchtoolsLocalFuture', 'BatchtoolsUniprocessFuture', 'BatchtoolsFuture', 'Future', 'environment' Value: 39 bytes of class 'numeric' Duration: 0.05278206 secs (started 2025-06-06 04:08:09.822473) Worker process: f4602efb2d4a905054ae775bfd307f99 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_05_17_19038/Rtmp6T0m6u/.future/20250606_040804-6T0m6u/strategy_batchtools_local_1237723790 Work dir : D:/RCompile/CRANincoming/R-devel/future.batchtools.Rcheck/tests Jobs : 1 Seed : 28029 Writeable: TRUE [04:08:11.772] Launched future #1 [04:08:13.166] 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.62 10.57