R Under development (unstable) (2025-11-15 r89024 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-future.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > future:::testme("future") Test 'future' ... 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-future.R' > library(future) [23:12:57.276] Option 'future.startup.script': TRUE [23:12:57.277] Future startup scripts considered: '.future.R', '~/.future.R' [23:12:57.278] Future startup scripts found: > message("*** future() ...") *** future() ... > message("*** future() w/ lazy = TRUE ...") *** future() w/ lazy = TRUE ... > f <- future({ + 42 + }, lazy = TRUE) [23:12:57.280] future(..., label = NULL) ... [23:12:57.280] | lazy: TRUE [23:12:57.280] | stdout: TRUE [23:12:57.281] | conditions: [n=1] 'condition' [23:12:57.281] | gc: FALSE [23:12:57.281] | earlySignal: FALSE [23:12:57.282] | getGlobalsAndPackages() ... [23:12:57.282] | : Searching for globals ... [23:12:57.299] | : . globals found: [1] '{' [23:12:57.300] | : Searching for globals ... done [23:12:57.300] | : Resolving globals: FALSE [23:12:57.300] | : Search for packages associated with the globals ... [23:12:57.301] | : . Packages associated with globals: [1] 'base' [23:12:57.301] | : . Packages: [1] 'base' [23:12:57.302] | : Search for packages associated with the globals ... done [23:12:57.302] | : Packages after dropping 'base': [0] [23:12:57.302] | : globals: [0] [23:12:57.302] | : packages: [0] [23:12:57.303] | getGlobalsAndPackages() ... done [23:12:57.307] future(..., label = NULL) ... done > print(resolved(f)) [23:12:57.308] resolved() ... [23:12:57.308] | resolved() for Future () ... [23:12:57.308] | : state: 'created' [23:12:57.308] | : run: TRUE [23:12:57.309] | : run() ... [23:12:57.309] | : . run() for 'Future' () ... [23:12:57.310] | : . ' state: 'created' [23:12:57.310] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.310] | : . ' , plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... [23:12:57.310] | : . ' , ; function (..., envir = parent.frame()) [23:12:57.310] | : . ' , ; - attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.310] | : . ' , ; - attr(*, "init")= logi TRUE [23:12:57.310] | : . ' , ; - attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.310] | : . ' , ; ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.310] | : . ' , ; - attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.310] | : . ' , ; - attr(*, "call")= language plan(sequential) [23:12:57.318] | : . ' , ; init: TRUE [23:12:57.318] | : . ' , ; makeFutureBackend() ... [23:12:57.318] | : . ' , ; ` Backend function: <'NULL'> [23:12:57.319] | : . ' , ; ` Evaluator tweak arguments: [n=0] [23:12:57.319] | : . ' , ; ` list() [23:12:57.319] | : . ' , ; ` Evaluator formal arguments: [n=0] [23:12:57.320] | : . ' , ; ` NULL [23:12:57.320] | : . ' , ; ` Arguments passed to the future-backend factory: [n=0] [23:12:57.320] | : . ' , ; ` list() [23:12:57.321] | : . ' , ; ` Backend: <'SequentialFutureBackend', 'FutureBackend', 'environment'> [23:12:57.322] | : . ' , ; makeFutureBackend() ... done [23:12:57.322] | : . ' , plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... done [23:12:57.322] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.323] | : . ' Using SequentialFutureBackend ... [23:12:57.323] | : . ' , Number of futures since start: 0 (0 created, 0 launched, 0 finished) [23:12:57.323] | : . ' , Launching futures ... [23:12:57.324] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [23:12:57.324] | : . ' , ; ` getFutureData() ... [23:12:57.325] | : . ' , ; ` | getFutureCore() ... [23:12:57.325] | : . ' , ; ` | : Packages needed by the future expression (n = 0): [23:12:57.325] | : . ' , ; ` | getFutureCore() ... done [23:12:57.326] | : . ' , ; ` | getFutureCapture() ... [23:12:57.326] | : . ' , ; ` | getFutureCapture() ... done [23:12:57.327] | : . ' , ; ` | getFutureContext() ... [23:12:57.327] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.327] | : . ' , ; ` | : . Getting stack without first backend: [n=0] [23:12:57.328] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.328] | : . ' , ; ` | : Packages needed by future backend (n = 0): [23:12:57.328] | : . ' , ; ` | getFutureContext() ... done [23:12:57.329] | : . ' , ; ` getFutureData() ... done [23:12:57.334] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.335] | : . ' , ; ` | Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [23:12:57.335] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.336] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.336] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.337] | : . ' , ; ` | : all.equal() for FutureStrategyList ... [23:12:57.337] | : . ' , ; ` | : . New stack: [23:12:57.337] | : . ' , ; ` | : . List of 1 [23:12:57.337] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [23:12:57.337] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.337] | : . ' , ; ` | : . ..- attr(*, "init")= logi TRUE [23:12:57.337] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.337] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.337] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.337] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.337] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.343] | : . ' , ; ` | : . Old stack: [23:12:57.343] | : . ' , ; ` | : . List of 1 [23:12:57.343] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [23:12:57.343] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.343] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [23:12:57.343] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.343] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.343] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.343] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [23:12:57.343] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.343] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.343] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.343] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.354] | : . ' , ; ` | : . Not identical [23:12:57.354] | : . ' , ; ` | : . all.equal() for future ... [23:12:57.354] | : . ' , ; ` | : . ' List of 2 [23:12:57.354] | : . ' , ; ` | : . ' $ target :function (..., envir = parent.frame()) [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "init")= logi TRUE [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.354] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.354] | : . ' , ; ` | : . ' $ current:function (..., envir = parent.frame()) [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.354] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [23:12:57.354] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.354] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.354] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.366] | : . ' , ; ` | : . all.equal() for future ... done [23:12:57.366] | : . ' , ; ` | : all.equal() for FutureStrategyList ... done [23:12:57.367] | : . ' , ; ` | : plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.367] | : . ' , ; ` | : List of future strategies: [23:12:57.367] | : . ' , ; ` | : 1. sequential: [23:12:57.367] | : . ' , ; ` | : - args: function (..., envir = parent.frame(), workers = "") [23:12:57.367] | : . ' , ; ` | : - tweaked: FALSE [23:12:57.367] | : . ' , ; ` | : - call: plan(sequential) [23:12:57.368] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.369] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.375] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.375] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.376] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.376] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... [23:12:57.376] | : . ' , ; ` | : . ' New stack: [23:12:57.377] | : . ' , ; ` | : . ' List of 1 [23:12:57.377] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [23:12:57.377] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.377] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [23:12:57.377] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.377] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.377] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.377] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [23:12:57.377] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.377] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.377] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.377] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.423] | : . ' , ; ` | : . ' Old stack: [23:12:57.424] | : . ' , ; ` | : . ' List of 1 [23:12:57.424] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [23:12:57.424] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.424] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [23:12:57.424] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.424] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.424] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.424] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [23:12:57.424] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.424] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.424] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.424] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.430] | : . ' , ; ` | : . ' Identical [23:12:57.431] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... done [23:12:57.431] | : . ' , ; ` | : . plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.431] | : . ' , ; ` | : . List of future strategies: [23:12:57.431] | : . ' , ; ` | : . 1. sequential: [23:12:57.431] | : . ' , ; ` | : . - args: function (..., envir = parent.frame(), workers = "") [23:12:57.431] | : . ' , ; ` | : . - tweaked: FALSE [23:12:57.431] | : . ' , ; ` | : . - call: plan(sequential) [23:12:57.432] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.433] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.433] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.440] | : . ' , ; ` SequentialFuture started (and completed) [23:12:57.441] | : . ' , ; ` signalConditions() ... [23:12:57.441] | : . ' , ; ` | include = 'immediateCondition' [23:12:57.441] | : . ' , ; ` | exclude = [23:12:57.442] | : . ' , ; ` | resignal = FALSE [23:12:57.442] | : . ' , ; ` | Number of conditions: 6 [23:12:57.442] | : . ' , ; ` | int 6 [23:12:57.443] | : . ' , ; ` | Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.444] | : . ' , ; ` | Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.444] | : . ' , ; ` | Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.444] | : . ' , ; ` | Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.444] | : . ' , ; ` | Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.445] | : . ' , ; ` | Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.445] | : . ' , ; ` signalConditions() ... done [23:12:57.446] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [23:12:57.446] | : . ' , Launching futures ... done [23:12:57.446] | : . ' , Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [23:12:57.446] | : . ' Using SequentialFutureBackend ... done [23:12:57.447] | : . run() for 'Future' () ... done [23:12:57.447] | : run() ... done [23:12:57.447] | : resolved() ... [23:12:57.448] | : . resolved() ... [23:12:57.448] | : . ' resolved() for SequentialFuture () ... [23:12:57.448] | : . ' , state: 'finished' [23:12:57.449] | : . ' , run: TRUE [23:12:57.449] | : . ' , result: 'FutureResult' [23:12:57.449] | : . ' resolved() for SequentialFuture () ... done [23:12:57.449] | : . resolved() ... done [23:12:57.450] | : . resolved: TRUE [23:12:57.450] | : resolved() ... done [23:12:57.450] | resolved() for Future () ... done [23:12:57.451] resolved() ... done [1] TRUE > y <- value(f) [23:12:57.452] value() for SequentialFuture () ... [23:12:57.452] | signalConditions() ... [23:12:57.452] | : include = 'immediateCondition' [23:12:57.453] | : exclude = [23:12:57.453] | : resignal = FALSE [23:12:57.453] | : Number of conditions: 6 [23:12:57.454] | : int 6 [23:12:57.455] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.455] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.455] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.498] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.498] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.498] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.499] | signalConditions() ... done [23:12:57.499] | relay stdout ... [23:12:57.499] | relay stdout ... done [23:12:57.499] | check for misuse ... [23:12:57.500] | check for misuse ... done [23:12:57.500] | relay conditions ... [23:12:57.500] | : Future state: 'finished' [23:12:57.501] | : signalConditions() ... [23:12:57.501] | : . include = 'condition' [23:12:57.501] | : . exclude = 'immediateCondition' [23:12:57.501] | : . resignal = TRUE [23:12:57.502] | : . Number of conditions: 6 [23:12:57.502] | : . int 6 [23:12:57.503] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.503] | : . Condition #1: 'simpleMessage', 'message', 'condition' [23:12:57.331] | : . ' , ; ` attachPackages() ... [23:12:57.504] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.504] | : . Condition #2: 'simpleMessage', 'message', 'condition' [23:12:57.332] | : . ' , ; ` | packages: [n=1] 'future' [23:12:57.504] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.505] | : . Condition #3: 'simpleMessage', 'message', 'condition' [23:12:57.332] | : . ' , ; ` attachPackages() ... done [23:12:57.505] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.505] | : . Condition #4: 'simpleMessage', 'message', 'condition' [23:12:57.333] | : . ' , ; ` attachPackages() ... [23:12:57.506] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.506] | : . Condition #5: 'simpleMessage', 'message', 'condition' [23:12:57.333] | : . ' , ; ` | packages: [n=0] [23:12:57.506] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.507] | : . Condition #6: 'simpleMessage', 'message', 'condition' [23:12:57.333] | : . ' , ; ` attachPackages() ... done [23:12:57.507] | : signalConditions() ... done [23:12:57.507] | relay conditions ... done [23:12:57.508] value() for SequentialFuture () ... done > print(y) [1] 42 > stopifnot(y == 42) > message("*** future() w/ lazy = TRUE ... DONE") *** future() w/ lazy = TRUE ... DONE > message("*** future() w/ lazy = TRUE in local() ...") *** future() w/ lazy = TRUE in local() ... > local({ + a <- 42 + f <- future({ + a + }, lazy = TRUE) + a <- 0 + y <- value(f) + print(y) + stopifnot(y == 42) .... [TRUNCATED] [23:12:57.509] future(..., label = NULL) ... [23:12:57.510] | lazy: TRUE [23:12:57.510] | stdout: TRUE [23:12:57.510] | conditions: [n=1] 'condition' [23:12:57.510] | gc: FALSE [23:12:57.511] | earlySignal: FALSE [23:12:57.511] | getGlobalsAndPackages() ... [23:12:57.511] | : Searching for globals ... [23:12:57.518] | : . globals found: [2] '{', 'a' [23:12:57.518] | : Searching for globals ... done [23:12:57.519] | : Resolving globals: FALSE [23:12:57.519] | : Search for packages associated with the globals ... [23:12:57.519] | : . Packages associated with globals: [1] 'base' [23:12:57.520] | : . Packages: [1] 'base' [23:12:57.520] | : Search for packages associated with the globals ... done [23:12:57.521] | : Packages after dropping 'base': [0] [23:12:57.521] | : globals: [1] 'a' [23:12:57.521] | : packages: [0] [23:12:57.522] | getGlobalsAndPackages() ... done [23:12:57.522] future(..., label = NULL) ... done [23:12:57.522] value() for Future () ... [23:12:57.523] | run() for 'Future' () ... [23:12:57.523] | : state: 'created' [23:12:57.523] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.524] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.524] | : Using SequentialFutureBackend ... [23:12:57.524] | : . Number of futures since start: 1 (1 created, 1 launched, 1 finished) [23:12:57.524] | : . Launching futures ... [23:12:57.525] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [23:12:57.525] | : . ' , getFutureData() ... [23:12:57.525] | : . ' , ; getFutureCore() ... [23:12:57.526] | : . ' , ; ` Packages needed by the future expression (n = 0): [23:12:57.526] | : . ' , ; getFutureCore() ... done [23:12:57.526] | : . ' , ; getFutureCapture() ... [23:12:57.527] | : . ' , ; getFutureCapture() ... done [23:12:57.527] | : . ' , ; getFutureContext() ... [23:12:57.527] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.527] | : . ' , ; ` | Getting stack without first backend: [n=0] [23:12:57.528] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.528] | : . ' , ; ` Packages needed by future backend (n = 0): [23:12:57.528] | : . ' , ; getFutureContext() ... done [23:12:57.529] | : . ' , getFutureData() ... done [23:12:57.532] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.532] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [23:12:57.533] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.533] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.534] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.534] | : . ' , ; ` all.equal() for FutureStrategyList ... [23:12:57.534] | : . ' , ; ` | New stack: [23:12:57.535] | : . ' , ; ` | List of 1 [23:12:57.535] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [23:12:57.535] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.535] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [23:12:57.535] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.535] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.535] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.535] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.535] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.540] | : . ' , ; ` | Old stack: [23:12:57.540] | : . ' , ; ` | List of 1 [23:12:57.540] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [23:12:57.540] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.540] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [23:12:57.540] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.540] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.540] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.540] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [23:12:57.540] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.540] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.540] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.540] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.549] | : . ' , ; ` | Not identical [23:12:57.549] | : . ' , ; ` | all.equal() for future ... [23:12:57.549] | : . ' , ; ` | : List of 2 [23:12:57.549] | : . ' , ; ` | : $ target :function (..., envir = parent.frame()) [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.549] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.549] | : . ' , ; ` | : $ current:function (..., envir = parent.frame()) [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.549] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.549] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.549] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.549] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.563] | : . ' , ; ` | all.equal() for future ... done [23:12:57.563] | : . ' , ; ` all.equal() for FutureStrategyList ... done [23:12:57.563] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.564] | : . ' , ; ` List of future strategies: [23:12:57.564] | : . ' , ; ` 1. sequential: [23:12:57.564] | : . ' , ; ` - args: function (..., envir = parent.frame(), workers = "") [23:12:57.564] | : . ' , ; ` - tweaked: FALSE [23:12:57.564] | : . ' , ; ` - call: plan(sequential) [23:12:57.565] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.565] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.566] | : . ' , assign_globals() ... [23:12:57.566] | : . ' , List of 1 [23:12:57.566] | : . ' , $ a: int 42 [23:12:57.566] | : . ' , - attr(*, "where")=List of 1 [23:12:57.566] | : . ' , ..$ a: [23:12:57.566] | : . ' , - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [23:12:57.566] | : . ' , - attr(*, "resolved")= logi FALSE [23:12:57.566] | : . ' , - attr(*, "total_size")= num NA [23:12:57.566] | : . ' , - attr(*, "already-done")= logi TRUE [23:12:57.572] | : . ' , - copied 'a' to environment [23:12:57.573] | : . ' , assign_globals() ... done [23:12:57.577] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.577] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.577] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.578] | : . ' , ; ` | all.equal() for FutureStrategyList ... [23:12:57.578] | : . ' , ; ` | : New stack: [23:12:57.578] | : . ' , ; ` | : List of 1 [23:12:57.578] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [23:12:57.578] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.578] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.578] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.578] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.578] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.578] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.578] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.578] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.578] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.578] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.585] | : . ' , ; ` | : Old stack: [23:12:57.586] | : . ' , ; ` | : List of 1 [23:12:57.586] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [23:12:57.586] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.586] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.586] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.586] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.586] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.586] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.586] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.586] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.586] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.586] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.593] | : . ' , ; ` | : Identical [23:12:57.593] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [23:12:57.593] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.594] | : . ' , ; ` | List of future strategies: [23:12:57.594] | : . ' , ; ` | 1. sequential: [23:12:57.594] | : . ' , ; ` | - args: function (..., envir = parent.frame(), workers = "") [23:12:57.594] | : . ' , ; ` | - tweaked: FALSE [23:12:57.594] | : . ' , ; ` | - call: plan(sequential) [23:12:57.595] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.595] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.595] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.596] | : . ' , SequentialFuture started (and completed) [23:12:57.596] | : . ' , signalConditions() ... [23:12:57.597] | : . ' , ; include = 'immediateCondition' [23:12:57.597] | : . ' , ; exclude = [23:12:57.597] | : . ' , ; resignal = FALSE [23:12:57.597] | : . ' , ; Number of conditions: 6 [23:12:57.598] | : . ' , ; int 6 [23:12:57.599] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.599] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.599] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.599] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.600] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.600] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.600] | : . ' , signalConditions() ... done [23:12:57.601] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [23:12:57.601] | : . Launching futures ... done [23:12:57.601] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [23:12:57.602] | : Using SequentialFutureBackend ... done [23:12:57.602] | run() for 'Future' () ... done [23:12:57.602] | signalConditions() ... [23:12:57.602] | : include = 'immediateCondition' [23:12:57.603] | : exclude = [23:12:57.603] | : resignal = FALSE [23:12:57.603] | : Number of conditions: 6 [23:12:57.604] | : int 6 [23:12:57.604] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.605] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.605] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.605] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.606] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.606] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.606] | signalConditions() ... done [23:12:57.606] | relay stdout ... [23:12:57.607] | relay stdout ... done [23:12:57.607] | check for misuse ... [23:12:57.607] | check for misuse ... done [23:12:57.608] | relay conditions ... [23:12:57.608] | : Future state: 'finished' [23:12:57.608] | : signalConditions() ... [23:12:57.608] | : . include = 'condition' [23:12:57.609] | : . exclude = 'immediateCondition' [23:12:57.609] | : . resignal = TRUE [23:12:57.609] | : . Number of conditions: 6 [23:12:57.609] | : . int 6 [23:12:57.610] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.611] | : . Condition #1: 'simpleMessage', 'message', 'condition' [23:12:57.529] | : . ' , attachPackages() ... [23:12:57.611] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.611] | : . Condition #2: 'simpleMessage', 'message', 'condition' [23:12:57.530] | : . ' , ; packages: [n=1] 'future' [23:12:57.612] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.612] | : . Condition #3: 'simpleMessage', 'message', 'condition' [23:12:57.530] | : . ' , attachPackages() ... done [23:12:57.612] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.613] | : . Condition #4: 'simpleMessage', 'message', 'condition' [23:12:57.530] | : . ' , attachPackages() ... [23:12:57.613] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.613] | : . Condition #5: 'simpleMessage', 'message', 'condition' [23:12:57.531] | : . ' , ; packages: [n=0] [23:12:57.614] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.614] | : . Condition #6: 'simpleMessage', 'message', 'condition' [23:12:57.531] | : . ' , attachPackages() ... done [23:12:57.615] | : signalConditions() ... done [23:12:57.615] | relay conditions ... done [23:12:57.615] value() for Future () ... done [1] 42 > message("*** future() w/ lazy = TRUE in local() ... DONE") *** future() w/ lazy = TRUE in local() ... DONE > message("*** future() w/ gc = TRUE ...") *** future() w/ gc = TRUE ... > f <- future(42, gc = TRUE, lazy = TRUE) [23:12:57.616] future(..., label = NULL) ... [23:12:57.617] | lazy: TRUE [23:12:57.617] | stdout: TRUE [23:12:57.617] | conditions: [n=1] 'condition' [23:12:57.617] | gc: TRUE [23:12:57.617] | earlySignal: FALSE [23:12:57.618] | getGlobalsAndPackages() ... [23:12:57.618] | : Searching for globals ... [23:12:57.620] | : . globals found: [0] [23:12:57.621] | : Searching for globals ... done [23:12:57.621] | : globals: [0] [23:12:57.621] | : packages: [0] [23:12:57.621] | getGlobalsAndPackages() ... done [23:12:57.622] future(..., label = NULL) ... done > print(f) Future: 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: TRUE Local evaluation: TRUE Asynchronous evaluation: TRUE Early signaling: FALSE Environment: R_GlobalEnv State: 'created' Resolved: FALSE Unique identifier: 3b3dd673b45331852d776bd0e3fc1dd2-3 Owner process: 3b3dd673b45331852d776bd0e3fc1dd2 Class: 'Future', 'environment' Value: Conditions captured: > y <- value(f) [23:12:57.624] value() for Future () ... [23:12:57.624] | run() for 'Future' () ... [23:12:57.624] | : state: 'created' [23:12:57.624] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.625] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.625] | : Using SequentialFutureBackend ... [23:12:57.625] | : . Number of futures since start: 2 (2 created, 2 launched, 2 finished) [23:12:57.626] | : . Launching futures ... [23:12:57.626] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [23:12:57.626] | : . ' , getFutureData() ... [23:12:57.626] | : . ' , ; getFutureCore() ... [23:12:57.627] | : . ' , ; ` Packages needed by the future expression (n = 0): [23:12:57.627] | : . ' , ; getFutureCore() ... done [23:12:57.627] | : . ' , ; getFutureCapture() ... [23:12:57.628] | : . ' , ; getFutureCapture() ... done [23:12:57.628] | : . ' , ; getFutureContext() ... [23:12:57.628] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.628] | : . ' , ; ` | Getting stack without first backend: [n=0] [23:12:57.629] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.629] | : . ' , ; ` Packages needed by future backend (n = 0): [23:12:57.629] | : . ' , ; getFutureContext() ... done [23:12:57.630] | : . ' , getFutureData() ... done [23:12:57.633] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.633] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [23:12:57.633] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.634] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.634] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.635] | : . ' , ; ` all.equal() for FutureStrategyList ... [23:12:57.635] | : . ' , ; ` | New stack: [23:12:57.635] | : . ' , ; ` | List of 1 [23:12:57.635] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [23:12:57.635] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.635] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [23:12:57.635] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.635] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.635] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.635] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.635] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.641] | : . ' , ; ` | Old stack: [23:12:57.641] | : . ' , ; ` | List of 1 [23:12:57.641] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [23:12:57.641] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.641] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [23:12:57.641] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.641] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.641] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.641] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [23:12:57.641] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.641] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.641] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.641] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.648] | : . ' , ; ` | Not identical [23:12:57.648] | : . ' , ; ` | all.equal() for future ... [23:12:57.649] | : . ' , ; ` | : List of 2 [23:12:57.649] | : . ' , ; ` | : $ target :function (..., envir = parent.frame()) [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.649] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.649] | : . ' , ; ` | : $ current:function (..., envir = parent.frame()) [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.649] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.649] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.649] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.649] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.661] | : . ' , ; ` | all.equal() for future ... done [23:12:57.661] | : . ' , ; ` all.equal() for FutureStrategyList ... done [23:12:57.661] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.662] | : . ' , ; ` List of future strategies: [23:12:57.662] | : . ' , ; ` 1. sequential: [23:12:57.662] | : . ' , ; ` - args: function (..., envir = parent.frame(), workers = "") [23:12:57.662] | : . ' , ; ` - tweaked: FALSE [23:12:57.662] | : . ' , ; ` - call: plan(sequential) [23:12:57.663] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.663] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.667] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.667] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.668] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.668] | : . ' , ; ` | all.equal() for FutureStrategyList ... [23:12:57.668] | : . ' , ; ` | : New stack: [23:12:57.669] | : . ' , ; ` | : List of 1 [23:12:57.669] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [23:12:57.669] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.669] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.669] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.669] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.669] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.669] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.669] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.669] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.669] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.669] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.678] | : . ' , ; ` | : Old stack: [23:12:57.679] | : . ' , ; ` | : List of 1 [23:12:57.679] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [23:12:57.679] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.679] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.679] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.679] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.679] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.679] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.679] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.679] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.679] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.679] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.684] | : . ' , ; ` | : Identical [23:12:57.685] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [23:12:57.685] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.685] | : . ' , ; ` | List of future strategies: [23:12:57.685] | : . ' , ; ` | 1. sequential: [23:12:57.685] | : . ' , ; ` | - args: function (..., envir = parent.frame(), workers = "") [23:12:57.685] | : . ' , ; ` | - tweaked: FALSE [23:12:57.685] | : . ' , ; ` | - call: plan(sequential) [23:12:57.686] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.686] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.687] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.687] | : . ' , SequentialFuture started (and completed) [23:12:57.688] | : . ' , signalConditions() ... [23:12:57.688] | : . ' , ; include = 'immediateCondition' [23:12:57.688] | : . ' , ; exclude = [23:12:57.688] | : . ' , ; resignal = FALSE [23:12:57.689] | : . ' , ; Number of conditions: 6 [23:12:57.689] | : . ' , ; int 6 [23:12:57.690] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.690] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.690] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.690] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.690] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.691] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.691] | : . ' , signalConditions() ... done [23:12:57.691] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [23:12:57.691] | : . Launching futures ... done [23:12:57.692] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [23:12:57.692] | : Using SequentialFutureBackend ... done [23:12:57.692] | run() for 'Future' () ... done [23:12:57.692] | signalConditions() ... [23:12:57.693] | : include = 'immediateCondition' [23:12:57.693] | : exclude = [23:12:57.693] | : resignal = FALSE [23:12:57.693] | : Number of conditions: 6 [23:12:57.693] | : int 6 [23:12:57.694] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.694] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.695] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.695] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.695] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.695] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.695] | signalConditions() ... done [23:12:57.696] | relay stdout ... [23:12:57.696] | relay stdout ... done [23:12:57.696] | check for misuse ... [23:12:57.696] | check for misuse ... done [23:12:57.697] | relay conditions ... [23:12:57.697] | : Future state: 'finished' [23:12:57.697] | : signalConditions() ... [23:12:57.697] | : . include = 'condition' [23:12:57.697] | : . exclude = 'immediateCondition' [23:12:57.697] | : . resignal = TRUE [23:12:57.697] | : . Number of conditions: 6 [23:12:57.698] | : . int 6 [23:12:57.698] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.698] | : . Condition #1: 'simpleMessage', 'message', 'condition' [23:12:57.630] | : . ' , attachPackages() ... [23:12:57.698] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.699] | : . Condition #2: 'simpleMessage', 'message', 'condition' [23:12:57.631] | : . ' , ; packages: [n=1] 'future' [23:12:57.699] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.699] | : . Condition #3: 'simpleMessage', 'message', 'condition' [23:12:57.631] | : . ' , attachPackages() ... done [23:12:57.699] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.699] | : . Condition #4: 'simpleMessage', 'message', 'condition' [23:12:57.631] | : . ' , attachPackages() ... [23:12:57.700] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.700] | : . Condition #5: 'simpleMessage', 'message', 'condition' [23:12:57.632] | : . ' , ; packages: [n=0] [23:12:57.700] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.700] | : . Condition #6: 'simpleMessage', 'message', 'condition' [23:12:57.632] | : . ' , attachPackages() ... done [23:12:57.700] | : signalConditions() ... done [23:12:57.700] | relay conditions ... done [23:12:57.701] value() for Future () ... done > print(y) [1] 42 > stopifnot(y == 42) > message("*** future() w/ gc = TRUE ... DONE") *** future() w/ gc = TRUE ... DONE > message("*** future() ... DONE") *** future() ... DONE > message("*** future() ...") *** future() ... > f <- future({ + 42 + }, lazy = TRUE) [23:12:57.701] future(..., label = NULL) ... [23:12:57.702] | lazy: TRUE [23:12:57.702] | stdout: TRUE [23:12:57.702] | conditions: [n=1] 'condition' [23:12:57.702] | gc: FALSE [23:12:57.702] | earlySignal: FALSE [23:12:57.703] | getGlobalsAndPackages() ... [23:12:57.703] | : Searching for globals ... [23:12:57.708] | : . globals found: [1] '{' [23:12:57.708] | : Searching for globals ... done [23:12:57.709] | : Resolving globals: FALSE [23:12:57.709] | : Search for packages associated with the globals ... [23:12:57.709] | : . Packages associated with globals: [1] 'base' [23:12:57.710] | : . Packages: [1] 'base' [23:12:57.710] | : Search for packages associated with the globals ... done [23:12:57.710] | : Packages after dropping 'base': [0] [23:12:57.710] | : globals: [0] [23:12:57.711] | : packages: [0] [23:12:57.711] | getGlobalsAndPackages() ... done [23:12:57.711] future(..., label = NULL) ... done > print(resolved(f)) [23:12:57.712] resolved() ... [23:12:57.712] | resolved() for Future () ... [23:12:57.712] | : state: 'created' [23:12:57.712] | : run: TRUE [23:12:57.713] | : run() ... [23:12:57.713] | : . run() for 'Future' () ... [23:12:57.713] | : . ' state: 'created' [23:12:57.713] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.714] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.714] | : . ' Using SequentialFutureBackend ... [23:12:57.714] | : . ' , Number of futures since start: 3 (3 created, 3 launched, 3 finished) [23:12:57.714] | : . ' , Launching futures ... [23:12:57.715] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [23:12:57.715] | : . ' , ; ` getFutureData() ... [23:12:57.715] | : . ' , ; ` | getFutureCore() ... [23:12:57.715] | : . ' , ; ` | : Packages needed by the future expression (n = 0): [23:12:57.716] | : . ' , ; ` | getFutureCore() ... done [23:12:57.716] | : . ' , ; ` | getFutureCapture() ... [23:12:57.716] | : . ' , ; ` | getFutureCapture() ... done [23:12:57.716] | : . ' , ; ` | getFutureContext() ... [23:12:57.717] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.717] | : . ' , ; ` | : . Getting stack without first backend: [n=0] [23:12:57.717] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.717] | : . ' , ; ` | : Packages needed by future backend (n = 0): [23:12:57.718] | : . ' , ; ` | getFutureContext() ... done [23:12:57.718] | : . ' , ; ` getFutureData() ... done [23:12:57.721] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.721] | : . ' , ; ` | Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [23:12:57.721] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.722] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.722] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.722] | : . ' , ; ` | : all.equal() for FutureStrategyList ... [23:12:57.722] | : . ' , ; ` | : . New stack: [23:12:57.723] | : . ' , ; ` | : . List of 1 [23:12:57.723] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [23:12:57.723] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.723] | : . ' , ; ` | : . ..- attr(*, "init")= logi TRUE [23:12:57.723] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.723] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.723] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.723] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.723] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.727] | : . ' , ; ` | : . Old stack: [23:12:57.728] | : . ' , ; ` | : . List of 1 [23:12:57.728] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [23:12:57.728] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.728] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [23:12:57.728] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.728] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.728] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.728] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [23:12:57.728] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.728] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.728] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.728] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.733] | : . ' , ; ` | : . Not identical [23:12:57.733] | : . ' , ; ` | : . all.equal() for future ... [23:12:57.734] | : . ' , ; ` | : . ' List of 2 [23:12:57.734] | : . ' , ; ` | : . ' $ target :function (..., envir = parent.frame()) [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "init")= logi TRUE [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.734] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.734] | : . ' , ; ` | : . ' $ current:function (..., envir = parent.frame()) [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.734] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [23:12:57.734] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.734] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.734] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.743] | : . ' , ; ` | : . all.equal() for future ... done [23:12:57.744] | : . ' , ; ` | : all.equal() for FutureStrategyList ... done [23:12:57.744] | : . ' , ; ` | : plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.744] | : . ' , ; ` | : List of future strategies: [23:12:57.744] | : . ' , ; ` | : 1. sequential: [23:12:57.744] | : . ' , ; ` | : - args: function (..., envir = parent.frame(), workers = "") [23:12:57.744] | : . ' , ; ` | : - tweaked: FALSE [23:12:57.744] | : . ' , ; ` | : - call: plan(sequential) [23:12:57.745] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.745] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.748] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.749] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.749] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.749] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... [23:12:57.750] | : . ' , ; ` | : . ' New stack: [23:12:57.750] | : . ' , ; ` | : . ' List of 1 [23:12:57.750] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [23:12:57.750] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.750] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [23:12:57.750] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.750] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.750] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.750] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [23:12:57.750] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.750] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.750] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.750] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.756] | : . ' , ; ` | : . ' Old stack: [23:12:57.756] | : . ' , ; ` | : . ' List of 1 [23:12:57.756] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [23:12:57.756] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.756] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [23:12:57.756] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.756] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.756] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.756] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [23:12:57.756] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.756] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.756] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.756] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.762] | : . ' , ; ` | : . ' Identical [23:12:57.762] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... done [23:12:57.762] | : . ' , ; ` | : . plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.762] | : . ' , ; ` | : . List of future strategies: [23:12:57.762] | : . ' , ; ` | : . 1. sequential: [23:12:57.762] | : . ' , ; ` | : . - args: function (..., envir = parent.frame(), workers = "") [23:12:57.762] | : . ' , ; ` | : . - tweaked: FALSE [23:12:57.762] | : . ' , ; ` | : . - call: plan(sequential) [23:12:57.763] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.763] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.764] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.764] | : . ' , ; ` SequentialFuture started (and completed) [23:12:57.765] | : . ' , ; ` signalConditions() ... [23:12:57.765] | : . ' , ; ` | include = 'immediateCondition' [23:12:57.765] | : . ' , ; ` | exclude = [23:12:57.765] | : . ' , ; ` | resignal = FALSE [23:12:57.766] | : . ' , ; ` | Number of conditions: 6 [23:12:57.766] | : . ' , ; ` | int 6 [23:12:57.767] | : . ' , ; ` | Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.767] | : . ' , ; ` | Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.767] | : . ' , ; ` | Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.767] | : . ' , ; ` | Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.768] | : . ' , ; ` | Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.768] | : . ' , ; ` | Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.768] | : . ' , ; ` signalConditions() ... done [23:12:57.769] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [23:12:57.769] | : . ' , Launching futures ... done [23:12:57.769] | : . ' , Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [23:12:57.769] | : . ' Using SequentialFutureBackend ... done [23:12:57.770] | : . run() for 'Future' () ... done [23:12:57.770] | : run() ... done [23:12:57.770] | : resolved() ... [23:12:57.770] | : . resolved() ... [23:12:57.771] | : . ' resolved() for SequentialFuture () ... [23:12:57.771] | : . ' , state: 'finished' [23:12:57.771] | : . ' , run: TRUE [23:12:57.772] | : . ' , result: 'FutureResult' [23:12:57.772] | : . ' resolved() for SequentialFuture () ... done [23:12:57.772] | : . resolved() ... done [23:12:57.772] | : . resolved: TRUE [23:12:57.773] | : resolved() ... done [23:12:57.773] | resolved() for Future () ... done [23:12:57.773] resolved() ... done [1] TRUE > y <- value(f) [23:12:57.774] value() for SequentialFuture () ... [23:12:57.774] | signalConditions() ... [23:12:57.774] | : include = 'immediateCondition' [23:12:57.774] | : exclude = [23:12:57.774] | : resignal = FALSE [23:12:57.775] | : Number of conditions: 6 [23:12:57.775] | : int 6 [23:12:57.776] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.776] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.776] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.776] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.777] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.777] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.777] | signalConditions() ... done [23:12:57.778] | relay stdout ... [23:12:57.778] | relay stdout ... done [23:12:57.778] | check for misuse ... [23:12:57.778] | check for misuse ... done [23:12:57.779] | relay conditions ... [23:12:57.779] | : Future state: 'finished' [23:12:57.779] | : signalConditions() ... [23:12:57.779] | : . include = 'condition' [23:12:57.779] | : . exclude = 'immediateCondition' [23:12:57.780] | : . resignal = TRUE [23:12:57.780] | : . Number of conditions: 6 [23:12:57.780] | : . int 6 [23:12:57.781] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.781] | : . Condition #1: 'simpleMessage', 'message', 'condition' [23:12:57.718] | : . ' , ; ` attachPackages() ... [23:12:57.782] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.782] | : . Condition #2: 'simpleMessage', 'message', 'condition' [23:12:57.719] | : . ' , ; ` | packages: [n=1] 'future' [23:12:57.782] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.783] | : . Condition #3: 'simpleMessage', 'message', 'condition' [23:12:57.719] | : . ' , ; ` attachPackages() ... done [23:12:57.783] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.783] | : . Condition #4: 'simpleMessage', 'message', 'condition' [23:12:57.719] | : . ' , ; ` attachPackages() ... [23:12:57.784] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.784] | : . Condition #5: 'simpleMessage', 'message', 'condition' [23:12:57.720] | : . ' , ; ` | packages: [n=0] [23:12:57.784] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.784] | : . Condition #6: 'simpleMessage', 'message', 'condition' [23:12:57.720] | : . ' , ; ` attachPackages() ... done [23:12:57.785] | : signalConditions() ... done [23:12:57.785] | relay conditions ... done [23:12:57.785] value() for SequentialFuture () ... done > print(y) [1] 42 > stopifnot(y == 42) > message("*** future() w/ gc = TRUE ...") *** future() w/ gc = TRUE ... > f <- future(42, gc = TRUE, lazy = TRUE) [23:12:57.786] future(..., label = NULL) ... [23:12:57.786] | lazy: TRUE [23:12:57.787] | stdout: TRUE [23:12:57.787] | conditions: [n=1] 'condition' [23:12:57.787] | gc: TRUE [23:12:57.787] | earlySignal: FALSE [23:12:57.787] | getGlobalsAndPackages() ... [23:12:57.788] | : Searching for globals ... [23:12:57.790] | : . globals found: [0] [23:12:57.790] | : Searching for globals ... done [23:12:57.790] | : globals: [0] [23:12:57.791] | : packages: [0] [23:12:57.791] | getGlobalsAndPackages() ... done [23:12:57.791] future(..., label = NULL) ... done > print(f) Future: 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: TRUE Local evaluation: TRUE Asynchronous evaluation: TRUE Early signaling: FALSE Environment: R_GlobalEnv State: 'created' Resolved: FALSE Unique identifier: 3b3dd673b45331852d776bd0e3fc1dd2-5 Owner process: 3b3dd673b45331852d776bd0e3fc1dd2 Class: 'Future', 'environment' Value: Conditions captured: > y <- value(f) [23:12:57.792] value() for Future () ... [23:12:57.793] | run() for 'Future' () ... [23:12:57.793] | : state: 'created' [23:12:57.793] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.793] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.794] | : Using SequentialFutureBackend ... [23:12:57.794] | : . Number of futures since start: 4 (4 created, 4 launched, 4 finished) [23:12:57.794] | : . Launching futures ... [23:12:57.795] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [23:12:57.795] | : . ' , getFutureData() ... [23:12:57.795] | : . ' , ; getFutureCore() ... [23:12:57.795] | : . ' , ; ` Packages needed by the future expression (n = 0): [23:12:57.796] | : . ' , ; getFutureCore() ... done [23:12:57.796] | : . ' , ; getFutureCapture() ... [23:12:57.796] | : . ' , ; getFutureCapture() ... done [23:12:57.796] | : . ' , ; getFutureContext() ... [23:12:57.797] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.797] | : . ' , ; ` | Getting stack without first backend: [n=0] [23:12:57.797] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.797] | : . ' , ; ` Packages needed by future backend (n = 0): [23:12:57.798] | : . ' , ; getFutureContext() ... done [23:12:57.798] | : . ' , getFutureData() ... done [23:12:57.801] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [23:12:57.801] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [23:12:57.801] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [23:12:57.802] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.802] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.803] | : . ' , ; ` all.equal() for FutureStrategyList ... [23:12:57.803] | : . ' , ; ` | New stack: [23:12:57.803] | : . ' , ; ` | List of 1 [23:12:57.803] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [23:12:57.803] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.803] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [23:12:57.803] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.803] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.803] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.803] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.803] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.808] | : . ' , ; ` | Old stack: [23:12:57.808] | : . ' , ; ` | List of 1 [23:12:57.808] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [23:12:57.808] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.808] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [23:12:57.808] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.808] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.808] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.808] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [23:12:57.808] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.808] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.808] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.808] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.814] | : . ' , ; ` | Not identical [23:12:57.815] | : . ' , ; ` | all.equal() for future ... [23:12:57.815] | : . ' , ; ` | : List of 2 [23:12:57.815] | : . ' , ; ` | : $ target :function (..., envir = parent.frame()) [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.815] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [23:12:57.815] | : . ' , ; ` | : $ current:function (..., envir = parent.frame()) [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.815] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.815] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.815] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.815] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.828] | : . ' , ; ` | all.equal() for future ... done [23:12:57.828] | : . ' , ; ` all.equal() for FutureStrategyList ... done [23:12:57.828] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.829] | : . ' , ; ` List of future strategies: [23:12:57.829] | : . ' , ; ` 1. sequential: [23:12:57.829] | : . ' , ; ` - args: function (..., envir = parent.frame(), workers = "") [23:12:57.829] | : . ' , ; ` - tweaked: FALSE [23:12:57.829] | : . ' , ; ` - call: plan(sequential) [23:12:57.830] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.830] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.833] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.834] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [23:12:57.834] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [23:12:57.834] | : . ' , ; ` | all.equal() for FutureStrategyList ... [23:12:57.835] | : . ' , ; ` | : New stack: [23:12:57.835] | : . ' , ; ` | : List of 1 [23:12:57.835] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [23:12:57.835] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.835] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.835] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.835] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.835] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.835] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.835] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.835] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.835] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.835] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.841] | : . ' , ; ` | : Old stack: [23:12:57.841] | : . ' , ; ` | : List of 1 [23:12:57.841] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [23:12:57.841] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [23:12:57.841] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [23:12:57.841] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.841] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.841] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.841] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [23:12:57.841] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [23:12:57.841] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [23:12:57.841] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [23:12:57.841] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [23:12:57.847] | : . ' , ; ` | : Identical [23:12:57.848] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [23:12:57.848] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [23:12:57.848] | : . ' , ; ` | List of future strategies: [23:12:57.848] | : . ' , ; ` | 1. sequential: [23:12:57.848] | : . ' , ; ` | - args: function (..., envir = parent.frame(), workers = "") [23:12:57.848] | : . ' , ; ` | - tweaked: FALSE [23:12:57.848] | : . ' , ; ` | - call: plan(sequential) [23:12:57.849] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [23:12:57.849] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.849] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [23:12:57.850] | : . ' , SequentialFuture started (and completed) [23:12:57.851] | : . ' , signalConditions() ... [23:12:57.851] | : . ' , ; include = 'immediateCondition' [23:12:57.851] | : . ' , ; exclude = [23:12:57.851] | : . ' , ; resignal = FALSE [23:12:57.851] | : . ' , ; Number of conditions: 6 [23:12:57.852] | : . ' , ; int 6 [23:12:57.853] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.853] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.853] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.853] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.854] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.854] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.854] | : . ' , signalConditions() ... done [23:12:57.854] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [23:12:57.855] | : . Launching futures ... done [23:12:57.855] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [23:12:57.855] | : Using SequentialFutureBackend ... done [23:12:57.855] | run() for 'Future' () ... done [23:12:57.856] | signalConditions() ... [23:12:57.856] | : include = 'immediateCondition' [23:12:57.856] | : exclude = [23:12:57.857] | : resignal = FALSE [23:12:57.857] | : Number of conditions: 6 [23:12:57.857] | : int 6 [23:12:57.858] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.858] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.858] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.859] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.859] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.859] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.859] | signalConditions() ... done [23:12:57.860] | relay stdout ... [23:12:57.860] | relay stdout ... done [23:12:57.860] | check for misuse ... [23:12:57.860] | check for misuse ... done [23:12:57.861] | relay conditions ... [23:12:57.861] | : Future state: 'finished' [23:12:57.861] | : signalConditions() ... [23:12:57.861] | : . include = 'condition' [23:12:57.862] | : . exclude = 'immediateCondition' [23:12:57.862] | : . resignal = TRUE [23:12:57.862] | : . Number of conditions: 6 [23:12:57.862] | : . int 6 [23:12:57.863] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.864] | : . Condition #1: 'simpleMessage', 'message', 'condition' [23:12:57.798] | : . ' , attachPackages() ... [23:12:57.864] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.864] | : . Condition #2: 'simpleMessage', 'message', 'condition' [23:12:57.799] | : . ' , ; packages: [n=1] 'future' [23:12:57.864] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.865] | : . Condition #3: 'simpleMessage', 'message', 'condition' [23:12:57.799] | : . ' , attachPackages() ... done [23:12:57.865] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.865] | : . Condition #4: 'simpleMessage', 'message', 'condition' [23:12:57.799] | : . ' , attachPackages() ... [23:12:57.866] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.866] | : . Condition #5: 'simpleMessage', 'message', 'condition' [23:12:57.800] | : . ' , ; packages: [n=0] [23:12:57.866] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [23:12:57.866] | : . Condition #6: 'simpleMessage', 'message', 'condition' [23:12:57.800] | : . ' , attachPackages() ... done [23:12:57.867] | : signalConditions() ... done [23:12:57.867] | relay conditions ... done [23:12:57.867] value() for Future () ... done > print(y) [1] 42 > stopifnot(y == 42) > message("*** future() w/ gc = TRUE ... DONE") *** future() w/ gc = TRUE ... DONE > message("*** future() - exceptions ...") *** future() - exceptions ... > target <- list(name = "", envir = new.env(), + code = "Yo!", exists = TRUE) > res <- tryCatch(get_future(target, mustExist = TRUE), + error = identity) [23:12:57.869] ERROR: Future ('') not found in environment '': 'Yo!' > stopifnot(inherits(res, "error")) > message("*** future() - exceptions ... DONE") *** future() - exceptions ... DONE > message("*** future() ... DONE") *** future() ... 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=214] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CV_Instance001', '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_INTERNAL__', '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_11_16_23_10_16_9296' Sourcing 6 epilogue scripts ... done Test time: user.self=0.7s, sys.self=0.04s, elapsed=0.7s, user.child=NAs, sys.child=NAs Test 'future' ... success > > proc.time() user system elapsed 0.98 0.18 1.11