R version 4.5.0 RC (2025-04-04 r88126 ucrt) -- "How About a Twenty-Six" 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 incl/testme/test-requestNode.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > future:::testme("requestNode") Test 'requestNode' ... Sourcing 9 prologue scripts ... 01/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/001.load.R' 02/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/002.record-state.R' 03/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/030.imports.R' 04/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/050.utils.R' 05/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/090.context.R' 06/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/090.options.R' 07/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/091.envvars.R' 08/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/099.future-setup.R' 09/09 prologue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_prologue/995.detrius-connections.R' Sourcing 9 prologue scripts ... done Running test script: 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/test-requestNode.R' > library(future) [08:49:39.036] Option 'future.startup.script': TRUE [08:49:39.037] Future startup scripts considered: '.future.R', '~/.future.R' [08:49:39.038] Future startup scripts found: > message("*** requestNode() ...") *** requestNode() ... > message("*** requestNode() - exceptions ...") *** requestNode() - exceptions ... > workers <- makeClusterPSOCK(2) > print(workers) Socket cluster with 2 nodes where 2 nodes are on host 'localhost' (R version 4.5.0 RC (2025-04-04 r88126 ucrt), platform x86_64-w64-mingw32) > res <- tryCatch({ + requestNode(function() { + }, workers = workers, timeout = -1) + }, error = identity) > stopifnot(inherits(res, "error")) > res <- tryCatch({ + requestNode(function() { + }, workers = workers, alpha = 0) + }, error = identity) > stopifnot(inherits(res, "error")) > parallel::stopCluster(workers) > message("*** requestNode() - exceptions ... DONE") *** requestNode() - exceptions ... DONE > message("*** requestNode() - timeout ...") *** requestNode() - timeout ... > plan(cluster, workers = "localhost") [08:49:39.945] plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:39.946] | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = NA, init = TRUE) ... [08:49:39.946] | : all.equal() for FutureStrategyList ... [08:49:39.947] | : . New stack: [08:49:39.947] | : . List of 1 [08:49:39.947] | : . $ :function (..., workers = "localhost", envir = parent.frame()) [08:49:39.947] | : . ..- attr(*, "class")= chr [1:5] "tweaked" "cluster" "multiprocess" "future" ... [08:49:39.947] | : . ..- attr(*, "init")= logi TRUE [08:49:39.947] | : . ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:39.947] | : . interrupts = FALSE, persistent = FALSE, ...) [08:49:39.947] | : . .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.947] | : . ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.947] | : . ..- attr(*, "tweaks")=List of 1 [08:49:39.947] | : . .. ..$ workers: chr "localhost" [08:49:39.947] | : . ..- attr(*, "call")= language plan(cluster, workers = "localhost") [08:49:39.947] | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [08:49:39.955] | : . Old stack: [08:49:39.956] | : . List of 1 [08:49:39.956] | : . $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [08:49:39.956] | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [08:49:39.956] | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [08:49:39.956] | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:39.956] | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:39.956] | : . ..- attr(*, "call")= language plan(sequential) [08:49:39.956] | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [08:49:39.959] | : . Not identical [08:49:39.959] | : . all.equal() for future ... [08:49:39.959] | : . | List of 2 [08:49:39.959] | : . | $ target :function (..., workers = "localhost", envir = parent.frame()) [08:49:39.959] | : . | ..- attr(*, "class")= chr [1:5] "tweaked" "cluster" "multiprocess" "future" ... [08:49:39.959] | : . | ..- attr(*, "init")= logi TRUE [08:49:39.959] | : . | ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:39.959] | : . | interrupts = FALSE, persistent = FALSE, ...) [08:49:39.959] | : . | .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.959] | : . | ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.959] | : . | ..- attr(*, "tweaks")=List of 1 [08:49:39.959] | : . | .. ..$ workers: chr "localhost" [08:49:39.959] | : . | ..- attr(*, "call")= language plan(cluster, workers = "localhost") [08:49:39.959] | : . | $ current:function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [08:49:39.959] | : . | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [08:49:39.959] | : . | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [08:49:39.959] | : . | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:39.959] | : . | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:39.959] | : . | ..- attr(*, "call")= language plan(sequential) [08:49:39.965] | : . | Formals differ [08:49:39.965] | : . all.equal() for future ... done [08:49:39.965] | : . Future strategies differ at level 1 [08:49:39.966] | : all.equal() for FutureStrategyList ... done [08:49:39.966] | : plan(): Setting new future strategy stack: [08:49:39.966] | : List of future strategies: [08:49:39.966] | : 1. cluster: [08:49:39.966] | : - args: function (..., workers = "localhost", envir = parent.frame()) [08:49:39.966] | : - tweaked: TRUE [08:49:39.966] | : - call: plan(cluster, workers = "localhost") [08:49:39.967] | : List of 1 [08:49:39.967] | : $ :function (..., workers = "localhost", envir = parent.frame()) [08:49:39.967] | : ..- attr(*, "class")= chr [1:5] "tweaked" "cluster" "multiprocess" "future" ... [08:49:39.967] | : ..- attr(*, "init")= logi TRUE [08:49:39.967] | : ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:39.967] | : interrupts = FALSE, persistent = FALSE, ...) [08:49:39.967] | : .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.967] | : ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.967] | : ..- attr(*, "tweaks")=List of 1 [08:49:39.967] | : .. ..$ workers: chr "localhost" [08:49:39.967] | : ..- attr(*, "call")= language plan(cluster, workers = "localhost") [08:49:39.967] | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [08:49:39.971] | : plan(): plan_cleanup('sequential', 'uniprocess', 'future', 'function', cleanup = NA) ... [08:49:39.972] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:39.972] | : . | Getting current ("next") strategy: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [08:49:39.972] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [08:49:39.973] | : . Legacy shutdown of cluster workers ... [08:49:39.973] | : . | Stopping existing cluster ... [08:49:39.973] | : . | : No pre-existing cluster. Skipping [08:49:39.973] | : . | Stopping existing cluster ... done [08:49:39.974] | : . Legacy shutdown of cluster workers ... done [08:49:39.974] | : plan(): plan_cleanup('sequential', 'uniprocess', 'future', 'function', cleanup = NA) ... done [08:49:39.974] | : plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... [08:49:39.974] | : . function (..., workers = "localhost", envir = parent.frame()) [08:49:39.974] | : . - attr(*, "class")= chr [1:5] "tweaked" "cluster" "multiprocess" "future" ... [08:49:39.974] | : . - attr(*, "init")= logi TRUE [08:49:39.974] | : . - attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:39.974] | : . interrupts = FALSE, persistent = FALSE, ...) [08:49:39.974] | : . ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.974] | : . - attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:39.974] | : . - attr(*, "tweaks")=List of 1 [08:49:39.974] | : . ..$ workers: chr "localhost" [08:49:39.974] | : . - attr(*, "call")= language plan(cluster, workers = "localhost") [08:49:39.979] | : . init: TRUE [08:49:39.979] | : . makeFutureBackend() ... [08:49:39.979] | : . | Backend function: <'NULL'> [08:49:39.980] | : . | ClusterFutureBackend(..., persistent = FALSE, gc = TRUE, earlySignal = TRUE) ... [08:49:39.980] | : . | : workers: [n=1] 'localhost' [08:49:39.980] | : . | : getCluster() ... [08:49:39.980] | : . | : getCluster() ... done [08:49:39.981] | : . | : Stopping existing cluster ... [08:49:39.981] | : . | : . No pre-existing cluster. Skipping [08:49:39.981] | : . | : Stopping existing cluster ... done [08:49:39.981] | : . | : Starting new cluster ... [08:49:39.981] | : . | : . makeCluster(workers, ...) ... [08:49:39.982] | : . | : . | Arguments: [08:49:39.982] | : . | : . | List of 1 [08:49:39.982] | : . | : . | $ : chr "localhost" [08:49:40.240] | : . | : . | Generated cluster UUID [08:49:40.240] | : . | : . | Cluster UUID: '6931f8c3c9de1c7f7be08c299b878de1' [08:49:40.241] | : . | : . | Socket cluster with 1 nodes where 1 node is on host 'localhost' (R version 4.5.0 RC (2025-04-04 r88126 ucrt), platform x86_64-w64-mingw32) [08:49:40.243] | : . | : . makeCluster(workers, ...) ... done [08:49:40.243] | : . | : . Socket cluster with 1 nodes where 1 node is on host 'localhost' (R version 4.5.0 RC (2025-04-04 r88126 ucrt), platform x86_64-w64-mingw32) [08:49:40.245] | : . | : Starting new cluster ... done [08:49:40.245] | : . | : Number of workers: 1 [08:49:40.245] | : . | : Workers UUID: '6931f8c3c9de1c7f7be08c299b878de1' [08:49:40.246] | : . | ClusterFutureBackend(..., persistent = FALSE, gc = TRUE, earlySignal = TRUE) ... done [08:49:40.246] | : . | Backend: <'ClusterFutureBackend', 'MultiprocessFutureBackend', 'FutureBackend', 'environment'> [08:49:40.246] | : . makeFutureBackend() ... done [08:49:40.247] | : plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... done [08:49:40.247] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:40.247] | : . Getting current ("next") strategy: 'FutureStrategy', 'tweaked', 'cluster', 'multiprocess', 'future', 'function' [08:49:40.247] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [08:49:40.248] | : plan(): nbrOfWorkers() = 1 [08:49:40.248] | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = NA, init = TRUE) ... done [08:49:40.248] plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done > f <- future({ + Sys.sleep(0.2) + 1 + }) [08:49:40.249] getGlobalsAndPackages() ... [08:49:40.250] | Searching for globals ... [08:49:40.259] | : globals found: [2] '{', 'Sys.sleep' [08:49:40.259] | Searching for globals ... DONE [08:49:40.260] | Resolving globals: FALSE [08:49:40.260] | Search for packages associated with the globals ... [08:49:40.260] | : Packages associated with globals: [1] 'base' [08:49:40.261] | : Packages: [1] 'base' [08:49:40.261] | Search for packages associated with the globals ... DONE [08:49:40.261] | Packages after dropping 'base': [0] [08:49:40.262] | globals: [0] [08:49:40.262] | packages: [0] [08:49:40.262] getGlobalsAndPackages() ... done [08:49:40.263] run() for Future ('Future') ... [08:49:40.263] | state: 'created' [08:49:40.263] | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:40.264] | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [08:49:40.264] | Using ClusterFutureBackend ... [08:49:40.264] | : Launching futures ... [08:49:40.265] | : . launchFuture() for ClusterFutureBackend ... [08:49:40.265] | : . | Workers: [n=1] [08:49:40.265] | : . | Socket cluster with 1 nodes where 1 node is on host 'localhost' (R version 4.5.0 RC (2025-04-04 r88126 ucrt), platform x86_64-w64-mingw32) [08:49:40.267] | : . | FutureRegistry: 'workers-6931f8c3c9de1c7f7be08c299b878de1' [08:49:40.267] | : . | requestWorker() ... [08:49:40.267] | : . | : requestNode() ... [08:49:40.268] | : . | : . Number of workers: 1 [08:49:40.268] | : . | : . Polling for a free worker ... [08:49:40.268] | : . | : . | FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'list', earlySignal = 0) ... [08:49:40.268] | : . | : . | : Created empty registry 'workers-6931f8c3c9de1c7f7be08c299b878de1' [08:49:40.268] | : . | : . | : Listing all futures [08:49:40.269] | : . | : . | : Number of registered futures: 0 [08:49:40.269] | : . | : . | FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'list', earlySignal = 0) ... done [08:49:40.269] | : . | : . | Total time: 0 [08:49:40.270] | : . | : . Polling for a free worker ... done [08:49:40.270] | : . | : . FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'list', earlySignal = 0) ... [08:49:40.270] | : . | : . | Listing all futures [08:49:40.271] | : . | : . | Number of registered futures: 0 [08:49:40.271] | : . | : . FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'list', earlySignal = 0) ... done [08:49:40.271] | : . | : . Index of first available worker: 1 [08:49:40.272] | : . | : . Validate that the worker is functional ... [08:49:40.422] | : . | : . | Worker is functional [08:49:40.422] | : . | : . requestNode() ... done [08:49:40.423] | : . | : . cluster node index: 1 [08:49:40.423] | : . | : requestWorker() ... done [08:49:40.423] | : . | : eraseGlobalEnvironment() ... [08:49:40.424] | : . | : eraseGlobalEnvironment() ... done [08:49:40.425] | : . | : launchFuture() ... [08:49:40.425] | : . | : . cluster node index: 1 [08:49:40.425] | : . | : . getFutureData() ... [08:49:40.426] | : . | : . | getFutureCore() ... [08:49:40.426] | : . | : . | : Packages needed by the future expression (n = 0): [08:49:40.426] | : . | : . | getFutureCore() ... done [08:49:40.427] | : . | : . | getFutureCapture() ... [08:49:40.427] | : . | : . | getFutureCapture() ... done [08:49:40.428] | : . | : . | getFutureContext() ... [08:49:40.428] | : . | : . | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:40.428] | : . | : . | : . Getting stack without first strategy: [n=0] [08:49:40.429] | : . | : . | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [08:49:40.429] | : . | : . | : Packages needed by future strategies (n = 0): [08:49:40.429] | : . | : . | getFutureContext() ... done [08:49:40.430] | : . | : . getFutureData() ... done [08:49:40.431] | : . | : . FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'add', earlySignal = 0) ... [08:49:40.431] | : . | : . | Appended future to position #1 [08:49:40.431] | : . | : . | Number of registered futures: 1 [08:49:40.432] | : . | : . FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'add', earlySignal = 0) ... done [08:49:40.432] | : . | : launchFuture() ... done [08:49:40.432] | : . | : ClusterFuture started [08:49:40.433] | : . | launchFuture() for ClusterFutureBackend ... done [08:49:40.433] | : . Launching futures ... done [08:49:40.433] | : . Future launched: 'ClusterFuture', 'MultiprocessFuture', 'Future' [08:49:40.434] | : Using ClusterFutureBackend ... done [08:49:40.434] | run() for Future ('ClusterFuture') ... done > res <- tryCatch({ + requestNode(function() { + }, workers = f$workers, timeout = 0.5, delta = 0.1) + }, error = identity) > stopifnot(inherits(res, "error")) > v <- value(f) [08:49:40.436] | result() for ClusterFuture ... [08:49:40.437] | : assertValidConnection() ... [08:49:40.437] | : . cluster node index: 1 [08:49:40.438] | : assertValidConnection() ... done [08:49:40.439] | : receiveMessageFromWorker() for ClusterFuture ... [08:49:40.439] | : . cluster node index: 1 [08:49:40.733] | : . [1] TRUE [08:49:40.734] | : . received data: [08:49:40.734] | : . List of 5 [08:49:40.734] | : . $ type : chr "VALUE" [08:49:40.734] | : . $ value :List of 13 [08:49:40.734] | : . ..$ value : num 1 [08:49:40.734] | : . ..$ visible : logi TRUE [08:49:40.734] | : . ..$ stdout : chr "" [08:49:40.734] | : . ..$ conditions : list() [08:49:40.734] | : . ..$ rng : logi FALSE [08:49:40.734] | : . ..$ misuseGlobalEnv : NULL [08:49:40.734] | : . ..$ misuseConnections:List of 3 [08:49:40.734] | : . .. ..$ added : NULL [08:49:40.734] | : . .. ..$ removed : NULL [08:49:40.734] | : . .. ..$ replaced: NULL [08:49:40.734] | : . ..$ misuseDevices : NULL [08:49:40.734] | : . ..$ started : POSIXct[1:1], format: "2025-04-10 08:49:40" [08:49:40.734] | : . ..$ finished : POSIXct[1:1], format: "2025-04-10 08:49:40" [08:49:40.734] | : . ..$ session_uuid : chr "b5f464adb901d971eb87951e01f21583" [08:49:40.734] | : . .. ..- attr(*, "source")=List of 5 [08:49:40.734] | : . .. .. ..$ host : Named chr "CRANWIN3" [08:49:40.734] | : . .. .. .. ..- attr(*, "names")= chr "COMPUTERNAME" [08:49:40.734] | : . .. .. ..$ info : Named chr [1:9] "Windows" "Server x64" "build 20348" "CRANWIN3" ... [08:49:40.734] | : . .. .. .. ..- attr(*, "names")= chr [1:9] "sysname" "release" "version" "nodename" ... [08:49:40.734] | : . .. .. ..$ pid : int 50040 [08:49:40.734] | : . .. .. ..$ time : POSIXct[1:1], format: "2025-04-10 08:49:40" [08:49:40.734] | : . .. .. ..$ random: int 2147483647 [08:49:40.734] | : . ..$ r_info :List of 4 [08:49:40.734] | : . .. ..$ version :Classes 'R_system_version', 'package_version', 'numeric_version' hidden list of 1 [08:49:40.734] | : . .. .. ..$ : int [1:3] 4 5 0 [08:49:40.734] | : . .. ..$ os : chr "windows" [08:49:40.734] | : . .. ..$ os_name : chr "Windows" [08:49:40.734] | : . .. ..$ captures_utf8: logi TRUE [08:49:40.734] | : . ..$ version : chr "1.8" [08:49:40.734] | : . ..- attr(*, "class")= chr "FutureResult" [08:49:40.734] | : . $ success: logi TRUE [08:49:40.734] | : . $ time : 'proc_time' Named num [1:5] 0.08 0 0.3 NA NA [08:49:40.734] | : . ..- attr(*, "names")= chr [1:5] "user.self" "sys.self" "elapsed" "user.child" ... [08:49:40.734] | : . $ tag : NULL [08:49:40.756] | : . Received FutureResult [08:49:40.756] | : . FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'remove', earlySignal = 0) ... [08:49:40.760] | : . | Removed future from position #1 [08:49:40.760] | : . | Number of registered futures: 0 [08:49:40.760] | : . FutureRegistry('workers-6931f8c3c9de1c7f7be08c299b878de1', action = 'remove', earlySignal = 0) ... done [08:49:40.760] | : . Erased future from future backend [08:49:40.761] | : . result() for ClusterFuture ... [08:49:40.761] | : . | result already collected: FutureResult [08:49:40.761] | : . result() for ClusterFuture ... done [08:49:40.761] | : receiveMessageFromWorker() for ClusterFuture ... done [08:49:40.761] | result() for ClusterFuture ... done [08:49:40.762] | result() for ClusterFuture ... [08:49:40.762] | : result already collected: FutureResult [08:49:40.762] | result() for ClusterFuture ... done > print(v) [1] 1 > stopifnot(v == 1) > plan(sequential) [08:49:40.763] | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:40.764] | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = NA, init = TRUE) ... [08:49:40.764] | : . all.equal() for FutureStrategyList ... [08:49:40.764] | : . | New stack: [08:49:40.765] | : . | List of 1 [08:49:40.765] | : . | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [08:49:40.765] | : . | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [08:49:40.765] | : . | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [08:49:40.765] | : . | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.765] | : . | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.765] | : . | ..- attr(*, "call")= language plan(sequential) [08:49:40.765] | : . | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [08:49:40.769] | : . | Old stack: [08:49:40.769] | : . | List of 1 [08:49:40.769] | : . | $ :function (..., workers = "localhost", envir = parent.frame()) [08:49:40.769] | : . | ..- attr(*, "class")= chr [1:5] "tweaked" "cluster" "multiprocess" "future" ... [08:49:40.769] | : . | ..- attr(*, "init")= chr "done" [08:49:40.769] | : . | ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:40.769] | : . | interrupts = FALSE, persistent = FALSE, ...) [08:49:40.769] | : . | .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:40.769] | : . | ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:40.769] | : . | ..- attr(*, "tweaks")=List of 1 [08:49:40.769] | : . | .. ..$ workers: chr "localhost" [08:49:40.769] | : . | ..- attr(*, "call")= language plan(cluster, workers = "localhost") [08:49:40.769] | : . | ..- attr(*, "backend")=Classes 'ClusterFutureBackend', 'MultiprocessFutureBackend', 'FutureBackend', 'environment' [08:49:40.769] | : . | .. ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:40.769] | : . | interrupts = FALSE, persistent = FALSE, ...) [08:49:40.769] | : . | .. .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:40.769] | : . | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [08:49:40.773] | : . | Not identical [08:49:40.774] | : . | all.equal() for future ... [08:49:40.774] | : . | : List of 2 [08:49:40.774] | : . | : $ target :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [08:49:40.774] | : . | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [08:49:40.774] | : . | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [08:49:40.774] | : . | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.774] | : . | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.774] | : . | : ..- attr(*, "call")= language plan(sequential) [08:49:40.774] | : . | : $ current:function (..., workers = "localhost", envir = parent.frame()) [08:49:40.774] | : . | : ..- attr(*, "class")= chr [1:5] "tweaked" "cluster" "multiprocess" "future" ... [08:49:40.774] | : . | : ..- attr(*, "init")= chr "done" [08:49:40.774] | : . | : ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:40.774] | : . | : interrupts = FALSE, persistent = FALSE, ...) [08:49:40.774] | : . | : .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:40.774] | : . | : ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:40.774] | : . | : ..- attr(*, "tweaks")=List of 1 [08:49:40.774] | : . | : .. ..$ workers: chr "localhost" [08:49:40.774] | : . | : ..- attr(*, "call")= language plan(cluster, workers = "localhost") [08:49:40.774] | : . | : ..- attr(*, "backend")=Classes 'ClusterFutureBackend', 'MultiprocessFutureBackend', 'FutureBackend', 'environment' [08:49:40.774] | : . | : .. ..- attr(*, "factory")=function (workers = availableWorkers(), gc = TRUE, earlySignal = TRUE, [08:49:40.774] | : . | : interrupts = FALSE, persistent = FALSE, ...) [08:49:40.774] | : . | : .. .. ..- attr(*, "tweakable")= chr [1:9] "gc" "earlySignal" "interrupts" "persistent" ... [08:49:40.780] | : . | : Formals differ [08:49:40.780] | : . | all.equal() for future ... done [08:49:40.780] | : . | Future strategies differ at level 1 [08:49:40.781] | : . all.equal() for FutureStrategyList ... done [08:49:40.781] | : . plan(): Setting new future strategy stack: [08:49:40.781] | : . List of future strategies: [08:49:40.781] | : . 1. sequential: [08:49:40.781] | : . - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [08:49:40.781] | : . - tweaked: FALSE [08:49:40.781] | : . - call: plan(sequential) [08:49:40.781] | : . List of 1 [08:49:40.781] | : . $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [08:49:40.781] | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [08:49:40.781] | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [08:49:40.781] | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.781] | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.781] | : . ..- attr(*, "call")= language plan(sequential) [08:49:40.781] | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [08:49:40.784] | : . plan(): plan_cleanup('tweaked', 'cluster', 'multiprocess', 'future', 'function', cleanup = NA) ... [08:49:40.784] | : . | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:40.784] | : . | : Getting current ("next") strategy: 'FutureStrategy', 'tweaked', 'cluster', 'multiprocess', 'future', 'function' [08:49:40.784] | : . | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [08:49:40.785] | : . | stopWorkers() for ClusterFutureBackend ... [08:49:40.785] | : . | : Interrupt active futures ... [08:49:40.786] | : . | : . Number of futures: 0 [08:49:40.787] | : . | : Interrupt active futures ... done [08:49:40.787] | : . | : Clear future registry ... [08:49:40.787] | : . | : Clear future registry ... done [08:49:40.788] | : . | : Stop cluster workers ... [08:49:40.788] | : . | : . Stopping existing cluster ... [08:49:40.788] | : . | : . | Cluster to shut down: [08:49:40.788] | : . | : . | Socket cluster with 1 nodes where 1 node is on host 'localhost' (R version 4.5.0 RC (2025-04-04 r88126 ucrt), platform x86_64-w64-mingw32) [08:49:40.792] | : . | : . | Stopped cluster: 'NULL' [08:49:40.793] | : . | : . Stopping existing cluster ... done [08:49:40.793] | : . | : Stop cluster workers ... done [08:49:40.793] | : . | stopWorkers() for ClusterFutureBackend ... done [08:49:40.794] | : . | Legacy shutdown of cluster workers ... [08:49:40.794] | : . | : Stopping existing cluster ... [08:49:40.794] | : . | : . No pre-existing cluster. Skipping [08:49:40.794] | : . | : Stopping existing cluster ... done [08:49:40.795] | : . | Legacy shutdown of cluster workers ... done [08:49:40.795] | : . plan(): plan_cleanup('tweaked', 'cluster', 'multiprocess', 'future', 'function', cleanup = NA) ... done [08:49:40.795] | : . plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... [08:49:40.796] | : . | function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [08:49:40.796] | : . | - attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [08:49:40.796] | : . | - attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [08:49:40.796] | : . | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.796] | : . | - attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [08:49:40.796] | : . | - attr(*, "call")= language plan(sequential) [08:49:40.798] | : . | init: NULL [08:49:40.799] | : . plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... done [08:49:40.799] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [08:49:40.799] | : . | Getting current ("next") strategy: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [08:49:40.799] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [08:49:40.799] | : . Backend function: <'NULL'> [08:49:40.800] | : . Backend: <'SequentialFutureBackend', 'FutureBackend', 'environment'> [08:49:40.800] | : . plan(): nbrOfWorkers() = 1 [08:49:40.800] | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = NA, init = TRUE) ... done [08:49:40.800] | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done > message("*** requestNode() - timeout ... DONE") *** requestNode() - timeout ... DONE > message("*** requestNode() ... DONE") *** requestNode() ... DONE Sourcing 6 epilogue scripts ... 01/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/001.undo-future.R' 02/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/002.undo-state.R' Failed to undo environment variables: - Expected environment variables: [n=213] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS44_HOME', 'RTOOLS45_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS45_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTME_NAME', 'R_TESTME_PACKAGE', 'R_TESTME_PATH', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_ASPELL_RECHECK_MAYBE_', '_R_CHECK_CRAN_INCOMING_ASPELL_RECHECK_START_', '_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_', '_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_', '_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_', '_R_CHECK_CRAN_INCOMING_REMOTE_', '_R_CHECK_CRAN_INCOMING_USE_ASPELL_', '_R_CHECK_DATALIST_', '_R_CHECK_DEPRECATED_DEFUNCT_', '_R_CHECK_DOC_SIZES2_', '_R_CHECK_DOT_FIRSTLIB_', '_R_CHECK_DOT_INTERNAL_', '_R_CHECK_EXAMPLE_TIMING_THRESHOLD_', '_R_CHECK_EXECUTABLES_', '_R_CHECK_EXECUTABLES_EXCLUSIONS_', '_R_CHECK_FF_CALLS_', '_R_CHECK_FF_DUP_', '_R_CHECK_FORCE_SUGGESTS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_', '_R_CHECK_HAVE_MYSQL_', '_R_CHECK_HAVE_ODBC_', '_R_CHECK_HAVE_PERL_', '_R_CHECK_HAVE_POSTGRES_', '_R_CHECK_INSTALL_DEPENDS_', '_R_CHECK_INTERNALS2_', '_R_CHECK_LENGTH_1_CONDITION_', '_R_CHECK_LICENSE_', '_R_CHECK_LIMIT_CORES_', '_R_CHECK_LOG_USE_INFO_', '_R_CHECK_MATRIX_DATA_', '_R_CHECK_MBCS_CONVERSION_FAILURE_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_NOTE_LOST_BRACES_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_NOTE_MISSING_PACKAGE_ANCHORS_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_DEPRECATED_IS_R_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '_R_USE_STRICT_R_HEADERS_', '__R_CHECK_DOC_FILES_NOTE_IF_ALL_SPECIAL__', 'maj.version', 'nextArg--timingsnextArg--install', '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/testme/_epilogue/090.gc.R' 04/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/099.session_info.R' 05/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/995.detritus-connections.R' 06/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/999.detritus-files.R' Skipping, because path appears not to be an 'R CMD check' folder: 'D:/temp/2025_04_10_08_45_16_15127' Sourcing 6 epilogue scripts ... done Test time: user.self=0.4s, sys.self=0.01s, elapsed=2s, user.child=NAs, sys.child=NAs Test 'requestNode' ... success > > proc.time() user system elapsed 0.64 0.10 2.25