R Under development (unstable) (2025-08-24 r88696 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-plan.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > future.batchtools:::testme("plan") Test 'plan' ... Sourcing 9 prologue scripts ... 01/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/001.load.R' 02/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/002.record-state.R' 03/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/030.imports.R' 04/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/050.utils.R' 05/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/090.context.R' 06/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/090.options.R' 07/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/091.envvars.R' 08/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/099.future-setup.R' 09/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/_prologue/995.detrius-connections.R' Sourcing 9 prologue scripts ... done Running test script: 'D:/RCompile/CRANincoming/R-devel/lib/future.batchtools/testme/test-plan.R' > message("*** plan() ...") *** plan() ... > message("*** future::plan(future.batchtools::batchtools_local)") *** future::plan(future.batchtools::batchtools_local) > oplan <- future::plan(future.batchtools::batchtools_local) > print(future::plan()) batchtools_local: - args: function (..., fs.latency = 0, delete = getOption("future.batchtools.delete", "on-success"), workers = "") - tweaked: FALSE - call: future::plan(future.batchtools::batchtools_local) BatchtoolsLocalFutureBackend: Inherits: BatchtoolsUniprocessFutureBackend, BatchtoolsFutureBackend, SequentialFutureBackend, FutureBackend UUID: e48accc46940f7e6ba29454248930db6 Number of workers: 1 Number of free workers: 1 Available cores: 2 Automatic garbage collection: FALSE Early signaling: FALSE Interrupts are enabled: TRUE Maximum total size of globals: +Inf Maximum total size of value: +Inf Number of active futures: 0 Number of futures since start: 0 (0 created, 0 launched, 0 finished) Total runtime of futures: 0 secs (NaN secs/finished future) 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: Cache directory: 'D:\temp\2025_08_26_00_40_17_26176\RtmpGuAHee\.future\20250826_004234-GuAHee' (0 folders) batchtools resources: list() > future::plan(oplan) > print(future::plan()) sequential: - args: function (..., envir = parent.frame(), workers = "") - tweaked: FALSE - call: plan(sequential) SequentialFutureBackend: Inherits: FutureBackend UUID: cd3193d7baa29a84c755d51160a5459f Number of workers: 1 Number of free workers: 1 Available cores: 2 Automatic garbage collection: FALSE Early signaling: FALSE Interrupts are enabled: TRUE Maximum total size of globals: +Inf Maximum total size of value: +Inf Argument 'hooks': FALSE Number of active futures: 0 Number of futures since start: 0 (0 created, 0 launched, 0 finished) Total runtime of futures: 0 secs (NaN secs/finished future) > library(future) > library(future.batchtools) Loading required package: parallelly > for (type in c("batchtools_interactive", "batchtools_local")) { + mprintf("*** plan('%s') ...\n", type) + plan(type) + stopifnot(inherit .... [TRUNCATED] *** plan('batchtools_interactive') ... [1] 0 Warning: Detected 1 unknown future arguments: 'registry' Warning: Detected 1 unknown future arguments: 'registry' *** plan('batchtools_interactive') ... DONE *** plan('batchtools_local') ... [1] 0 Warning: Detected 1 unknown future arguments: 'registry' Warning: Detected 1 unknown future arguments: 'registry' *** plan('batchtools_local') ... DONE > message("*** Assert that default backend can be overridden ...") *** Assert that default backend can be overridden ... > mpid <- Sys.getpid() > print(mpid) [1] 84056 > plan(batchtools_interactive) > pid %<-% { + Sys.getpid() + } > print(pid) [1] 84056 > stopifnot(pid == mpid) > plan(batchtools_local) > pid %<-% { + Sys.getpid() + } > print(pid) [1] 152876 > stopifnot(pid != mpid) > message("*** plan() ... DONE") *** plan() ... DONE Test time: user.self=0.9s, sys.self=0.08s, elapsed=3s, user.child=NAs, sys.child=NAs Test 'plan' ... success > > proc.time() user system elapsed 1.35 0.26 3.37