R Under development (unstable) (2025-07-28 r88462 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) [12:32:44.930] Option 'future.startup.script': TRUE [12:32:44.931] Future startup scripts considered: '.future.R', '~/.future.R' [12:32:44.932] Future startup scripts found: > message("*** future() ...") *** future() ... > message("*** future() w/ lazy = TRUE ...") *** future() w/ lazy = TRUE ... > f <- future({ + 42 + }, lazy = TRUE) [12:32:44.935] future(..., label = NULL) ... [12:32:44.935] | lazy: TRUE [12:32:44.936] | stdout: TRUE [12:32:44.936] | conditions: [n=1] 'condition' [12:32:44.936] | gc: FALSE [12:32:44.936] | earlySignal: FALSE [12:32:44.938] | getGlobalsAndPackages() ... [12:32:44.938] | : Searching for globals ... [12:32:44.958] | : . globals found: [1] '{' [12:32:44.958] | : Searching for globals ... done [12:32:44.959] | : Resolving globals: FALSE [12:32:44.959] | : Search for packages associated with the globals ... [12:32:44.960] | : . Packages associated with globals: [1] 'base' [12:32:44.960] | : . Packages: [1] 'base' [12:32:44.961] | : Search for packages associated with the globals ... done [12:32:44.961] | : Packages after dropping 'base': [0] [12:32:44.961] | : globals: [0] [12:32:44.962] | : packages: [0] [12:32:44.962] | getGlobalsAndPackages() ... done [12:32:44.963] future(..., label = NULL) ... done > print(resolved(f)) [12:32:44.967] resolved() ... [12:32:44.968] | resolved() for Future () ... [12:32:44.968] | : state: 'created' [12:32:44.968] | : run: TRUE [12:32:44.969] | : run() ... [12:32:44.969] | : . run() for 'Future' () ... [12:32:44.970] | : . ' state: 'created' [12:32:44.970] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:44.970] | : . ' , plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... [12:32:44.971] | : . ' , ; function (..., envir = parent.frame()) [12:32:44.971] | : . ' , ; - attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:44.971] | : . ' , ; - attr(*, "init")= logi TRUE [12:32:44.971] | : . ' , ; - attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:44.971] | : . ' , ; ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:44.971] | : . ' , ; - attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:44.971] | : . ' , ; - attr(*, "call")= language plan(sequential) [12:32:44.979] | : . ' , ; init: TRUE [12:32:44.979] | : . ' , ; makeFutureBackend() ... [12:32:44.980] | : . ' , ; ` Backend function: <'NULL'> [12:32:44.980] | : . ' , ; ` Evaluator tweak arguments: [n=0] [12:32:44.980] | : . ' , ; ` list() [12:32:44.981] | : . ' , ; ` Evaluator formal arguments: [n=0] [12:32:44.981] | : . ' , ; ` list() [12:32:44.982] | : . ' , ; ` Backend factory arguments: [n=0] [12:32:44.982] | : . ' , ; ` NULL [12:32:44.983] | : . ' , ; ` Backend: <'SequentialFutureBackend', 'FutureBackend', 'environment'> [12:32:44.983] | : . ' , ; makeFutureBackend() ... done [12:32:44.984] | : . ' , plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... done [12:32:44.984] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:44.984] | : . ' Using SequentialFutureBackend ... [12:32:44.984] | : . ' , Number of futures since start: 0 (0 created, 0 launched, 0 finished) [12:32:44.985] | : . ' , Launching futures ... [12:32:44.985] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [12:32:44.986] | : . ' , ; ` getFutureData() ... [12:32:44.986] | : . ' , ; ` | getFutureCore() ... [12:32:44.987] | : . ' , ; ` | : Packages needed by the future expression (n = 0): [12:32:44.987] | : . ' , ; ` | getFutureCore() ... done [12:32:44.987] | : . ' , ; ` | getFutureCapture() ... [12:32:44.988] | : . ' , ; ` | getFutureCapture() ... done [12:32:44.988] | : . ' , ; ` | getFutureContext() ... [12:32:44.988] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:44.989] | : . ' , ; ` | : . Getting stack without first backend: [n=0] [12:32:44.989] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:44.989] | : . ' , ; ` | : Packages needed by future backend (n = 0): [12:32:44.990] | : . ' , ; ` | getFutureContext() ... done [12:32:44.990] | : . ' , ; ` getFutureData() ... done [12:32:44.996] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:44.996] | : . ' , ; ` | Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [12:32:44.996] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:44.997] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:44.998] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:44.998] | : . ' , ; ` | : all.equal() for FutureStrategyList ... [12:32:44.998] | : . ' , ; ` | : . New stack: [12:32:44.998] | : . ' , ; ` | : . List of 1 [12:32:44.998] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [12:32:44.998] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:44.998] | : . ' , ; ` | : . ..- attr(*, "init")= logi TRUE [12:32:44.998] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:44.998] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:44.998] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:44.998] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:44.998] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.004] | : . ' , ; ` | : . Old stack: [12:32:45.004] | : . ' , ; ` | : . List of 1 [12:32:45.004] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [12:32:45.004] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.004] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [12:32:45.004] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.004] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.004] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.004] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [12:32:45.004] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.004] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.004] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.004] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.014] | : . ' , ; ` | : . Not identical [12:32:45.015] | : . ' , ; ` | : . all.equal() for future ... [12:32:45.015] | : . ' , ; ` | : . ' List of 2 [12:32:45.015] | : . ' , ; ` | : . ' $ target :function (..., envir = parent.frame()) [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "init")= logi TRUE [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.015] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.015] | : . ' , ; ` | : . ' $ current:function (..., envir = parent.frame()) [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.015] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [12:32:45.015] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.015] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.015] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.026] | : . ' , ; ` | : . all.equal() for future ... done [12:32:45.026] | : . ' , ; ` | : all.equal() for FutureStrategyList ... done [12:32:45.027] | : . ' , ; ` | : plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.027] | : . ' , ; ` | : List of future strategies: [12:32:45.027] | : . ' , ; ` | : 1. sequential: [12:32:45.027] | : . ' , ; ` | : - args: function (..., envir = parent.frame(), workers = "") [12:32:45.027] | : . ' , ; ` | : - tweaked: FALSE [12:32:45.027] | : . ' , ; ` | : - call: plan(sequential) [12:32:45.028] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.029] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.034] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.034] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.035] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.035] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... [12:32:45.035] | : . ' , ; ` | : . ' New stack: [12:32:45.036] | : . ' , ; ` | : . ' List of 1 [12:32:45.036] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [12:32:45.036] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.036] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [12:32:45.036] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.036] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.036] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.036] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [12:32:45.036] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.036] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.036] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.036] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.078] | : . ' , ; ` | : . ' Old stack: [12:32:45.079] | : . ' , ; ` | : . ' List of 1 [12:32:45.079] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [12:32:45.079] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.079] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [12:32:45.079] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.079] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.079] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.079] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [12:32:45.079] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.079] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.079] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.079] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.085] | : . ' , ; ` | : . ' Identical [12:32:45.085] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... done [12:32:45.086] | : . ' , ; ` | : . plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.086] | : . ' , ; ` | : . List of future strategies: [12:32:45.086] | : . ' , ; ` | : . 1. sequential: [12:32:45.086] | : . ' , ; ` | : . - args: function (..., envir = parent.frame(), workers = "") [12:32:45.086] | : . ' , ; ` | : . - tweaked: FALSE [12:32:45.086] | : . ' , ; ` | : . - call: plan(sequential) [12:32:45.087] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.087] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.087] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.093] | : . ' , ; ` SequentialFuture started (and completed) [12:32:45.094] | : . ' , ; ` signalConditions() ... [12:32:45.095] | : . ' , ; ` | include = 'immediateCondition' [12:32:45.095] | : . ' , ; ` | exclude = [12:32:45.095] | : . ' , ; ` | resignal = FALSE [12:32:45.096] | : . ' , ; ` | Number of conditions: 6 [12:32:45.096] | : . ' , ; ` | int 6 [12:32:45.097] | : . ' , ; ` | Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.097] | : . ' , ; ` | Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.097] | : . ' , ; ` | Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.098] | : . ' , ; ` | Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.098] | : . ' , ; ` | Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.098] | : . ' , ; ` | Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.098] | : . ' , ; ` signalConditions() ... done [12:32:45.099] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [12:32:45.099] | : . ' , Launching futures ... done [12:32:45.099] | : . ' , Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [12:32:45.100] | : . ' Using SequentialFutureBackend ... done [12:32:45.100] | : . run() for 'Future' () ... done [12:32:45.100] | : run() ... done [12:32:45.100] | : resolved() ... [12:32:45.101] | : . resolved() ... [12:32:45.101] | : . ' resolved() for SequentialFuture () ... [12:32:45.101] | : . ' , state: 'finished' [12:32:45.102] | : . ' , run: TRUE [12:32:45.102] | : . ' , result: 'FutureResult' [12:32:45.102] | : . ' resolved() for SequentialFuture () ... done [12:32:45.102] | : . resolved() ... done [12:32:45.103] | : . resolved: TRUE [12:32:45.103] | : resolved() ... done [12:32:45.103] | resolved() for Future () ... done [12:32:45.103] resolved() ... done [1] TRUE > y <- value(f) [12:32:45.105] value() for SequentialFuture () ... [12:32:45.105] | signalConditions() ... [12:32:45.105] | : include = 'immediateCondition' [12:32:45.105] | : exclude = [12:32:45.106] | : resignal = FALSE [12:32:45.106] | : Number of conditions: 6 [12:32:45.106] | : int 6 [12:32:45.107] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.107] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.108] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.108] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.108] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.108] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.109] | signalConditions() ... done [12:32:45.109] | relay stdout ... [12:32:45.150] | relay stdout ... done [12:32:45.150] | check for misuse ... [12:32:45.150] | check for misuse ... done [12:32:45.150] | relay conditions ... [12:32:45.151] | : Future state: 'finished' [12:32:45.151] | : signalConditions() ... [12:32:45.151] | : . include = 'condition' [12:32:45.152] | : . exclude = 'immediateCondition' [12:32:45.152] | : . resignal = TRUE [12:32:45.152] | : . Number of conditions: 6 [12:32:45.152] | : . int 6 [12:32:45.153] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.153] | : . Condition #1: 'simpleMessage', 'message', 'condition' [12:32:44.993] | : . ' , ; ` attachPackages() ... [12:32:45.154] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.154] | : . Condition #2: 'simpleMessage', 'message', 'condition' [12:32:44.993] | : . ' , ; ` | packages: [n=1] 'future' [12:32:45.154] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.155] | : . Condition #3: 'simpleMessage', 'message', 'condition' [12:32:44.994] | : . ' , ; ` attachPackages() ... done [12:32:45.155] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.155] | : . Condition #4: 'simpleMessage', 'message', 'condition' [12:32:44.994] | : . ' , ; ` attachPackages() ... [12:32:45.156] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.156] | : . Condition #5: 'simpleMessage', 'message', 'condition' [12:32:44.994] | : . ' , ; ` | packages: [n=0] [12:32:45.156] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.157] | : . Condition #6: 'simpleMessage', 'message', 'condition' [12:32:44.995] | : . ' , ; ` attachPackages() ... done [12:32:45.157] | : signalConditions() ... done [12:32:45.157] | relay conditions ... done [12:32:45.157] 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] [12:32:45.159] future(..., label = NULL) ... [12:32:45.159] | lazy: TRUE [12:32:45.159] | stdout: TRUE [12:32:45.160] | conditions: [n=1] 'condition' [12:32:45.160] | gc: FALSE [12:32:45.160] | earlySignal: FALSE [12:32:45.160] | getGlobalsAndPackages() ... [12:32:45.161] | : Searching for globals ... [12:32:45.167] | : . globals found: [2] '{', 'a' [12:32:45.167] | : Searching for globals ... done [12:32:45.168] | : Resolving globals: FALSE [12:32:45.168] | : Search for packages associated with the globals ... [12:32:45.168] | : . Packages associated with globals: [1] 'base' [12:32:45.169] | : . Packages: [1] 'base' [12:32:45.169] | : Search for packages associated with the globals ... done [12:32:45.170] | : Packages after dropping 'base': [0] [12:32:45.170] | : globals: [1] 'a' [12:32:45.170] | : packages: [0] [12:32:45.170] | getGlobalsAndPackages() ... done [12:32:45.171] future(..., label = NULL) ... done [12:32:45.171] value() for Future () ... [12:32:45.172] | run() for 'Future' () ... [12:32:45.172] | : state: 'created' [12:32:45.172] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.172] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.173] | : Using SequentialFutureBackend ... [12:32:45.173] | : . Number of futures since start: 1 (1 created, 1 launched, 1 finished) [12:32:45.173] | : . Launching futures ... [12:32:45.174] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [12:32:45.174] | : . ' , getFutureData() ... [12:32:45.174] | : . ' , ; getFutureCore() ... [12:32:45.174] | : . ' , ; ` Packages needed by the future expression (n = 0): [12:32:45.175] | : . ' , ; getFutureCore() ... done [12:32:45.175] | : . ' , ; getFutureCapture() ... [12:32:45.175] | : . ' , ; getFutureCapture() ... done [12:32:45.175] | : . ' , ; getFutureContext() ... [12:32:45.176] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.176] | : . ' , ; ` | Getting stack without first backend: [n=0] [12:32:45.176] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.177] | : . ' , ; ` Packages needed by future backend (n = 0): [12:32:45.177] | : . ' , ; getFutureContext() ... done [12:32:45.177] | : . ' , getFutureData() ... done [12:32:45.180] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.180] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [12:32:45.181] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.181] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.182] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.182] | : . ' , ; ` all.equal() for FutureStrategyList ... [12:32:45.182] | : . ' , ; ` | New stack: [12:32:45.182] | : . ' , ; ` | List of 1 [12:32:45.182] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [12:32:45.182] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.182] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [12:32:45.182] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.182] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.182] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.182] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.182] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.188] | : . ' , ; ` | Old stack: [12:32:45.188] | : . ' , ; ` | List of 1 [12:32:45.188] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [12:32:45.188] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.188] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [12:32:45.188] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.188] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.188] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.188] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [12:32:45.188] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.188] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.188] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.188] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.195] | : . ' , ; ` | Not identical [12:32:45.196] | : . ' , ; ` | all.equal() for future ... [12:32:45.196] | : . ' , ; ` | : List of 2 [12:32:45.196] | : . ' , ; ` | : $ target :function (..., envir = parent.frame()) [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.196] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.196] | : . ' , ; ` | : $ current:function (..., envir = parent.frame()) [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.196] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.196] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.196] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.196] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.208] | : . ' , ; ` | all.equal() for future ... done [12:32:45.209] | : . ' , ; ` all.equal() for FutureStrategyList ... done [12:32:45.209] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.209] | : . ' , ; ` List of future strategies: [12:32:45.209] | : . ' , ; ` 1. sequential: [12:32:45.209] | : . ' , ; ` - args: function (..., envir = parent.frame(), workers = "") [12:32:45.209] | : . ' , ; ` - tweaked: FALSE [12:32:45.209] | : . ' , ; ` - call: plan(sequential) [12:32:45.210] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.211] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.211] | : . ' , assign_globals() ... [12:32:45.212] | : . ' , List of 1 [12:32:45.212] | : . ' , $ a: int 42 [12:32:45.212] | : . ' , - attr(*, "where")=List of 1 [12:32:45.212] | : . ' , ..$ a: [12:32:45.212] | : . ' , - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [12:32:45.212] | : . ' , - attr(*, "resolved")= logi FALSE [12:32:45.212] | : . ' , - attr(*, "total_size")= num NA [12:32:45.212] | : . ' , - attr(*, "already-done")= logi TRUE [12:32:45.219] | : . ' , - copied 'a' to environment [12:32:45.219] | : . ' , assign_globals() ... done [12:32:45.225] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.225] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.226] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.226] | : . ' , ; ` | all.equal() for FutureStrategyList ... [12:32:45.227] | : . ' , ; ` | : New stack: [12:32:45.227] | : . ' , ; ` | : List of 1 [12:32:45.227] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [12:32:45.227] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.227] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.227] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.227] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.227] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.227] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.227] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.227] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.227] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.227] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.236] | : . ' , ; ` | : Old stack: [12:32:45.237] | : . ' , ; ` | : List of 1 [12:32:45.237] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [12:32:45.237] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.237] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.237] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.237] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.237] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.237] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.237] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.237] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.237] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.237] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.246] | : . ' , ; ` | : Identical [12:32:45.247] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [12:32:45.247] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.248] | : . ' , ; ` | List of future strategies: [12:32:45.248] | : . ' , ; ` | 1. sequential: [12:32:45.248] | : . ' , ; ` | - args: function (..., envir = parent.frame(), workers = "") [12:32:45.248] | : . ' , ; ` | - tweaked: FALSE [12:32:45.248] | : . ' , ; ` | - call: plan(sequential) [12:32:45.249] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.249] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.250] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.251] | : . ' , SequentialFuture started (and completed) [12:32:45.251] | : . ' , signalConditions() ... [12:32:45.252] | : . ' , ; include = 'immediateCondition' [12:32:45.252] | : . ' , ; exclude = [12:32:45.252] | : . ' , ; resignal = FALSE [12:32:45.253] | : . ' , ; Number of conditions: 6 [12:32:45.253] | : . ' , ; int 6 [12:32:45.254] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.255] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.255] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.256] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.256] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.257] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.257] | : . ' , signalConditions() ... done [12:32:45.257] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [12:32:45.258] | : . Launching futures ... done [12:32:45.258] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [12:32:45.258] | : Using SequentialFutureBackend ... done [12:32:45.259] | run() for 'Future' () ... done [12:32:45.259] | signalConditions() ... [12:32:45.260] | : include = 'immediateCondition' [12:32:45.260] | : exclude = [12:32:45.261] | : resignal = FALSE [12:32:45.261] | : Number of conditions: 6 [12:32:45.261] | : int 6 [12:32:45.263] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.263] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.263] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.264] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.264] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.265] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.265] | signalConditions() ... done [12:32:45.265] | relay stdout ... [12:32:45.266] | relay stdout ... done [12:32:45.266] | check for misuse ... [12:32:45.267] | check for misuse ... done [12:32:45.267] | relay conditions ... [12:32:45.268] | : Future state: 'finished' [12:32:45.268] | : signalConditions() ... [12:32:45.268] | : . include = 'condition' [12:32:45.269] | : . exclude = 'immediateCondition' [12:32:45.269] | : . resignal = TRUE [12:32:45.270] | : . Number of conditions: 6 [12:32:45.270] | : . int 6 [12:32:45.271] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.272] | : . Condition #1: 'simpleMessage', 'message', 'condition' [12:32:45.178] | : . ' , attachPackages() ... [12:32:45.272] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.273] | : . Condition #2: 'simpleMessage', 'message', 'condition' [12:32:45.178] | : . ' , ; packages: [n=1] 'future' [12:32:45.273] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.274] | : . Condition #3: 'simpleMessage', 'message', 'condition' [12:32:45.178] | : . ' , attachPackages() ... done [12:32:45.274] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.275] | : . Condition #4: 'simpleMessage', 'message', 'condition' [12:32:45.179] | : . ' , attachPackages() ... [12:32:45.275] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.276] | : . Condition #5: 'simpleMessage', 'message', 'condition' [12:32:45.179] | : . ' , ; packages: [n=0] [12:32:45.276] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.277] | : . Condition #6: 'simpleMessage', 'message', 'condition' [12:32:45.179] | : . ' , attachPackages() ... done [12:32:45.277] | : signalConditions() ... done [12:32:45.278] | relay conditions ... done [12:32:45.278] 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) [12:32:45.280] future(..., label = NULL) ... [12:32:45.280] | lazy: TRUE [12:32:45.280] | stdout: TRUE [12:32:45.281] | conditions: [n=1] 'condition' [12:32:45.281] | gc: TRUE [12:32:45.281] | earlySignal: FALSE [12:32:45.282] | getGlobalsAndPackages() ... [12:32:45.282] | : Searching for globals ... [12:32:45.286] | : . globals found: [0] [12:32:45.286] | : Searching for globals ... done [12:32:45.287] | : globals: [0] [12:32:45.287] | : packages: [0] [12:32:45.288] | getGlobalsAndPackages() ... done [12:32:45.288] 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: 16415324506b2598ef1ec0f03a0c88a7-3 Owner process: 16415324506b2598ef1ec0f03a0c88a7 Class: 'Future', 'environment' Value: Conditions captured: > y <- value(f) [12:32:45.291] value() for Future () ... [12:32:45.291] | run() for 'Future' () ... [12:32:45.292] | : state: 'created' [12:32:45.292] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.293] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.293] | : Using SequentialFutureBackend ... [12:32:45.293] | : . Number of futures since start: 2 (2 created, 2 launched, 2 finished) [12:32:45.294] | : . Launching futures ... [12:32:45.294] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [12:32:45.295] | : . ' , getFutureData() ... [12:32:45.295] | : . ' , ; getFutureCore() ... [12:32:45.296] | : . ' , ; ` Packages needed by the future expression (n = 0): [12:32:45.296] | : . ' , ; getFutureCore() ... done [12:32:45.296] | : . ' , ; getFutureCapture() ... [12:32:45.297] | : . ' , ; getFutureCapture() ... done [12:32:45.297] | : . ' , ; getFutureContext() ... [12:32:45.298] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.298] | : . ' , ; ` | Getting stack without first backend: [n=0] [12:32:45.298] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.299] | : . ' , ; ` Packages needed by future backend (n = 0): [12:32:45.299] | : . ' , ; getFutureContext() ... done [12:32:45.300] | : . ' , getFutureData() ... done [12:32:45.304] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.305] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [12:32:45.305] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.306] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.307] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.307] | : . ' , ; ` all.equal() for FutureStrategyList ... [12:32:45.307] | : . ' , ; ` | New stack: [12:32:45.308] | : . ' , ; ` | List of 1 [12:32:45.308] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [12:32:45.308] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.308] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [12:32:45.308] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.308] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.308] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.308] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.308] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.316] | : . ' , ; ` | Old stack: [12:32:45.316] | : . ' , ; ` | List of 1 [12:32:45.316] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [12:32:45.316] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.316] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [12:32:45.316] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.316] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.316] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.316] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [12:32:45.316] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.316] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.316] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.316] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.327] | : . ' , ; ` | Not identical [12:32:45.327] | : . ' , ; ` | all.equal() for future ... [12:32:45.328] | : . ' , ; ` | : List of 2 [12:32:45.328] | : . ' , ; ` | : $ target :function (..., envir = parent.frame()) [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.328] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.328] | : . ' , ; ` | : $ current:function (..., envir = parent.frame()) [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.328] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.328] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.328] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.328] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.342] | : . ' , ; ` | all.equal() for future ... done [12:32:45.343] | : . ' , ; ` all.equal() for FutureStrategyList ... done [12:32:45.343] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.343] | : . ' , ; ` List of future strategies: [12:32:45.343] | : . ' , ; ` 1. sequential: [12:32:45.343] | : . ' , ; ` - args: function (..., envir = parent.frame(), workers = "") [12:32:45.343] | : . ' , ; ` - tweaked: FALSE [12:32:45.343] | : . ' , ; ` - call: plan(sequential) [12:32:45.344] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.344] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.348] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.349] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.349] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.350] | : . ' , ; ` | all.equal() for FutureStrategyList ... [12:32:45.350] | : . ' , ; ` | : New stack: [12:32:45.350] | : . ' , ; ` | : List of 1 [12:32:45.350] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [12:32:45.350] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.350] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.350] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.350] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.350] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.350] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.350] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.350] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.350] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.350] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.360] | : . ' , ; ` | : Old stack: [12:32:45.361] | : . ' , ; ` | : List of 1 [12:32:45.361] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [12:32:45.361] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.361] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.361] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.361] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.361] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.361] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.361] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.361] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.361] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.361] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.367] | : . ' , ; ` | : Identical [12:32:45.367] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [12:32:45.368] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.368] | : . ' , ; ` | List of future strategies: [12:32:45.368] | : . ' , ; ` | 1. sequential: [12:32:45.368] | : . ' , ; ` | - args: function (..., envir = parent.frame(), workers = "") [12:32:45.368] | : . ' , ; ` | - tweaked: FALSE [12:32:45.368] | : . ' , ; ` | - call: plan(sequential) [12:32:45.369] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.369] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.370] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.370] | : . ' , SequentialFuture started (and completed) [12:32:45.371] | : . ' , signalConditions() ... [12:32:45.371] | : . ' , ; include = 'immediateCondition' [12:32:45.371] | : . ' , ; exclude = [12:32:45.371] | : . ' , ; resignal = FALSE [12:32:45.372] | : . ' , ; Number of conditions: 6 [12:32:45.372] | : . ' , ; int 6 [12:32:45.373] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.373] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.373] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.374] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.374] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.374] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.375] | : . ' , signalConditions() ... done [12:32:45.375] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [12:32:45.375] | : . Launching futures ... done [12:32:45.375] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [12:32:45.376] | : Using SequentialFutureBackend ... done [12:32:45.376] | run() for 'Future' () ... done [12:32:45.376] | signalConditions() ... [12:32:45.377] | : include = 'immediateCondition' [12:32:45.377] | : exclude = [12:32:45.377] | : resignal = FALSE [12:32:45.378] | : Number of conditions: 6 [12:32:45.378] | : int 6 [12:32:45.379] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.379] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.379] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.380] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.380] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.380] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.381] | signalConditions() ... done [12:32:45.381] | relay stdout ... [12:32:45.381] | relay stdout ... done [12:32:45.381] | check for misuse ... [12:32:45.382] | check for misuse ... done [12:32:45.382] | relay conditions ... [12:32:45.382] | : Future state: 'finished' [12:32:45.383] | : signalConditions() ... [12:32:45.383] | : . include = 'condition' [12:32:45.383] | : . exclude = 'immediateCondition' [12:32:45.384] | : . resignal = TRUE [12:32:45.384] | : . Number of conditions: 6 [12:32:45.384] | : . int 6 [12:32:45.385] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.385] | : . Condition #1: 'simpleMessage', 'message', 'condition' [12:32:45.301] | : . ' , attachPackages() ... [12:32:45.386] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.386] | : . Condition #2: 'simpleMessage', 'message', 'condition' [12:32:45.301] | : . ' , ; packages: [n=1] 'future' [12:32:45.386] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.387] | : . Condition #3: 'simpleMessage', 'message', 'condition' [12:32:45.302] | : . ' , attachPackages() ... done [12:32:45.387] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.387] | : . Condition #4: 'simpleMessage', 'message', 'condition' [12:32:45.302] | : . ' , attachPackages() ... [12:32:45.388] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.388] | : . Condition #5: 'simpleMessage', 'message', 'condition' [12:32:45.303] | : . ' , ; packages: [n=0] [12:32:45.388] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.389] | : . Condition #6: 'simpleMessage', 'message', 'condition' [12:32:45.303] | : . ' , attachPackages() ... done [12:32:45.389] | : signalConditions() ... done [12:32:45.389] | relay conditions ... done [12:32:45.389] 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) [12:32:45.391] future(..., label = NULL) ... [12:32:45.391] | lazy: TRUE [12:32:45.392] | stdout: TRUE [12:32:45.392] | conditions: [n=1] 'condition' [12:32:45.392] | gc: FALSE [12:32:45.392] | earlySignal: FALSE [12:32:45.393] | getGlobalsAndPackages() ... [12:32:45.393] | : Searching for globals ... [12:32:45.400] | : . globals found: [1] '{' [12:32:45.400] | : Searching for globals ... done [12:32:45.400] | : Resolving globals: FALSE [12:32:45.400] | : Search for packages associated with the globals ... [12:32:45.401] | : . Packages associated with globals: [1] 'base' [12:32:45.401] | : . Packages: [1] 'base' [12:32:45.402] | : Search for packages associated with the globals ... done [12:32:45.402] | : Packages after dropping 'base': [0] [12:32:45.402] | : globals: [0] [12:32:45.403] | : packages: [0] [12:32:45.403] | getGlobalsAndPackages() ... done [12:32:45.403] future(..., label = NULL) ... done > print(resolved(f)) [12:32:45.404] resolved() ... [12:32:45.404] | resolved() for Future () ... [12:32:45.404] | : state: 'created' [12:32:45.405] | : run: TRUE [12:32:45.405] | : run() ... [12:32:45.405] | : . run() for 'Future' () ... [12:32:45.406] | : . ' state: 'created' [12:32:45.406] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.406] | : . ' plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.407] | : . ' Using SequentialFutureBackend ... [12:32:45.407] | : . ' , Number of futures since start: 3 (3 created, 3 launched, 3 finished) [12:32:45.407] | : . ' , Launching futures ... [12:32:45.408] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [12:32:45.408] | : . ' , ; ` getFutureData() ... [12:32:45.408] | : . ' , ; ` | getFutureCore() ... [12:32:45.408] | : . ' , ; ` | : Packages needed by the future expression (n = 0): [12:32:45.409] | : . ' , ; ` | getFutureCore() ... done [12:32:45.409] | : . ' , ; ` | getFutureCapture() ... [12:32:45.409] | : . ' , ; ` | getFutureCapture() ... done [12:32:45.410] | : . ' , ; ` | getFutureContext() ... [12:32:45.410] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.410] | : . ' , ; ` | : . Getting stack without first backend: [n=0] [12:32:45.410] | : . ' , ; ` | : plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.411] | : . ' , ; ` | : Packages needed by future backend (n = 0): [12:32:45.411] | : . ' , ; ` | getFutureContext() ... done [12:32:45.411] | : . ' , ; ` getFutureData() ... done [12:32:45.414] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.415] | : . ' , ; ` | Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [12:32:45.415] | : . ' , ; ` plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.416] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.416] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.416] | : . ' , ; ` | : all.equal() for FutureStrategyList ... [12:32:45.417] | : . ' , ; ` | : . New stack: [12:32:45.417] | : . ' , ; ` | : . List of 1 [12:32:45.417] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [12:32:45.417] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.417] | : . ' , ; ` | : . ..- attr(*, "init")= logi TRUE [12:32:45.417] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.417] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.417] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.417] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.417] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.422] | : . ' , ; ` | : . Old stack: [12:32:45.422] | : . ' , ; ` | : . List of 1 [12:32:45.422] | : . ' , ; ` | : . $ :function (..., envir = parent.frame()) [12:32:45.422] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.422] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [12:32:45.422] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.422] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.422] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.422] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [12:32:45.422] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.422] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.422] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.422] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.429] | : . ' , ; ` | : . Not identical [12:32:45.429] | : . ' , ; ` | : . all.equal() for future ... [12:32:45.429] | : . ' , ; ` | : . ' List of 2 [12:32:45.429] | : . ' , ; ` | : . ' $ target :function (..., envir = parent.frame()) [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "init")= logi TRUE [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.429] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.429] | : . ' , ; ` | : . ' $ current:function (..., envir = parent.frame()) [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.429] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [12:32:45.429] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.429] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.429] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.440] | : . ' , ; ` | : . all.equal() for future ... done [12:32:45.440] | : . ' , ; ` | : all.equal() for FutureStrategyList ... done [12:32:45.441] | : . ' , ; ` | : plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.441] | : . ' , ; ` | : List of future strategies: [12:32:45.441] | : . ' , ; ` | : 1. sequential: [12:32:45.441] | : . ' , ; ` | : - args: function (..., envir = parent.frame(), workers = "") [12:32:45.441] | : . ' , ; ` | : - tweaked: FALSE [12:32:45.441] | : . ' , ; ` | : - call: plan(sequential) [12:32:45.442] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.442] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.445] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.445] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.445] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.446] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... [12:32:45.446] | : . ' , ; ` | : . ' New stack: [12:32:45.446] | : . ' , ; ` | : . ' List of 1 [12:32:45.446] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [12:32:45.446] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.446] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [12:32:45.446] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.446] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.446] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.446] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [12:32:45.446] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.446] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.446] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.446] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.450] | : . ' , ; ` | : . ' Old stack: [12:32:45.450] | : . ' , ; ` | : . ' List of 1 [12:32:45.450] | : . ' , ; ` | : . ' $ :function (..., envir = parent.frame()) [12:32:45.450] | : . ' , ; ` | : . ' ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.450] | : . ' , ; ` | : . ' ..- attr(*, "init")= chr "done" [12:32:45.450] | : . ' , ; ` | : . ' ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.450] | : . ' , ; ` | : . ' .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.450] | : . ' , ; ` | : . ' ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.450] | : . ' , ; ` | : . ' ..- attr(*, "call")= language plan(sequential) [12:32:45.450] | : . ' , ; ` | : . ' ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.450] | : . ' , ; ` | : . ' .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.450] | : . ' , ; ` | : . ' .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.450] | : . ' , ; ` | : . ' - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.455] | : . ' , ; ` | : . ' Identical [12:32:45.455] | : . ' , ; ` | : . all.equal() for FutureStrategyList ... done [12:32:45.455] | : . ' , ; ` | : . plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.455] | : . ' , ; ` | : . List of future strategies: [12:32:45.455] | : . ' , ; ` | : . 1. sequential: [12:32:45.455] | : . ' , ; ` | : . - args: function (..., envir = parent.frame(), workers = "") [12:32:45.455] | : . ' , ; ` | : . - tweaked: FALSE [12:32:45.455] | : . ' , ; ` | : . - call: plan(sequential) [12:32:45.456] | : . ' , ; ` | : plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.456] | : . ' , ; ` | plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.456] | : . ' , ; ` plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.457] | : . ' , ; ` SequentialFuture started (and completed) [12:32:45.457] | : . ' , ; ` signalConditions() ... [12:32:45.457] | : . ' , ; ` | include = 'immediateCondition' [12:32:45.458] | : . ' , ; ` | exclude = [12:32:45.458] | : . ' , ; ` | resignal = FALSE [12:32:45.458] | : . ' , ; ` | Number of conditions: 6 [12:32:45.458] | : . ' , ; ` | int 6 [12:32:45.459] | : . ' , ; ` | Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.459] | : . ' , ; ` | Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.459] | : . ' , ; ` | Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.459] | : . ' , ; ` | Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.459] | : . ' , ; ` | Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.460] | : . ' , ; ` | Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.460] | : . ' , ; ` signalConditions() ... done [12:32:45.460] | : . ' , ; launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [12:32:45.460] | : . ' , Launching futures ... done [12:32:45.460] | : . ' , Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [12:32:45.461] | : . ' Using SequentialFutureBackend ... done [12:32:45.461] | : . run() for 'Future' () ... done [12:32:45.461] | : run() ... done [12:32:45.461] | : resolved() ... [12:32:45.461] | : . resolved() ... [12:32:45.461] | : . ' resolved() for SequentialFuture () ... [12:32:45.462] | : . ' , state: 'finished' [12:32:45.462] | : . ' , run: TRUE [12:32:45.462] | : . ' , result: 'FutureResult' [12:32:45.462] | : . ' resolved() for SequentialFuture () ... done [12:32:45.462] | : . resolved() ... done [12:32:45.462] | : . resolved: TRUE [12:32:45.463] | : resolved() ... done [12:32:45.463] | resolved() for Future () ... done [12:32:45.463] resolved() ... done [1] TRUE > y <- value(f) [12:32:45.463] value() for SequentialFuture () ... [12:32:45.463] | signalConditions() ... [12:32:45.464] | : include = 'immediateCondition' [12:32:45.464] | : exclude = [12:32:45.464] | : resignal = FALSE [12:32:45.464] | : Number of conditions: 6 [12:32:45.464] | : int 6 [12:32:45.465] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.465] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.465] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.465] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.466] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.466] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.466] | signalConditions() ... done [12:32:45.466] | relay stdout ... [12:32:45.466] | relay stdout ... done [12:32:45.466] | check for misuse ... [12:32:45.467] | check for misuse ... done [12:32:45.467] | relay conditions ... [12:32:45.467] | : Future state: 'finished' [12:32:45.467] | : signalConditions() ... [12:32:45.467] | : . include = 'condition' [12:32:45.467] | : . exclude = 'immediateCondition' [12:32:45.468] | : . resignal = TRUE [12:32:45.468] | : . Number of conditions: 6 [12:32:45.468] | : . int 6 [12:32:45.468] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.469] | : . Condition #1: 'simpleMessage', 'message', 'condition' [12:32:45.412] | : . ' , ; ` attachPackages() ... [12:32:45.469] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.469] | : . Condition #2: 'simpleMessage', 'message', 'condition' [12:32:45.412] | : . ' , ; ` | packages: [n=1] 'future' [12:32:45.469] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.469] | : . Condition #3: 'simpleMessage', 'message', 'condition' [12:32:45.413] | : . ' , ; ` attachPackages() ... done [12:32:45.470] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.470] | : . Condition #4: 'simpleMessage', 'message', 'condition' [12:32:45.413] | : . ' , ; ` attachPackages() ... [12:32:45.470] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.470] | : . Condition #5: 'simpleMessage', 'message', 'condition' [12:32:45.413] | : . ' , ; ` | packages: [n=0] [12:32:45.470] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.471] | : . Condition #6: 'simpleMessage', 'message', 'condition' [12:32:45.414] | : . ' , ; ` attachPackages() ... done [12:32:45.471] | : signalConditions() ... done [12:32:45.471] | relay conditions ... done [12:32:45.471] 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) [12:32:45.472] future(..., label = NULL) ... [12:32:45.472] | lazy: TRUE [12:32:45.472] | stdout: TRUE [12:32:45.472] | conditions: [n=1] 'condition' [12:32:45.472] | gc: TRUE [12:32:45.473] | earlySignal: FALSE [12:32:45.473] | getGlobalsAndPackages() ... [12:32:45.473] | : Searching for globals ... [12:32:45.475] | : . globals found: [0] [12:32:45.475] | : Searching for globals ... done [12:32:45.475] | : globals: [0] [12:32:45.475] | : packages: [0] [12:32:45.475] | getGlobalsAndPackages() ... done [12:32:45.476] 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: 16415324506b2598ef1ec0f03a0c88a7-5 Owner process: 16415324506b2598ef1ec0f03a0c88a7 Class: 'Future', 'environment' Value: Conditions captured: > y <- value(f) [12:32:45.476] value() for Future () ... [12:32:45.477] | run() for 'Future' () ... [12:32:45.477] | : state: 'created' [12:32:45.477] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.477] | : plan("backend", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.477] | : Using SequentialFutureBackend ... [12:32:45.477] | : . Number of futures since start: 4 (4 created, 4 launched, 4 finished) [12:32:45.478] | : . Launching futures ... [12:32:45.478] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [12:32:45.478] | : . ' , getFutureData() ... [12:32:45.478] | : . ' , ; getFutureCore() ... [12:32:45.478] | : . ' , ; ` Packages needed by the future expression (n = 0): [12:32:45.479] | : . ' , ; getFutureCore() ... done [12:32:45.479] | : . ' , ; getFutureCapture() ... [12:32:45.479] | : . ' , ; getFutureCapture() ... done [12:32:45.479] | : . ' , ; getFutureContext() ... [12:32:45.479] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.479] | : . ' , ; ` | Getting stack without first backend: [n=0] [12:32:45.480] | : . ' , ; ` plan("tail", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.480] | : . ' , ; ` Packages needed by future backend (n = 0): [12:32:45.480] | : . ' , ; getFutureContext() ... done [12:32:45.480] | : . ' , getFutureData() ... done [12:32:45.482] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... [12:32:45.482] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [12:32:45.483] | : . ' , plan("list", .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [12:32:45.483] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.483] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.483] | : . ' , ; ` all.equal() for FutureStrategyList ... [12:32:45.484] | : . ' , ; ` | New stack: [12:32:45.484] | : . ' , ; ` | List of 1 [12:32:45.484] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [12:32:45.484] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.484] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [12:32:45.484] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.484] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.484] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.484] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.484] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.487] | : . ' , ; ` | Old stack: [12:32:45.487] | : . ' , ; ` | List of 1 [12:32:45.487] | : . ' , ; ` | $ :function (..., envir = parent.frame()) [12:32:45.487] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.487] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [12:32:45.487] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.487] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.487] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.487] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [12:32:45.487] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.487] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.487] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.487] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.491] | : . ' , ; ` | Not identical [12:32:45.491] | : . ' , ; ` | all.equal() for future ... [12:32:45.492] | : . ' , ; ` | : List of 2 [12:32:45.492] | : . ' , ; ` | : $ target :function (..., envir = parent.frame()) [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.492] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [12:32:45.492] | : . ' , ; ` | : $ current:function (..., envir = parent.frame()) [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.492] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.492] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.492] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.492] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.502] | : . ' , ; ` | all.equal() for future ... done [12:32:45.502] | : . ' , ; ` all.equal() for FutureStrategyList ... done [12:32:45.503] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.503] | : . ' , ; ` List of future strategies: [12:32:45.503] | : . ' , ; ` 1. sequential: [12:32:45.503] | : . ' , ; ` - args: function (..., envir = parent.frame(), workers = "") [12:32:45.503] | : . ' , ; ` - tweaked: FALSE [12:32:45.503] | : . ' , ; ` - call: plan(sequential) [12:32:45.504] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.504] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.508] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.508] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [12:32:45.509] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [12:32:45.509] | : . ' , ; ` | all.equal() for FutureStrategyList ... [12:32:45.509] | : . ' , ; ` | : New stack: [12:32:45.509] | : . ' , ; ` | : List of 1 [12:32:45.509] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [12:32:45.509] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.509] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.509] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.509] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.509] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.509] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.509] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.509] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.509] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.509] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.515] | : . ' , ; ` | : Old stack: [12:32:45.516] | : . ' , ; ` | : List of 1 [12:32:45.516] | : . ' , ; ` | : $ :function (..., envir = parent.frame()) [12:32:45.516] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [12:32:45.516] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [12:32:45.516] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.516] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.516] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.516] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [12:32:45.516] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [12:32:45.516] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [12:32:45.516] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [12:32:45.516] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [12:32:45.522] | : . ' , ; ` | : Identical [12:32:45.522] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [12:32:45.522] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [12:32:45.523] | : . ' , ; ` | List of future strategies: [12:32:45.523] | : . ' , ; ` | 1. sequential: [12:32:45.523] | : . ' , ; ` | - args: function (..., envir = parent.frame(), workers = "") [12:32:45.523] | : . ' , ; ` | - tweaked: FALSE [12:32:45.523] | : . ' , ; ` | - call: plan(sequential) [12:32:45.523] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [12:32:45.524] | : . ' , ; plan(<'FutureStrategyList'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.524] | : . ' , plan(<'name'>, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [12:32:45.525] | : . ' , SequentialFuture started (and completed) [12:32:45.525] | : . ' , signalConditions() ... [12:32:45.525] | : . ' , ; include = 'immediateCondition' [12:32:45.526] | : . ' , ; exclude = [12:32:45.526] | : . ' , ; resignal = FALSE [12:32:45.526] | : . ' , ; Number of conditions: 6 [12:32:45.526] | : . ' , ; int 6 [12:32:45.527] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.528] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.528] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.528] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.528] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.529] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.529] | : . ' , signalConditions() ... done [12:32:45.529] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [12:32:45.530] | : . Launching futures ... done [12:32:45.530] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [12:32:45.530] | : Using SequentialFutureBackend ... done [12:32:45.530] | run() for 'Future' () ... done [12:32:45.531] | signalConditions() ... [12:32:45.531] | : include = 'immediateCondition' [12:32:45.531] | : exclude = [12:32:45.532] | : resignal = FALSE [12:32:45.532] | : Number of conditions: 6 [12:32:45.532] | : int 6 [12:32:45.533] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.533] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.533] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.534] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.534] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.534] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.535] | signalConditions() ... done [12:32:45.535] | relay stdout ... [12:32:45.535] | relay stdout ... done [12:32:45.535] | check for misuse ... [12:32:45.536] | check for misuse ... done [12:32:45.536] | relay conditions ... [12:32:45.536] | : Future state: 'finished' [12:32:45.536] | : signalConditions() ... [12:32:45.537] | : . include = 'condition' [12:32:45.537] | : . exclude = 'immediateCondition' [12:32:45.537] | : . resignal = TRUE [12:32:45.537] | : . Number of conditions: 6 [12:32:45.538] | : . int 6 [12:32:45.539] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.539] | : . Condition #1: 'simpleMessage', 'message', 'condition' [12:32:45.481] | : . ' , attachPackages() ... [12:32:45.539] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.539] | : . Condition #2: 'simpleMessage', 'message', 'condition' [12:32:45.481] | : . ' , ; packages: [n=1] 'future' [12:32:45.540] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.540] | : . Condition #3: 'simpleMessage', 'message', 'condition' [12:32:45.481] | : . ' , attachPackages() ... done [12:32:45.540] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.541] | : . Condition #4: 'simpleMessage', 'message', 'condition' [12:32:45.481] | : . ' , attachPackages() ... [12:32:45.541] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.541] | : . Condition #5: 'simpleMessage', 'message', 'condition' [12:32:45.481] | : . ' , ; packages: [n=0] [12:32:45.542] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [12:32:45.542] | : . Condition #6: 'simpleMessage', 'message', 'condition' [12:32:45.482] | : . ' , attachPackages() ... done [12:32:45.542] | : signalConditions() ... done [12:32:45.543] | relay conditions ... done [12:32:45.543] 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) [12:32:45.544] 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=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_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_07_29_12_30_17_31216' Sourcing 6 epilogue scripts ... done Test time: user.self=0.7s, sys.self=0.1s, elapsed=0.8s, user.child=NAs, sys.child=NAs Test 'future' ... success > > proc.time() user system elapsed 0.87 0.25 1.14