R Under development (unstable) (2025-06-04 r88278 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) [05:57:49.843] Option 'future.startup.script': TRUE [05:57:49.845] Future startup scripts considered: '.future.R', '~/.future.R' [05:57:49.845] Future startup scripts found: > message("*** future() ...") *** future() ... > message("*** future() w/ lazy = TRUE ...") *** future() w/ lazy = TRUE ... > f <- future({ + 42 + }, lazy = TRUE) [05:57:49.848] future(..., label = NULL) ... [05:57:49.848] | lazy: TRUE [05:57:49.849] | stdout: TRUE [05:57:49.849] | conditions: [n=1] 'condition' [05:57:49.849] | gc: FALSE [05:57:49.849] | earlySignal: FALSE [05:57:49.850] | getGlobalsAndPackages() ... [05:57:49.850] | : Searching for globals ... [05:57:49.883] | : . globals found: [1] '{' [05:57:49.884] | : Searching for globals ... done [05:57:49.884] | : Resolving globals: FALSE [05:57:49.884] | : Search for packages associated with the globals ... [05:57:49.885] | : . Packages associated with globals: [1] 'base' [05:57:49.886] | : . Packages: [1] 'base' [05:57:49.886] | : Search for packages associated with the globals ... done [05:57:49.886] | : Packages after dropping 'base': [0] [05:57:49.887] | : globals: [0] [05:57:49.887] | : packages: [0] [05:57:49.887] | getGlobalsAndPackages() ... done [05:57:49.888] future(..., label = NULL) ... done > print(resolved(f)) [05:57:49.893] resolved() for Future () ... [05:57:49.893] | state: 'created' [05:57:49.894] | run: TRUE [05:57:49.894] | run() ... [05:57:49.894] | : run() for 'Future' () ... [05:57:49.895] | : . state: 'created' [05:57:49.895] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:49.895] | : . ' plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... [05:57:49.896] | : . ' , function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:49.896] | : . ' , - attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:49.896] | : . ' , - attr(*, "init")= logi TRUE [05:57:49.896] | : . ' , - attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.896] | : . ' , ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.896] | : . ' , - attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.896] | : . ' , - attr(*, "call")= language plan(sequential) [05:57:49.903] | : . ' , init: TRUE [05:57:49.904] | : . ' , makeFutureBackend() ... [05:57:49.904] | : . ' , ; Backend function: <'NULL'> [05:57:49.904] | : . ' , ; Evaluator tweak arguments: [n=0] [05:57:49.905] | : . ' , ; list() [05:57:49.905] | : . ' , ; Evaluator formal arguments: [n=2] [05:57:49.906] | : . ' , ; list() [05:57:49.906] | : . ' , ; Backend factory arguments: [n=2] [05:57:49.907] | : . ' , ; Dotted pair list of 2 [05:57:49.907] | : . ' , ; $ gc : logi FALSE [05:57:49.907] | : . ' , ; $ earlySignal: logi FALSE [05:57:49.909] | : . ' , ; Backend: <'SequentialFutureBackend', 'FutureBackend', 'environment'> [05:57:49.909] | : . ' , makeFutureBackend() ... done [05:57:49.909] | : . ' plan(): plan_init() of 'sequential', 'uniprocess', 'future', 'function' ... done [05:57:49.910] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:49.910] | : . Using SequentialFutureBackend ... [05:57:49.910] | : . ' Number of futures since start: 0 (0 created, 0 launched, 0 finished) [05:57:49.911] | : . ' Launching futures ... [05:57:49.911] | : . ' , launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [05:57:49.911] | : . ' , ; getFutureData() ... [05:57:49.912] | : . ' , ; ` getFutureCore() ... [05:57:49.912] | : . ' , ; ` | Packages needed by the future expression (n = 0): [05:57:49.912] | : . ' , ; ` getFutureCore() ... done [05:57:49.913] | : . ' , ; ` getFutureCapture() ... [05:57:49.913] | : . ' , ; ` getFutureCapture() ... done [05:57:49.913] | : . ' , ; ` getFutureContext() ... [05:57:49.914] | : . ' , ; ` | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:49.914] | : . ' , ; ` | : Getting stack without first backend: [n=0] [05:57:49.914] | : . ' , ; ` | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:49.914] | : . ' , ; ` | Packages needed by future backend (n = 0): [05:57:49.915] | : . ' , ; ` getFutureContext() ... done [05:57:49.915] | : . ' , ; getFutureData() ... done [05:57:49.920] | : . ' , ; plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:49.920] | : . ' , ; ` Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [05:57:49.921] | : . ' , ; plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:49.922] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:49.922] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:49.922] | : . ' , ; ` | all.equal() for FutureStrategyList ... [05:57:49.923] | : . ' , ; ` | : New stack: [05:57:49.923] | : . ' , ; ` | : List of 1 [05:57:49.923] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:49.923] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:49.923] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [05:57:49.923] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.923] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.923] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.923] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:49.923] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:49.928] | : . ' , ; ` | : Old stack: [05:57:49.928] | : . ' , ; ` | : List of 1 [05:57:49.928] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:49.928] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:49.928] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:49.928] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.928] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.928] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.928] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:49.928] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:49.928] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.928] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.928] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:49.939] | : . ' , ; ` | : Not identical [05:57:49.939] | : . ' , ; ` | : all.equal() for future ... [05:57:49.939] | : . ' , ; ` | : . List of 2 [05:57:49.939] | : . ' , ; ` | : . $ target :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "init")= logi TRUE [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.939] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:49.939] | : . ' , ; ` | : . $ current:function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.939] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [05:57:49.939] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:49.939] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.939] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.950] | : . ' , ; ` | : all.equal() for future ... done [05:57:49.950] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [05:57:49.951] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:49.951] | : . ' , ; ` | List of future strategies: [05:57:49.951] | : . ' , ; ` | 1. sequential: [05:57:49.951] | : . ' , ; ` | - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:49.951] | : . ' , ; ` | - tweaked: FALSE [05:57:49.951] | : . ' , ; ` | - call: plan(sequential) [05:57:49.952] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:49.953] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:49.958] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:49.959] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:49.959] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:49.959] | : . ' , ; ` | : all.equal() for FutureStrategyList ... [05:57:49.960] | : . ' , ; ` | : . New stack: [05:57:49.960] | : . ' , ; ` | : . List of 1 [05:57:49.960] | : . ' , ; ` | : . $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:49.960] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:49.960] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [05:57:49.960] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.960] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.960] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.960] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [05:57:49.960] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:49.960] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:49.960] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:49.960] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.002] | : . ' , ; ` | : . Old stack: [05:57:50.002] | : . ' , ; ` | : . List of 1 [05:57:50.002] | : . ' , ; ` | : . $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.002] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.002] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [05:57:50.002] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.002] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.002] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.002] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [05:57:50.002] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.002] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.002] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.002] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.007] | : . ' , ; ` | : . Identical [05:57:50.008] | : . ' , ; ` | : all.equal() for FutureStrategyList ... done [05:57:50.008] | : . ' , ; ` | : plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.008] | : . ' , ; ` | : List of future strategies: [05:57:50.008] | : . ' , ; ` | : 1. sequential: [05:57:50.008] | : . ' , ; ` | : - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.008] | : . ' , ; ` | : - tweaked: FALSE [05:57:50.008] | : . ' , ; ` | : - call: plan(sequential) [05:57:50.009] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.009] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.009] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.014] | : . ' , ; SequentialFuture started (and completed) [05:57:50.015] | : . ' , ; signalConditions() ... [05:57:50.015] | : . ' , ; ` include = 'immediateCondition' [05:57:50.015] | : . ' , ; ` exclude = [05:57:50.015] | : . ' , ; ` resignal = FALSE [05:57:50.016] | : . ' , ; ` Number of conditions: 6 [05:57:50.016] | : . ' , ; ` int 6 [05:57:50.016] | : . ' , ; ` Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.017] | : . ' , ; ` Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.017] | : . ' , ; ` Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.017] | : . ' , ; ` Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.017] | : . ' , ; ` Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.017] | : . ' , ; ` Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.018] | : . ' , ; signalConditions() ... done [05:57:50.018] | : . ' , launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [05:57:50.018] | : . ' Launching futures ... done [05:57:50.018] | : . ' Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [05:57:50.019] | : . Using SequentialFutureBackend ... done [05:57:50.019] | : run() for 'Future' () ... done [05:57:50.019] | run() ... done [05:57:50.019] | resolved() ... [05:57:50.020] | : resolved() for SequentialFuture () ... [05:57:50.020] | : . state: 'finished' [05:57:50.020] | : . run: TRUE [05:57:50.020] | : . result: 'FutureResult' [05:57:50.020] | : resolved() for SequentialFuture () ... done [05:57:50.021] | : resolved: TRUE [05:57:50.021] | resolved() ... done [05:57:50.021] resolved() for Future () ... done [1] TRUE > y <- value(f) [05:57:50.022] value() for SequentialFuture () ... [05:57:50.022] | signalConditions() ... [05:57:50.022] | : include = 'immediateCondition' [05:57:50.022] | : exclude = [05:57:50.023] | : resignal = FALSE [05:57:50.023] | : Number of conditions: 6 [05:57:50.023] | : int 6 [05:57:50.024] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.024] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.024] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.024] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.024] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.057] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.057] | signalConditions() ... done [05:57:50.057] | relay stdout ... [05:57:50.057] | relay stdout ... done [05:57:50.058] | check for misuse ... [05:57:50.058] | check for misuse ... done [05:57:50.058] | relay conditions ... [05:57:50.058] | : Future state: 'finished' [05:57:50.058] | : signalConditions() ... [05:57:50.058] | : . include = 'condition' [05:57:50.059] | : . exclude = 'immediateCondition' [05:57:50.059] | : . resignal = TRUE [05:57:50.059] | : . Number of conditions: 6 [05:57:50.059] | : . int 6 [05:57:50.060] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.060] | : . Condition #1: 'simpleMessage', 'message', 'condition' [05:57:49.917] | : . ' , ; attachPackages() ... [05:57:50.060] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.060] | : . Condition #2: 'simpleMessage', 'message', 'condition' [05:57:49.918] | : . ' , ; ` packages: [n=1] 'future' [05:57:50.061] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.061] | : . Condition #3: 'simpleMessage', 'message', 'condition' [05:57:49.918] | : . ' , ; attachPackages() ... done [05:57:50.061] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.061] | : . Condition #4: 'simpleMessage', 'message', 'condition' [05:57:49.919] | : . ' , ; attachPackages() ... [05:57:50.061] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.061] | : . Condition #5: 'simpleMessage', 'message', 'condition' [05:57:49.919] | : . ' , ; ` packages: [n=0] [05:57:50.062] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.062] | : . Condition #6: 'simpleMessage', 'message', 'condition' [05:57:49.919] | : . ' , ; attachPackages() ... done [05:57:50.062] | : signalConditions() ... done [05:57:50.062] | relay conditions ... done [05:57:50.062] 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] [05:57:50.063] future(..., label = NULL) ... [05:57:50.063] | lazy: TRUE [05:57:50.064] | stdout: TRUE [05:57:50.064] | conditions: [n=1] 'condition' [05:57:50.064] | gc: FALSE [05:57:50.064] | earlySignal: FALSE [05:57:50.064] | getGlobalsAndPackages() ... [05:57:50.064] | : Searching for globals ... [05:57:50.069] | : . globals found: [2] '{', 'a' [05:57:50.069] | : Searching for globals ... done [05:57:50.069] | : Resolving globals: FALSE [05:57:50.069] | : Search for packages associated with the globals ... [05:57:50.069] | : . Packages associated with globals: [1] 'base' [05:57:50.070] | : . Packages: [1] 'base' [05:57:50.070] | : Search for packages associated with the globals ... done [05:57:50.070] | : Packages after dropping 'base': [0] [05:57:50.070] | : globals: [1] 'a' [05:57:50.071] | : packages: [0] [05:57:50.071] | getGlobalsAndPackages() ... done [05:57:50.071] future(..., label = NULL) ... done [05:57:50.071] value() for Future () ... [05:57:50.071] | run() for 'Future' () ... [05:57:50.072] | : state: 'created' [05:57:50.072] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.072] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.072] | : Using SequentialFutureBackend ... [05:57:50.072] | : . Number of futures since start: 1 (1 created, 1 launched, 1 finished) [05:57:50.072] | : . Launching futures ... [05:57:50.073] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [05:57:50.073] | : . ' , getFutureData() ... [05:57:50.073] | : . ' , ; getFutureCore() ... [05:57:50.073] | : . ' , ; ` Packages needed by the future expression (n = 0): [05:57:50.073] | : . ' , ; getFutureCore() ... done [05:57:50.074] | : . ' , ; getFutureCapture() ... [05:57:50.074] | : . ' , ; getFutureCapture() ... done [05:57:50.074] | : . ' , ; getFutureContext() ... [05:57:50.074] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.074] | : . ' , ; ` | Getting stack without first backend: [n=0] [05:57:50.074] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.075] | : . ' , ; ` Packages needed by future backend (n = 0): [05:57:50.075] | : . ' , ; getFutureContext() ... done [05:57:50.075] | : . ' , getFutureData() ... done [05:57:50.078] | : . ' , plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.078] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [05:57:50.079] | : . ' , plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.079] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.080] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.080] | : . ' , ; ` all.equal() for FutureStrategyList ... [05:57:50.080] | : . ' , ; ` | New stack: [05:57:50.081] | : . ' , ; ` | List of 1 [05:57:50.081] | : . ' , ; ` | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.081] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.081] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [05:57:50.081] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.081] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.081] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.081] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.081] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.086] | : . ' , ; ` | Old stack: [05:57:50.087] | : . ' , ; ` | List of 1 [05:57:50.087] | : . ' , ; ` | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.087] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.087] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [05:57:50.087] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.087] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.087] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.087] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [05:57:50.087] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.087] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.087] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.087] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.095] | : . ' , ; ` | Not identical [05:57:50.096] | : . ' , ; ` | all.equal() for future ... [05:57:50.096] | : . ' , ; ` | : List of 2 [05:57:50.096] | : . ' , ; ` | : $ target :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.096] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.096] | : . ' , ; ` | : $ current:function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.096] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.096] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.096] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.096] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.105] | : . ' , ; ` | all.equal() for future ... done [05:57:50.106] | : . ' , ; ` all.equal() for FutureStrategyList ... done [05:57:50.106] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.106] | : . ' , ; ` List of future strategies: [05:57:50.106] | : . ' , ; ` 1. sequential: [05:57:50.106] | : . ' , ; ` - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.106] | : . ' , ; ` - tweaked: FALSE [05:57:50.106] | : . ' , ; ` - call: plan(sequential) [05:57:50.107] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.107] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.108] | : . ' , assign_globals() ... [05:57:50.108] | : . ' , List of 1 [05:57:50.108] | : . ' , $ a: int 42 [05:57:50.108] | : . ' , - attr(*, "where")=List of 1 [05:57:50.108] | : . ' , ..$ a: [05:57:50.108] | : . ' , - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [05:57:50.108] | : . ' , - attr(*, "resolved")= logi FALSE [05:57:50.108] | : . ' , - attr(*, "total_size")= num NA [05:57:50.108] | : . ' , - attr(*, "already-done")= logi TRUE [05:57:50.112] | : . ' , - copied 'a' to environment [05:57:50.112] | : . ' , assign_globals() ... done [05:57:50.115] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.116] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.116] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.116] | : . ' , ; ` | all.equal() for FutureStrategyList ... [05:57:50.116] | : . ' , ; ` | : New stack: [05:57:50.116] | : . ' , ; ` | : List of 1 [05:57:50.116] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.116] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.116] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.116] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.116] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.116] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.116] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.116] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.116] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.116] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.116] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.121] | : . ' , ; ` | : Old stack: [05:57:50.122] | : . ' , ; ` | : List of 1 [05:57:50.122] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.122] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.122] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.122] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.122] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.122] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.122] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.122] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.122] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.122] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.122] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.129] | : . ' , ; ` | : Identical [05:57:50.129] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [05:57:50.129] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.129] | : . ' , ; ` | List of future strategies: [05:57:50.129] | : . ' , ; ` | 1. sequential: [05:57:50.129] | : . ' , ; ` | - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.129] | : . ' , ; ` | - tweaked: FALSE [05:57:50.129] | : . ' , ; ` | - call: plan(sequential) [05:57:50.130] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.131] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.131] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.132] | : . ' , SequentialFuture started (and completed) [05:57:50.132] | : . ' , signalConditions() ... [05:57:50.132] | : . ' , ; include = 'immediateCondition' [05:57:50.133] | : . ' , ; exclude = [05:57:50.133] | : . ' , ; resignal = FALSE [05:57:50.133] | : . ' , ; Number of conditions: 6 [05:57:50.133] | : . ' , ; int 6 [05:57:50.134] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.134] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.135] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.135] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.135] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.136] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.136] | : . ' , signalConditions() ... done [05:57:50.136] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [05:57:50.136] | : . Launching futures ... done [05:57:50.137] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [05:57:50.137] | : Using SequentialFutureBackend ... done [05:57:50.137] | run() for 'Future' () ... done [05:57:50.138] | signalConditions() ... [05:57:50.138] | : include = 'immediateCondition' [05:57:50.138] | : exclude = [05:57:50.138] | : resignal = FALSE [05:57:50.139] | : Number of conditions: 6 [05:57:50.139] | : int 6 [05:57:50.140] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.140] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.140] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.141] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.141] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.141] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.141] | signalConditions() ... done [05:57:50.142] | relay stdout ... [05:57:50.142] | relay stdout ... done [05:57:50.142] | check for misuse ... [05:57:50.142] | check for misuse ... done [05:57:50.143] | relay conditions ... [05:57:50.143] | : Future state: 'finished' [05:57:50.143] | : signalConditions() ... [05:57:50.144] | : . include = 'condition' [05:57:50.144] | : . exclude = 'immediateCondition' [05:57:50.144] | : . resignal = TRUE [05:57:50.144] | : . Number of conditions: 6 [05:57:50.145] | : . int 6 [05:57:50.145] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.146] | : . Condition #1: 'simpleMessage', 'message', 'condition' [05:57:50.075] | : . ' , attachPackages() ... [05:57:50.146] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.146] | : . Condition #2: 'simpleMessage', 'message', 'condition' [05:57:50.076] | : . ' , ; packages: [n=1] 'future' [05:57:50.147] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.147] | : . Condition #3: 'simpleMessage', 'message', 'condition' [05:57:50.076] | : . ' , attachPackages() ... done [05:57:50.147] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.148] | : . Condition #4: 'simpleMessage', 'message', 'condition' [05:57:50.076] | : . ' , attachPackages() ... [05:57:50.148] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.148] | : . Condition #5: 'simpleMessage', 'message', 'condition' [05:57:50.077] | : . ' , ; packages: [n=0] [05:57:50.149] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.149] | : . Condition #6: 'simpleMessage', 'message', 'condition' [05:57:50.077] | : . ' , attachPackages() ... done [05:57:50.149] | : signalConditions() ... done [05:57:50.149] | relay conditions ... done [05:57:50.150] 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) [05:57:50.151] future(..., label = NULL) ... [05:57:50.151] | lazy: TRUE [05:57:50.151] | stdout: TRUE [05:57:50.151] | conditions: [n=1] 'condition' [05:57:50.152] | gc: TRUE [05:57:50.152] | earlySignal: FALSE [05:57:50.152] | getGlobalsAndPackages() ... [05:57:50.153] | : Searching for globals ... [05:57:50.155] | : . globals found: [0] [05:57:50.155] | : Searching for globals ... done [05:57:50.156] | : globals: [0] [05:57:50.156] | : packages: [0] [05:57:50.156] | getGlobalsAndPackages() ... done [05:57:50.157] 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: 718d5f842cfcfc06990eea379f214b8b-3 Owner process: 718d5f842cfcfc06990eea379f214b8b Class: 'Future', 'environment' Value: Conditions captured: > y <- value(f) [05:57:50.158] value() for Future () ... [05:57:50.158] | run() for 'Future' () ... [05:57:50.159] | : state: 'created' [05:57:50.159] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.159] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.160] | : Using SequentialFutureBackend ... [05:57:50.160] | : . Number of futures since start: 2 (2 created, 2 launched, 2 finished) [05:57:50.160] | : . Launching futures ... [05:57:50.161] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [05:57:50.161] | : . ' , getFutureData() ... [05:57:50.161] | : . ' , ; getFutureCore() ... [05:57:50.162] | : . ' , ; ` Packages needed by the future expression (n = 0): [05:57:50.162] | : . ' , ; getFutureCore() ... done [05:57:50.162] | : . ' , ; getFutureCapture() ... [05:57:50.162] | : . ' , ; getFutureCapture() ... done [05:57:50.163] | : . ' , ; getFutureContext() ... [05:57:50.163] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.163] | : . ' , ; ` | Getting stack without first backend: [n=0] [05:57:50.163] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.164] | : . ' , ; ` Packages needed by future backend (n = 0): [05:57:50.164] | : . ' , ; getFutureContext() ... done [05:57:50.164] | : . ' , getFutureData() ... done [05:57:50.166] | : . ' , plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.166] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [05:57:50.167] | : . ' , plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.167] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.167] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.168] | : . ' , ; ` all.equal() for FutureStrategyList ... [05:57:50.168] | : . ' , ; ` | New stack: [05:57:50.168] | : . ' , ; ` | List of 1 [05:57:50.168] | : . ' , ; ` | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.168] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.168] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [05:57:50.168] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.168] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.168] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.168] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.168] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.175] | : . ' , ; ` | Old stack: [05:57:50.176] | : . ' , ; ` | List of 1 [05:57:50.176] | : . ' , ; ` | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.176] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.176] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [05:57:50.176] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.176] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.176] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.176] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [05:57:50.176] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.176] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.176] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.176] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.184] | : . ' , ; ` | Not identical [05:57:50.184] | : . ' , ; ` | all.equal() for future ... [05:57:50.184] | : . ' , ; ` | : List of 2 [05:57:50.184] | : . ' , ; ` | : $ target :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.184] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.184] | : . ' , ; ` | : $ current:function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.184] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.184] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.184] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.184] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.200] | : . ' , ; ` | all.equal() for future ... done [05:57:50.201] | : . ' , ; ` all.equal() for FutureStrategyList ... done [05:57:50.201] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.202] | : . ' , ; ` List of future strategies: [05:57:50.202] | : . ' , ; ` 1. sequential: [05:57:50.202] | : . ' , ; ` - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.202] | : . ' , ; ` - tweaked: FALSE [05:57:50.202] | : . ' , ; ` - call: plan(sequential) [05:57:50.203] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.203] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.208] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.209] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.209] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.209] | : . ' , ; ` | all.equal() for FutureStrategyList ... [05:57:50.210] | : . ' , ; ` | : New stack: [05:57:50.210] | : . ' , ; ` | : List of 1 [05:57:50.210] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.210] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.210] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.210] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.210] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.210] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.210] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.210] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.210] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.210] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.210] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.221] | : . ' , ; ` | : Old stack: [05:57:50.222] | : . ' , ; ` | : List of 1 [05:57:50.222] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.222] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.222] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.222] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.222] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.222] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.222] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.222] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.222] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.222] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.222] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.228] | : . ' , ; ` | : Identical [05:57:50.228] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [05:57:50.228] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.229] | : . ' , ; ` | List of future strategies: [05:57:50.229] | : . ' , ; ` | 1. sequential: [05:57:50.229] | : . ' , ; ` | - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.229] | : . ' , ; ` | - tweaked: FALSE [05:57:50.229] | : . ' , ; ` | - call: plan(sequential) [05:57:50.230] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.230] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.230] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.231] | : . ' , SequentialFuture started (and completed) [05:57:50.231] | : . ' , signalConditions() ... [05:57:50.231] | : . ' , ; include = 'immediateCondition' [05:57:50.232] | : . ' , ; exclude = [05:57:50.232] | : . ' , ; resignal = FALSE [05:57:50.232] | : . ' , ; Number of conditions: 6 [05:57:50.233] | : . ' , ; int 6 [05:57:50.233] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.234] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.234] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.234] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.234] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.235] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.235] | : . ' , signalConditions() ... done [05:57:50.235] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [05:57:50.236] | : . Launching futures ... done [05:57:50.236] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [05:57:50.236] | : Using SequentialFutureBackend ... done [05:57:50.236] | run() for 'Future' () ... done [05:57:50.237] | signalConditions() ... [05:57:50.237] | : include = 'immediateCondition' [05:57:50.237] | : exclude = [05:57:50.237] | : resignal = FALSE [05:57:50.238] | : Number of conditions: 6 [05:57:50.238] | : int 6 [05:57:50.239] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.239] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.239] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.239] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.240] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.240] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.240] | signalConditions() ... done [05:57:50.240] | relay stdout ... [05:57:50.241] | relay stdout ... done [05:57:50.241] | check for misuse ... [05:57:50.241] | check for misuse ... done [05:57:50.242] | relay conditions ... [05:57:50.242] | : Future state: 'finished' [05:57:50.242] | : signalConditions() ... [05:57:50.242] | : . include = 'condition' [05:57:50.243] | : . exclude = 'immediateCondition' [05:57:50.243] | : . resignal = TRUE [05:57:50.243] | : . Number of conditions: 6 [05:57:50.243] | : . int 6 [05:57:50.244] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.244] | : . Condition #1: 'simpleMessage', 'message', 'condition' [05:57:50.164] | : . ' , attachPackages() ... [05:57:50.245] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.245] | : . Condition #2: 'simpleMessage', 'message', 'condition' [05:57:50.165] | : . ' , ; packages: [n=1] 'future' [05:57:50.245] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.246] | : . Condition #3: 'simpleMessage', 'message', 'condition' [05:57:50.165] | : . ' , attachPackages() ... done [05:57:50.246] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.246] | : . Condition #4: 'simpleMessage', 'message', 'condition' [05:57:50.165] | : . ' , attachPackages() ... [05:57:50.246] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.247] | : . Condition #5: 'simpleMessage', 'message', 'condition' [05:57:50.165] | : . ' , ; packages: [n=0] [05:57:50.247] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.247] | : . Condition #6: 'simpleMessage', 'message', 'condition' [05:57:50.166] | : . ' , attachPackages() ... done [05:57:50.248] | : signalConditions() ... done [05:57:50.248] | relay conditions ... done [05:57:50.248] 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) [05:57:50.250] future(..., label = NULL) ... [05:57:50.250] | lazy: TRUE [05:57:50.250] | stdout: TRUE [05:57:50.250] | conditions: [n=1] 'condition' [05:57:50.251] | gc: FALSE [05:57:50.251] | earlySignal: FALSE [05:57:50.251] | getGlobalsAndPackages() ... [05:57:50.251] | : Searching for globals ... [05:57:50.257] | : . globals found: [1] '{' [05:57:50.258] | : Searching for globals ... done [05:57:50.258] | : Resolving globals: FALSE [05:57:50.258] | : Search for packages associated with the globals ... [05:57:50.259] | : . Packages associated with globals: [1] 'base' [05:57:50.259] | : . Packages: [1] 'base' [05:57:50.259] | : Search for packages associated with the globals ... done [05:57:50.260] | : Packages after dropping 'base': [0] [05:57:50.260] | : globals: [0] [05:57:50.260] | : packages: [0] [05:57:50.260] | getGlobalsAndPackages() ... done [05:57:50.261] future(..., label = NULL) ... done > print(resolved(f)) [05:57:50.261] resolved() for Future () ... [05:57:50.262] | state: 'created' [05:57:50.262] | run: TRUE [05:57:50.262] | run() ... [05:57:50.262] | : run() for 'Future' () ... [05:57:50.263] | : . state: 'created' [05:57:50.263] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.263] | : . plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.263] | : . Using SequentialFutureBackend ... [05:57:50.264] | : . ' Number of futures since start: 3 (3 created, 3 launched, 3 finished) [05:57:50.264] | : . ' Launching futures ... [05:57:50.264] | : . ' , launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [05:57:50.265] | : . ' , ; getFutureData() ... [05:57:50.265] | : . ' , ; ` getFutureCore() ... [05:57:50.265] | : . ' , ; ` | Packages needed by the future expression (n = 0): [05:57:50.265] | : . ' , ; ` getFutureCore() ... done [05:57:50.266] | : . ' , ; ` getFutureCapture() ... [05:57:50.266] | : . ' , ; ` getFutureCapture() ... done [05:57:50.266] | : . ' , ; ` getFutureContext() ... [05:57:50.266] | : . ' , ; ` | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.267] | : . ' , ; ` | : Getting stack without first backend: [n=0] [05:57:50.267] | : . ' , ; ` | plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.267] | : . ' , ; ` | Packages needed by future backend (n = 0): [05:57:50.267] | : . ' , ; ` getFutureContext() ... done [05:57:50.268] | : . ' , ; getFutureData() ... done [05:57:50.271] | : . ' , ; plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.271] | : . ' , ; ` Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [05:57:50.271] | : . ' , ; plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.272] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.272] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.272] | : . ' , ; ` | all.equal() for FutureStrategyList ... [05:57:50.273] | : . ' , ; ` | : New stack: [05:57:50.273] | : . ' , ; ` | : List of 1 [05:57:50.273] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.273] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.273] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [05:57:50.273] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.273] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.273] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.273] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.273] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.278] | : . ' , ; ` | : Old stack: [05:57:50.279] | : . ' , ; ` | : List of 1 [05:57:50.279] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.279] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.279] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.279] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.279] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.279] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.279] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.279] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.279] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.279] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.279] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.285] | : . ' , ; ` | : Not identical [05:57:50.285] | : . ' , ; ` | : all.equal() for future ... [05:57:50.285] | : . ' , ; ` | : . List of 2 [05:57:50.285] | : . ' , ; ` | : . $ target :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "init")= logi TRUE [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.285] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.285] | : . ' , ; ` | : . $ current:function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.285] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [05:57:50.285] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.285] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.285] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.297] | : . ' , ; ` | : all.equal() for future ... done [05:57:50.297] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [05:57:50.298] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.298] | : . ' , ; ` | List of future strategies: [05:57:50.298] | : . ' , ; ` | 1. sequential: [05:57:50.298] | : . ' , ; ` | - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.298] | : . ' , ; ` | - tweaked: FALSE [05:57:50.298] | : . ' , ; ` | - call: plan(sequential) [05:57:50.300] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.300] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.305] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.305] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.306] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.306] | : . ' , ; ` | : all.equal() for FutureStrategyList ... [05:57:50.306] | : . ' , ; ` | : . New stack: [05:57:50.307] | : . ' , ; ` | : . List of 1 [05:57:50.307] | : . ' , ; ` | : . $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.307] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.307] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [05:57:50.307] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.307] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.307] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.307] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [05:57:50.307] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.307] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.307] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.307] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.315] | : . ' , ; ` | : . Old stack: [05:57:50.315] | : . ' , ; ` | : . List of 1 [05:57:50.315] | : . ' , ; ` | : . $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.315] | : . ' , ; ` | : . ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.315] | : . ' , ; ` | : . ..- attr(*, "init")= chr "done" [05:57:50.315] | : . ' , ; ` | : . ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.315] | : . ' , ; ` | : . .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.315] | : . ' , ; ` | : . ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.315] | : . ' , ; ` | : . ..- attr(*, "call")= language plan(sequential) [05:57:50.315] | : . ' , ; ` | : . ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.315] | : . ' , ; ` | : . .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.315] | : . ' , ; ` | : . .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.315] | : . ' , ; ` | : . - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.324] | : . ' , ; ` | : . Identical [05:57:50.324] | : . ' , ; ` | : all.equal() for FutureStrategyList ... done [05:57:50.325] | : . ' , ; ` | : plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.325] | : . ' , ; ` | : List of future strategies: [05:57:50.325] | : . ' , ; ` | : 1. sequential: [05:57:50.325] | : . ' , ; ` | : - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.325] | : . ' , ; ` | : - tweaked: FALSE [05:57:50.325] | : . ' , ; ` | : - call: plan(sequential) [05:57:50.326] | : . ' , ; ` | plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.327] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.327] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.328] | : . ' , ; SequentialFuture started (and completed) [05:57:50.328] | : . ' , ; signalConditions() ... [05:57:50.329] | : . ' , ; ` include = 'immediateCondition' [05:57:50.329] | : . ' , ; ` exclude = [05:57:50.329] | : . ' , ; ` resignal = FALSE [05:57:50.330] | : . ' , ; ` Number of conditions: 6 [05:57:50.330] | : . ' , ; ` int 6 [05:57:50.331] | : . ' , ; ` Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.331] | : . ' , ; ` Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.332] | : . ' , ; ` Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.332] | : . ' , ; ` Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.332] | : . ' , ; ` Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.333] | : . ' , ; ` Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.333] | : . ' , ; signalConditions() ... done [05:57:50.334] | : . ' , launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [05:57:50.334] | : . ' Launching futures ... done [05:57:50.334] | : . ' Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [05:57:50.335] | : . Using SequentialFutureBackend ... done [05:57:50.335] | : run() for 'Future' () ... done [05:57:50.335] | run() ... done [05:57:50.336] | resolved() ... [05:57:50.336] | : resolved() for SequentialFuture () ... [05:57:50.336] | : . state: 'finished' [05:57:50.337] | : . run: TRUE [05:57:50.337] | : . result: 'FutureResult' [05:57:50.337] | : resolved() for SequentialFuture () ... done [05:57:50.338] | : resolved: TRUE [05:57:50.338] | resolved() ... done [05:57:50.338] resolved() for Future () ... done [1] TRUE > y <- value(f) [05:57:50.339] value() for SequentialFuture () ... [05:57:50.339] | signalConditions() ... [05:57:50.339] | : include = 'immediateCondition' [05:57:50.340] | : exclude = [05:57:50.340] | : resignal = FALSE [05:57:50.340] | : Number of conditions: 6 [05:57:50.341] | : int 6 [05:57:50.342] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.342] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.342] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.342] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.343] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.343] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.343] | signalConditions() ... done [05:57:50.344] | relay stdout ... [05:57:50.344] | relay stdout ... done [05:57:50.344] | check for misuse ... [05:57:50.345] | check for misuse ... done [05:57:50.345] | relay conditions ... [05:57:50.345] | : Future state: 'finished' [05:57:50.346] | : signalConditions() ... [05:57:50.346] | : . include = 'condition' [05:57:50.346] | : . exclude = 'immediateCondition' [05:57:50.347] | : . resignal = TRUE [05:57:50.347] | : . Number of conditions: 6 [05:57:50.347] | : . int 6 [05:57:50.348] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.349] | : . Condition #1: 'simpleMessage', 'message', 'condition' [05:57:50.268] | : . ' , ; attachPackages() ... [05:57:50.349] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.350] | : . Condition #2: 'simpleMessage', 'message', 'condition' [05:57:50.269] | : . ' , ; ` packages: [n=1] 'future' [05:57:50.350] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.350] | : . Condition #3: 'simpleMessage', 'message', 'condition' [05:57:50.269] | : . ' , ; attachPackages() ... done [05:57:50.351] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.351] | : . Condition #4: 'simpleMessage', 'message', 'condition' [05:57:50.269] | : . ' , ; attachPackages() ... [05:57:50.352] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.352] | : . Condition #5: 'simpleMessage', 'message', 'condition' [05:57:50.270] | : . ' , ; ` packages: [n=0] [05:57:50.353] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.353] | : . Condition #6: 'simpleMessage', 'message', 'condition' [05:57:50.270] | : . ' , ; attachPackages() ... done [05:57:50.353] | : signalConditions() ... done [05:57:50.354] | relay conditions ... done [05:57:50.354] 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) [05:57:50.355] future(..., label = NULL) ... [05:57:50.356] | lazy: TRUE [05:57:50.356] | stdout: TRUE [05:57:50.356] | conditions: [n=1] 'condition' [05:57:50.357] | gc: TRUE [05:57:50.357] | earlySignal: FALSE [05:57:50.357] | getGlobalsAndPackages() ... [05:57:50.358] | : Searching for globals ... [05:57:50.361] | : . globals found: [0] [05:57:50.361] | : Searching for globals ... done [05:57:50.362] | : globals: [0] [05:57:50.362] | : packages: [0] [05:57:50.362] | getGlobalsAndPackages() ... done [05:57:50.363] 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: 718d5f842cfcfc06990eea379f214b8b-5 Owner process: 718d5f842cfcfc06990eea379f214b8b Class: 'Future', 'environment' Value: Conditions captured: > y <- value(f) [05:57:50.364] value() for Future () ... [05:57:50.365] | run() for 'Future' () ... [05:57:50.365] | : state: 'created' [05:57:50.365] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.366] | : plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.366] | : Using SequentialFutureBackend ... [05:57:50.366] | : . Number of futures since start: 4 (4 created, 4 launched, 4 finished) [05:57:50.367] | : . Launching futures ... [05:57:50.367] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... [05:57:50.367] | : . ' , getFutureData() ... [05:57:50.368] | : . ' , ; getFutureCore() ... [05:57:50.368] | : . ' , ; ` Packages needed by the future expression (n = 0): [05:57:50.368] | : . ' , ; getFutureCore() ... done [05:57:50.369] | : . ' , ; getFutureCapture() ... [05:57:50.369] | : . ' , ; getFutureCapture() ... done [05:57:50.369] | : . ' , ; getFutureContext() ... [05:57:50.370] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.370] | : . ' , ; ` | Getting stack without first backend: [n=0] [05:57:50.370] | : . ' , ; ` plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.371] | : . ' , ; ` Packages needed by future backend (n = 0): [05:57:50.371] | : . ' , ; getFutureContext() ... done [05:57:50.371] | : . ' , getFutureData() ... done [05:57:50.375] | : . ' , plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... [05:57:50.375] | : . ' , ; Getting full stack: [n=1] 'sequential', 'uniprocess', 'future', 'function' [05:57:50.376] | : . ' , plan(, .skip = FALSE, .cleanup = NA, .init = TRUE) ... done [05:57:50.376] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.377] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.377] | : . ' , ; ` all.equal() for FutureStrategyList ... [05:57:50.378] | : . ' , ; ` | New stack: [05:57:50.378] | : . ' , ; ` | List of 1 [05:57:50.378] | : . ' , ; ` | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.378] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.378] | : . ' , ; ` | ..- attr(*, "init")= logi TRUE [05:57:50.378] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.378] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.378] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.378] | : . ' , ; ` | ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.378] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.384] | : . ' , ; ` | Old stack: [05:57:50.385] | : . ' , ; ` | List of 1 [05:57:50.385] | : . ' , ; ` | $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.385] | : . ' , ; ` | ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.385] | : . ' , ; ` | ..- attr(*, "init")= chr "done" [05:57:50.385] | : . ' , ; ` | ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.385] | : . ' , ; ` | .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.385] | : . ' , ; ` | ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.385] | : . ' , ; ` | ..- attr(*, "call")= language plan(sequential) [05:57:50.385] | : . ' , ; ` | ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.385] | : . ' , ; ` | .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.385] | : . ' , ; ` | .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.385] | : . ' , ; ` | - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.393] | : . ' , ; ` | Not identical [05:57:50.393] | : . ' , ; ` | all.equal() for future ... [05:57:50.393] | : . ' , ; ` | : List of 2 [05:57:50.393] | : . ' , ; ` | : $ target :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "init")= logi TRUE [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.393] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "call")= language plan(strategiesR, .cleanup = FALSE, .init = FALSE) [05:57:50.393] | : . ' , ; ` | : $ current:function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.393] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.393] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.393] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.393] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.411] | : . ' , ; ` | all.equal() for future ... done [05:57:50.411] | : . ' , ; ` all.equal() for FutureStrategyList ... done [05:57:50.412] | : . ' , ; ` plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.412] | : . ' , ; ` List of future strategies: [05:57:50.412] | : . ' , ; ` 1. sequential: [05:57:50.412] | : . ' , ; ` - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.412] | : . ' , ; ` - tweaked: FALSE [05:57:50.412] | : . ' , ; ` - call: plan(sequential) [05:57:50.413] | : . ' , ; plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.414] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.418] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.419] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... [05:57:50.419] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... [05:57:50.419] | : . ' , ; ` | all.equal() for FutureStrategyList ... [05:57:50.420] | : . ' , ; ` | : New stack: [05:57:50.421] | : . ' , ; ` | : List of 1 [05:57:50.421] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.421] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.421] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.421] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.421] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.421] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.421] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.421] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.421] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.421] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.421] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.429] | : . ' , ; ` | : Old stack: [05:57:50.429] | : . ' , ; ` | : List of 1 [05:57:50.429] | : . ' , ; ` | : $ :function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame()) [05:57:50.429] | : . ' , ; ` | : ..- attr(*, "class")= chr [1:4] "sequential" "uniprocess" "future" "function" [05:57:50.429] | : . ' , ; ` | : ..- attr(*, "init")= chr "done" [05:57:50.429] | : . ' , ; ` | : ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.429] | : . ' , ; ` | : .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.429] | : . ' , ; ` | : ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.429] | : . ' , ; ` | : ..- attr(*, "call")= language plan(sequential) [05:57:50.429] | : . ' , ; ` | : ..- attr(*, "backend")=Classes 'SequentialFutureBackend', 'FutureBackend', 'environment' [05:57:50.429] | : . ' , ; ` | : .. ..- attr(*, "factory")=function (..., maxSizeOfObjects = +Inf) [05:57:50.429] | : . ' , ; ` | : .. .. ..- attr(*, "tweakable")= chr [1:5] "maxSizeOfObjects" "earlySignal" "gc" "interrupts" ... [05:57:50.429] | : . ' , ; ` | : - attr(*, "class")= chr [1:2] "FutureStrategyList" "list" [05:57:50.436] | : . ' , ; ` | : Identical [05:57:50.437] | : . ' , ; ` | all.equal() for FutureStrategyList ... done [05:57:50.437] | : . ' , ; ` | plan(): Skip setting new future backend stack because it is the same as the current one: [05:57:50.437] | : . ' , ; ` | List of future strategies: [05:57:50.437] | : . ' , ; ` | 1. sequential: [05:57:50.437] | : . ' , ; ` | - args: function (..., gc = FALSE, earlySignal = FALSE, envir = parent.frame(), workers = "") [05:57:50.437] | : . ' , ; ` | - tweaked: FALSE [05:57:50.437] | : . ' , ; ` | - call: plan(sequential) [05:57:50.438] | : . ' , ; ` plan(): plan_set(<1 strategies>, skip = FALSE, cleanup = FALSE, init = FALSE) ... done [05:57:50.439] | : . ' , ; plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.439] | : . ' , plan(, .skip = FALSE, .cleanup = FALSE, .init = FALSE) ... done [05:57:50.440] | : . ' , SequentialFuture started (and completed) [05:57:50.440] | : . ' , signalConditions() ... [05:57:50.440] | : . ' , ; include = 'immediateCondition' [05:57:50.441] | : . ' , ; exclude = [05:57:50.441] | : . ' , ; resignal = FALSE [05:57:50.441] | : . ' , ; Number of conditions: 6 [05:57:50.441] | : . ' , ; int 6 [05:57:50.442] | : . ' , ; Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.442] | : . ' , ; Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.443] | : . ' , ; Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.443] | : . ' , ; Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.443] | : . ' , ; Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.444] | : . ' , ; Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.444] | : . ' , signalConditions() ... done [05:57:50.444] | : . ' launchFuture() for 'SequentialFutureBackend', 'FutureBackend', 'environment' ... done [05:57:50.444] | : . Launching futures ... done [05:57:50.445] | : . Future launched: 'SequentialFuture', 'UniprocessFuture', 'Future' [05:57:50.445] | : Using SequentialFutureBackend ... done [05:57:50.445] | run() for 'Future' () ... done [05:57:50.446] | signalConditions() ... [05:57:50.446] | : include = 'immediateCondition' [05:57:50.446] | : exclude = [05:57:50.446] | : resignal = FALSE [05:57:50.446] | : Number of conditions: 6 [05:57:50.447] | : int 6 [05:57:50.448] | : Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.448] | : Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.448] | : Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.448] | : Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.449] | : Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.449] | : Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.449] | signalConditions() ... done [05:57:50.450] | relay stdout ... [05:57:50.450] | relay stdout ... done [05:57:50.450] | check for misuse ... [05:57:50.450] | check for misuse ... done [05:57:50.451] | relay conditions ... [05:57:50.451] | : Future state: 'finished' [05:57:50.451] | : signalConditions() ... [05:57:50.451] | : . include = 'condition' [05:57:50.452] | : . exclude = 'immediateCondition' [05:57:50.452] | : . resignal = TRUE [05:57:50.452] | : . Number of conditions: 6 [05:57:50.452] | : . int 6 [05:57:50.453] | : . Condition #1 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.454] | : . Condition #1: 'simpleMessage', 'message', 'condition' [05:57:50.372] | : . ' , attachPackages() ... [05:57:50.454] | : . Condition #2 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.454] | : . Condition #2: 'simpleMessage', 'message', 'condition' [05:57:50.372] | : . ' , ; packages: [n=1] 'future' [05:57:50.455] | : . Condition #3 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.455] | : . Condition #3: 'simpleMessage', 'message', 'condition' [05:57:50.373] | : . ' , attachPackages() ... done [05:57:50.455] | : . Condition #4 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.455] | : . Condition #4: 'simpleMessage', 'message', 'condition' [05:57:50.373] | : . ' , attachPackages() ... [05:57:50.456] | : . Condition #5 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.456] | : . Condition #5: 'simpleMessage', 'message', 'condition' [05:57:50.374] | : . ' , ; packages: [n=0] [05:57:50.456] | : . Condition #6 (class: 'simpleMessage', 'message', 'condition'): [05:57:50.457] | : . Condition #6: 'simpleMessage', 'message', 'condition' [05:57:50.374] | : . ' , attachPackages() ... done [05:57:50.457] | : signalConditions() ... done [05:57:50.457] | relay conditions ... done [05:57:50.457] 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) [05:57:50.459] 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_SPECIAL__', 'maj.version', 'nextArg--timingsnextArg--install', 'tempdirname' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: 03/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/090.gc.R' 04/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/099.session_info.R' 05/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/995.detritus-connections.R' 06/06 epilogue script 'D:/RCompile/CRANincoming/R-devel/lib/future/testme/_epilogue/999.detritus-files.R' Skipping, because path appears not to be an 'R CMD check' folder: 'D:/temp/2025_06_05_05_55_16_20588' Sourcing 6 epilogue scripts ... done Test time: user.self=0.7s, sys.self=0.05s, elapsed=0.7s, user.child=NAs, sys.child=NAs Test 'future' ... success > > proc.time() user system elapsed 1.00 0.14 1.14