R Under development (unstable) (2026-03-17 r89645 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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. > #! /usr/bin/env Rscript > ## This runs testme test script inst/testme/test-future.apply-future_lapply,globals.R > ## Don't edit - it was autogenerated by inst/testme/deploy.R > futurize:::testme("future.apply-future_lapply,globals") Test 'future.apply-future_lapply,globals' ... chr "none" > if (requireNamespace("future.apply", quietly = TRUE)) { + library(futurize) + library(tools) + options(future.debug = FALSE) + optio .... [TRUNCATED] Loading required package: future *** future_lapply() - globals ... List of 4 $ A: NULL $ B:List of 1 ..$ : num 1 $ C:List of 1 ..$ : num 1 $ D:List of 1 ..$ : num 2 Globals set 'A' [17:30:02.225] future_lapply() ... [17:30:02.237] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [17:30:02.238] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:02.241] | future_lapply() -> future_xapply() ... [17:30:02.243] | : Number of chunks: 1 [17:30:02.244] | : getGlobalsAndPackagesXApply() ... [17:30:02.245] | : . future.globals: FALSE [17:30:02.252] | : . globals found/used: [n=2] 'FUN', 'future.call.arguments' [17:30:02.253] | : . needed namespaces: [n=0] [17:30:02.255] | : . use_args: TRUE [17:30:02.256] | : . Getting '...' globals ... [17:30:02.259] | : . ' '...' content: [n=0] [17:30:02.261] | : . ' List of 1 [17:30:02.261] | : . ' $ ...: list() [17:30:02.261] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.261] | : . ' - attr(*, "where")=List of 1 [17:30:02.261] | : . ' ..$ ...: [17:30:02.261] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.261] | : . ' - attr(*, "resolved")= logi TRUE [17:30:02.261] | : . ' - attr(*, "total_size")= num NA [17:30:02.268] | : . Getting '...' globals ... done [17:30:02.270] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'future.call.arguments', '...' [17:30:02.271] | : . List of 3 [17:30:02.271] | : . $ ...future.FUN :function (x) [17:30:02.271] | : . $ future.call.arguments: list() [17:30:02.271] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.271] | : . $ ... : list() [17:30:02.271] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.271] | : . - attr(*, "where")=List of 3 [17:30:02.271] | : . ..$ ...future.FUN : [17:30:02.271] | : . ..$ future.call.arguments: [17:30:02.271] | : . ..$ ... : [17:30:02.271] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.271] | : . - attr(*, "resolved")= logi FALSE [17:30:02.271] | : . - attr(*, "total_size")= num 3577 [17:30:02.281] | : . Packages to be attached in all futures: [n=1] 'utils' [17:30:02.282] | : getGlobalsAndPackagesXApply() ... done [17:30:02.283] | : Globals pass to each chunk: [n=6] '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.283] | : List of 6 [17:30:02.283] | : $ ...future.FUN :function (x) [17:30:02.283] | : $ future.call.arguments : list() [17:30:02.283] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.283] | : $ ... : list() [17:30:02.283] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.283] | : $ ...future.elements_ii : NULL [17:30:02.283] | : $ ...future.seeds_ii : NULL [17:30:02.283] | : $ ...future.globals.maxSize: NULL [17:30:02.283] | : - attr(*, "where")=List of 6 [17:30:02.283] | : ..$ ...future.FUN : [17:30:02.283] | : ..$ future.call.arguments : [17:30:02.283] | : ..$ ... : [17:30:02.283] | : ..$ ...future.elements_ii : [17:30:02.283] | : ..$ ...future.seeds_ii : [17:30:02.283] | : ..$ ...future.globals.maxSize: [17:30:02.283] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.283] | : - attr(*, "resolved")= logi FALSE [17:30:02.283] | : - attr(*, "total_size")= num 3577 [17:30:02.292] | : Number of futures (= number of chunks): 1 [17:30:02.292] | : Launching 1 futures (chunks) ... [17:30:02.293] | : Chunk #1 of 1 ... [17:30:02.294] | : - seeds: [17:30:02.295] | : - All globals exported: [n=6] '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.301] | : Created future: [17:30:02.302] | : ClusterFuture: [17:30:02.302] | : Label: 'future_lapply-1' [17:30:02.302] | : Expression: [17:30:02.302] | : { [17:30:02.302] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:02.302] | : "# expression in do.call(), because function called uses '...' " [17:30:02.302] | : "# as a global variable " [17:30:02.302] | : do.call(function(...) { [17:30:02.302] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:02.302] | : "# without having an '...' argument. This means '...' is treated" [17:30:02.302] | : "# as a global variable. This may happen when FUN() is an " [17:30:02.302] | : "# anonymous function. " [17:30:02.302] | : "# " [17:30:02.302] | : "# If an anonymous function, we will make sure to restore the " [17:30:02.302] | : "# function environment of FUN() to the calling environment. " [17:30:02.302] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:02.302] | : "# global environment, which is where globals are written. " [17:30:02.302] | : penv <- env <- environment(...future.FUN) [17:30:02.302] | : repeat { [17:30:02.302] | : if (identical(env, globalenv()) || identical(env, [17:30:02.302] | : emptyenv())) [17:30:02.302] | : break [17:30:02.302] | : penv <- env [17:30:02.302] | : env <- parent.env(env) [17:30:02.302] | : } [17:30:02.302] | : if (identical(penv, globalenv())) { [17:30:02.302] | : environment(...future.FUN) <- environment() [17:30:02.302] | : } [17:30:02.302] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:02.302] | : !isNamespace(penv)) { [17:30:02.302] | : parent.env(penv) <- environment() [17:30:02.302] | : } [17:30:02.302] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:02.302] | : { [17:30:02.302] | : "# future.apply:::future_xapply(): preserve future option" [17:30:02.302] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:02.302] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:02.302] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:02.302] | : on.exit(options(oopts), add = TRUE) [17:30:02.302] | : } [17:30:02.302] | : { [17:30:02.302] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:02.302] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:02.302] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:02.302] | : { [17:30:02.302] | : ...future.FUN(...future.X_jj, ...) [17:30:02.302] | : } [17:30:02.302] | : }) [17:30:02.302] | : } [17:30:02.302] | : } [17:30:02.302] | : }, args = future.call.arguments) [17:30:02.302] | : } [17:30:02.302] | : Globals: 5 objects totaling 3.68 KiB (function '...future.FUN' of 174 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:02.302] | : Packages: 1 packages ('utils') [17:30:02.302] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:02.302] | : Capture standard output: TRUE [17:30:02.302] | : Capture condition classes: 'condition' (excluding '') [17:30:02.302] | : Immediate condition classes: 'immediateCondition' [17:30:02.302] | : Lazy evaluation: FALSE [17:30:02.302] | : Local evaluation: TRUE [17:30:02.302] | : Early signaling: FALSE [17:30:02.302] | : Actions: [n=1] 'run' [17:30:02.302] | : State: 'running' ("Future is being evaluated") [17:30:02.302] | : Resolved: TRUE [17:30:02.302] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-1 [17:30:02.302] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:02.302] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:02.302] | : Value: [17:30:02.302] | : Conditions captured: [17:30:02.425] | : Chunk #1 of 1 ... DONE [17:30:02.427] | : Launching 1 futures (chunks) ... DONE [17:30:02.428] | : Resolving 1 futures (chunks) ... [17:30:02.434] | : onError() ... [17:30:02.435] | : . Received Warning: Caught simpleError. Canceling all iterations ... [17:30:02.438] | : . Signaling: [17:30:02.439] | : onError() ... done [17:30:02.440] | future_lapply() -> future_xapply() ... done [17:30:02.441] future_lapply() ... done Globals set 'B' [17:30:02.444] future_lapply() ... [17:30:02.447] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [17:30:02.449] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:02.450] | future_lapply() -> future_xapply() ... [17:30:02.451] | : Number of chunks: 1 [17:30:02.452] | : getGlobalsAndPackagesXApply() ... [17:30:02.453] | : . future.globals: TRUE [17:30:02.488] | : . globals found/used: [n=3] 'FUN', 'a', 'b' [17:30:02.490] | : . needed namespaces: [n=1] 'stats' [17:30:02.491] | : . use_args: TRUE [17:30:02.492] | : . Getting '...' globals ... [17:30:02.494] | : . ' '...' content: [n=0] [17:30:02.496] | : . ' List of 1 [17:30:02.496] | : . ' $ ...: list() [17:30:02.496] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.496] | : . ' - attr(*, "where")=List of 1 [17:30:02.496] | : . ' ..$ ...: [17:30:02.496] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.496] | : . ' - attr(*, "resolved")= logi TRUE [17:30:02.496] | : . ' - attr(*, "total_size")= num NA [17:30:02.503] | : . Getting '...' globals ... done [17:30:02.505] | : . Globals to be used in all futures (chunks): [n=4] '...future.FUN', 'a', 'b', '...' [17:30:02.506] | : . List of 4 [17:30:02.506] | : . $ ...future.FUN:function (x) [17:30:02.506] | : . $ a : num 1 [17:30:02.506] | : . $ b : num 2 [17:30:02.506] | : . $ ... : list() [17:30:02.506] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.506] | : . - attr(*, "where")=List of 4 [17:30:02.506] | : . ..$ ...future.FUN: [17:30:02.506] | : . ..$ a : [17:30:02.506] | : . ..$ b : [17:30:02.506] | : . ..$ ... : [17:30:02.506] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.506] | : . - attr(*, "resolved")= logi FALSE [17:30:02.506] | : . - attr(*, "total_size")= num 3558 [17:30:02.518] | : . Packages to be attached in all futures: [n=2] 'stats', 'utils' [17:30:02.519] | : getGlobalsAndPackagesXApply() ... done [17:30:02.521] | : Globals pass to each chunk: [n=7] '...future.FUN', 'a', 'b', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.522] | : List of 7 [17:30:02.522] | : $ ...future.FUN :function (x) [17:30:02.522] | : $ a : num 1 [17:30:02.522] | : $ b : num 2 [17:30:02.522] | : $ ... : list() [17:30:02.522] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.522] | : $ ...future.elements_ii : NULL [17:30:02.522] | : $ ...future.seeds_ii : NULL [17:30:02.522] | : $ ...future.globals.maxSize: NULL [17:30:02.522] | : - attr(*, "where")=List of 7 [17:30:02.522] | : ..$ ...future.FUN : [17:30:02.522] | : ..$ a : [17:30:02.522] | : ..$ b : [17:30:02.522] | : ..$ ... : [17:30:02.522] | : ..$ ...future.elements_ii : [17:30:02.522] | : ..$ ...future.seeds_ii : [17:30:02.522] | : ..$ ...future.globals.maxSize: [17:30:02.522] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.522] | : - attr(*, "resolved")= logi FALSE [17:30:02.522] | : - attr(*, "total_size")= num 3558 [17:30:02.537] | : Number of futures (= number of chunks): 1 [17:30:02.539] | : Launching 1 futures (chunks) ... [17:30:02.540] | : Chunk #1 of 1 ... [17:30:02.542] | : - Finding globals in 'X' for chunk #1 ... [17:30:02.544] | : + additional globals found: [n=0] [17:30:02.545] | : + additional namespaces needed: [n=0] [17:30:02.546] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:02.548] | : - seeds: [17:30:02.549] | : - All globals exported: [n=7] '...future.FUN', 'a', 'b', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.555] | : Created future: [17:30:02.557] | : ClusterFuture: [17:30:02.557] | : Label: 'future_lapply-1' [17:30:02.557] | : Expression: [17:30:02.557] | : { [17:30:02.557] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:02.557] | : "# expression in do.call(), because function called uses '...' " [17:30:02.557] | : "# as a global variable " [17:30:02.557] | : do.call(function(...) { [17:30:02.557] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:02.557] | : "# without having an '...' argument. This means '...' is treated" [17:30:02.557] | : "# as a global variable. This may happen when FUN() is an " [17:30:02.557] | : "# anonymous function. " [17:30:02.557] | : "# " [17:30:02.557] | : "# If an anonymous function, we will make sure to restore the " [17:30:02.557] | : "# function environment of FUN() to the calling environment. " [17:30:02.557] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:02.557] | : "# global environment, which is where globals are written. " [17:30:02.557] | : penv <- env <- environment(...future.FUN) [17:30:02.557] | : repeat { [17:30:02.557] | : if (identical(env, globalenv()) || identical(env, [17:30:02.557] | : emptyenv())) [17:30:02.557] | : break [17:30:02.557] | : penv <- env [17:30:02.557] | : env <- parent.env(env) [17:30:02.557] | : } [17:30:02.557] | : if (identical(penv, globalenv())) { [17:30:02.557] | : environment(...future.FUN) <- environment() [17:30:02.557] | : } [17:30:02.557] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:02.557] | : !isNamespace(penv)) { [17:30:02.557] | : parent.env(penv) <- environment() [17:30:02.557] | : } [17:30:02.557] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:02.557] | : { [17:30:02.557] | : "# future.apply:::future_xapply(): preserve future option" [17:30:02.557] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:02.557] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:02.557] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:02.557] | : on.exit(options(oopts), add = TRUE) [17:30:02.557] | : } [17:30:02.557] | : { [17:30:02.557] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:02.557] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:02.557] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:02.557] | : { [17:30:02.557] | : ...future.FUN(...future.X_jj, ...) [17:30:02.557] | : } [17:30:02.557] | : }) [17:30:02.557] | : } [17:30:02.557] | : } [17:30:02.557] | : }, args = future.call.arguments) [17:30:02.557] | : } [17:30:02.557] | : Globals: 7 objects totaling 3.76 KiB (function '...future.FUN' of 174 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, numeric 'b' of 39 bytes, ...) [17:30:02.557] | : Packages: 2 packages ('stats', 'utils') [17:30:02.557] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:02.557] | : Capture standard output: TRUE [17:30:02.557] | : Capture condition classes: 'condition' (excluding '') [17:30:02.557] | : Immediate condition classes: 'immediateCondition' [17:30:02.557] | : Lazy evaluation: FALSE [17:30:02.557] | : Local evaluation: TRUE [17:30:02.557] | : Early signaling: FALSE [17:30:02.557] | : Actions: [n=1] 'run' [17:30:02.557] | : State: 'running' ("Future is being evaluated") [17:30:02.557] | : Resolved: TRUE [17:30:02.557] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-2 [17:30:02.557] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:02.557] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:02.557] | : Value: [17:30:02.557] | : Conditions captured: [17:30:02.563] | : Chunk #1 of 1 ... DONE [17:30:02.564] | : Launching 1 futures (chunks) ... DONE [17:30:02.565] | : Resolving 1 futures (chunks) ... [17:30:02.567] | : - Number of value chunks collected: 1 [17:30:02.568] | : Resolving 1 futures (chunks) ... DONE [17:30:02.569] | : Reducing values from 1 chunks ... [17:30:02.570] | : - Number of values collected after concatenation: 1 [17:30:02.571] | : - Number of values expected: 1 [17:30:02.573] | : Reducing values from 1 chunks ... DONE [17:30:02.574] | future_lapply() -> future_xapply() ... done [17:30:02.575] future_lapply() ... done [[1]] [1] 1 Globals set 'C' [17:30:02.578] future_lapply() ... [17:30:02.581] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [17:30:02.582] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:02.583] | future_lapply() -> future_xapply() ... [17:30:02.584] | : Number of chunks: 1 [17:30:02.586] | : getGlobalsAndPackagesXApply() ... [17:30:02.587] | : . future.globals: 'a', 'b' [17:30:02.589] | : . use_args: TRUE [17:30:02.590] | : . Globals to be used in all futures (chunks): [n=4] 'a', 'b', '...future.FUN', '...' [17:30:02.591] | : . List of 4 [17:30:02.591] | : . $ a : num 1 [17:30:02.591] | : . $ b : num 2 [17:30:02.591] | : . $ ...future.FUN:function (x) [17:30:02.591] | : . $ ... : list() [17:30:02.591] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.591] | : . - attr(*, "where")=List of 4 [17:30:02.591] | : . ..$ a : [17:30:02.591] | : . ..$ b : [17:30:02.591] | : . ..$ ...future.FUN: [17:30:02.591] | : . ..$ ... : [17:30:02.591] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.591] | : . - attr(*, "resolved")= logi FALSE [17:30:02.591] | : . - attr(*, "total_size")= num NA [17:30:02.603] | : . Packages to be attached in all futures: [n=1] 'utils' [17:30:02.604] | : getGlobalsAndPackagesXApply() ... done [17:30:02.606] | : Globals pass to each chunk: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.607] | : List of 7 [17:30:02.607] | : $ a : num 1 [17:30:02.607] | : $ b : num 2 [17:30:02.607] | : $ ...future.FUN :function (x) [17:30:02.607] | : $ ... : list() [17:30:02.607] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.607] | : $ ...future.elements_ii : NULL [17:30:02.607] | : $ ...future.seeds_ii : NULL [17:30:02.607] | : $ ...future.globals.maxSize: NULL [17:30:02.607] | : - attr(*, "where")=List of 7 [17:30:02.607] | : ..$ a : [17:30:02.607] | : ..$ b : [17:30:02.607] | : ..$ ...future.FUN : [17:30:02.607] | : ..$ ... : [17:30:02.607] | : ..$ ...future.elements_ii : [17:30:02.607] | : ..$ ...future.seeds_ii : [17:30:02.607] | : ..$ ...future.globals.maxSize: [17:30:02.607] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.607] | : - attr(*, "resolved")= logi FALSE [17:30:02.607] | : - attr(*, "total_size")= num NA [17:30:02.622] | : Number of futures (= number of chunks): 1 [17:30:02.624] | : Launching 1 futures (chunks) ... [17:30:02.625] | : Chunk #1 of 1 ... [17:30:02.626] | : - seeds: [17:30:02.627] | : - All globals exported: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.633] | : Created future: [17:30:02.635] | : ClusterFuture: [17:30:02.635] | : Label: 'future_lapply-1' [17:30:02.635] | : Expression: [17:30:02.635] | : { [17:30:02.635] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:02.635] | : "# expression in do.call(), because function called uses '...' " [17:30:02.635] | : "# as a global variable " [17:30:02.635] | : do.call(function(...) { [17:30:02.635] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:02.635] | : "# without having an '...' argument. This means '...' is treated" [17:30:02.635] | : "# as a global variable. This may happen when FUN() is an " [17:30:02.635] | : "# anonymous function. " [17:30:02.635] | : "# " [17:30:02.635] | : "# If an anonymous function, we will make sure to restore the " [17:30:02.635] | : "# function environment of FUN() to the calling environment. " [17:30:02.635] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:02.635] | : "# global environment, which is where globals are written. " [17:30:02.635] | : penv <- env <- environment(...future.FUN) [17:30:02.635] | : repeat { [17:30:02.635] | : if (identical(env, globalenv()) || identical(env, [17:30:02.635] | : emptyenv())) [17:30:02.635] | : break [17:30:02.635] | : penv <- env [17:30:02.635] | : env <- parent.env(env) [17:30:02.635] | : } [17:30:02.635] | : if (identical(penv, globalenv())) { [17:30:02.635] | : environment(...future.FUN) <- environment() [17:30:02.635] | : } [17:30:02.635] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:02.635] | : !isNamespace(penv)) { [17:30:02.635] | : parent.env(penv) <- environment() [17:30:02.635] | : } [17:30:02.635] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:02.635] | : { [17:30:02.635] | : "# future.apply:::future_xapply(): preserve future option" [17:30:02.635] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:02.635] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:02.635] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:02.635] | : on.exit(options(oopts), add = TRUE) [17:30:02.635] | : } [17:30:02.635] | : { [17:30:02.635] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:02.635] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:02.635] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:02.635] | : { [17:30:02.635] | : ...future.FUN(...future.X_jj, ...) [17:30:02.635] | : } [17:30:02.635] | : }) [17:30:02.635] | : } [17:30:02.635] | : } [17:30:02.635] | : }, args = future.call.arguments) [17:30:02.635] | : } [17:30:02.635] | : Globals: 7 objects totaling 3.78 KiB (function '...future.FUN' of 174 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, numeric 'b' of 39 bytes, ...) [17:30:02.635] | : Packages: 1 packages ('utils') [17:30:02.635] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:02.635] | : Capture standard output: TRUE [17:30:02.635] | : Capture condition classes: 'condition' (excluding '') [17:30:02.635] | : Immediate condition classes: 'immediateCondition' [17:30:02.635] | : Lazy evaluation: FALSE [17:30:02.635] | : Local evaluation: TRUE [17:30:02.635] | : Early signaling: FALSE [17:30:02.635] | : Actions: [n=1] 'run' [17:30:02.635] | : State: 'running' ("Future is being evaluated") [17:30:02.635] | : Resolved: TRUE [17:30:02.635] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-3 [17:30:02.635] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:02.635] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:02.635] | : Value: [17:30:02.635] | : Conditions captured: [17:30:02.643] | : Chunk #1 of 1 ... DONE [17:30:02.645] | : Launching 1 futures (chunks) ... DONE [17:30:02.646] | : Resolving 1 futures (chunks) ... [17:30:02.648] | : - Number of value chunks collected: 1 [17:30:02.649] | : Resolving 1 futures (chunks) ... DONE [17:30:02.650] | : Reducing values from 1 chunks ... [17:30:02.651] | : - Number of values collected after concatenation: 1 [17:30:02.652] | : - Number of values expected: 1 [17:30:02.653] | : Reducing values from 1 chunks ... DONE [17:30:02.654] | future_lapply() -> future_xapply() ... done [17:30:02.655] future_lapply() ... done [[1]] [1] 1 Globals set 'D' [17:30:02.657] future_lapply() ... [17:30:02.659] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [17:30:02.660] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:02.662] | future_lapply() -> future_xapply() ... [17:30:02.663] | : Number of chunks: 1 [17:30:02.664] | : getGlobalsAndPackagesXApply() ... [17:30:02.665] | : . future.globals: with names 'a', 'b' [17:30:02.666] | : . use_args: TRUE [17:30:02.667] | : . Getting '...' globals ... [17:30:02.669] | : . ' '...' content: [n=0] [17:30:02.670] | : . ' List of 1 [17:30:02.670] | : . ' $ ...: list() [17:30:02.670] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.670] | : . ' - attr(*, "where")=List of 1 [17:30:02.670] | : . ' ..$ ...: [17:30:02.670] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.670] | : . ' - attr(*, "resolved")= logi TRUE [17:30:02.670] | : . ' - attr(*, "total_size")= num NA [17:30:02.677] | : . Getting '...' globals ... done [17:30:02.678] | : . Globals to be used in all futures (chunks): [n=4] 'a', 'b', '...future.FUN', '...' [17:30:02.679] | : . List of 4 [17:30:02.679] | : . $ a : num 2 [17:30:02.679] | : . $ b : num 3 [17:30:02.679] | : . $ ...future.FUN:function (x) [17:30:02.679] | : . $ ... : list() [17:30:02.679] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.679] | : . - attr(*, "where")=List of 4 [17:30:02.679] | : . ..$ a : [17:30:02.679] | : . ..$ b : [17:30:02.679] | : . ..$ ...future.FUN: [17:30:02.679] | : . ..$ ... : [17:30:02.679] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.679] | : . - attr(*, "resolved")= logi FALSE [17:30:02.679] | : . - attr(*, "total_size")= num NA [17:30:02.688] | : . Packages to be attached in all futures: [n=1] 'utils' [17:30:02.689] | : getGlobalsAndPackagesXApply() ... done [17:30:02.690] | : Globals pass to each chunk: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.691] | : List of 7 [17:30:02.691] | : $ a : num 2 [17:30:02.691] | : $ b : num 3 [17:30:02.691] | : $ ...future.FUN :function (x) [17:30:02.691] | : $ ... : list() [17:30:02.691] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.691] | : $ ...future.elements_ii : NULL [17:30:02.691] | : $ ...future.seeds_ii : NULL [17:30:02.691] | : $ ...future.globals.maxSize: NULL [17:30:02.691] | : - attr(*, "where")=List of 7 [17:30:02.691] | : ..$ a : [17:30:02.691] | : ..$ b : [17:30:02.691] | : ..$ ...future.FUN : [17:30:02.691] | : ..$ ... : [17:30:02.691] | : ..$ ...future.elements_ii : [17:30:02.691] | : ..$ ...future.seeds_ii : [17:30:02.691] | : ..$ ...future.globals.maxSize: [17:30:02.691] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.691] | : - attr(*, "resolved")= logi FALSE [17:30:02.691] | : - attr(*, "total_size")= num NA [17:30:02.702] | : Number of futures (= number of chunks): 1 [17:30:02.703] | : Launching 1 futures (chunks) ... [17:30:02.703] | : Chunk #1 of 1 ... [17:30:02.704] | : - seeds: [17:30:02.705] | : - All globals exported: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.710] | : Created future: [17:30:02.711] | : ClusterFuture: [17:30:02.711] | : Label: 'future_lapply-1' [17:30:02.711] | : Expression: [17:30:02.711] | : { [17:30:02.711] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:02.711] | : "# expression in do.call(), because function called uses '...' " [17:30:02.711] | : "# as a global variable " [17:30:02.711] | : do.call(function(...) { [17:30:02.711] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:02.711] | : "# without having an '...' argument. This means '...' is treated" [17:30:02.711] | : "# as a global variable. This may happen when FUN() is an " [17:30:02.711] | : "# anonymous function. " [17:30:02.711] | : "# " [17:30:02.711] | : "# If an anonymous function, we will make sure to restore the " [17:30:02.711] | : "# function environment of FUN() to the calling environment. " [17:30:02.711] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:02.711] | : "# global environment, which is where globals are written. " [17:30:02.711] | : penv <- env <- environment(...future.FUN) [17:30:02.711] | : repeat { [17:30:02.711] | : if (identical(env, globalenv()) || identical(env, [17:30:02.711] | : emptyenv())) [17:30:02.711] | : break [17:30:02.711] | : penv <- env [17:30:02.711] | : env <- parent.env(env) [17:30:02.711] | : } [17:30:02.711] | : if (identical(penv, globalenv())) { [17:30:02.711] | : environment(...future.FUN) <- environment() [17:30:02.711] | : } [17:30:02.711] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:02.711] | : !isNamespace(penv)) { [17:30:02.711] | : parent.env(penv) <- environment() [17:30:02.711] | : } [17:30:02.711] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:02.711] | : { [17:30:02.711] | : "# future.apply:::future_xapply(): preserve future option" [17:30:02.711] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:02.711] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:02.711] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:02.711] | : on.exit(options(oopts), add = TRUE) [17:30:02.711] | : } [17:30:02.711] | : { [17:30:02.711] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:02.711] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:02.711] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:02.711] | : { [17:30:02.711] | : ...future.FUN(...future.X_jj, ...) [17:30:02.711] | : } [17:30:02.711] | : }) [17:30:02.711] | : } [17:30:02.711] | : } [17:30:02.711] | : }, args = future.call.arguments) [17:30:02.711] | : } [17:30:02.711] | : Globals: 7 objects totaling 3.88 KiB (function '...future.FUN' of 174 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, numeric 'b' of 39 bytes, ...) [17:30:02.711] | : Packages: 1 packages ('utils') [17:30:02.711] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:02.711] | : Capture standard output: TRUE [17:30:02.711] | : Capture condition classes: 'condition' (excluding '') [17:30:02.711] | : Immediate condition classes: 'immediateCondition' [17:30:02.711] | : Lazy evaluation: FALSE [17:30:02.711] | : Local evaluation: TRUE [17:30:02.711] | : Early signaling: FALSE [17:30:02.711] | : Actions: [n=1] 'run' [17:30:02.711] | : State: 'running' ("Future is being evaluated") [17:30:02.711] | : Resolved: TRUE [17:30:02.711] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-4 [17:30:02.711] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:02.711] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:02.711] | : Value: [17:30:02.711] | : Conditions captured: [17:30:02.723] | : Chunk #1 of 1 ... DONE [17:30:02.724] | : Launching 1 futures (chunks) ... DONE [17:30:02.724] | : Resolving 1 futures (chunks) ... [17:30:02.726] | : - Number of value chunks collected: 1 [17:30:02.727] | : Resolving 1 futures (chunks) ... DONE [17:30:02.728] | : Reducing values from 1 chunks ... [17:30:02.729] | : - Number of values collected after concatenation: 1 [17:30:02.730] | : - Number of values expected: 1 [17:30:02.731] | : Reducing values from 1 chunks ... DONE [17:30:02.731] | future_lapply() -> future_xapply() ... done [17:30:02.732] future_lapply() ... done [[1]] [1] 2 *** future_lapply() - globals ... DONE *** future_lapply() - manual globals ... [17:30:02.734] future_lapply() ... [17:30:02.740] | Globals in FUN(): [n=3] '{', '*', 'd' [17:30:02.740] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:02.741] | future_lapply() -> future_xapply() ... [17:30:02.743] | : Number of chunks: 1 [17:30:02.743] | : getGlobalsAndPackagesXApply() ... [17:30:02.744] | : . future.globals: FALSE [17:30:02.746] | : . globals found/used: [n=3] 'd', 'FUN', 'future.call.arguments' [17:30:02.747] | : . needed namespaces: [n=0] [17:30:02.748] | : . use_args: TRUE [17:30:02.749] | : . Getting '...' globals ... [17:30:02.750] | : . ' '...' content: [n=0] [17:30:02.751] | : . ' List of 1 [17:30:02.751] | : . ' $ ...: list() [17:30:02.751] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.751] | : . ' - attr(*, "where")=List of 1 [17:30:02.751] | : . ' ..$ ...: [17:30:02.751] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.751] | : . ' - attr(*, "resolved")= logi TRUE [17:30:02.751] | : . ' - attr(*, "total_size")= num NA [17:30:02.757] | : . Getting '...' globals ... done [17:30:02.758] | : . Globals to be used in all futures (chunks): [n=4] 'd', '...future.FUN', 'future.call.arguments', '...' [17:30:02.759] | : . List of 4 [17:30:02.759] | : . $ d : num 42 [17:30:02.759] | : . $ ...future.FUN :function (x) [17:30:02.759] | : . $ future.call.arguments: list() [17:30:02.759] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.759] | : . $ ... : list() [17:30:02.759] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.759] | : . - attr(*, "where")=List of 4 [17:30:02.759] | : . ..$ d : [17:30:02.759] | : . ..$ ...future.FUN : [17:30:02.759] | : . ..$ future.call.arguments: [17:30:02.759] | : . ..$ ... : [17:30:02.759] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.759] | : . - attr(*, "resolved")= logi FALSE [17:30:02.759] | : . - attr(*, "total_size")= num 3694 [17:30:02.767] | : . Packages to be attached in all futures: [n=0] [17:30:02.768] | : getGlobalsAndPackagesXApply() ... done [17:30:02.769] | : Globals pass to each chunk: [n=7] 'd', '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.770] | : List of 7 [17:30:02.770] | : $ d : num 42 [17:30:02.770] | : $ ...future.FUN :function (x) [17:30:02.770] | : $ future.call.arguments : list() [17:30:02.770] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.770] | : $ ... : list() [17:30:02.770] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.770] | : $ ...future.elements_ii : NULL [17:30:02.770] | : $ ...future.seeds_ii : NULL [17:30:02.770] | : $ ...future.globals.maxSize: NULL [17:30:02.770] | : - attr(*, "where")=List of 7 [17:30:02.770] | : ..$ d : [17:30:02.770] | : ..$ ...future.FUN : [17:30:02.770] | : ..$ future.call.arguments : [17:30:02.770] | : ..$ ... : [17:30:02.770] | : ..$ ...future.elements_ii : [17:30:02.770] | : ..$ ...future.seeds_ii : [17:30:02.770] | : ..$ ...future.globals.maxSize: [17:30:02.770] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.770] | : - attr(*, "resolved")= logi FALSE [17:30:02.770] | : - attr(*, "total_size")= num 3694 [17:30:02.781] | : Number of futures (= number of chunks): 1 [17:30:02.782] | : Launching 1 futures (chunks) ... [17:30:02.783] | : Chunk #1 of 1 ... [17:30:02.784] | : - seeds: [17:30:02.784] | : - All globals exported: [n=7] 'd', '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.789] | : Created future: [17:30:02.790] | : ClusterFuture: [17:30:02.790] | : Label: 'future_lapply-1' [17:30:02.790] | : Expression: [17:30:02.790] | : { [17:30:02.790] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:02.790] | : "# expression in do.call(), because function called uses '...' " [17:30:02.790] | : "# as a global variable " [17:30:02.790] | : do.call(function(...) { [17:30:02.790] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:02.790] | : "# without having an '...' argument. This means '...' is treated" [17:30:02.790] | : "# as a global variable. This may happen when FUN() is an " [17:30:02.790] | : "# anonymous function. " [17:30:02.790] | : "# " [17:30:02.790] | : "# If an anonymous function, we will make sure to restore the " [17:30:02.790] | : "# function environment of FUN() to the calling environment. " [17:30:02.790] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:02.790] | : "# global environment, which is where globals are written. " [17:30:02.790] | : penv <- env <- environment(...future.FUN) [17:30:02.790] | : repeat { [17:30:02.790] | : if (identical(env, globalenv()) || identical(env, [17:30:02.790] | : emptyenv())) [17:30:02.790] | : break [17:30:02.790] | : penv <- env [17:30:02.790] | : env <- parent.env(env) [17:30:02.790] | : } [17:30:02.790] | : if (identical(penv, globalenv())) { [17:30:02.790] | : environment(...future.FUN) <- environment() [17:30:02.790] | : } [17:30:02.790] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:02.790] | : !isNamespace(penv)) { [17:30:02.790] | : parent.env(penv) <- environment() [17:30:02.790] | : } [17:30:02.790] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:02.790] | : { [17:30:02.790] | : "# future.apply:::future_xapply(): preserve future option" [17:30:02.790] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:02.790] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:02.790] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:02.790] | : on.exit(options(oopts), add = TRUE) [17:30:02.790] | : } [17:30:02.790] | : { [17:30:02.790] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:02.790] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:02.790] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:02.790] | : { [17:30:02.790] | : ...future.FUN(...future.X_jj, ...) [17:30:02.790] | : } [17:30:02.790] | : }) [17:30:02.790] | : } [17:30:02.790] | : } [17:30:02.790] | : }, args = future.call.arguments) [17:30:02.790] | : } [17:30:02.790] | : Globals: 6 objects totaling 3.81 KiB (function '...future.FUN' of 127 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 55 bytes, numeric 'd' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:02.790] | : Packages: [17:30:02.790] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:02.790] | : Capture standard output: TRUE [17:30:02.790] | : Capture condition classes: 'condition' (excluding '') [17:30:02.790] | : Immediate condition classes: 'immediateCondition' [17:30:02.790] | : Lazy evaluation: FALSE [17:30:02.790] | : Local evaluation: TRUE [17:30:02.790] | : Early signaling: FALSE [17:30:02.790] | : Actions: [n=1] 'run' [17:30:02.790] | : State: 'running' ("Future is being evaluated") [17:30:02.790] | : Resolved: TRUE [17:30:02.790] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-5 [17:30:02.790] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:02.790] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:02.790] | : Value: [17:30:02.790] | : Conditions captured: [17:30:02.799] | : Chunk #1 of 1 ... DONE [17:30:02.801] | : Launching 1 futures (chunks) ... DONE [17:30:02.802] | : Resolving 1 futures (chunks) ... [17:30:02.804] | : - Number of value chunks collected: 1 [17:30:02.806] | : Resolving 1 futures (chunks) ... DONE [17:30:02.807] | : Reducing values from 1 chunks ... [17:30:02.808] | : - Number of values collected after concatenation: 2 [17:30:02.809] | : - Number of values expected: 2 [17:30:02.810] | : Reducing values from 1 chunks ... DONE [17:30:02.811] | future_lapply() -> future_xapply() ... done [17:30:02.812] future_lapply() ... done [17:30:02.814] future_lapply() ... [17:30:02.816] | Globals in FUN(): [n=3] '{', '*', 'e' [17:30:02.817] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:02.819] | future_lapply() -> future_xapply() ... [17:30:02.820] | : Number of chunks: 1 [17:30:02.821] | : getGlobalsAndPackagesXApply() ... [17:30:02.822] | : . future.globals: TRUE [17:30:02.834] | : . globals found/used: [n=1] 'FUN' [17:30:02.835] | : . needed namespaces: [n=0] [17:30:02.836] | : . use_args: TRUE [17:30:02.837] | : . Getting '...' globals ... [17:30:02.838] | : . ' '...' content: [n=0] [17:30:02.839] | : . ' List of 1 [17:30:02.839] | : . ' $ ...: list() [17:30:02.839] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.839] | : . ' - attr(*, "where")=List of 1 [17:30:02.839] | : . ' ..$ ...: [17:30:02.839] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.839] | : . ' - attr(*, "resolved")= logi TRUE [17:30:02.839] | : . ' - attr(*, "total_size")= num NA [17:30:02.843] | : . Getting '...' globals ... done [17:30:02.844] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:02.844] | : . List of 2 [17:30:02.844] | : . $ ...future.FUN:function (x) [17:30:02.844] | : . $ ... : list() [17:30:02.844] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.844] | : . - attr(*, "where")=List of 2 [17:30:02.844] | : . ..$ ...future.FUN: [17:30:02.844] | : . ..$ ... : [17:30:02.844] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.844] | : . - attr(*, "resolved")= logi FALSE [17:30:02.844] | : . - attr(*, "total_size")= num 3585 [17:30:02.849] | : . Packages to be attached in all futures: [n=0] [17:30:02.850] | : getGlobalsAndPackagesXApply() ... done [17:30:02.850] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.851] | : List of 5 [17:30:02.851] | : $ ...future.FUN :function (x) [17:30:02.851] | : $ ... : list() [17:30:02.851] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:02.851] | : $ ...future.elements_ii : NULL [17:30:02.851] | : $ ...future.seeds_ii : NULL [17:30:02.851] | : $ ...future.globals.maxSize: NULL [17:30:02.851] | : - attr(*, "where")=List of 5 [17:30:02.851] | : ..$ ...future.FUN : [17:30:02.851] | : ..$ ... : [17:30:02.851] | : ..$ ...future.elements_ii : [17:30:02.851] | : ..$ ...future.seeds_ii : [17:30:02.851] | : ..$ ...future.globals.maxSize: [17:30:02.851] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:02.851] | : - attr(*, "resolved")= logi FALSE [17:30:02.851] | : - attr(*, "total_size")= num 3585 [17:30:02.857] | : Number of futures (= number of chunks): 1 [17:30:02.858] | : Launching 1 futures (chunks) ... [17:30:02.859] | : Chunk #1 of 1 ... [17:30:02.860] | : - Finding globals in 'X' for chunk #1 ... [17:30:02.861] | : + additional globals found: [n=0] [17:30:02.862] | : + additional namespaces needed: [n=0] [17:30:02.863] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:02.864] | : - seeds: [17:30:02.865] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:02.870] | : Created future: [17:30:02.871] | : ClusterFuture: [17:30:02.871] | : Label: 'future_lapply-1' [17:30:02.871] | : Expression: [17:30:02.871] | : { [17:30:02.871] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:02.871] | : "# expression in do.call(), because function called uses '...' " [17:30:02.871] | : "# as a global variable " [17:30:02.871] | : do.call(function(...) { [17:30:02.871] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:02.871] | : "# without having an '...' argument. This means '...' is treated" [17:30:02.871] | : "# as a global variable. This may happen when FUN() is an " [17:30:02.871] | : "# anonymous function. " [17:30:02.871] | : "# " [17:30:02.871] | : "# If an anonymous function, we will make sure to restore the " [17:30:02.871] | : "# function environment of FUN() to the calling environment. " [17:30:02.871] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:02.871] | : "# global environment, which is where globals are written. " [17:30:02.871] | : penv <- env <- environment(...future.FUN) [17:30:02.871] | : repeat { [17:30:02.871] | : if (identical(env, globalenv()) || identical(env, [17:30:02.871] | : emptyenv())) [17:30:02.871] | : break [17:30:02.871] | : penv <- env [17:30:02.871] | : env <- parent.env(env) [17:30:02.871] | : } [17:30:02.871] | : if (identical(penv, globalenv())) { [17:30:02.871] | : environment(...future.FUN) <- environment() [17:30:02.871] | : } [17:30:02.871] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:02.871] | : !isNamespace(penv)) { [17:30:02.871] | : parent.env(penv) <- environment() [17:30:02.871] | : } [17:30:02.871] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:02.871] | : { [17:30:02.871] | : "# future.apply:::future_xapply(): preserve future option" [17:30:02.871] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:02.871] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:02.871] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:02.871] | : on.exit(options(oopts), add = TRUE) [17:30:02.871] | : } [17:30:02.871] | : { [17:30:02.871] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:02.871] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:02.871] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:02.871] | : { [17:30:02.871] | : ...future.FUN(...future.X_jj, ...) [17:30:02.871] | : } [17:30:02.871] | : }) [17:30:02.871] | : } [17:30:02.871] | : } [17:30:02.871] | : }, args = future.call.arguments) [17:30:02.871] | : } [17:30:02.871] | : Globals: 5 objects totaling 3.80 KiB (function '...future.FUN' of 139 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 55 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:02.871] | : Packages: [17:30:02.871] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:02.871] | : Capture standard output: TRUE [17:30:02.871] | : Capture condition classes: 'condition' (excluding '') [17:30:02.871] | : Immediate condition classes: 'immediateCondition' [17:30:02.871] | : Lazy evaluation: FALSE [17:30:02.871] | : Local evaluation: TRUE [17:30:02.871] | : Early signaling: FALSE [17:30:02.871] | : Actions: [n=1] 'run' [17:30:02.871] | : State: 'running' ("Future is being evaluated") [17:30:02.871] | : Resolved: TRUE [17:30:02.871] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-6 [17:30:02.871] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:02.871] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:02.871] | : Value: [17:30:02.871] | : Conditions captured: [17:30:02.880] | : Chunk #1 of 1 ... DONE [17:30:02.881] | : Launching 1 futures (chunks) ... DONE [17:30:02.882] | : Resolving 1 futures (chunks) ... [17:30:02.884] | : onError() ... [17:30:02.885] | : . Received Warning: Caught simpleError. Canceling all iterations ... [17:30:02.887] | : . Signaling: [17:30:02.888] | : onError() ... done [17:30:02.889] | future_lapply() -> future_xapply() ... done [17:30:02.890] future_lapply() ... done *** future_lapply() - manual globals ... DONE *** future_lapply() - tricky globals ... [17:30:03.065] future_lapply() ... [17:30:03.069] | Globals in FUN(): [n=7] '{', 'do.call', 'caller', 'c', 'list', '+', 'args' [17:30:03.070] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:03.071] | future_lapply() -> future_xapply() ... [17:30:03.072] | : Number of chunks: 1 [17:30:03.073] | : getGlobalsAndPackagesXApply() ... [17:30:03.074] | : . future.globals: TRUE [17:30:03.127] | : . globals found/used: [n=5] 'FUN', 'caller', 'args', 'call_my_add', 'my_add' [17:30:03.128] | : . needed namespaces: [n=0] [17:30:03.130] | : . use_args: TRUE [17:30:03.131] | : . Getting '...' globals ... [17:30:03.132] | : . ' '...' content: [n=0] [17:30:03.133] | : . ' List of 1 [17:30:03.133] | : . ' $ ...: list() [17:30:03.133] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.133] | : . ' - attr(*, "where")=List of 1 [17:30:03.133] | : . ' ..$ ...: [17:30:03.133] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.133] | : . ' - attr(*, "resolved")= logi TRUE [17:30:03.133] | : . ' - attr(*, "total_size")= num NA [17:30:03.139] | : . Getting '...' globals ... done [17:30:03.140] | : . Globals to be used in all futures (chunks): [n=6] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...' [17:30:03.141] | : . List of 6 [17:30:03.141] | : . $ ...future.FUN:function (i) [17:30:03.141] | : . $ caller :function (a, b, FUN = call_my_add) [17:30:03.141] | : . $ args :List of 1 [17:30:03.141] | : . ..$ FUN:function (a, b) [17:30:03.141] | : . $ call_my_add :function (a, b) [17:30:03.141] | : . $ my_add :function (a, b) [17:30:03.141] | : . $ ... : list() [17:30:03.141] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.141] | : . - attr(*, "where")=List of 6 [17:30:03.141] | : . ..$ ...future.FUN: [17:30:03.141] | : . ..$ caller : [17:30:03.141] | : . ..$ args : [17:30:03.141] | : . ..$ call_my_add : [17:30:03.141] | : . ..$ my_add : [17:30:03.141] | : . ..$ ... : [17:30:03.141] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.141] | : . - attr(*, "resolved")= logi FALSE [17:30:03.141] | : . - attr(*, "total_size")= num 6429 [17:30:03.152] | : . Packages to be attached in all futures: [n=0] [17:30:03.153] | : getGlobalsAndPackagesXApply() ... done [17:30:03.154] | : Globals pass to each chunk: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.154] | : List of 9 [17:30:03.154] | : $ ...future.FUN :function (i) [17:30:03.154] | : $ caller :function (a, b, FUN = call_my_add) [17:30:03.154] | : $ args :List of 1 [17:30:03.154] | : ..$ FUN:function (a, b) [17:30:03.154] | : $ call_my_add :function (a, b) [17:30:03.154] | : $ my_add :function (a, b) [17:30:03.154] | : $ ... : list() [17:30:03.154] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.154] | : $ ...future.elements_ii : NULL [17:30:03.154] | : $ ...future.seeds_ii : NULL [17:30:03.154] | : $ ...future.globals.maxSize: NULL [17:30:03.154] | : - attr(*, "where")=List of 9 [17:30:03.154] | : ..$ ...future.FUN : [17:30:03.154] | : ..$ caller : [17:30:03.154] | : ..$ args : [17:30:03.154] | : ..$ call_my_add : [17:30:03.154] | : ..$ my_add : [17:30:03.154] | : ..$ ... : [17:30:03.154] | : ..$ ...future.elements_ii : [17:30:03.154] | : ..$ ...future.seeds_ii : [17:30:03.154] | : ..$ ...future.globals.maxSize: [17:30:03.154] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.154] | : - attr(*, "resolved")= logi FALSE [17:30:03.154] | : - attr(*, "total_size")= num 6429 [17:30:03.167] | : Number of futures (= number of chunks): 1 [17:30:03.168] | : Launching 1 futures (chunks) ... [17:30:03.169] | : Chunk #1 of 1 ... [17:30:03.170] | : - Finding globals in 'X' for chunk #1 ... [17:30:03.171] | : + additional globals found: [n=0] [17:30:03.172] | : + additional namespaces needed: [n=0] [17:30:03.173] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:03.174] | : - seeds: [17:30:03.175] | : - All globals exported: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.199] | : Created future: [17:30:03.200] | : SequentialFuture: [17:30:03.200] | : Label: 'future_lapply-1' [17:30:03.200] | : Expression: [17:30:03.200] | : { [17:30:03.200] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:03.200] | : "# expression in do.call(), because function called uses '...' " [17:30:03.200] | : "# as a global variable " [17:30:03.200] | : do.call(function(...) { [17:30:03.200] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:03.200] | : "# without having an '...' argument. This means '...' is treated" [17:30:03.200] | : "# as a global variable. This may happen when FUN() is an " [17:30:03.200] | : "# anonymous function. " [17:30:03.200] | : "# " [17:30:03.200] | : "# If an anonymous function, we will make sure to restore the " [17:30:03.200] | : "# function environment of FUN() to the calling environment. " [17:30:03.200] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:03.200] | : "# global environment, which is where globals are written. " [17:30:03.200] | : penv <- env <- environment(...future.FUN) [17:30:03.200] | : repeat { [17:30:03.200] | : if (identical(env, globalenv()) || identical(env, [17:30:03.200] | : emptyenv())) [17:30:03.200] | : break [17:30:03.200] | : penv <- env [17:30:03.200] | : env <- parent.env(env) [17:30:03.200] | : } [17:30:03.200] | : if (identical(penv, globalenv())) { [17:30:03.200] | : environment(...future.FUN) <- environment() [17:30:03.200] | : } [17:30:03.200] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:03.200] | : !isNamespace(penv)) { [17:30:03.200] | : parent.env(penv) <- environment() [17:30:03.200] | : } [17:30:03.200] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:03.200] | : { [17:30:03.200] | : "# future.apply:::future_xapply(): preserve future option" [17:30:03.200] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:03.200] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:03.200] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:03.200] | : on.exit(options(oopts), add = TRUE) [17:30:03.200] | : } [17:30:03.200] | : { [17:30:03.200] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:03.200] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:03.200] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:03.200] | : { [17:30:03.200] | : ...future.FUN(...future.X_jj, ...) [17:30:03.200] | : } [17:30:03.200] | : }) [17:30:03.200] | : } [17:30:03.200] | : } [17:30:03.200] | : }, args = future.call.arguments) [17:30:03.200] | : } [17:30:03.200] | : Globals: 9 objects totaling 8.84 KiB (function '...future.FUN' of 2.77 KiB, list 'args' of 928 bytes, function 'caller' of 904 bytes, function 'call_my_add' of 876 bytes, function 'my_add' of 114 bytes, ...) [17:30:03.200] | : Packages: [17:30:03.200] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:03.200] | : Capture standard output: TRUE [17:30:03.200] | : Capture condition classes: 'condition' (excluding '') [17:30:03.200] | : Immediate condition classes: 'immediateCondition' [17:30:03.200] | : Lazy evaluation: FALSE [17:30:03.200] | : Local evaluation: TRUE [17:30:03.200] | : Early signaling: FALSE [17:30:03.200] | : Actions: [n=1] 'run' [17:30:03.200] | : State: 'finished' ("Future was resolved successfully") [17:30:03.200] | : Resolved: TRUE [17:30:03.200] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-7 [17:30:03.200] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.200] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:03.200] | : Value: 67 bytes of class 'list' [17:30:03.200] | : Duration: 0.01732302 secs (started 2026-03-18 17:30:03.179911) [17:30:03.200] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.205] | : Chunk #1 of 1 ... DONE [17:30:03.206] | : Launching 1 futures (chunks) ... DONE [17:30:03.207] | : Resolving 1 futures (chunks) ... [17:30:03.208] | : - Number of value chunks collected: 1 [17:30:03.209] | : Resolving 1 futures (chunks) ... DONE [17:30:03.210] | : Reducing values from 1 chunks ... [17:30:03.211] | : - Number of values collected after concatenation: 3 [17:30:03.212] | : - Number of values expected: 3 [17:30:03.212] | : Reducing values from 1 chunks ... DONE [17:30:03.213] | future_lapply() -> future_xapply() ... done [17:30:03.214] future_lapply() ... done - lapply(x, FUN = do.call, ...) |> futurize() ... [17:30:03.216] future_lapply() ... [17:30:03.220] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [17:30:03.221] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:03.222] | future_lapply() -> future_xapply() ... [17:30:03.223] | : Number of chunks: 1 [17:30:03.224] | : getGlobalsAndPackagesXApply() ... [17:30:03.225] | : . future.globals: TRUE [17:30:03.261] | : . globals found/used: [n=1] 'FUN' [17:30:03.262] | : . needed namespaces: [n=0] [17:30:03.263] | : . use_args: TRUE [17:30:03.264] | : . Getting '...' globals ... [17:30:03.265] | : . ' '...' content: [n=1] 'what' [17:30:03.266] | : . ' List of 1 [17:30:03.266] | : . ' $ ...:List of 1 [17:30:03.266] | : . ' ..$ what:function (x) [17:30:03.266] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.266] | : . ' - attr(*, "where")=List of 1 [17:30:03.266] | : . ' ..$ ...: [17:30:03.266] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.266] | : . ' - attr(*, "resolved")= logi TRUE [17:30:03.266] | : . ' - attr(*, "total_size")= num NA [17:30:03.272] | : . Getting '...' globals ... done [17:30:03.273] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:03.274] | : . List of 2 [17:30:03.274] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [17:30:03.274] | : . $ ... :List of 1 [17:30:03.274] | : . ..$ what:function (x) [17:30:03.274] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.274] | : . - attr(*, "where")=List of 2 [17:30:03.274] | : . ..$ ...future.FUN: [17:30:03.274] | : . ..$ ... : [17:30:03.274] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.274] | : . - attr(*, "resolved")= logi FALSE [17:30:03.274] | : . - attr(*, "total_size")= num 6979 [17:30:03.280] | : . Packages to be attached in all futures: [n=0] [17:30:03.281] | : getGlobalsAndPackagesXApply() ... done [17:30:03.282] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.283] | : List of 5 [17:30:03.283] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [17:30:03.283] | : $ ... :List of 1 [17:30:03.283] | : ..$ what:function (x) [17:30:03.283] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.283] | : $ ...future.elements_ii : NULL [17:30:03.283] | : $ ...future.seeds_ii : NULL [17:30:03.283] | : $ ...future.globals.maxSize: NULL [17:30:03.283] | : - attr(*, "where")=List of 5 [17:30:03.283] | : ..$ ...future.FUN : [17:30:03.283] | : ..$ ... : [17:30:03.283] | : ..$ ...future.elements_ii : [17:30:03.283] | : ..$ ...future.seeds_ii : [17:30:03.283] | : ..$ ...future.globals.maxSize: [17:30:03.283] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.283] | : - attr(*, "resolved")= logi FALSE [17:30:03.283] | : - attr(*, "total_size")= num 6979 [17:30:03.292] | : Number of futures (= number of chunks): 1 [17:30:03.293] | : Launching 1 futures (chunks) ... [17:30:03.294] | : Chunk #1 of 1 ... [17:30:03.295] | : - Finding globals in 'X' for chunk #1 ... [17:30:03.296] | : + additional globals found: [n=0] [17:30:03.297] | : + additional namespaces needed: [n=0] [17:30:03.298] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:03.299] | : - seeds: [17:30:03.299] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.309] | : Created future: [17:30:03.310] | : SequentialFuture: [17:30:03.310] | : Label: 'future_lapply-1' [17:30:03.310] | : Expression: [17:30:03.310] | : { [17:30:03.310] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:03.310] | : "# expression in do.call(), because function called uses '...' " [17:30:03.310] | : "# as a global variable " [17:30:03.310] | : do.call(function(...) { [17:30:03.310] | : "# future.apply:::future_xapply(): preserve future option" [17:30:03.310] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:03.310] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:03.310] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:03.310] | : on.exit(options(oopts), add = TRUE) [17:30:03.310] | : } [17:30:03.310] | : { [17:30:03.310] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:03.310] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:03.310] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:03.310] | : { [17:30:03.310] | : ...future.FUN(...future.X_jj, ...) [17:30:03.310] | : } [17:30:03.310] | : }) [17:30:03.310] | : } [17:30:03.310] | : }, args = future.call.arguments) [17:30:03.310] | : } [17:30:03.310] | : Globals: 5 objects totaling 7.00 KiB (function '...future.FUN' of 1.79 KiB, DotDotDotList 'future.call.arguments' of 152 bytes, list '...future.elements_ii' of 149 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:03.310] | : Packages: [17:30:03.310] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:03.310] | : Capture standard output: TRUE [17:30:03.310] | : Capture condition classes: 'condition' (excluding '') [17:30:03.310] | : Immediate condition classes: 'immediateCondition' [17:30:03.310] | : Lazy evaluation: FALSE [17:30:03.310] | : Local evaluation: TRUE [17:30:03.310] | : Early signaling: FALSE [17:30:03.310] | : Actions: [n=1] 'run' [17:30:03.310] | : State: 'finished' ("Future was resolved successfully") [17:30:03.310] | : Resolved: TRUE [17:30:03.310] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-8 [17:30:03.310] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.310] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:03.310] | : Value: 43 bytes of class 'list' [17:30:03.310] | : Duration: 0.004836082 secs (started 2026-03-18 17:30:03.302301) [17:30:03.310] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.313] | : Chunk #1 of 1 ... DONE [17:30:03.314] | : Launching 1 futures (chunks) ... DONE [17:30:03.315] | : Resolving 1 futures (chunks) ... [17:30:03.317] | : - Number of value chunks collected: 1 [17:30:03.317] | : Resolving 1 futures (chunks) ... DONE [17:30:03.318] | : Reducing values from 1 chunks ... [17:30:03.319] | : - Number of values collected after concatenation: 1 [17:30:03.320] | : - Number of values expected: 1 [17:30:03.321] | : Reducing values from 1 chunks ... DONE [17:30:03.321] | future_lapply() -> future_xapply() ... done [17:30:03.322] future_lapply() ... done [17:30:03.324] future_lapply() ... [17:30:03.327] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [17:30:03.328] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:03.329] | future_lapply() -> future_xapply() ... [17:30:03.330] | : Number of chunks: 1 [17:30:03.331] | : getGlobalsAndPackagesXApply() ... [17:30:03.332] | : . future.globals: TRUE [17:30:03.374] | : . globals found/used: [n=1] 'FUN' [17:30:03.376] | : . needed namespaces: [n=0] [17:30:03.377] | : . use_args: TRUE [17:30:03.377] | : . Getting '...' globals ... [17:30:03.379] | : . ' '...' content: [n=1] 'what' [17:30:03.380] | : . ' List of 1 [17:30:03.380] | : . ' $ ...:List of 1 [17:30:03.380] | : . ' ..$ what:function (...) [17:30:03.380] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.380] | : . ' - attr(*, "where")=List of 1 [17:30:03.380] | : . ' ..$ ...: [17:30:03.380] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.380] | : . ' - attr(*, "resolved")= logi TRUE [17:30:03.380] | : . ' - attr(*, "total_size")= num NA [17:30:03.385] | : . Getting '...' globals ... done [17:30:03.386] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:03.387] | : . List of 2 [17:30:03.387] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [17:30:03.387] | : . $ ... :List of 1 [17:30:03.387] | : . ..$ what:function (...) [17:30:03.387] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.387] | : . - attr(*, "where")=List of 2 [17:30:03.387] | : . ..$ ...future.FUN: [17:30:03.387] | : . ..$ ... : [17:30:03.387] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.387] | : . - attr(*, "resolved")= logi FALSE [17:30:03.387] | : . - attr(*, "total_size")= num 7047 [17:30:03.393] | : . Packages to be attached in all futures: [n=0] [17:30:03.394] | : getGlobalsAndPackagesXApply() ... done [17:30:03.395] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.396] | : List of 5 [17:30:03.396] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [17:30:03.396] | : $ ... :List of 1 [17:30:03.396] | : ..$ what:function (...) [17:30:03.396] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.396] | : $ ...future.elements_ii : NULL [17:30:03.396] | : $ ...future.seeds_ii : NULL [17:30:03.396] | : $ ...future.globals.maxSize: NULL [17:30:03.396] | : - attr(*, "where")=List of 5 [17:30:03.396] | : ..$ ...future.FUN : [17:30:03.396] | : ..$ ... : [17:30:03.396] | : ..$ ...future.elements_ii : [17:30:03.396] | : ..$ ...future.seeds_ii : [17:30:03.396] | : ..$ ...future.globals.maxSize: [17:30:03.396] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.396] | : - attr(*, "resolved")= logi FALSE [17:30:03.396] | : - attr(*, "total_size")= num 7047 [17:30:03.404] | : Number of futures (= number of chunks): 1 [17:30:03.405] | : Launching 1 futures (chunks) ... [17:30:03.406] | : Chunk #1 of 1 ... [17:30:03.407] | : - Finding globals in 'X' for chunk #1 ... [17:30:03.408] | : + additional globals found: [n=0] [17:30:03.409] | : + additional namespaces needed: [n=0] [17:30:03.410] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:03.411] | : - seeds: [17:30:03.411] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.422] | : Created future: [17:30:03.423] | : SequentialFuture: [17:30:03.423] | : Label: 'future_lapply-1' [17:30:03.423] | : Expression: [17:30:03.423] | : { [17:30:03.423] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:03.423] | : "# expression in do.call(), because function called uses '...' " [17:30:03.423] | : "# as a global variable " [17:30:03.423] | : do.call(function(...) { [17:30:03.423] | : "# future.apply:::future_xapply(): preserve future option" [17:30:03.423] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:03.423] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:03.423] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:03.423] | : on.exit(options(oopts), add = TRUE) [17:30:03.423] | : } [17:30:03.423] | : { [17:30:03.423] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:03.423] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:03.423] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:03.423] | : { [17:30:03.423] | : ...future.FUN(...future.X_jj, ...) [17:30:03.423] | : } [17:30:03.423] | : }) [17:30:03.423] | : } [17:30:03.423] | : }, args = future.call.arguments) [17:30:03.423] | : } [17:30:03.423] | : Globals: 5 objects totaling 7.43 KiB (function '...future.FUN' of 1.79 KiB, DotDotDotList 'future.call.arguments' of 388 bytes, list '...future.elements_ii' of 149 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:03.423] | : Packages: [17:30:03.423] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:03.423] | : Capture standard output: TRUE [17:30:03.423] | : Capture condition classes: 'condition' (excluding '') [17:30:03.423] | : Immediate condition classes: 'immediateCondition' [17:30:03.423] | : Lazy evaluation: FALSE [17:30:03.423] | : Local evaluation: TRUE [17:30:03.423] | : Early signaling: FALSE [17:30:03.423] | : Actions: [n=1] 'run' [17:30:03.423] | : State: 'finished' ("Future was resolved successfully") [17:30:03.423] | : Resolved: TRUE [17:30:03.423] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-9 [17:30:03.423] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.423] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:03.423] | : Value: 43 bytes of class 'list' [17:30:03.423] | : Duration: 0.006273031 secs (started 2026-03-18 17:30:03.414179) [17:30:03.423] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.426] | : Chunk #1 of 1 ... DONE [17:30:03.427] | : Launching 1 futures (chunks) ... DONE [17:30:03.428] | : Resolving 1 futures (chunks) ... [17:30:03.429] | : - Number of value chunks collected: 1 [17:30:03.430] | : Resolving 1 futures (chunks) ... DONE [17:30:03.431] | : Reducing values from 1 chunks ... [17:30:03.432] | : - Number of values collected after concatenation: 1 [17:30:03.433] | : - Number of values expected: 1 [17:30:03.433] | : Reducing values from 1 chunks ... DONE [17:30:03.434] | future_lapply() -> future_xapply() ... done [17:30:03.435] future_lapply() ... done - lapply(x, ...) |> futurize() - passing arguments via '...' ... [17:30:03.437] future_lapply() ... [17:30:03.438] | Globals in FUN(): [n=1] 'typeof' [17:30:03.439] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:03.440] | future_lapply() -> future_xapply() ... [17:30:03.441] | : Number of chunks: 1 [17:30:03.442] | : getGlobalsAndPackagesXApply() ... [17:30:03.443] | : . future.globals: TRUE [17:30:03.455] | : . globals found/used: [n=1] 'FUN' [17:30:03.456] | : . needed namespaces: [n=0] [17:30:03.457] | : . use_args: TRUE [17:30:03.458] | : . Getting '...' globals ... [17:30:03.460] | : . ' '...' content: [n=1] 'b' [17:30:03.461] | : . ' List of 1 [17:30:03.461] | : . ' $ ...:List of 1 [17:30:03.461] | : . ' ..$ b:'data.frame': 2 obs. of 1 variable: [17:30:03.461] | : . ' .. ..$ a: int [1:2] 1 2 [17:30:03.461] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.461] | : . ' - attr(*, "where")=List of 1 [17:30:03.461] | : . ' ..$ ...: [17:30:03.461] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.461] | : . ' - attr(*, "resolved")= logi TRUE [17:30:03.461] | : . ' - attr(*, "total_size")= num NA [17:30:03.470] | : . Getting '...' globals ... done [17:30:03.471] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:03.472] | : . List of 2 [17:30:03.472] | : . $ ...future.FUN:function (a, b) [17:30:03.472] | : . $ ... :List of 1 [17:30:03.472] | : . ..$ b:'data.frame': 2 obs. of 1 variable: [17:30:03.472] | : . .. ..$ a: int [1:2] 1 2 [17:30:03.472] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.472] | : . - attr(*, "where")=List of 2 [17:30:03.472] | : . ..$ ...future.FUN: [17:30:03.472] | : . ..$ ... : [17:30:03.472] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.472] | : . - attr(*, "resolved")= logi FALSE [17:30:03.472] | : . - attr(*, "total_size")= num 3751 [17:30:03.478] | : . Packages to be attached in all futures: [n=0] [17:30:03.479] | : getGlobalsAndPackagesXApply() ... done [17:30:03.480] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.481] | : List of 5 [17:30:03.481] | : $ ...future.FUN :function (a, b) [17:30:03.481] | : $ ... :List of 1 [17:30:03.481] | : ..$ b:'data.frame': 2 obs. of 1 variable: [17:30:03.481] | : .. ..$ a: int [1:2] 1 2 [17:30:03.481] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.481] | : $ ...future.elements_ii : NULL [17:30:03.481] | : $ ...future.seeds_ii : NULL [17:30:03.481] | : $ ...future.globals.maxSize: NULL [17:30:03.481] | : - attr(*, "where")=List of 5 [17:30:03.481] | : ..$ ...future.FUN : [17:30:03.481] | : ..$ ... : [17:30:03.481] | : ..$ ...future.elements_ii : [17:30:03.481] | : ..$ ...future.seeds_ii : [17:30:03.481] | : ..$ ...future.globals.maxSize: [17:30:03.481] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.481] | : - attr(*, "resolved")= logi FALSE [17:30:03.481] | : - attr(*, "total_size")= num 3751 [17:30:03.490] | : Number of futures (= number of chunks): 1 [17:30:03.491] | : Launching 1 futures (chunks) ... [17:30:03.492] | : Chunk #1 of 1 ... [17:30:03.493] | : - Finding globals in 'X' for chunk #1 ... [17:30:03.494] | : + additional globals found: [n=0] [17:30:03.495] | : + additional namespaces needed: [n=0] [17:30:03.496] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:03.497] | : - seeds: [17:30:03.498] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.506] | : Created future: [17:30:03.507] | : SequentialFuture: [17:30:03.507] | : Label: 'future_lapply-1' [17:30:03.507] | : Expression: [17:30:03.507] | : { [17:30:03.507] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:03.507] | : "# expression in do.call(), because function called uses '...' " [17:30:03.507] | : "# as a global variable " [17:30:03.507] | : do.call(function(...) { [17:30:03.507] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:03.507] | : "# without having an '...' argument. This means '...' is treated" [17:30:03.507] | : "# as a global variable. This may happen when FUN() is an " [17:30:03.507] | : "# anonymous function. " [17:30:03.507] | : "# " [17:30:03.507] | : "# If an anonymous function, we will make sure to restore the " [17:30:03.507] | : "# function environment of FUN() to the calling environment. " [17:30:03.507] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:03.507] | : "# global environment, which is where globals are written. " [17:30:03.507] | : penv <- env <- environment(...future.FUN) [17:30:03.507] | : repeat { [17:30:03.507] | : if (identical(env, globalenv()) || identical(env, [17:30:03.507] | : emptyenv())) [17:30:03.507] | : break [17:30:03.507] | : penv <- env [17:30:03.507] | : env <- parent.env(env) [17:30:03.507] | : } [17:30:03.507] | : if (identical(penv, globalenv())) { [17:30:03.507] | : environment(...future.FUN) <- environment() [17:30:03.507] | : } [17:30:03.507] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:03.507] | : !isNamespace(penv)) { [17:30:03.507] | : parent.env(penv) <- environment() [17:30:03.507] | : } [17:30:03.507] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:03.507] | : { [17:30:03.507] | : "# future.apply:::future_xapply(): preserve future option" [17:30:03.507] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:03.507] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:03.507] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:03.507] | : on.exit(options(oopts), add = TRUE) [17:30:03.507] | : } [17:30:03.507] | : { [17:30:03.507] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:03.507] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:03.507] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:03.507] | : { [17:30:03.507] | : ...future.FUN(...future.X_jj, ...) [17:30:03.507] | : } [17:30:03.507] | : }) [17:30:03.507] | : } [17:30:03.507] | : } [17:30:03.507] | : }, args = future.call.arguments) [17:30:03.507] | : } [17:30:03.507] | : Globals: 5 objects totaling 3.95 KiB (DotDotDotList 'future.call.arguments' of 357 bytes, function '...future.FUN' of 111 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:03.507] | : Packages: [17:30:03.507] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:03.507] | : Capture standard output: TRUE [17:30:03.507] | : Capture condition classes: 'condition' (excluding '') [17:30:03.507] | : Immediate condition classes: 'immediateCondition' [17:30:03.507] | : Lazy evaluation: FALSE [17:30:03.507] | : Local evaluation: TRUE [17:30:03.507] | : Early signaling: FALSE [17:30:03.507] | : Actions: [n=1] 'run' [17:30:03.507] | : State: 'finished' ("Future was resolved successfully") [17:30:03.507] | : Resolved: TRUE [17:30:03.507] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-10 [17:30:03.507] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.507] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:03.507] | : Value: 51 bytes of class 'list' [17:30:03.507] | : Duration: 0.004765987 secs (started 2026-03-18 17:30:03.500452) [17:30:03.507] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.512] | : Chunk #1 of 1 ... DONE [17:30:03.513] | : Launching 1 futures (chunks) ... DONE [17:30:03.514] | : Resolving 1 futures (chunks) ... [17:30:03.515] | : - Number of value chunks collected: 1 [17:30:03.516] | : Resolving 1 futures (chunks) ... DONE [17:30:03.517] | : Reducing values from 1 chunks ... [17:30:03.518] | : - Number of values collected after concatenation: 1 [17:30:03.518] | : - Number of values expected: 1 [17:30:03.519] | : Reducing values from 1 chunks ... DONE [17:30:03.520] | future_lapply() -> future_xapply() ... done [17:30:03.521] future_lapply() ... done [17:30:03.522] future_lapply() ... [17:30:03.524] | Globals in FUN(): [n=1] 'typeof' [17:30:03.525] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:03.525] | future_lapply() -> future_xapply() ... [17:30:03.526] | : Number of chunks: 1 [17:30:03.527] | : getGlobalsAndPackagesXApply() ... [17:30:03.528] | : . future.globals: TRUE [17:30:03.540] | : . globals found/used: [n=1] 'FUN' [17:30:03.541] | : . needed namespaces: [n=0] [17:30:03.542] | : . use_args: TRUE [17:30:03.543] | : . Getting '...' globals ... [17:30:03.544] | : . ' '...' content: [n=1] 'b' [17:30:03.545] | : . ' List of 1 [17:30:03.545] | : . ' $ ...:List of 1 [17:30:03.545] | : . ' ..$ b: [17:30:03.545] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.545] | : . ' - attr(*, "where")=List of 1 [17:30:03.545] | : . ' ..$ ...: [17:30:03.545] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.545] | : . ' - attr(*, "resolved")= logi TRUE [17:30:03.545] | : . ' - attr(*, "total_size")= num NA [17:30:03.550] | : . Getting '...' globals ... done [17:30:03.551] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:03.552] | : . List of 2 [17:30:03.552] | : . $ ...future.FUN:function (a, b) [17:30:03.552] | : . $ ... :List of 1 [17:30:03.552] | : . ..$ b: [17:30:03.552] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.552] | : . - attr(*, "where")=List of 2 [17:30:03.552] | : . ..$ ...future.FUN: [17:30:03.552] | : . ..$ ... : [17:30:03.552] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.552] | : . - attr(*, "resolved")= logi FALSE [17:30:03.552] | : . - attr(*, "total_size")= num 3506 [17:30:03.557] | : . Packages to be attached in all futures: [n=0] [17:30:03.558] | : getGlobalsAndPackagesXApply() ... done [17:30:03.559] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.559] | : List of 5 [17:30:03.559] | : $ ...future.FUN :function (a, b) [17:30:03.559] | : $ ... :List of 1 [17:30:03.559] | : ..$ b: [17:30:03.559] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.559] | : $ ...future.elements_ii : NULL [17:30:03.559] | : $ ...future.seeds_ii : NULL [17:30:03.559] | : $ ...future.globals.maxSize: NULL [17:30:03.559] | : - attr(*, "where")=List of 5 [17:30:03.559] | : ..$ ...future.FUN : [17:30:03.559] | : ..$ ... : [17:30:03.559] | : ..$ ...future.elements_ii : [17:30:03.559] | : ..$ ...future.seeds_ii : [17:30:03.559] | : ..$ ...future.globals.maxSize: [17:30:03.559] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.559] | : - attr(*, "resolved")= logi FALSE [17:30:03.559] | : - attr(*, "total_size")= num 3506 [17:30:03.567] | : Number of futures (= number of chunks): 1 [17:30:03.568] | : Launching 1 futures (chunks) ... [17:30:03.569] | : Chunk #1 of 1 ... [17:30:03.570] | : - Finding globals in 'X' for chunk #1 ... [17:30:03.571] | : + additional globals found: [n=0] [17:30:03.572] | : + additional namespaces needed: [n=0] [17:30:03.573] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:03.574] | : - seeds: [17:30:03.575] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.585] | : Created future: [17:30:03.586] | : SequentialFuture: [17:30:03.586] | : Label: 'future_lapply-1' [17:30:03.586] | : Expression: [17:30:03.586] | : { [17:30:03.586] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:03.586] | : "# expression in do.call(), because function called uses '...' " [17:30:03.586] | : "# as a global variable " [17:30:03.586] | : do.call(function(...) { [17:30:03.586] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:03.586] | : "# without having an '...' argument. This means '...' is treated" [17:30:03.586] | : "# as a global variable. This may happen when FUN() is an " [17:30:03.586] | : "# anonymous function. " [17:30:03.586] | : "# " [17:30:03.586] | : "# If an anonymous function, we will make sure to restore the " [17:30:03.586] | : "# function environment of FUN() to the calling environment. " [17:30:03.586] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:03.586] | : "# global environment, which is where globals are written. " [17:30:03.586] | : penv <- env <- environment(...future.FUN) [17:30:03.586] | : repeat { [17:30:03.586] | : if (identical(env, globalenv()) || identical(env, [17:30:03.586] | : emptyenv())) [17:30:03.586] | : break [17:30:03.586] | : penv <- env [17:30:03.586] | : env <- parent.env(env) [17:30:03.586] | : } [17:30:03.586] | : if (identical(penv, globalenv())) { [17:30:03.586] | : environment(...future.FUN) <- environment() [17:30:03.586] | : } [17:30:03.586] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:03.586] | : !isNamespace(penv)) { [17:30:03.586] | : parent.env(penv) <- environment() [17:30:03.586] | : } [17:30:03.586] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:03.586] | : { [17:30:03.586] | : "# future.apply:::future_xapply(): preserve future option" [17:30:03.586] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:03.586] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:03.586] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:03.586] | : on.exit(options(oopts), add = TRUE) [17:30:03.586] | : } [17:30:03.586] | : { [17:30:03.586] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:03.586] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:03.586] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:03.586] | : { [17:30:03.586] | : ...future.FUN(...future.X_jj, ...) [17:30:03.586] | : } [17:30:03.586] | : }) [17:30:03.586] | : } [17:30:03.586] | : } [17:30:03.586] | : }, args = future.call.arguments) [17:30:03.586] | : } [17:30:03.586] | : Globals: 5 objects totaling 3.71 KiB (DotDotDotList 'future.call.arguments' of 279 bytes, function '...future.FUN' of 111 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:03.586] | : Packages: [17:30:03.586] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:03.586] | : Capture standard output: TRUE [17:30:03.586] | : Capture condition classes: 'condition' (excluding '') [17:30:03.586] | : Immediate condition classes: 'immediateCondition' [17:30:03.586] | : Lazy evaluation: FALSE [17:30:03.586] | : Local evaluation: TRUE [17:30:03.586] | : Early signaling: FALSE [17:30:03.586] | : Actions: [n=1] 'run' [17:30:03.586] | : State: 'finished' ("Future was resolved successfully") [17:30:03.586] | : Resolved: TRUE [17:30:03.586] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-11 [17:30:03.586] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.586] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:03.586] | : Value: 58 bytes of class 'list' [17:30:03.586] | : Duration: 0.005778074 secs (started 2026-03-18 17:30:03.578033) [17:30:03.586] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:03.591] | : Chunk #1 of 1 ... DONE [17:30:03.592] | : Launching 1 futures (chunks) ... DONE [17:30:03.593] | : Resolving 1 futures (chunks) ... [17:30:03.595] | : - Number of value chunks collected: 1 [17:30:03.596] | : Resolving 1 futures (chunks) ... DONE [17:30:03.597] | : Reducing values from 1 chunks ... [17:30:03.598] | : - Number of values collected after concatenation: 1 [17:30:03.599] | : - Number of values expected: 1 [17:30:03.600] | : Reducing values from 1 chunks ... DONE [17:30:03.601] | future_lapply() -> future_xapply() ... done [17:30:03.602] future_lapply() ... done [17:30:03.603] future_lapply() ... [17:30:03.605] | Globals in FUN(): [n=1] 'typeof' [17:30:03.606] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:03.607] | future_lapply() -> future_xapply() ... [17:30:03.608] | : Number of chunks: 1 [17:30:03.609] | : getGlobalsAndPackagesXApply() ... [17:30:03.610] | : . future.globals: TRUE [17:30:03.628] | : . globals found/used: [n=1] 'FUN' [17:30:03.629] | : . needed namespaces: [n=0] [17:30:03.631] | : . use_args: TRUE [17:30:03.632] | : . Getting '...' globals ... [17:30:03.634] | : . ' '...' content: [n=1] 'b' [17:30:03.635] | : . ' List of 1 [17:30:03.635] | : . ' $ ...:List of 1 [17:30:03.635] | : . ' ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [17:30:03.635] | : . ' .. .. ..@ slots :List of 4 [17:30:03.635] | : . ' .. .. .. ..$ .Data : chr "function" [17:30:03.635] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. ..$ target : chr "signature" [17:30:03.635] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. ..$ defined: chr "signature" [17:30:03.635] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. ..$ generic: chr "character" [17:30:03.635] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. ..@ contains :List of 4 [17:30:03.635] | : . ' .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "function" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:03.635] | : . ' .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr "function" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:03.635] | : . ' .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr "function" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:03.635] | : . ' .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "optionalMethod" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr "function" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 3 [17:30:03.635] | : . ' .. .. ..@ virtual : logi FALSE [17:30:03.635] | : . ' .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [17:30:03.635] | : . ' list() [17:30:03.635] | : . ' .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [17:30:03.635] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [17:30:03.635] | : . ' .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [17:30:03.635] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [17:30:03.635] | : . ' .. .. .. .. ..$ generic: chr(0) [17:30:03.635] | : . ' .. .. ..@ validity : NULL [17:30:03.635] | : . ' .. .. ..@ access : list() [17:30:03.635] | : . ' .. .. ..@ className : chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. ..@ subclasses:List of 7 [17:30:03.635] | : . ' .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:03.635] | : . ' .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:03.635] | : . ' .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:03.635] | : . ' .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:03.635] | : . ' .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:03.635] | : . ' .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr "MethodWithNext" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:03.635] | : . ' .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.635] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.635] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:03.635] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.635] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.635] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:03.635] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.635] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.635] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:03.635] | : . ' .. .. ..@ versionKey: [17:30:03.635] | : . ' .. .. ..@ sealed : logi TRUE [17:30:03.635] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.635] | : . ' - attr(*, "where")=List of 1 [17:30:03.635] | : . ' ..$ ...: [17:30:03.635] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.635] | : . ' - attr(*, "resolved")= logi TRUE [17:30:03.635] | : . ' - attr(*, "total_size")= num NA [17:30:03.765] | : . Getting '...' globals ... done [17:30:03.767] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:03.768] | : . List of 2 [17:30:03.768] | : . $ ...future.FUN:function (a, b) [17:30:03.768] | : . $ ... :List of 1 [17:30:03.768] | : . ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [17:30:03.768] | : . .. .. ..@ slots :List of 4 [17:30:03.768] | : . .. .. .. ..$ .Data : chr "function" [17:30:03.768] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. ..$ target : chr "signature" [17:30:03.768] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. ..$ defined: chr "signature" [17:30:03.768] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. ..$ generic: chr "character" [17:30:03.768] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. ..@ contains :List of 4 [17:30:03.768] | : . .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "function" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:03.768] | : . .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr "function" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:03.768] | : . .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr "function" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:03.768] | : . .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "optionalMethod" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr "function" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 3 [17:30:03.768] | : . .. .. ..@ virtual : logi FALSE [17:30:03.768] | : . .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [17:30:03.768] | : . list() [17:30:03.768] | : . .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [17:30:03.768] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:03.768] | : . .. .. .. .. .. .. ..@ names : chr(0) [17:30:03.768] | : . .. .. .. .. .. .. ..@ package: chr(0) [17:30:03.768] | : . .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [17:30:03.768] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:03.768] | : . .. .. .. .. .. .. ..@ names : chr(0) [17:30:03.768] | : . .. .. .. .. .. .. ..@ package: chr(0) [17:30:03.768] | : . .. .. .. .. ..$ generic: chr(0) [17:30:03.768] | : . .. .. ..@ validity : NULL [17:30:03.768] | : . .. .. ..@ access : list() [17:30:03.768] | : . .. .. ..@ className : chr "MethodDefinition" [17:30:03.768] | : . .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. ..@ subclasses:List of 7 [17:30:03.768] | : . .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:03.768] | : . .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:03.768] | : . .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:03.768] | : . .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:03.768] | : . .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:03.768] | : . .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr "MethodWithNext" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:03.768] | : . .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.768] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.768] | : . .. .. .. .. .. ..@ test :function (object) [17:30:03.768] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.768] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.768] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:03.768] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.768] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.768] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:03.768] | : . .. .. ..@ versionKey: [17:30:03.768] | : . .. .. ..@ sealed : logi TRUE [17:30:03.768] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.768] | : . - attr(*, "where")=List of 2 [17:30:03.768] | : . ..$ ...future.FUN: [17:30:03.768] | : . ..$ ... : [17:30:03.768] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.768] | : . - attr(*, "resolved")= logi FALSE [17:30:03.768] | : . - attr(*, "total_size")= num 105373 [17:30:03.892] | : . Packages to be attached in all futures: [n=0] [17:30:03.893] | : getGlobalsAndPackagesXApply() ... done [17:30:03.894] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:03.895] | : List of 5 [17:30:03.895] | : $ ...future.FUN :function (a, b) [17:30:03.895] | : $ ... :List of 1 [17:30:03.895] | : ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [17:30:03.895] | : .. .. ..@ slots :List of 4 [17:30:03.895] | : .. .. .. ..$ .Data : chr "function" [17:30:03.895] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. ..$ target : chr "signature" [17:30:03.895] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. ..$ defined: chr "signature" [17:30:03.895] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. ..$ generic: chr "character" [17:30:03.895] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. ..@ contains :List of 4 [17:30:03.895] | : .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "function" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr(0) [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 1 [17:30:03.895] | : .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr "function" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 2 [17:30:03.895] | : .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr "function" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 2 [17:30:03.895] | : .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "optionalMethod" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr "function" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 3 [17:30:03.895] | : .. .. ..@ virtual : logi FALSE [17:30:03.895] | : .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [17:30:03.895] | : list() [17:30:03.895] | : .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [17:30:03.895] | : .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:03.895] | : .. .. .. .. .. .. ..@ names : chr(0) [17:30:03.895] | : .. .. .. .. .. .. ..@ package: chr(0) [17:30:03.895] | : .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [17:30:03.895] | : .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:03.895] | : .. .. .. .. .. .. ..@ names : chr(0) [17:30:03.895] | : .. .. .. .. .. .. ..@ package: chr(0) [17:30:03.895] | : .. .. .. .. ..$ generic: chr(0) [17:30:03.895] | : .. .. ..@ validity : NULL [17:30:03.895] | : .. .. ..@ access : list() [17:30:03.895] | : .. .. ..@ className : chr "MethodDefinition" [17:30:03.895] | : .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. ..@ subclasses:List of 7 [17:30:03.895] | : .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr(0) [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 1 [17:30:03.895] | : .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr(0) [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 1 [17:30:03.895] | : .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr(0) [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 1 [17:30:03.895] | : .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr(0) [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 1 [17:30:03.895] | : .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 2 [17:30:03.895] | : .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr "MethodWithNext" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 2 [17:30:03.895] | : .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:03.895] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:03.895] | : .. .. .. .. .. ..@ test :function (object) [17:30:03.895] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:03.895] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:03.895] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:03.895] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:03.895] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:03.895] | : .. .. .. .. .. ..@ distance : num 2 [17:30:03.895] | : .. .. ..@ versionKey: [17:30:03.895] | : .. .. ..@ sealed : logi TRUE [17:30:03.895] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:03.895] | : $ ...future.elements_ii : NULL [17:30:03.895] | : $ ...future.seeds_ii : NULL [17:30:03.895] | : $ ...future.globals.maxSize: NULL [17:30:03.895] | : - attr(*, "where")=List of 5 [17:30:03.895] | : ..$ ...future.FUN : [17:30:03.895] | : ..$ ... : [17:30:03.895] | : ..$ ...future.elements_ii : [17:30:03.895] | : ..$ ...future.seeds_ii : [17:30:03.895] | : ..$ ...future.globals.maxSize: [17:30:03.895] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:03.895] | : - attr(*, "resolved")= logi FALSE [17:30:03.895] | : - attr(*, "total_size")= num 105373 [17:30:04.023] | : Number of futures (= number of chunks): 1 [17:30:04.025] | : Launching 1 futures (chunks) ... [17:30:04.026] | : Chunk #1 of 1 ... [17:30:04.027] | : - Finding globals in 'X' for chunk #1 ... [17:30:04.029] | : + additional globals found: [n=0] [17:30:04.030] | : + additional namespaces needed: [n=0] [17:30:04.031] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:04.032] | : - seeds: [17:30:04.033] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.043] | : Created future: [17:30:04.044] | : SequentialFuture: [17:30:04.044] | : Label: 'future_lapply-1' [17:30:04.044] | : Expression: [17:30:04.044] | : { [17:30:04.044] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:04.044] | : "# expression in do.call(), because function called uses '...' " [17:30:04.044] | : "# as a global variable " [17:30:04.044] | : do.call(function(...) { [17:30:04.044] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:04.044] | : "# without having an '...' argument. This means '...' is treated" [17:30:04.044] | : "# as a global variable. This may happen when FUN() is an " [17:30:04.044] | : "# anonymous function. " [17:30:04.044] | : "# " [17:30:04.044] | : "# If an anonymous function, we will make sure to restore the " [17:30:04.044] | : "# function environment of FUN() to the calling environment. " [17:30:04.044] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:04.044] | : "# global environment, which is where globals are written. " [17:30:04.044] | : penv <- env <- environment(...future.FUN) [17:30:04.044] | : repeat { [17:30:04.044] | : if (identical(env, globalenv()) || identical(env, [17:30:04.044] | : emptyenv())) [17:30:04.044] | : break [17:30:04.044] | : penv <- env [17:30:04.044] | : env <- parent.env(env) [17:30:04.044] | : } [17:30:04.044] | : if (identical(penv, globalenv())) { [17:30:04.044] | : environment(...future.FUN) <- environment() [17:30:04.044] | : } [17:30:04.044] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:04.044] | : !isNamespace(penv)) { [17:30:04.044] | : parent.env(penv) <- environment() [17:30:04.044] | : } [17:30:04.044] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:04.044] | : { [17:30:04.044] | : "# future.apply:::future_xapply(): preserve future option" [17:30:04.044] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:04.044] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:04.044] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:04.044] | : on.exit(options(oopts), add = TRUE) [17:30:04.044] | : } [17:30:04.044] | : { [17:30:04.044] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:04.044] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:04.044] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:04.044] | : { [17:30:04.044] | : ...future.FUN(...future.X_jj, ...) [17:30:04.044] | : } [17:30:04.044] | : }) [17:30:04.044] | : } [17:30:04.044] | : } [17:30:04.044] | : }, args = future.call.arguments) [17:30:04.044] | : } [17:30:04.044] | : Globals: 5 objects totaling 103.19 KiB (DotDotDotList 'future.call.arguments' of 50.30 KiB, function '...future.FUN' of 111 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:04.044] | : Packages: [17:30:04.044] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:04.044] | : Capture standard output: TRUE [17:30:04.044] | : Capture condition classes: 'condition' (excluding '') [17:30:04.044] | : Immediate condition classes: 'immediateCondition' [17:30:04.044] | : Lazy evaluation: FALSE [17:30:04.044] | : Local evaluation: TRUE [17:30:04.044] | : Early signaling: FALSE [17:30:04.044] | : Actions: [n=1] 'run' [17:30:04.044] | : State: 'finished' ("Future was resolved successfully") [17:30:04.044] | : Resolved: TRUE [17:30:04.044] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-12 [17:30:04.044] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.044] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:04.044] | : Value: 49 bytes of class 'list' [17:30:04.044] | : Duration: 0.005578995 secs (started 2026-03-18 17:30:04.035975) [17:30:04.044] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.050] | : Chunk #1 of 1 ... DONE [17:30:04.051] | : Launching 1 futures (chunks) ... DONE [17:30:04.052] | : Resolving 1 futures (chunks) ... [17:30:04.053] | : - Number of value chunks collected: 1 [17:30:04.054] | : Resolving 1 futures (chunks) ... DONE [17:30:04.055] | : Reducing values from 1 chunks ... [17:30:04.056] | : - Number of values collected after concatenation: 1 [17:30:04.057] | : - Number of values expected: 1 [17:30:04.058] | : Reducing values from 1 chunks ... DONE [17:30:04.059] | future_lapply() -> future_xapply() ... done [17:30:04.060] future_lapply() ... done - lapply(X, ...) |> futurize() - 'X' containing globals ... List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 [17:30:04.067] future_lapply() ... [17:30:04.068] | Globals in FUN(): [n=0] [17:30:04.070] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:04.071] | future_lapply() -> future_xapply() ... [17:30:04.072] | : Number of chunks: 1 [17:30:04.073] | : getGlobalsAndPackagesXApply() ... [17:30:04.074] | : . future.globals: TRUE [17:30:04.083] | : . globals found/used: [n=1] 'FUN' [17:30:04.084] | : . needed namespaces: [n=0] [17:30:04.085] | : . use_args: TRUE [17:30:04.086] | : . Getting '...' globals ... [17:30:04.088] | : . ' '...' content: [n=0] [17:30:04.089] | : . ' List of 1 [17:30:04.089] | : . ' $ ...: list() [17:30:04.089] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.089] | : . ' - attr(*, "where")=List of 1 [17:30:04.089] | : . ' ..$ ...: [17:30:04.089] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.089] | : . ' - attr(*, "resolved")= logi TRUE [17:30:04.089] | : . ' - attr(*, "total_size")= num NA [17:30:04.095] | : . Getting '...' globals ... done [17:30:04.096] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:04.097] | : . List of 2 [17:30:04.097] | : . $ ...future.FUN:function (f) [17:30:04.097] | : . $ ... : list() [17:30:04.097] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.097] | : . - attr(*, "where")=List of 2 [17:30:04.097] | : . ..$ ...future.FUN: [17:30:04.097] | : . ..$ ... : [17:30:04.097] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.097] | : . - attr(*, "resolved")= logi FALSE [17:30:04.097] | : . - attr(*, "total_size")= num 4778 [17:30:04.103] | : . Packages to be attached in all futures: [n=0] [17:30:04.104] | : getGlobalsAndPackagesXApply() ... done [17:30:04.105] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.106] | : List of 5 [17:30:04.106] | : $ ...future.FUN :function (f) [17:30:04.106] | : $ ... : list() [17:30:04.106] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.106] | : $ ...future.elements_ii : NULL [17:30:04.106] | : $ ...future.seeds_ii : NULL [17:30:04.106] | : $ ...future.globals.maxSize: NULL [17:30:04.106] | : - attr(*, "where")=List of 5 [17:30:04.106] | : ..$ ...future.FUN : [17:30:04.106] | : ..$ ... : [17:30:04.106] | : ..$ ...future.elements_ii : [17:30:04.106] | : ..$ ...future.seeds_ii : [17:30:04.106] | : ..$ ...future.globals.maxSize: [17:30:04.106] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.106] | : - attr(*, "resolved")= logi FALSE [17:30:04.106] | : - attr(*, "total_size")= num 4778 [17:30:04.113] | : Number of futures (= number of chunks): 1 [17:30:04.113] | : Launching 1 futures (chunks) ... [17:30:04.114] | : Chunk #1 of 1 ... [17:30:04.115] | : - Finding globals in 'X' for chunk #1 ... [17:30:04.167] | : + additional globals found: [n=2] 'a', 'b' [17:30:04.168] | : + additional namespaces needed: [n=0] [17:30:04.169] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:04.170] | : - seeds: [17:30:04.171] | : - All globals exported: [n=7] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize', 'a', 'b' [17:30:04.182] | : Created future: [17:30:04.183] | : SequentialFuture: [17:30:04.183] | : Label: 'future_lapply-1' [17:30:04.183] | : Expression: [17:30:04.183] | : { [17:30:04.183] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:04.183] | : "# expression in do.call(), because function called uses '...' " [17:30:04.183] | : "# as a global variable " [17:30:04.183] | : do.call(function(...) { [17:30:04.183] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:04.183] | : "# without having an '...' argument. This means '...' is treated" [17:30:04.183] | : "# as a global variable. This may happen when FUN() is an " [17:30:04.183] | : "# anonymous function. " [17:30:04.183] | : "# " [17:30:04.183] | : "# If an anonymous function, we will make sure to restore the " [17:30:04.183] | : "# function environment of FUN() to the calling environment. " [17:30:04.183] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:04.183] | : "# global environment, which is where globals are written. " [17:30:04.183] | : penv <- env <- environment(...future.FUN) [17:30:04.183] | : repeat { [17:30:04.183] | : if (identical(env, globalenv()) || identical(env, [17:30:04.183] | : emptyenv())) [17:30:04.183] | : break [17:30:04.183] | : penv <- env [17:30:04.183] | : env <- parent.env(env) [17:30:04.183] | : } [17:30:04.183] | : if (identical(penv, globalenv())) { [17:30:04.183] | : environment(...future.FUN) <- environment() [17:30:04.183] | : } [17:30:04.183] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:04.183] | : !isNamespace(penv)) { [17:30:04.183] | : parent.env(penv) <- environment() [17:30:04.183] | : } [17:30:04.183] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:04.183] | : { [17:30:04.183] | : "# future.apply:::future_xapply(): preserve future option" [17:30:04.183] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:04.183] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:04.183] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:04.183] | : on.exit(options(oopts), add = TRUE) [17:30:04.183] | : } [17:30:04.183] | : { [17:30:04.183] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:04.183] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:04.183] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:04.183] | : { [17:30:04.183] | : ...future.FUN(...future.X_jj, ...) [17:30:04.183] | : } [17:30:04.183] | : }) [17:30:04.183] | : } [17:30:04.183] | : } [17:30:04.183] | : }, args = future.call.arguments) [17:30:04.183] | : } [17:30:04.183] | : Globals: 7 objects totaling 6.49 KiB (list '...future.elements_ii' of 1.59 KiB, DotDotDotList 'future.call.arguments' of 97 bytes, function '...future.FUN' of 68 bytes, numeric 'a' of 39 bytes, numeric 'b' of 39 bytes, ...) [17:30:04.183] | : Packages: [17:30:04.183] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:04.183] | : Capture standard output: TRUE [17:30:04.183] | : Capture condition classes: 'condition' (excluding '') [17:30:04.183] | : Immediate condition classes: 'immediateCondition' [17:30:04.183] | : Lazy evaluation: FALSE [17:30:04.183] | : Local evaluation: TRUE [17:30:04.183] | : Early signaling: FALSE [17:30:04.183] | : Actions: [n=1] 'run' [17:30:04.183] | : State: 'finished' ("Future was resolved successfully") [17:30:04.183] | : Resolved: TRUE [17:30:04.183] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-13 [17:30:04.183] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.183] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:04.183] | : Value: 91 bytes of class 'list' [17:30:04.183] | : Duration: 0.006458998 secs (started 2026-03-18 17:30:04.174328) [17:30:04.183] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.189] | : Chunk #1 of 1 ... DONE [17:30:04.190] | : Launching 1 futures (chunks) ... DONE [17:30:04.191] | : Resolving 1 futures (chunks) ... [17:30:04.193] | : - Number of value chunks collected: 1 [17:30:04.194] | : Resolving 1 futures (chunks) ... DONE [17:30:04.195] | : Reducing values from 1 chunks ... [17:30:04.195] | : - Number of values collected after concatenation: 4 [17:30:04.196] | : - Number of values expected: 4 [17:30:04.197] | : Reducing values from 1 chunks ... DONE [17:30:04.197] | future_lapply() -> future_xapply() ... done [17:30:04.198] future_lapply() ... done List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 - lapply(X, ...) |> futurize() - '{ a <- a + 1; a }' ... [17:30:04.201] future_lapply() ... [17:30:04.203] | Globals in FUN(): [n=4] '{', '<-', 'a', '+' [17:30:04.203] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:04.204] | future_lapply() -> future_xapply() ... [17:30:04.205] | : Number of chunks: 1 [17:30:04.205] | : getGlobalsAndPackagesXApply() ... [17:30:04.206] | : . future.globals: TRUE [17:30:04.216] | : . globals found/used: [n=2] 'FUN', 'a' [17:30:04.217] | : . needed namespaces: [n=0] [17:30:04.217] | : . use_args: TRUE [17:30:04.218] | : . Getting '...' globals ... [17:30:04.219] | : . ' '...' content: [n=0] [17:30:04.220] | : . ' List of 1 [17:30:04.220] | : . ' $ ...: list() [17:30:04.220] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.220] | : . ' - attr(*, "where")=List of 1 [17:30:04.220] | : . ' ..$ ...: [17:30:04.220] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.220] | : . ' - attr(*, "resolved")= logi TRUE [17:30:04.220] | : . ' - attr(*, "total_size")= num NA [17:30:04.224] | : . Getting '...' globals ... done [17:30:04.224] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [17:30:04.225] | : . List of 3 [17:30:04.225] | : . $ ...future.FUN:function (ii) [17:30:04.225] | : . $ a : num 1 [17:30:04.225] | : . $ ... : list() [17:30:04.225] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.225] | : . - attr(*, "where")=List of 3 [17:30:04.225] | : . ..$ ...future.FUN: [17:30:04.225] | : . ..$ a : [17:30:04.225] | : . ..$ ... : [17:30:04.225] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.225] | : . - attr(*, "resolved")= logi FALSE [17:30:04.225] | : . - attr(*, "total_size")= num 3499 [17:30:04.230] | : . Packages to be attached in all futures: [n=0] [17:30:04.231] | : getGlobalsAndPackagesXApply() ... done [17:30:04.231] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.232] | : List of 6 [17:30:04.232] | : $ ...future.FUN :function (ii) [17:30:04.232] | : $ a : num 1 [17:30:04.232] | : $ ... : list() [17:30:04.232] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.232] | : $ ...future.elements_ii : NULL [17:30:04.232] | : $ ...future.seeds_ii : NULL [17:30:04.232] | : $ ...future.globals.maxSize: NULL [17:30:04.232] | : - attr(*, "where")=List of 6 [17:30:04.232] | : ..$ ...future.FUN : [17:30:04.232] | : ..$ a : [17:30:04.232] | : ..$ ... : [17:30:04.232] | : ..$ ...future.elements_ii : [17:30:04.232] | : ..$ ...future.seeds_ii : [17:30:04.232] | : ..$ ...future.globals.maxSize: [17:30:04.232] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.232] | : - attr(*, "resolved")= logi FALSE [17:30:04.232] | : - attr(*, "total_size")= num 3499 [17:30:04.240] | : Number of futures (= number of chunks): 1 [17:30:04.241] | : Launching 1 futures (chunks) ... [17:30:04.242] | : Chunk #1 of 1 ... [17:30:04.243] | : - Finding globals in 'X' for chunk #1 ... [17:30:04.244] | : + additional globals found: [n=0] [17:30:04.245] | : + additional namespaces needed: [n=0] [17:30:04.246] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:04.247] | : - seeds: [17:30:04.248] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.260] | : Created future: [17:30:04.262] | : SequentialFuture: [17:30:04.262] | : Label: 'future_lapply-1' [17:30:04.262] | : Expression: [17:30:04.262] | : { [17:30:04.262] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:04.262] | : "# expression in do.call(), because function called uses '...' " [17:30:04.262] | : "# as a global variable " [17:30:04.262] | : do.call(function(...) { [17:30:04.262] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:04.262] | : "# without having an '...' argument. This means '...' is treated" [17:30:04.262] | : "# as a global variable. This may happen when FUN() is an " [17:30:04.262] | : "# anonymous function. " [17:30:04.262] | : "# " [17:30:04.262] | : "# If an anonymous function, we will make sure to restore the " [17:30:04.262] | : "# function environment of FUN() to the calling environment. " [17:30:04.262] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:04.262] | : "# global environment, which is where globals are written. " [17:30:04.262] | : penv <- env <- environment(...future.FUN) [17:30:04.262] | : repeat { [17:30:04.262] | : if (identical(env, globalenv()) || identical(env, [17:30:04.262] | : emptyenv())) [17:30:04.262] | : break [17:30:04.262] | : penv <- env [17:30:04.262] | : env <- parent.env(env) [17:30:04.262] | : } [17:30:04.262] | : if (identical(penv, globalenv())) { [17:30:04.262] | : environment(...future.FUN) <- environment() [17:30:04.262] | : } [17:30:04.262] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:04.262] | : !isNamespace(penv)) { [17:30:04.262] | : parent.env(penv) <- environment() [17:30:04.262] | : } [17:30:04.262] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:04.262] | : { [17:30:04.262] | : "# future.apply:::future_xapply(): preserve future option" [17:30:04.262] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:04.262] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:04.262] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:04.262] | : on.exit(options(oopts), add = TRUE) [17:30:04.262] | : } [17:30:04.262] | : { [17:30:04.262] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:04.262] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:04.262] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:04.262] | : { [17:30:04.262] | : ...future.FUN(...future.X_jj, ...) [17:30:04.262] | : } [17:30:04.262] | : }) [17:30:04.262] | : } [17:30:04.262] | : } [17:30:04.262] | : }, args = future.call.arguments) [17:30:04.262] | : } [17:30:04.262] | : Globals: 6 objects totaling 3.69 KiB (function '...future.FUN' of 182 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:04.262] | : Packages: [17:30:04.262] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:04.262] | : Capture standard output: TRUE [17:30:04.262] | : Capture condition classes: 'condition' (excluding '') [17:30:04.262] | : Immediate condition classes: 'immediateCondition' [17:30:04.262] | : Lazy evaluation: FALSE [17:30:04.262] | : Local evaluation: TRUE [17:30:04.262] | : Early signaling: FALSE [17:30:04.262] | : Actions: [n=1] 'run' [17:30:04.262] | : State: 'finished' ("Future was resolved successfully") [17:30:04.262] | : Resolved: TRUE [17:30:04.262] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-14 [17:30:04.262] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.262] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:04.262] | : Value: 47 bytes of class 'list' [17:30:04.262] | : Duration: 0.006788969 secs (started 2026-03-18 17:30:04.251795) [17:30:04.262] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.267] | : Chunk #1 of 1 ... DONE [17:30:04.268] | : Launching 1 futures (chunks) ... DONE [17:30:04.269] | : Resolving 1 futures (chunks) ... [17:30:04.272] | : - Number of value chunks collected: 1 [17:30:04.273] | : Resolving 1 futures (chunks) ... DONE [17:30:04.274] | : Reducing values from 1 chunks ... [17:30:04.275] | : - Number of values collected after concatenation: 1 [17:30:04.276] | : - Number of values expected: 1 [17:30:04.277] | : Reducing values from 1 chunks ... DONE [17:30:04.278] | future_lapply() -> future_xapply() ... done [17:30:04.279] future_lapply() ... done - lapply(X, ...) |> futurize() - '{ a; a <- a + 1 }' ... [17:30:04.281] future_lapply() ... [17:30:04.284] | Globals in FUN(): [n=4] '{', 'a', '<-', '+' [17:30:04.285] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:04.286] | future_lapply() -> future_xapply() ... [17:30:04.287] | : Number of chunks: 1 [17:30:04.288] | : getGlobalsAndPackagesXApply() ... [17:30:04.289] | : . future.globals: TRUE [17:30:04.308] | : . globals found/used: [n=2] 'FUN', 'a' [17:30:04.309] | : . needed namespaces: [n=0] [17:30:04.309] | : . use_args: TRUE [17:30:04.310] | : . Getting '...' globals ... [17:30:04.311] | : . ' '...' content: [n=0] [17:30:04.312] | : . ' List of 1 [17:30:04.312] | : . ' $ ...: list() [17:30:04.312] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.312] | : . ' - attr(*, "where")=List of 1 [17:30:04.312] | : . ' ..$ ...: [17:30:04.312] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.312] | : . ' - attr(*, "resolved")= logi TRUE [17:30:04.312] | : . ' - attr(*, "total_size")= num NA [17:30:04.316] | : . Getting '...' globals ... done [17:30:04.317] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [17:30:04.318] | : . List of 3 [17:30:04.318] | : . $ ...future.FUN:function (ii) [17:30:04.318] | : . $ a : num 1 [17:30:04.318] | : . $ ... : list() [17:30:04.318] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.318] | : . - attr(*, "where")=List of 3 [17:30:04.318] | : . ..$ ...future.FUN: [17:30:04.318] | : . ..$ a : [17:30:04.318] | : . ..$ ... : [17:30:04.318] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.318] | : . - attr(*, "resolved")= logi FALSE [17:30:04.318] | : . - attr(*, "total_size")= num 3499 [17:30:04.323] | : . Packages to be attached in all futures: [n=0] [17:30:04.324] | : getGlobalsAndPackagesXApply() ... done [17:30:04.325] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.325] | : List of 6 [17:30:04.325] | : $ ...future.FUN :function (ii) [17:30:04.325] | : $ a : num 1 [17:30:04.325] | : $ ... : list() [17:30:04.325] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.325] | : $ ...future.elements_ii : NULL [17:30:04.325] | : $ ...future.seeds_ii : NULL [17:30:04.325] | : $ ...future.globals.maxSize: NULL [17:30:04.325] | : - attr(*, "where")=List of 6 [17:30:04.325] | : ..$ ...future.FUN : [17:30:04.325] | : ..$ a : [17:30:04.325] | : ..$ ... : [17:30:04.325] | : ..$ ...future.elements_ii : [17:30:04.325] | : ..$ ...future.seeds_ii : [17:30:04.325] | : ..$ ...future.globals.maxSize: [17:30:04.325] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.325] | : - attr(*, "resolved")= logi FALSE [17:30:04.325] | : - attr(*, "total_size")= num 3499 [17:30:04.335] | : Number of futures (= number of chunks): 1 [17:30:04.336] | : Launching 1 futures (chunks) ... [17:30:04.337] | : Chunk #1 of 1 ... [17:30:04.338] | : - Finding globals in 'X' for chunk #1 ... [17:30:04.339] | : + additional globals found: [n=0] [17:30:04.340] | : + additional namespaces needed: [n=0] [17:30:04.341] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:04.342] | : - seeds: [17:30:04.343] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.353] | : Created future: [17:30:04.354] | : SequentialFuture: [17:30:04.354] | : Label: 'future_lapply-1' [17:30:04.354] | : Expression: [17:30:04.354] | : { [17:30:04.354] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:04.354] | : "# expression in do.call(), because function called uses '...' " [17:30:04.354] | : "# as a global variable " [17:30:04.354] | : do.call(function(...) { [17:30:04.354] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:04.354] | : "# without having an '...' argument. This means '...' is treated" [17:30:04.354] | : "# as a global variable. This may happen when FUN() is an " [17:30:04.354] | : "# anonymous function. " [17:30:04.354] | : "# " [17:30:04.354] | : "# If an anonymous function, we will make sure to restore the " [17:30:04.354] | : "# function environment of FUN() to the calling environment. " [17:30:04.354] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:04.354] | : "# global environment, which is where globals are written. " [17:30:04.354] | : penv <- env <- environment(...future.FUN) [17:30:04.354] | : repeat { [17:30:04.354] | : if (identical(env, globalenv()) || identical(env, [17:30:04.354] | : emptyenv())) [17:30:04.354] | : break [17:30:04.354] | : penv <- env [17:30:04.354] | : env <- parent.env(env) [17:30:04.354] | : } [17:30:04.354] | : if (identical(penv, globalenv())) { [17:30:04.354] | : environment(...future.FUN) <- environment() [17:30:04.354] | : } [17:30:04.354] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:04.354] | : !isNamespace(penv)) { [17:30:04.354] | : parent.env(penv) <- environment() [17:30:04.354] | : } [17:30:04.354] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:04.354] | : { [17:30:04.354] | : "# future.apply:::future_xapply(): preserve future option" [17:30:04.354] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:04.354] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:04.354] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:04.354] | : on.exit(options(oopts), add = TRUE) [17:30:04.354] | : } [17:30:04.354] | : { [17:30:04.354] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:04.354] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:04.354] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:04.354] | : { [17:30:04.354] | : ...future.FUN(...future.X_jj, ...) [17:30:04.354] | : } [17:30:04.354] | : }) [17:30:04.354] | : } [17:30:04.354] | : } [17:30:04.354] | : }, args = future.call.arguments) [17:30:04.354] | : } [17:30:04.354] | : Globals: 6 objects totaling 3.69 KiB (function '...future.FUN' of 182 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:04.354] | : Packages: [17:30:04.354] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:04.354] | : Capture standard output: TRUE [17:30:04.354] | : Capture condition classes: 'condition' (excluding '') [17:30:04.354] | : Immediate condition classes: 'immediateCondition' [17:30:04.354] | : Lazy evaluation: FALSE [17:30:04.354] | : Local evaluation: TRUE [17:30:04.354] | : Early signaling: FALSE [17:30:04.354] | : Actions: [n=1] 'run' [17:30:04.354] | : State: 'finished' ("Future was resolved successfully") [17:30:04.354] | : Resolved: TRUE [17:30:04.354] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-15 [17:30:04.354] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.354] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:04.354] | : Value: 47 bytes of class 'list' [17:30:04.354] | : Duration: 0.005475044 secs (started 2026-03-18 17:30:04.34641) [17:30:04.354] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.359] | : Chunk #1 of 1 ... DONE [17:30:04.360] | : Launching 1 futures (chunks) ... DONE [17:30:04.361] | : Resolving 1 futures (chunks) ... [17:30:04.363] | : - Number of value chunks collected: 1 [17:30:04.364] | : Resolving 1 futures (chunks) ... DONE [17:30:04.365] | : Reducing values from 1 chunks ... [17:30:04.366] | : - Number of values collected after concatenation: 1 [17:30:04.367] | : - Number of values expected: 1 [17:30:04.368] | : Reducing values from 1 chunks ... DONE [17:30:04.369] | future_lapply() -> future_xapply() ... done [17:30:04.371] future_lapply() ... done - lapply(..., future.globals = ) |> futurize() ... [17:30:04.373] future_lapply() ... [17:30:04.375] | Globals in FUN(): [n=1] 'a' [17:30:04.376] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:04.377] | future_lapply() -> future_xapply() ... [17:30:04.379] | : Number of chunks: 1 [17:30:04.380] | : getGlobalsAndPackagesXApply() ... [17:30:04.381] | : . future.globals: with names 'a' [17:30:04.382] | : . use_args: TRUE [17:30:04.384] | : . Getting '...' globals ... [17:30:04.385] | : . ' '...' content: [n=0] [17:30:04.387] | : . ' List of 1 [17:30:04.387] | : . ' $ ...: list() [17:30:04.387] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.387] | : . ' - attr(*, "where")=List of 1 [17:30:04.387] | : . ' ..$ ...: [17:30:04.387] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.387] | : . ' - attr(*, "resolved")= logi TRUE [17:30:04.387] | : . ' - attr(*, "total_size")= num NA [17:30:04.394] | : . Getting '...' globals ... done [17:30:04.395] | : . Globals to be used in all futures (chunks): [n=3] 'a', '...future.FUN', '...' [17:30:04.397] | : . List of 3 [17:30:04.397] | : . $ a : num 42 [17:30:04.397] | : . $ ...future.FUN:function (x) [17:30:04.397] | : . $ ... : list() [17:30:04.397] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.397] | : . - attr(*, "where")=List of 3 [17:30:04.397] | : . ..$ a : [17:30:04.397] | : . ..$ ...future.FUN: [17:30:04.397] | : . ..$ ... : [17:30:04.397] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.397] | : . - attr(*, "resolved")= logi FALSE [17:30:04.397] | : . - attr(*, "total_size")= num NA [17:30:04.405] | : . Packages to be attached in all futures: [n=0] [17:30:04.406] | : getGlobalsAndPackagesXApply() ... done [17:30:04.407] | : Globals pass to each chunk: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.408] | : List of 6 [17:30:04.408] | : $ a : num 42 [17:30:04.408] | : $ ...future.FUN :function (x) [17:30:04.408] | : $ ... : list() [17:30:04.408] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:04.408] | : $ ...future.elements_ii : NULL [17:30:04.408] | : $ ...future.seeds_ii : NULL [17:30:04.408] | : $ ...future.globals.maxSize: NULL [17:30:04.408] | : - attr(*, "where")=List of 6 [17:30:04.408] | : ..$ a : [17:30:04.408] | : ..$ ...future.FUN : [17:30:04.408] | : ..$ ... : [17:30:04.408] | : ..$ ...future.elements_ii : [17:30:04.408] | : ..$ ...future.seeds_ii : [17:30:04.408] | : ..$ ...future.globals.maxSize: [17:30:04.408] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:04.408] | : - attr(*, "resolved")= logi FALSE [17:30:04.408] | : - attr(*, "total_size")= num NA [17:30:04.421] | : Number of futures (= number of chunks): 1 [17:30:04.422] | : Launching 1 futures (chunks) ... [17:30:04.423] | : Chunk #1 of 1 ... [17:30:04.424] | : - seeds: [17:30:04.425] | : - All globals exported: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:04.436] | : Created future: [17:30:04.437] | : SequentialFuture: [17:30:04.437] | : Label: 'future_lapply-1' [17:30:04.437] | : Expression: [17:30:04.437] | : { [17:30:04.437] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:04.437] | : "# expression in do.call(), because function called uses '...' " [17:30:04.437] | : "# as a global variable " [17:30:04.437] | : do.call(function(...) { [17:30:04.437] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:04.437] | : "# without having an '...' argument. This means '...' is treated" [17:30:04.437] | : "# as a global variable. This may happen when FUN() is an " [17:30:04.437] | : "# anonymous function. " [17:30:04.437] | : "# " [17:30:04.437] | : "# If an anonymous function, we will make sure to restore the " [17:30:04.437] | : "# function environment of FUN() to the calling environment. " [17:30:04.437] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:04.437] | : "# global environment, which is where globals are written. " [17:30:04.437] | : penv <- env <- environment(...future.FUN) [17:30:04.437] | : repeat { [17:30:04.437] | : if (identical(env, globalenv()) || identical(env, [17:30:04.437] | : emptyenv())) [17:30:04.437] | : break [17:30:04.437] | : penv <- env [17:30:04.437] | : env <- parent.env(env) [17:30:04.437] | : } [17:30:04.437] | : if (identical(penv, globalenv())) { [17:30:04.437] | : environment(...future.FUN) <- environment() [17:30:04.437] | : } [17:30:04.437] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:04.437] | : !isNamespace(penv)) { [17:30:04.437] | : parent.env(penv) <- environment() [17:30:04.437] | : } [17:30:04.437] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:04.437] | : { [17:30:04.437] | : "# future.apply:::future_xapply(): preserve future option" [17:30:04.437] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:04.437] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:04.437] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:04.437] | : on.exit(options(oopts), add = TRUE) [17:30:04.437] | : } [17:30:04.437] | : { [17:30:04.437] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:04.437] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:04.437] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:04.437] | : { [17:30:04.437] | : ...future.FUN(...future.X_jj, ...) [17:30:04.437] | : } [17:30:04.437] | : }) [17:30:04.437] | : } [17:30:04.437] | : } [17:30:04.437] | : }, args = future.call.arguments) [17:30:04.437] | : } [17:30:04.437] | : Globals: 6 objects totaling 3.57 KiB (DotDotDotList 'future.call.arguments' of 97 bytes, function '...future.FUN' of 69 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:04.437] | : Packages: [17:30:04.437] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:04.437] | : Capture standard output: TRUE [17:30:04.437] | : Capture condition classes: 'condition' (excluding '') [17:30:04.437] | : Immediate condition classes: 'immediateCondition' [17:30:04.437] | : Lazy evaluation: FALSE [17:30:04.437] | : Local evaluation: TRUE [17:30:04.437] | : Early signaling: FALSE [17:30:04.437] | : Actions: [n=1] 'run' [17:30:04.437] | : State: 'finished' ("Future was resolved successfully") [17:30:04.437] | : Resolved: TRUE [17:30:04.437] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-16 [17:30:04.437] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.437] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [17:30:04.437] | : Value: 47 bytes of class 'list' [17:30:04.437] | : Duration: 0.004705191 secs (started 2026-03-18 17:30:04.429026) [17:30:04.437] | : Worker process: 003df39c9fe3a50b66266752c375c7ae [17:30:04.442] | : Chunk #1 of 1 ... DONE [17:30:04.443] | : Launching 1 futures (chunks) ... DONE [17:30:04.444] | : Resolving 1 futures (chunks) ... [17:30:04.446] | : - Number of value chunks collected: 1 [17:30:04.447] | : Resolving 1 futures (chunks) ... DONE [17:30:04.449] | : Reducing values from 1 chunks ... [17:30:04.450] | : - Number of values collected after concatenation: 1 [17:30:04.451] | : - Number of values expected: 1 [17:30:04.452] | : Reducing values from 1 chunks ... DONE [17:30:04.453] | future_lapply() -> future_xapply() ... done [17:30:04.454] future_lapply() ... done List of 1 $ : num 42 [17:30:04.979] future_lapply() ... [17:30:04.980] | Globals in FUN(): [n=7] '{', 'do.call', 'caller', 'c', 'list', '+', 'args' [17:30:04.981] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:04.982] | future_lapply() -> future_xapply() ... [17:30:04.984] | : Number of chunks: 2 [17:30:04.985] | : getGlobalsAndPackagesXApply() ... [17:30:04.985] | : . future.globals: TRUE [17:30:05.032] | : . globals found/used: [n=5] 'FUN', 'caller', 'args', 'call_my_add', 'my_add' [17:30:05.033] | : . needed namespaces: [n=0] [17:30:05.034] | : . use_args: TRUE [17:30:05.034] | : . Getting '...' globals ... [17:30:05.035] | : . ' '...' content: [n=0] [17:30:05.036] | : . ' List of 1 [17:30:05.036] | : . ' $ ...: list() [17:30:05.036] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.036] | : . ' - attr(*, "where")=List of 1 [17:30:05.036] | : . ' ..$ ...: [17:30:05.036] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.036] | : . ' - attr(*, "resolved")= logi TRUE [17:30:05.036] | : . ' - attr(*, "total_size")= num NA [17:30:05.040] | : . Getting '...' globals ... done [17:30:05.041] | : . Globals to be used in all futures (chunks): [n=6] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...' [17:30:05.042] | : . List of 6 [17:30:05.042] | : . $ ...future.FUN:function (i) [17:30:05.042] | : . $ caller :function (a, b, FUN = call_my_add) [17:30:05.042] | : . $ args :List of 1 [17:30:05.042] | : . ..$ FUN:function (a, b) [17:30:05.042] | : . $ call_my_add :function (a, b) [17:30:05.042] | : . $ my_add :function (a, b) [17:30:05.042] | : . $ ... : list() [17:30:05.042] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.042] | : . - attr(*, "where")=List of 6 [17:30:05.042] | : . ..$ ...future.FUN: [17:30:05.042] | : . ..$ caller : [17:30:05.042] | : . ..$ args : [17:30:05.042] | : . ..$ call_my_add : [17:30:05.042] | : . ..$ my_add : [17:30:05.042] | : . ..$ ... : [17:30:05.042] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.042] | : . - attr(*, "resolved")= logi FALSE [17:30:05.042] | : . - attr(*, "total_size")= num 10976 [17:30:05.049] | : . Packages to be attached in all futures: [n=0] [17:30:05.049] | : getGlobalsAndPackagesXApply() ... done [17:30:05.050] | : Globals pass to each chunk: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.050] | : List of 9 [17:30:05.050] | : $ ...future.FUN :function (i) [17:30:05.050] | : $ caller :function (a, b, FUN = call_my_add) [17:30:05.050] | : $ args :List of 1 [17:30:05.050] | : ..$ FUN:function (a, b) [17:30:05.050] | : $ call_my_add :function (a, b) [17:30:05.050] | : $ my_add :function (a, b) [17:30:05.050] | : $ ... : list() [17:30:05.050] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.050] | : $ ...future.elements_ii : NULL [17:30:05.050] | : $ ...future.seeds_ii : NULL [17:30:05.050] | : $ ...future.globals.maxSize: NULL [17:30:05.050] | : - attr(*, "where")=List of 9 [17:30:05.050] | : ..$ ...future.FUN : [17:30:05.050] | : ..$ caller : [17:30:05.050] | : ..$ args : [17:30:05.050] | : ..$ call_my_add : [17:30:05.050] | : ..$ my_add : [17:30:05.050] | : ..$ ... : [17:30:05.050] | : ..$ ...future.elements_ii : [17:30:05.050] | : ..$ ...future.seeds_ii : [17:30:05.050] | : ..$ ...future.globals.maxSize: [17:30:05.050] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.050] | : - attr(*, "resolved")= logi FALSE [17:30:05.050] | : - attr(*, "total_size")= num 10976 [17:30:05.059] | : Number of futures (= number of chunks): 2 [17:30:05.059] | : Launching 2 futures (chunks) ... [17:30:05.060] | : Chunk #1 of 2 ... [17:30:05.061] | : - Finding globals in 'X' for chunk #1 ... [17:30:05.061] | : + additional globals found: [n=0] [17:30:05.062] | : + additional namespaces needed: [n=0] [17:30:05.063] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:05.063] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:05.064] | : - seeds: [17:30:05.064] | : - All globals exported: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.068] | : Created future: [17:30:05.068] | : MultisessionFuture: [17:30:05.068] | : Label: 'future_lapply-1' [17:30:05.068] | : Expression: [17:30:05.068] | : { [17:30:05.068] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:05.068] | : "# expression in do.call(), because function called uses '...' " [17:30:05.068] | : "# as a global variable " [17:30:05.068] | : do.call(function(...) { [17:30:05.068] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:05.068] | : "# without having an '...' argument. This means '...' is treated" [17:30:05.068] | : "# as a global variable. This may happen when FUN() is an " [17:30:05.068] | : "# anonymous function. " [17:30:05.068] | : "# " [17:30:05.068] | : "# If an anonymous function, we will make sure to restore the " [17:30:05.068] | : "# function environment of FUN() to the calling environment. " [17:30:05.068] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:05.068] | : "# global environment, which is where globals are written. " [17:30:05.068] | : penv <- env <- environment(...future.FUN) [17:30:05.068] | : repeat { [17:30:05.068] | : if (identical(env, globalenv()) || identical(env, [17:30:05.068] | : emptyenv())) [17:30:05.068] | : break [17:30:05.068] | : penv <- env [17:30:05.068] | : env <- parent.env(env) [17:30:05.068] | : } [17:30:05.068] | : if (identical(penv, globalenv())) { [17:30:05.068] | : environment(...future.FUN) <- environment() [17:30:05.068] | : } [17:30:05.068] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:05.068] | : !isNamespace(penv)) { [17:30:05.068] | : parent.env(penv) <- environment() [17:30:05.068] | : } [17:30:05.068] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:05.068] | : { [17:30:05.068] | : "# future.apply:::future_xapply(): preserve future option" [17:30:05.068] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:05.068] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:05.068] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:05.068] | : on.exit(options(oopts), add = TRUE) [17:30:05.068] | : } [17:30:05.068] | : { [17:30:05.068] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:05.068] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:05.068] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:05.068] | : { [17:30:05.068] | : ...future.FUN(...future.X_jj, ...) [17:30:05.068] | : } [17:30:05.068] | : }) [17:30:05.068] | : } [17:30:05.068] | : } [17:30:05.068] | : }, args = future.call.arguments) [17:30:05.068] | : } [17:30:05.068] | : Globals: 9 objects totaling 8.49 KiB (function '...future.FUN' of 2.44 KiB, list 'args' of 928 bytes, function 'caller' of 904 bytes, function 'call_my_add' of 876 bytes, function 'my_add' of 114 bytes, ...) [17:30:05.068] | : Packages: [17:30:05.068] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:05.068] | : Capture standard output: TRUE [17:30:05.068] | : Capture condition classes: 'condition' (excluding '') [17:30:05.068] | : Immediate condition classes: 'immediateCondition' [17:30:05.068] | : Lazy evaluation: FALSE [17:30:05.068] | : Local evaluation: TRUE [17:30:05.068] | : Early signaling: FALSE [17:30:05.068] | : Actions: [n=1] 'run' [17:30:05.068] | : State: 'running' ("Future is being evaluated") [17:30:05.068] | : Resolved: TRUE [17:30:05.068] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-17 [17:30:05.068] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:05.068] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:05.068] | : Value: [17:30:05.068] | : Conditions captured: [17:30:05.208] | : Chunk #1 of 2 ... DONE [17:30:05.209] | : Chunk #2 of 2 ... [17:30:05.213] | : - Finding globals in 'X' for chunk #2 ... [17:30:05.215] | : + additional globals found: [n=0] [17:30:05.216] | : + additional namespaces needed: [n=0] [17:30:05.217] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:05.218] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:05.219] | : - seeds: [17:30:05.220] | : - All globals exported: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.224] | : Created future: [17:30:05.225] | : MultisessionFuture: [17:30:05.225] | : Label: 'future_lapply-2' [17:30:05.225] | : Expression: [17:30:05.225] | : { [17:30:05.225] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:05.225] | : "# expression in do.call(), because function called uses '...' " [17:30:05.225] | : "# as a global variable " [17:30:05.225] | : do.call(function(...) { [17:30:05.225] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:05.225] | : "# without having an '...' argument. This means '...' is treated" [17:30:05.225] | : "# as a global variable. This may happen when FUN() is an " [17:30:05.225] | : "# anonymous function. " [17:30:05.225] | : "# " [17:30:05.225] | : "# If an anonymous function, we will make sure to restore the " [17:30:05.225] | : "# function environment of FUN() to the calling environment. " [17:30:05.225] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:05.225] | : "# global environment, which is where globals are written. " [17:30:05.225] | : penv <- env <- environment(...future.FUN) [17:30:05.225] | : repeat { [17:30:05.225] | : if (identical(env, globalenv()) || identical(env, [17:30:05.225] | : emptyenv())) [17:30:05.225] | : break [17:30:05.225] | : penv <- env [17:30:05.225] | : env <- parent.env(env) [17:30:05.225] | : } [17:30:05.225] | : if (identical(penv, globalenv())) { [17:30:05.225] | : environment(...future.FUN) <- environment() [17:30:05.225] | : } [17:30:05.225] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:05.225] | : !isNamespace(penv)) { [17:30:05.225] | : parent.env(penv) <- environment() [17:30:05.225] | : } [17:30:05.225] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:05.225] | : { [17:30:05.225] | : "# future.apply:::future_xapply(): preserve future option" [17:30:05.225] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:05.225] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:05.225] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:05.225] | : on.exit(options(oopts), add = TRUE) [17:30:05.225] | : } [17:30:05.225] | : { [17:30:05.225] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:05.225] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:05.225] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:05.225] | : { [17:30:05.225] | : ...future.FUN(...future.X_jj, ...) [17:30:05.225] | : } [17:30:05.225] | : }) [17:30:05.225] | : } [17:30:05.225] | : } [17:30:05.225] | : }, args = future.call.arguments) [17:30:05.225] | : } [17:30:05.225] | : Globals: 9 objects totaling 8.50 KiB (function '...future.FUN' of 2.44 KiB, list 'args' of 928 bytes, function 'caller' of 904 bytes, function 'call_my_add' of 876 bytes, function 'my_add' of 114 bytes, ...) [17:30:05.225] | : Packages: [17:30:05.225] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:05.225] | : Capture standard output: TRUE [17:30:05.225] | : Capture condition classes: 'condition' (excluding '') [17:30:05.225] | : Immediate condition classes: 'immediateCondition' [17:30:05.225] | : Lazy evaluation: FALSE [17:30:05.225] | : Local evaluation: TRUE [17:30:05.225] | : Early signaling: FALSE [17:30:05.225] | : Actions: [n=1] 'run' [17:30:05.225] | : State: 'running' ("Future is being evaluated") [17:30:05.225] | : Resolved: TRUE [17:30:05.225] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-18 [17:30:05.225] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:05.225] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:05.225] | : Value: [17:30:05.225] | : Conditions captured: [17:30:05.237] | : Chunk #2 of 2 ... DONE [17:30:05.238] | : Launching 2 futures (chunks) ... DONE [17:30:05.239] | : Resolving 2 futures (chunks) ... [17:30:05.240] | : - Number of value chunks collected: 2 [17:30:05.241] | : Resolving 2 futures (chunks) ... DONE [17:30:05.242] | : Reducing values from 2 chunks ... [17:30:05.242] | : - Number of values collected after concatenation: 3 [17:30:05.243] | : - Number of values expected: 3 [17:30:05.244] | : Reducing values from 2 chunks ... DONE [17:30:05.244] | future_lapply() -> future_xapply() ... done [17:30:05.245] future_lapply() ... done - lapply(x, FUN = do.call, ...) |> futurize() ... [17:30:05.246] future_lapply() ... [17:30:05.249] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [17:30:05.249] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:05.250] | future_lapply() -> future_xapply() ... [17:30:05.251] | : Number of chunks: 1 [17:30:05.252] | : getGlobalsAndPackagesXApply() ... [17:30:05.252] | : . future.globals: TRUE [17:30:05.286] | : . globals found/used: [n=1] 'FUN' [17:30:05.288] | : . needed namespaces: [n=0] [17:30:05.289] | : . use_args: TRUE [17:30:05.290] | : . Getting '...' globals ... [17:30:05.291] | : . ' '...' content: [n=1] 'what' [17:30:05.292] | : . ' List of 1 [17:30:05.292] | : . ' $ ...:List of 1 [17:30:05.292] | : . ' ..$ what:function (x) [17:30:05.292] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.292] | : . ' - attr(*, "where")=List of 1 [17:30:05.292] | : . ' ..$ ...: [17:30:05.292] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.292] | : . ' - attr(*, "resolved")= logi TRUE [17:30:05.292] | : . ' - attr(*, "total_size")= num NA [17:30:05.299] | : . Getting '...' globals ... done [17:30:05.300] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:05.301] | : . List of 2 [17:30:05.301] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [17:30:05.301] | : . $ ... :List of 1 [17:30:05.301] | : . ..$ what:function (x) [17:30:05.301] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.301] | : . - attr(*, "where")=List of 2 [17:30:05.301] | : . ..$ ...future.FUN: [17:30:05.301] | : . ..$ ... : [17:30:05.301] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.301] | : . - attr(*, "resolved")= logi FALSE [17:30:05.301] | : . - attr(*, "total_size")= num 6979 [17:30:05.308] | : . Packages to be attached in all futures: [n=0] [17:30:05.309] | : getGlobalsAndPackagesXApply() ... done [17:30:05.310] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.311] | : List of 5 [17:30:05.311] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [17:30:05.311] | : $ ... :List of 1 [17:30:05.311] | : ..$ what:function (x) [17:30:05.311] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.311] | : $ ...future.elements_ii : NULL [17:30:05.311] | : $ ...future.seeds_ii : NULL [17:30:05.311] | : $ ...future.globals.maxSize: NULL [17:30:05.311] | : - attr(*, "where")=List of 5 [17:30:05.311] | : ..$ ...future.FUN : [17:30:05.311] | : ..$ ... : [17:30:05.311] | : ..$ ...future.elements_ii : [17:30:05.311] | : ..$ ...future.seeds_ii : [17:30:05.311] | : ..$ ...future.globals.maxSize: [17:30:05.311] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.311] | : - attr(*, "resolved")= logi FALSE [17:30:05.311] | : - attr(*, "total_size")= num 6979 [17:30:05.322] | : Number of futures (= number of chunks): 1 [17:30:05.323] | : Launching 1 futures (chunks) ... [17:30:05.324] | : Chunk #1 of 1 ... [17:30:05.325] | : - Finding globals in 'X' for chunk #1 ... [17:30:05.327] | : + additional globals found: [n=0] [17:30:05.328] | : + additional namespaces needed: [n=0] [17:30:05.329] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:05.330] | : - seeds: [17:30:05.330] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.335] | : Created future: [17:30:05.337] | : MultisessionFuture: [17:30:05.337] | : Label: 'future_lapply-1' [17:30:05.337] | : Expression: [17:30:05.337] | : { [17:30:05.337] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:05.337] | : "# expression in do.call(), because function called uses '...' " [17:30:05.337] | : "# as a global variable " [17:30:05.337] | : do.call(function(...) { [17:30:05.337] | : "# future.apply:::future_xapply(): preserve future option" [17:30:05.337] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:05.337] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:05.337] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:05.337] | : on.exit(options(oopts), add = TRUE) [17:30:05.337] | : } [17:30:05.337] | : { [17:30:05.337] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:05.337] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:05.337] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:05.337] | : { [17:30:05.337] | : ...future.FUN(...future.X_jj, ...) [17:30:05.337] | : } [17:30:05.337] | : }) [17:30:05.337] | : } [17:30:05.337] | : }, args = future.call.arguments) [17:30:05.337] | : } [17:30:05.337] | : Globals: 5 objects totaling 7.00 KiB (function '...future.FUN' of 1.79 KiB, DotDotDotList 'future.call.arguments' of 152 bytes, list '...future.elements_ii' of 149 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:05.337] | : Packages: [17:30:05.337] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:05.337] | : Capture standard output: TRUE [17:30:05.337] | : Capture condition classes: 'condition' (excluding '') [17:30:05.337] | : Immediate condition classes: 'immediateCondition' [17:30:05.337] | : Lazy evaluation: FALSE [17:30:05.337] | : Local evaluation: TRUE [17:30:05.337] | : Early signaling: FALSE [17:30:05.337] | : Actions: [n=1] 'run' [17:30:05.337] | : State: 'running' ("Future is being evaluated") [17:30:05.337] | : Resolved: TRUE [17:30:05.337] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-19 [17:30:05.337] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:05.337] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:05.337] | : Value: [17:30:05.337] | : Conditions captured: [17:30:05.345] | : Chunk #1 of 1 ... DONE [17:30:05.346] | : Launching 1 futures (chunks) ... DONE [17:30:05.347] | : Resolving 1 futures (chunks) ... [17:30:05.349] | : - Number of value chunks collected: 1 [17:30:05.350] | : Resolving 1 futures (chunks) ... DONE [17:30:05.351] | : Reducing values from 1 chunks ... [17:30:05.353] | : - Number of values collected after concatenation: 1 [17:30:05.354] | : - Number of values expected: 1 [17:30:05.355] | : Reducing values from 1 chunks ... DONE [17:30:05.356] | future_lapply() -> future_xapply() ... done [17:30:05.357] future_lapply() ... done [17:30:05.359] future_lapply() ... [17:30:05.364] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [17:30:05.365] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:05.366] | future_lapply() -> future_xapply() ... [17:30:05.367] | : Number of chunks: 1 [17:30:05.369] | : getGlobalsAndPackagesXApply() ... [17:30:05.370] | : . future.globals: TRUE [17:30:05.424] | : . globals found/used: [n=1] 'FUN' [17:30:05.425] | : . needed namespaces: [n=0] [17:30:05.426] | : . use_args: TRUE [17:30:05.427] | : . Getting '...' globals ... [17:30:05.429] | : . ' '...' content: [n=1] 'what' [17:30:05.430] | : . ' List of 1 [17:30:05.430] | : . ' $ ...:List of 1 [17:30:05.430] | : . ' ..$ what:function (...) [17:30:05.430] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.430] | : . ' - attr(*, "where")=List of 1 [17:30:05.430] | : . ' ..$ ...: [17:30:05.430] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.430] | : . ' - attr(*, "resolved")= logi TRUE [17:30:05.430] | : . ' - attr(*, "total_size")= num NA [17:30:05.435] | : . Getting '...' globals ... done [17:30:05.436] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:05.436] | : . List of 2 [17:30:05.436] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [17:30:05.436] | : . $ ... :List of 1 [17:30:05.436] | : . ..$ what:function (...) [17:30:05.436] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.436] | : . - attr(*, "where")=List of 2 [17:30:05.436] | : . ..$ ...future.FUN: [17:30:05.436] | : . ..$ ... : [17:30:05.436] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.436] | : . - attr(*, "resolved")= logi FALSE [17:30:05.436] | : . - attr(*, "total_size")= num 7415 [17:30:05.441] | : . Packages to be attached in all futures: [n=0] [17:30:05.442] | : getGlobalsAndPackagesXApply() ... done [17:30:05.443] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.443] | : List of 5 [17:30:05.443] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [17:30:05.443] | : $ ... :List of 1 [17:30:05.443] | : ..$ what:function (...) [17:30:05.443] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.443] | : $ ...future.elements_ii : NULL [17:30:05.443] | : $ ...future.seeds_ii : NULL [17:30:05.443] | : $ ...future.globals.maxSize: NULL [17:30:05.443] | : - attr(*, "where")=List of 5 [17:30:05.443] | : ..$ ...future.FUN : [17:30:05.443] | : ..$ ... : [17:30:05.443] | : ..$ ...future.elements_ii : [17:30:05.443] | : ..$ ...future.seeds_ii : [17:30:05.443] | : ..$ ...future.globals.maxSize: [17:30:05.443] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.443] | : - attr(*, "resolved")= logi FALSE [17:30:05.443] | : - attr(*, "total_size")= num 7415 [17:30:05.449] | : Number of futures (= number of chunks): 1 [17:30:05.450] | : Launching 1 futures (chunks) ... [17:30:05.450] | : Chunk #1 of 1 ... [17:30:05.451] | : - Finding globals in 'X' for chunk #1 ... [17:30:05.452] | : + additional globals found: [n=0] [17:30:05.453] | : + additional namespaces needed: [n=0] [17:30:05.453] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:05.454] | : - seeds: [17:30:05.455] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.458] | : Created future: [17:30:05.458] | : MultisessionFuture: [17:30:05.458] | : Label: 'future_lapply-1' [17:30:05.458] | : Expression: [17:30:05.458] | : { [17:30:05.458] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:05.458] | : "# expression in do.call(), because function called uses '...' " [17:30:05.458] | : "# as a global variable " [17:30:05.458] | : do.call(function(...) { [17:30:05.458] | : "# future.apply:::future_xapply(): preserve future option" [17:30:05.458] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:05.458] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:05.458] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:05.458] | : on.exit(options(oopts), add = TRUE) [17:30:05.458] | : } [17:30:05.458] | : { [17:30:05.458] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:05.458] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:05.458] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:05.458] | : { [17:30:05.458] | : ...future.FUN(...future.X_jj, ...) [17:30:05.458] | : } [17:30:05.458] | : }) [17:30:05.458] | : } [17:30:05.458] | : }, args = future.call.arguments) [17:30:05.458] | : } [17:30:05.458] | : Globals: 5 objects totaling 7.43 KiB (function '...future.FUN' of 1.79 KiB, DotDotDotList 'future.call.arguments' of 388 bytes, list '...future.elements_ii' of 149 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:05.458] | : Packages: [17:30:05.458] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:05.458] | : Capture standard output: TRUE [17:30:05.458] | : Capture condition classes: 'condition' (excluding '') [17:30:05.458] | : Immediate condition classes: 'immediateCondition' [17:30:05.458] | : Lazy evaluation: FALSE [17:30:05.458] | : Local evaluation: TRUE [17:30:05.458] | : Early signaling: FALSE [17:30:05.458] | : Actions: [n=1] 'run' [17:30:05.458] | : State: 'running' ("Future is being evaluated") [17:30:05.458] | : Resolved: TRUE [17:30:05.458] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-20 [17:30:05.458] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:05.458] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:05.458] | : Value: [17:30:05.458] | : Conditions captured: [17:30:05.470] | : Chunk #1 of 1 ... DONE [17:30:05.471] | : Launching 1 futures (chunks) ... DONE [17:30:05.472] | : Resolving 1 futures (chunks) ... [17:30:05.474] | : - Number of value chunks collected: 1 [17:30:05.475] | : Resolving 1 futures (chunks) ... DONE [17:30:05.476] | : Reducing values from 1 chunks ... [17:30:05.476] | : - Number of values collected after concatenation: 1 [17:30:05.477] | : - Number of values expected: 1 [17:30:05.478] | : Reducing values from 1 chunks ... DONE [17:30:05.479] | future_lapply() -> future_xapply() ... done [17:30:05.480] future_lapply() ... done - lapply(x, ...) |> futurize() - passing arguments via '...' ... [17:30:05.482] future_lapply() ... [17:30:05.484] | Globals in FUN(): [n=1] 'typeof' [17:30:05.485] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:05.486] | future_lapply() -> future_xapply() ... [17:30:05.487] | : Number of chunks: 1 [17:30:05.488] | : getGlobalsAndPackagesXApply() ... [17:30:05.489] | : . future.globals: TRUE [17:30:05.504] | : . globals found/used: [n=1] 'FUN' [17:30:05.505] | : . needed namespaces: [n=0] [17:30:05.506] | : . use_args: TRUE [17:30:05.507] | : . Getting '...' globals ... [17:30:05.508] | : . ' '...' content: [n=1] 'b' [17:30:05.509] | : . ' List of 1 [17:30:05.509] | : . ' $ ...:List of 1 [17:30:05.509] | : . ' ..$ b:'data.frame': 2 obs. of 1 variable: [17:30:05.509] | : . ' .. ..$ a: int [1:2] 1 2 [17:30:05.509] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.509] | : . ' - attr(*, "where")=List of 1 [17:30:05.509] | : . ' ..$ ...: [17:30:05.509] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.509] | : . ' - attr(*, "resolved")= logi TRUE [17:30:05.509] | : . ' - attr(*, "total_size")= num NA [17:30:05.519] | : . Getting '...' globals ... done [17:30:05.520] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:05.521] | : . List of 2 [17:30:05.521] | : . $ ...future.FUN:function (a, b) [17:30:05.521] | : . $ ... :List of 1 [17:30:05.521] | : . ..$ b:'data.frame': 2 obs. of 1 variable: [17:30:05.521] | : . .. ..$ a: int [1:2] 1 2 [17:30:05.521] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.521] | : . - attr(*, "where")=List of 2 [17:30:05.521] | : . ..$ ...future.FUN: [17:30:05.521] | : . ..$ ... : [17:30:05.521] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.521] | : . - attr(*, "resolved")= logi FALSE [17:30:05.521] | : . - attr(*, "total_size")= num 3751 [17:30:05.528] | : . Packages to be attached in all futures: [n=0] [17:30:05.529] | : getGlobalsAndPackagesXApply() ... done [17:30:05.530] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.530] | : List of 5 [17:30:05.530] | : $ ...future.FUN :function (a, b) [17:30:05.530] | : $ ... :List of 1 [17:30:05.530] | : ..$ b:'data.frame': 2 obs. of 1 variable: [17:30:05.530] | : .. ..$ a: int [1:2] 1 2 [17:30:05.530] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.530] | : $ ...future.elements_ii : NULL [17:30:05.530] | : $ ...future.seeds_ii : NULL [17:30:05.530] | : $ ...future.globals.maxSize: NULL [17:30:05.530] | : - attr(*, "where")=List of 5 [17:30:05.530] | : ..$ ...future.FUN : [17:30:05.530] | : ..$ ... : [17:30:05.530] | : ..$ ...future.elements_ii : [17:30:05.530] | : ..$ ...future.seeds_ii : [17:30:05.530] | : ..$ ...future.globals.maxSize: [17:30:05.530] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.530] | : - attr(*, "resolved")= logi FALSE [17:30:05.530] | : - attr(*, "total_size")= num 3751 [17:30:05.540] | : Number of futures (= number of chunks): 1 [17:30:05.540] | : Launching 1 futures (chunks) ... [17:30:05.541] | : Chunk #1 of 1 ... [17:30:05.542] | : - Finding globals in 'X' for chunk #1 ... [17:30:05.543] | : + additional globals found: [n=0] [17:30:05.544] | : + additional namespaces needed: [n=0] [17:30:05.545] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:05.546] | : - seeds: [17:30:05.547] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.552] | : Created future: [17:30:05.553] | : MultisessionFuture: [17:30:05.553] | : Label: 'future_lapply-1' [17:30:05.553] | : Expression: [17:30:05.553] | : { [17:30:05.553] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:05.553] | : "# expression in do.call(), because function called uses '...' " [17:30:05.553] | : "# as a global variable " [17:30:05.553] | : do.call(function(...) { [17:30:05.553] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:05.553] | : "# without having an '...' argument. This means '...' is treated" [17:30:05.553] | : "# as a global variable. This may happen when FUN() is an " [17:30:05.553] | : "# anonymous function. " [17:30:05.553] | : "# " [17:30:05.553] | : "# If an anonymous function, we will make sure to restore the " [17:30:05.553] | : "# function environment of FUN() to the calling environment. " [17:30:05.553] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:05.553] | : "# global environment, which is where globals are written. " [17:30:05.553] | : penv <- env <- environment(...future.FUN) [17:30:05.553] | : repeat { [17:30:05.553] | : if (identical(env, globalenv()) || identical(env, [17:30:05.553] | : emptyenv())) [17:30:05.553] | : break [17:30:05.553] | : penv <- env [17:30:05.553] | : env <- parent.env(env) [17:30:05.553] | : } [17:30:05.553] | : if (identical(penv, globalenv())) { [17:30:05.553] | : environment(...future.FUN) <- environment() [17:30:05.553] | : } [17:30:05.553] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:05.553] | : !isNamespace(penv)) { [17:30:05.553] | : parent.env(penv) <- environment() [17:30:05.553] | : } [17:30:05.553] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:05.553] | : { [17:30:05.553] | : "# future.apply:::future_xapply(): preserve future option" [17:30:05.553] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:05.553] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:05.553] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:05.553] | : on.exit(options(oopts), add = TRUE) [17:30:05.553] | : } [17:30:05.553] | : { [17:30:05.553] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:05.553] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:05.553] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:05.553] | : { [17:30:05.553] | : ...future.FUN(...future.X_jj, ...) [17:30:05.553] | : } [17:30:05.553] | : }) [17:30:05.553] | : } [17:30:05.553] | : } [17:30:05.553] | : }, args = future.call.arguments) [17:30:05.553] | : } [17:30:05.553] | : Globals: 5 objects totaling 3.95 KiB (DotDotDotList 'future.call.arguments' of 357 bytes, function '...future.FUN' of 111 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:05.553] | : Packages: [17:30:05.553] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:05.553] | : Capture standard output: TRUE [17:30:05.553] | : Capture condition classes: 'condition' (excluding '') [17:30:05.553] | : Immediate condition classes: 'immediateCondition' [17:30:05.553] | : Lazy evaluation: FALSE [17:30:05.553] | : Local evaluation: TRUE [17:30:05.553] | : Early signaling: FALSE [17:30:05.553] | : Actions: [n=1] 'run' [17:30:05.553] | : State: 'running' ("Future is being evaluated") [17:30:05.553] | : Resolved: TRUE [17:30:05.553] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-21 [17:30:05.553] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:05.553] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:05.553] | : Value: [17:30:05.553] | : Conditions captured: [17:30:05.563] | : Chunk #1 of 1 ... DONE [17:30:05.564] | : Launching 1 futures (chunks) ... DONE [17:30:05.565] | : Resolving 1 futures (chunks) ... [17:30:05.568] | : - Number of value chunks collected: 1 [17:30:05.568] | : Resolving 1 futures (chunks) ... DONE [17:30:05.569] | : Reducing values from 1 chunks ... [17:30:05.570] | : - Number of values collected after concatenation: 1 [17:30:05.571] | : - Number of values expected: 1 [17:30:05.572] | : Reducing values from 1 chunks ... DONE [17:30:05.572] | future_lapply() -> future_xapply() ... done [17:30:05.573] future_lapply() ... done [17:30:05.574] future_lapply() ... [17:30:05.576] | Globals in FUN(): [n=1] 'typeof' [17:30:05.577] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:05.578] | future_lapply() -> future_xapply() ... [17:30:05.579] | : Number of chunks: 1 [17:30:05.579] | : getGlobalsAndPackagesXApply() ... [17:30:05.580] | : . future.globals: TRUE [17:30:05.593] | : . globals found/used: [n=1] 'FUN' [17:30:05.594] | : . needed namespaces: [n=0] [17:30:05.595] | : . use_args: TRUE [17:30:05.596] | : . Getting '...' globals ... [17:30:05.597] | : . ' '...' content: [n=1] 'b' [17:30:05.598] | : . ' List of 1 [17:30:05.598] | : . ' $ ...:List of 1 [17:30:05.598] | : . ' ..$ b: [17:30:05.598] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.598] | : . ' - attr(*, "where")=List of 1 [17:30:05.598] | : . ' ..$ ...: [17:30:05.598] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.598] | : . ' - attr(*, "resolved")= logi TRUE [17:30:05.598] | : . ' - attr(*, "total_size")= num NA [17:30:05.604] | : . Getting '...' globals ... done [17:30:05.605] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:05.606] | : . List of 2 [17:30:05.606] | : . $ ...future.FUN:function (a, b) [17:30:05.606] | : . $ ... :List of 1 [17:30:05.606] | : . ..$ b: [17:30:05.606] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.606] | : . - attr(*, "where")=List of 2 [17:30:05.606] | : . ..$ ...future.FUN: [17:30:05.606] | : . ..$ ... : [17:30:05.606] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.606] | : . - attr(*, "resolved")= logi FALSE [17:30:05.606] | : . - attr(*, "total_size")= num 3506 [17:30:05.613] | : . Packages to be attached in all futures: [n=0] [17:30:05.614] | : getGlobalsAndPackagesXApply() ... done [17:30:05.615] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.616] | : List of 5 [17:30:05.616] | : $ ...future.FUN :function (a, b) [17:30:05.616] | : $ ... :List of 1 [17:30:05.616] | : ..$ b: [17:30:05.616] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.616] | : $ ...future.elements_ii : NULL [17:30:05.616] | : $ ...future.seeds_ii : NULL [17:30:05.616] | : $ ...future.globals.maxSize: NULL [17:30:05.616] | : - attr(*, "where")=List of 5 [17:30:05.616] | : ..$ ...future.FUN : [17:30:05.616] | : ..$ ... : [17:30:05.616] | : ..$ ...future.elements_ii : [17:30:05.616] | : ..$ ...future.seeds_ii : [17:30:05.616] | : ..$ ...future.globals.maxSize: [17:30:05.616] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.616] | : - attr(*, "resolved")= logi FALSE [17:30:05.616] | : - attr(*, "total_size")= num 3506 [17:30:05.625] | : Number of futures (= number of chunks): 1 [17:30:05.626] | : Launching 1 futures (chunks) ... [17:30:05.627] | : Chunk #1 of 1 ... [17:30:05.628] | : - Finding globals in 'X' for chunk #1 ... [17:30:05.629] | : + additional globals found: [n=0] [17:30:05.630] | : + additional namespaces needed: [n=0] [17:30:05.631] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:05.632] | : - seeds: [17:30:05.633] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.637] | : Created future: [17:30:05.638] | : MultisessionFuture: [17:30:05.638] | : Label: 'future_lapply-1' [17:30:05.638] | : Expression: [17:30:05.638] | : { [17:30:05.638] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:05.638] | : "# expression in do.call(), because function called uses '...' " [17:30:05.638] | : "# as a global variable " [17:30:05.638] | : do.call(function(...) { [17:30:05.638] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:05.638] | : "# without having an '...' argument. This means '...' is treated" [17:30:05.638] | : "# as a global variable. This may happen when FUN() is an " [17:30:05.638] | : "# anonymous function. " [17:30:05.638] | : "# " [17:30:05.638] | : "# If an anonymous function, we will make sure to restore the " [17:30:05.638] | : "# function environment of FUN() to the calling environment. " [17:30:05.638] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:05.638] | : "# global environment, which is where globals are written. " [17:30:05.638] | : penv <- env <- environment(...future.FUN) [17:30:05.638] | : repeat { [17:30:05.638] | : if (identical(env, globalenv()) || identical(env, [17:30:05.638] | : emptyenv())) [17:30:05.638] | : break [17:30:05.638] | : penv <- env [17:30:05.638] | : env <- parent.env(env) [17:30:05.638] | : } [17:30:05.638] | : if (identical(penv, globalenv())) { [17:30:05.638] | : environment(...future.FUN) <- environment() [17:30:05.638] | : } [17:30:05.638] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:05.638] | : !isNamespace(penv)) { [17:30:05.638] | : parent.env(penv) <- environment() [17:30:05.638] | : } [17:30:05.638] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:05.638] | : { [17:30:05.638] | : "# future.apply:::future_xapply(): preserve future option" [17:30:05.638] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:05.638] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:05.638] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:05.638] | : on.exit(options(oopts), add = TRUE) [17:30:05.638] | : } [17:30:05.638] | : { [17:30:05.638] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:05.638] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:05.638] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:05.638] | : { [17:30:05.638] | : ...future.FUN(...future.X_jj, ...) [17:30:05.638] | : } [17:30:05.638] | : }) [17:30:05.638] | : } [17:30:05.638] | : } [17:30:05.638] | : }, args = future.call.arguments) [17:30:05.638] | : } [17:30:05.638] | : Globals: 5 objects totaling 3.71 KiB (DotDotDotList 'future.call.arguments' of 279 bytes, function '...future.FUN' of 111 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:05.638] | : Packages: [17:30:05.638] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:05.638] | : Capture standard output: TRUE [17:30:05.638] | : Capture condition classes: 'condition' (excluding '') [17:30:05.638] | : Immediate condition classes: 'immediateCondition' [17:30:05.638] | : Lazy evaluation: FALSE [17:30:05.638] | : Local evaluation: TRUE [17:30:05.638] | : Early signaling: FALSE [17:30:05.638] | : Actions: [n=1] 'run' [17:30:05.638] | : State: 'running' ("Future is being evaluated") [17:30:05.638] | : Resolved: TRUE [17:30:05.638] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-22 [17:30:05.638] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:05.638] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:05.638] | : Value: [17:30:05.638] | : Conditions captured: [17:30:05.646] | : Chunk #1 of 1 ... DONE [17:30:05.647] | : Launching 1 futures (chunks) ... DONE [17:30:05.648] | : Resolving 1 futures (chunks) ... [17:30:05.650] | : - Number of value chunks collected: 1 [17:30:05.651] | : Resolving 1 futures (chunks) ... DONE [17:30:05.652] | : Reducing values from 1 chunks ... [17:30:05.653] | : - Number of values collected after concatenation: 1 [17:30:05.654] | : - Number of values expected: 1 [17:30:05.655] | : Reducing values from 1 chunks ... DONE [17:30:05.656] | future_lapply() -> future_xapply() ... done [17:30:05.657] future_lapply() ... done [17:30:05.659] future_lapply() ... [17:30:05.661] | Globals in FUN(): [n=1] 'typeof' [17:30:05.662] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:05.663] | future_lapply() -> future_xapply() ... [17:30:05.664] | : Number of chunks: 1 [17:30:05.665] | : getGlobalsAndPackagesXApply() ... [17:30:05.666] | : . future.globals: TRUE [17:30:05.684] | : . globals found/used: [n=1] 'FUN' [17:30:05.686] | : . needed namespaces: [n=0] [17:30:05.687] | : . use_args: TRUE [17:30:05.688] | : . Getting '...' globals ... [17:30:05.690] | : . ' '...' content: [n=1] 'b' [17:30:05.691] | : . ' List of 1 [17:30:05.691] | : . ' $ ...:List of 1 [17:30:05.691] | : . ' ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [17:30:05.691] | : . ' .. .. ..@ slots :List of 4 [17:30:05.691] | : . ' .. .. .. ..$ .Data : chr "function" [17:30:05.691] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. ..$ target : chr "signature" [17:30:05.691] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. ..$ defined: chr "signature" [17:30:05.691] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. ..$ generic: chr "character" [17:30:05.691] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. ..@ contains :List of 4 [17:30:05.691] | : . ' .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "function" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:05.691] | : . ' .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr "function" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:05.691] | : . ' .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr "function" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:05.691] | : . ' .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "optionalMethod" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr "function" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 3 [17:30:05.691] | : . ' .. .. ..@ virtual : logi FALSE [17:30:05.691] | : . ' .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [17:30:05.691] | : . ' list() [17:30:05.691] | : . ' .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [17:30:05.691] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [17:30:05.691] | : . ' .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [17:30:05.691] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [17:30:05.691] | : . ' .. .. .. .. ..$ generic: chr(0) [17:30:05.691] | : . ' .. .. ..@ validity : NULL [17:30:05.691] | : . ' .. .. ..@ access : list() [17:30:05.691] | : . ' .. .. ..@ className : chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. ..@ subclasses:List of 7 [17:30:05.691] | : . ' .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:05.691] | : . ' .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:05.691] | : . ' .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:05.691] | : . ' .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr(0) [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 1 [17:30:05.691] | : . ' .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:05.691] | : . ' .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr "MethodWithNext" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:05.691] | : . ' .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.691] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ package : chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.691] | : . ' .. .. .. .. .. ..@ test :function (object) [17:30:05.691] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.691] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.691] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:05.691] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.691] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.691] | : . ' .. .. .. .. .. ..@ distance : num 2 [17:30:05.691] | : . ' .. .. ..@ versionKey: [17:30:05.691] | : . ' .. .. ..@ sealed : logi TRUE [17:30:05.691] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.691] | : . ' - attr(*, "where")=List of 1 [17:30:05.691] | : . ' ..$ ...: [17:30:05.691] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.691] | : . ' - attr(*, "resolved")= logi TRUE [17:30:05.691] | : . ' - attr(*, "total_size")= num NA [17:30:05.805] | : . Getting '...' globals ... done [17:30:05.806] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:05.807] | : . List of 2 [17:30:05.807] | : . $ ...future.FUN:function (a, b) [17:30:05.807] | : . $ ... :List of 1 [17:30:05.807] | : . ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [17:30:05.807] | : . .. .. ..@ slots :List of 4 [17:30:05.807] | : . .. .. .. ..$ .Data : chr "function" [17:30:05.807] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. ..$ target : chr "signature" [17:30:05.807] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. ..$ defined: chr "signature" [17:30:05.807] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. ..$ generic: chr "character" [17:30:05.807] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. ..@ contains :List of 4 [17:30:05.807] | : . .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "function" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:05.807] | : . .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr "function" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:05.807] | : . .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr "function" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:05.807] | : . .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "optionalMethod" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr "function" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 3 [17:30:05.807] | : . .. .. ..@ virtual : logi FALSE [17:30:05.807] | : . .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [17:30:05.807] | : . list() [17:30:05.807] | : . .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [17:30:05.807] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:05.807] | : . .. .. .. .. .. .. ..@ names : chr(0) [17:30:05.807] | : . .. .. .. .. .. .. ..@ package: chr(0) [17:30:05.807] | : . .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [17:30:05.807] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:05.807] | : . .. .. .. .. .. .. ..@ names : chr(0) [17:30:05.807] | : . .. .. .. .. .. .. ..@ package: chr(0) [17:30:05.807] | : . .. .. .. .. ..$ generic: chr(0) [17:30:05.807] | : . .. .. ..@ validity : NULL [17:30:05.807] | : . .. .. ..@ access : list() [17:30:05.807] | : . .. .. ..@ className : chr "MethodDefinition" [17:30:05.807] | : . .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. ..@ subclasses:List of 7 [17:30:05.807] | : . .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:05.807] | : . .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:05.807] | : . .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:05.807] | : . .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr(0) [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 1 [17:30:05.807] | : . .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:05.807] | : . .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr "MethodWithNext" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:05.807] | : . .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.807] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ package : chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.807] | : . .. .. .. .. .. ..@ test :function (object) [17:30:05.807] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.807] | : . .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.807] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:05.807] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.807] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.807] | : . .. .. .. .. .. ..@ distance : num 2 [17:30:05.807] | : . .. .. ..@ versionKey: [17:30:05.807] | : . .. .. ..@ sealed : logi TRUE [17:30:05.807] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.807] | : . - attr(*, "where")=List of 2 [17:30:05.807] | : . ..$ ...future.FUN: [17:30:05.807] | : . ..$ ... : [17:30:05.807] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.807] | : . - attr(*, "resolved")= logi FALSE [17:30:05.807] | : . - attr(*, "total_size")= num 105373 [17:30:05.918] | : . Packages to be attached in all futures: [n=0] [17:30:05.919] | : getGlobalsAndPackagesXApply() ... done [17:30:05.920] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:05.921] | : List of 5 [17:30:05.921] | : $ ...future.FUN :function (a, b) [17:30:05.921] | : $ ... :List of 1 [17:30:05.921] | : ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [17:30:05.921] | : .. .. ..@ slots :List of 4 [17:30:05.921] | : .. .. .. ..$ .Data : chr "function" [17:30:05.921] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. ..$ target : chr "signature" [17:30:05.921] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. ..$ defined: chr "signature" [17:30:05.921] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. ..$ generic: chr "character" [17:30:05.921] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. ..@ contains :List of 4 [17:30:05.921] | : .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "function" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr(0) [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 1 [17:30:05.921] | : .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr "function" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 2 [17:30:05.921] | : .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr "function" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 2 [17:30:05.921] | : .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "optionalMethod" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr "function" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 3 [17:30:05.921] | : .. .. ..@ virtual : logi FALSE [17:30:05.921] | : .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [17:30:05.921] | : list() [17:30:05.921] | : .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [17:30:05.921] | : .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:05.921] | : .. .. .. .. .. .. ..@ names : chr(0) [17:30:05.921] | : .. .. .. .. .. .. ..@ package: chr(0) [17:30:05.921] | : .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [17:30:05.921] | : .. .. .. .. .. .. ..@ .Data : chr(0) [17:30:05.921] | : .. .. .. .. .. .. ..@ names : chr(0) [17:30:05.921] | : .. .. .. .. .. .. ..@ package: chr(0) [17:30:05.921] | : .. .. .. .. ..$ generic: chr(0) [17:30:05.921] | : .. .. ..@ validity : NULL [17:30:05.921] | : .. .. ..@ access : list() [17:30:05.921] | : .. .. ..@ className : chr "MethodDefinition" [17:30:05.921] | : .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. ..@ subclasses:List of 7 [17:30:05.921] | : .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr(0) [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 1 [17:30:05.921] | : .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr(0) [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 1 [17:30:05.921] | : .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr(0) [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 1 [17:30:05.921] | : .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr(0) [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 1 [17:30:05.921] | : .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 2 [17:30:05.921] | : .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr "MethodWithNext" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 2 [17:30:05.921] | : .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [17:30:05.921] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ package : chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [17:30:05.921] | : .. .. .. .. .. ..@ test :function (object) [17:30:05.921] | : .. .. .. .. .. ..@ replace :function (from, to, value) [17:30:05.921] | : .. .. .. .. .. ..@ simple : logi TRUE [17:30:05.921] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [17:30:05.921] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [17:30:05.921] | : .. .. .. .. .. ..@ dataPart : logi FALSE [17:30:05.921] | : .. .. .. .. .. ..@ distance : num 2 [17:30:05.921] | : .. .. ..@ versionKey: [17:30:05.921] | : .. .. ..@ sealed : logi TRUE [17:30:05.921] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:05.921] | : $ ...future.elements_ii : NULL [17:30:05.921] | : $ ...future.seeds_ii : NULL [17:30:05.921] | : $ ...future.globals.maxSize: NULL [17:30:05.921] | : - attr(*, "where")=List of 5 [17:30:05.921] | : ..$ ...future.FUN : [17:30:05.921] | : ..$ ... : [17:30:05.921] | : ..$ ...future.elements_ii : [17:30:05.921] | : ..$ ...future.seeds_ii : [17:30:05.921] | : ..$ ...future.globals.maxSize: [17:30:05.921] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:05.921] | : - attr(*, "resolved")= logi FALSE [17:30:05.921] | : - attr(*, "total_size")= num 105373 [17:30:06.058] | : Number of futures (= number of chunks): 1 [17:30:06.059] | : Launching 1 futures (chunks) ... [17:30:06.061] | : Chunk #1 of 1 ... [17:30:06.062] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.064] | : + additional globals found: [n=0] [17:30:06.065] | : + additional namespaces needed: [n=0] [17:30:06.066] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.067] | : - seeds: [17:30:06.069] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.076] | : Created future: [17:30:06.077] | : MultisessionFuture: [17:30:06.077] | : Label: 'future_lapply-1' [17:30:06.077] | : Expression: [17:30:06.077] | : { [17:30:06.077] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.077] | : "# expression in do.call(), because function called uses '...' " [17:30:06.077] | : "# as a global variable " [17:30:06.077] | : do.call(function(...) { [17:30:06.077] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.077] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.077] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.077] | : "# anonymous function. " [17:30:06.077] | : "# " [17:30:06.077] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.077] | : "# function environment of FUN() to the calling environment. " [17:30:06.077] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.077] | : "# global environment, which is where globals are written. " [17:30:06.077] | : penv <- env <- environment(...future.FUN) [17:30:06.077] | : repeat { [17:30:06.077] | : if (identical(env, globalenv()) || identical(env, [17:30:06.077] | : emptyenv())) [17:30:06.077] | : break [17:30:06.077] | : penv <- env [17:30:06.077] | : env <- parent.env(env) [17:30:06.077] | : } [17:30:06.077] | : if (identical(penv, globalenv())) { [17:30:06.077] | : environment(...future.FUN) <- environment() [17:30:06.077] | : } [17:30:06.077] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.077] | : !isNamespace(penv)) { [17:30:06.077] | : parent.env(penv) <- environment() [17:30:06.077] | : } [17:30:06.077] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.077] | : { [17:30:06.077] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.077] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.077] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.077] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.077] | : on.exit(options(oopts), add = TRUE) [17:30:06.077] | : } [17:30:06.077] | : { [17:30:06.077] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.077] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.077] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.077] | : { [17:30:06.077] | : ...future.FUN(...future.X_jj, ...) [17:30:06.077] | : } [17:30:06.077] | : }) [17:30:06.077] | : } [17:30:06.077] | : } [17:30:06.077] | : }, args = future.call.arguments) [17:30:06.077] | : } [17:30:06.077] | : Globals: 5 objects totaling 103.19 KiB (DotDotDotList 'future.call.arguments' of 50.30 KiB, function '...future.FUN' of 111 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.077] | : Packages: [17:30:06.077] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.077] | : Capture standard output: TRUE [17:30:06.077] | : Capture condition classes: 'condition' (excluding '') [17:30:06.077] | : Immediate condition classes: 'immediateCondition' [17:30:06.077] | : Lazy evaluation: FALSE [17:30:06.077] | : Local evaluation: TRUE [17:30:06.077] | : Early signaling: FALSE [17:30:06.077] | : Actions: [n=1] 'run' [17:30:06.077] | : State: 'running' ("Future is being evaluated") [17:30:06.077] | : Resolved: TRUE [17:30:06.077] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-23 [17:30:06.077] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.077] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.077] | : Value: [17:30:06.077] | : Conditions captured: [17:30:06.086] | : Chunk #1 of 1 ... DONE [17:30:06.088] | : Launching 1 futures (chunks) ... DONE [17:30:06.089] | : Resolving 1 futures (chunks) ... [17:30:06.091] | : - Number of value chunks collected: 1 [17:30:06.092] | : Resolving 1 futures (chunks) ... DONE [17:30:06.093] | : Reducing values from 1 chunks ... [17:30:06.095] | : - Number of values collected after concatenation: 1 [17:30:06.096] | : - Number of values expected: 1 [17:30:06.097] | : Reducing values from 1 chunks ... DONE [17:30:06.098] | future_lapply() -> future_xapply() ... done [17:30:06.099] future_lapply() ... done - lapply(X, ...) |> futurize() - 'X' containing globals ... List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 [17:30:06.106] future_lapply() ... [17:30:06.109] | Globals in FUN(): [n=0] [17:30:06.110] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.111] | future_lapply() -> future_xapply() ... [17:30:06.113] | : Number of chunks: 2 [17:30:06.114] | : getGlobalsAndPackagesXApply() ... [17:30:06.115] | : . future.globals: TRUE [17:30:06.126] | : . globals found/used: [n=1] 'FUN' [17:30:06.128] | : . needed namespaces: [n=0] [17:30:06.129] | : . use_args: TRUE [17:30:06.130] | : . Getting '...' globals ... [17:30:06.132] | : . ' '...' content: [n=0] [17:30:06.134] | : . ' List of 1 [17:30:06.134] | : . ' $ ...: list() [17:30:06.134] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.134] | : . ' - attr(*, "where")=List of 1 [17:30:06.134] | : . ' ..$ ...: [17:30:06.134] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.134] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.134] | : . ' - attr(*, "total_size")= num NA [17:30:06.141] | : . Getting '...' globals ... done [17:30:06.142] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:06.143] | : . List of 2 [17:30:06.143] | : . $ ...future.FUN:function (f) [17:30:06.143] | : . $ ... : list() [17:30:06.143] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.143] | : . - attr(*, "where")=List of 2 [17:30:06.143] | : . ..$ ...future.FUN: [17:30:06.143] | : . ..$ ... : [17:30:06.143] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.143] | : . - attr(*, "resolved")= logi FALSE [17:30:06.143] | : . - attr(*, "total_size")= num 4778 [17:30:06.151] | : . Packages to be attached in all futures: [n=0] [17:30:06.152] | : getGlobalsAndPackagesXApply() ... done [17:30:06.154] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.155] | : List of 5 [17:30:06.155] | : $ ...future.FUN :function (f) [17:30:06.155] | : $ ... : list() [17:30:06.155] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.155] | : $ ...future.elements_ii : NULL [17:30:06.155] | : $ ...future.seeds_ii : NULL [17:30:06.155] | : $ ...future.globals.maxSize: NULL [17:30:06.155] | : - attr(*, "where")=List of 5 [17:30:06.155] | : ..$ ...future.FUN : [17:30:06.155] | : ..$ ... : [17:30:06.155] | : ..$ ...future.elements_ii : [17:30:06.155] | : ..$ ...future.seeds_ii : [17:30:06.155] | : ..$ ...future.globals.maxSize: [17:30:06.155] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.155] | : - attr(*, "resolved")= logi FALSE [17:30:06.155] | : - attr(*, "total_size")= num 4778 [17:30:06.167] | : Number of futures (= number of chunks): 2 [17:30:06.169] | : Launching 2 futures (chunks) ... [17:30:06.170] | : Chunk #1 of 2 ... [17:30:06.171] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.207] | : + additional globals found: [n=2] 'a', 'b' [17:30:06.208] | : + additional namespaces needed: [n=0] [17:30:06.210] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.211] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.212] | : - seeds: [17:30:06.213] | : - All globals exported: [n=7] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize', 'a', 'b' [17:30:06.219] | : Created future: [17:30:06.220] | : MultisessionFuture: [17:30:06.220] | : Label: 'future_lapply-1' [17:30:06.220] | : Expression: [17:30:06.220] | : { [17:30:06.220] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.220] | : "# expression in do.call(), because function called uses '...' " [17:30:06.220] | : "# as a global variable " [17:30:06.220] | : do.call(function(...) { [17:30:06.220] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.220] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.220] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.220] | : "# anonymous function. " [17:30:06.220] | : "# " [17:30:06.220] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.220] | : "# function environment of FUN() to the calling environment. " [17:30:06.220] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.220] | : "# global environment, which is where globals are written. " [17:30:06.220] | : penv <- env <- environment(...future.FUN) [17:30:06.220] | : repeat { [17:30:06.220] | : if (identical(env, globalenv()) || identical(env, [17:30:06.220] | : emptyenv())) [17:30:06.220] | : break [17:30:06.220] | : penv <- env [17:30:06.220] | : env <- parent.env(env) [17:30:06.220] | : } [17:30:06.220] | : if (identical(penv, globalenv())) { [17:30:06.220] | : environment(...future.FUN) <- environment() [17:30:06.220] | : } [17:30:06.220] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.220] | : !isNamespace(penv)) { [17:30:06.220] | : parent.env(penv) <- environment() [17:30:06.220] | : } [17:30:06.220] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.220] | : { [17:30:06.220] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.220] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.220] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.220] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.220] | : on.exit(options(oopts), add = TRUE) [17:30:06.220] | : } [17:30:06.220] | : { [17:30:06.220] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.220] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.220] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.220] | : { [17:30:06.220] | : ...future.FUN(...future.X_jj, ...) [17:30:06.220] | : } [17:30:06.220] | : }) [17:30:06.220] | : } [17:30:06.220] | : } [17:30:06.220] | : }, args = future.call.arguments) [17:30:06.220] | : } [17:30:06.220] | : Globals: 7 objects totaling 5.54 KiB (list '...future.elements_ii' of 588 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, function '...future.FUN' of 68 bytes, numeric 'a' of 39 bytes, numeric 'b' of 39 bytes, ...) [17:30:06.220] | : Packages: [17:30:06.220] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.220] | : Capture standard output: TRUE [17:30:06.220] | : Capture condition classes: 'condition' (excluding '') [17:30:06.220] | : Immediate condition classes: 'immediateCondition' [17:30:06.220] | : Lazy evaluation: FALSE [17:30:06.220] | : Local evaluation: TRUE [17:30:06.220] | : Early signaling: FALSE [17:30:06.220] | : Actions: [n=1] 'run' [17:30:06.220] | : State: 'running' ("Future is being evaluated") [17:30:06.220] | : Resolved: TRUE [17:30:06.220] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-24 [17:30:06.220] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.220] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.220] | : Value: [17:30:06.220] | : Conditions captured: [17:30:06.229] | : Chunk #1 of 2 ... DONE [17:30:06.230] | : Chunk #2 of 2 ... [17:30:06.232] | : - Finding globals in 'X' for chunk #2 ... [17:30:06.264] | : + additional globals found: [n=2] 'a', 'b' [17:30:06.265] | : + additional namespaces needed: [n=0] [17:30:06.267] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:06.268] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.269] | : - seeds: [17:30:06.270] | : - All globals exported: [n=7] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize', 'a', 'b' [17:30:06.276] | : Created future: [17:30:06.277] | : MultisessionFuture: [17:30:06.277] | : Label: 'future_lapply-2' [17:30:06.277] | : Expression: [17:30:06.277] | : { [17:30:06.277] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.277] | : "# expression in do.call(), because function called uses '...' " [17:30:06.277] | : "# as a global variable " [17:30:06.277] | : do.call(function(...) { [17:30:06.277] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.277] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.277] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.277] | : "# anonymous function. " [17:30:06.277] | : "# " [17:30:06.277] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.277] | : "# function environment of FUN() to the calling environment. " [17:30:06.277] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.277] | : "# global environment, which is where globals are written. " [17:30:06.277] | : penv <- env <- environment(...future.FUN) [17:30:06.277] | : repeat { [17:30:06.277] | : if (identical(env, globalenv()) || identical(env, [17:30:06.277] | : emptyenv())) [17:30:06.277] | : break [17:30:06.277] | : penv <- env [17:30:06.277] | : env <- parent.env(env) [17:30:06.277] | : } [17:30:06.277] | : if (identical(penv, globalenv())) { [17:30:06.277] | : environment(...future.FUN) <- environment() [17:30:06.277] | : } [17:30:06.277] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.277] | : !isNamespace(penv)) { [17:30:06.277] | : parent.env(penv) <- environment() [17:30:06.277] | : } [17:30:06.277] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.277] | : { [17:30:06.277] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.277] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.277] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.277] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.277] | : on.exit(options(oopts), add = TRUE) [17:30:06.277] | : } [17:30:06.277] | : { [17:30:06.277] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.277] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.277] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.277] | : { [17:30:06.277] | : ...future.FUN(...future.X_jj, ...) [17:30:06.277] | : } [17:30:06.277] | : }) [17:30:06.277] | : } [17:30:06.277] | : } [17:30:06.277] | : }, args = future.call.arguments) [17:30:06.277] | : } [17:30:06.277] | : Globals: 7 objects totaling 5.99 KiB (list '...future.elements_ii' of 1.08 KiB, DotDotDotList 'future.call.arguments' of 97 bytes, function '...future.FUN' of 68 bytes, numeric 'a' of 39 bytes, numeric 'b' of 39 bytes, ...) [17:30:06.277] | : Packages: [17:30:06.277] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.277] | : Capture standard output: TRUE [17:30:06.277] | : Capture condition classes: 'condition' (excluding '') [17:30:06.277] | : Immediate condition classes: 'immediateCondition' [17:30:06.277] | : Lazy evaluation: FALSE [17:30:06.277] | : Local evaluation: TRUE [17:30:06.277] | : Early signaling: FALSE [17:30:06.277] | : Actions: [n=1] 'run' [17:30:06.277] | : State: 'running' ("Future is being evaluated") [17:30:06.277] | : Resolved: TRUE [17:30:06.277] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-25 [17:30:06.277] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.277] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.277] | : Value: [17:30:06.277] | : Conditions captured: [17:30:06.286] | : Chunk #2 of 2 ... DONE [17:30:06.287] | : Launching 2 futures (chunks) ... DONE [17:30:06.288] | : Resolving 2 futures (chunks) ... [17:30:06.291] | : - Number of value chunks collected: 2 [17:30:06.292] | : Resolving 2 futures (chunks) ... DONE [17:30:06.294] | : Reducing values from 2 chunks ... [17:30:06.295] | : - Number of values collected after concatenation: 4 [17:30:06.296] | : - Number of values expected: 4 [17:30:06.297] | : Reducing values from 2 chunks ... DONE [17:30:06.298] | future_lapply() -> future_xapply() ... done [17:30:06.299] future_lapply() ... done List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 - lapply(X, ...) |> futurize() - '{ a <- a + 1; a }' ... [17:30:06.305] future_lapply() ... [17:30:06.308] | Globals in FUN(): [n=4] '{', '<-', 'a', '+' [17:30:06.309] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.310] | future_lapply() -> future_xapply() ... [17:30:06.311] | : Number of chunks: 1 [17:30:06.312] | : getGlobalsAndPackagesXApply() ... [17:30:06.314] | : . future.globals: TRUE [17:30:06.333] | : . globals found/used: [n=2] 'FUN', 'a' [17:30:06.335] | : . needed namespaces: [n=0] [17:30:06.336] | : . use_args: TRUE [17:30:06.337] | : . Getting '...' globals ... [17:30:06.339] | : . ' '...' content: [n=0] [17:30:06.340] | : . ' List of 1 [17:30:06.340] | : . ' $ ...: list() [17:30:06.340] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.340] | : . ' - attr(*, "where")=List of 1 [17:30:06.340] | : . ' ..$ ...: [17:30:06.340] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.340] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.340] | : . ' - attr(*, "total_size")= num NA [17:30:06.345] | : . Getting '...' globals ... done [17:30:06.346] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [17:30:06.346] | : . List of 3 [17:30:06.346] | : . $ ...future.FUN:function (ii) [17:30:06.346] | : . $ a : num 1 [17:30:06.346] | : . $ ... : list() [17:30:06.346] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.346] | : . - attr(*, "where")=List of 3 [17:30:06.346] | : . ..$ ...future.FUN: [17:30:06.346] | : . ..$ a : [17:30:06.346] | : . ..$ ... : [17:30:06.346] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.346] | : . - attr(*, "resolved")= logi FALSE [17:30:06.346] | : . - attr(*, "total_size")= num 3499 [17:30:06.352] | : . Packages to be attached in all futures: [n=0] [17:30:06.353] | : getGlobalsAndPackagesXApply() ... done [17:30:06.354] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.355] | : List of 6 [17:30:06.355] | : $ ...future.FUN :function (ii) [17:30:06.355] | : $ a : num 1 [17:30:06.355] | : $ ... : list() [17:30:06.355] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.355] | : $ ...future.elements_ii : NULL [17:30:06.355] | : $ ...future.seeds_ii : NULL [17:30:06.355] | : $ ...future.globals.maxSize: NULL [17:30:06.355] | : - attr(*, "where")=List of 6 [17:30:06.355] | : ..$ ...future.FUN : [17:30:06.355] | : ..$ a : [17:30:06.355] | : ..$ ... : [17:30:06.355] | : ..$ ...future.elements_ii : [17:30:06.355] | : ..$ ...future.seeds_ii : [17:30:06.355] | : ..$ ...future.globals.maxSize: [17:30:06.355] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.355] | : - attr(*, "resolved")= logi FALSE [17:30:06.355] | : - attr(*, "total_size")= num 3499 [17:30:06.365] | : Number of futures (= number of chunks): 1 [17:30:06.366] | : Launching 1 futures (chunks) ... [17:30:06.367] | : Chunk #1 of 1 ... [17:30:06.368] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.370] | : + additional globals found: [n=0] [17:30:06.371] | : + additional namespaces needed: [n=0] [17:30:06.372] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.373] | : - seeds: [17:30:06.373] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.379] | : Created future: [17:30:06.380] | : MultisessionFuture: [17:30:06.380] | : Label: 'future_lapply-1' [17:30:06.380] | : Expression: [17:30:06.380] | : { [17:30:06.380] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.380] | : "# expression in do.call(), because function called uses '...' " [17:30:06.380] | : "# as a global variable " [17:30:06.380] | : do.call(function(...) { [17:30:06.380] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.380] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.380] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.380] | : "# anonymous function. " [17:30:06.380] | : "# " [17:30:06.380] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.380] | : "# function environment of FUN() to the calling environment. " [17:30:06.380] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.380] | : "# global environment, which is where globals are written. " [17:30:06.380] | : penv <- env <- environment(...future.FUN) [17:30:06.380] | : repeat { [17:30:06.380] | : if (identical(env, globalenv()) || identical(env, [17:30:06.380] | : emptyenv())) [17:30:06.380] | : break [17:30:06.380] | : penv <- env [17:30:06.380] | : env <- parent.env(env) [17:30:06.380] | : } [17:30:06.380] | : if (identical(penv, globalenv())) { [17:30:06.380] | : environment(...future.FUN) <- environment() [17:30:06.380] | : } [17:30:06.380] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.380] | : !isNamespace(penv)) { [17:30:06.380] | : parent.env(penv) <- environment() [17:30:06.380] | : } [17:30:06.380] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.380] | : { [17:30:06.380] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.380] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.380] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.380] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.380] | : on.exit(options(oopts), add = TRUE) [17:30:06.380] | : } [17:30:06.380] | : { [17:30:06.380] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.380] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.380] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.380] | : { [17:30:06.380] | : ...future.FUN(...future.X_jj, ...) [17:30:06.380] | : } [17:30:06.380] | : }) [17:30:06.380] | : } [17:30:06.380] | : } [17:30:06.380] | : }, args = future.call.arguments) [17:30:06.380] | : } [17:30:06.380] | : Globals: 6 objects totaling 3.69 KiB (function '...future.FUN' of 182 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:06.380] | : Packages: [17:30:06.380] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.380] | : Capture standard output: TRUE [17:30:06.380] | : Capture condition classes: 'condition' (excluding '') [17:30:06.380] | : Immediate condition classes: 'immediateCondition' [17:30:06.380] | : Lazy evaluation: FALSE [17:30:06.380] | : Local evaluation: TRUE [17:30:06.380] | : Early signaling: FALSE [17:30:06.380] | : Actions: [n=1] 'run' [17:30:06.380] | : State: 'running' ("Future is being evaluated") [17:30:06.380] | : Resolved: TRUE [17:30:06.380] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-26 [17:30:06.380] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.380] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.380] | : Value: [17:30:06.380] | : Conditions captured: [17:30:06.388] | : Chunk #1 of 1 ... DONE [17:30:06.390] | : Launching 1 futures (chunks) ... DONE [17:30:06.391] | : Resolving 1 futures (chunks) ... [17:30:06.393] | : - Number of value chunks collected: 1 [17:30:06.394] | : Resolving 1 futures (chunks) ... DONE [17:30:06.395] | : Reducing values from 1 chunks ... [17:30:06.396] | : - Number of values collected after concatenation: 1 [17:30:06.397] | : - Number of values expected: 1 [17:30:06.398] | : Reducing values from 1 chunks ... DONE [17:30:06.399] | future_lapply() -> future_xapply() ... done [17:30:06.400] future_lapply() ... done - lapply(X, ...) |> futurize() - '{ a; a <- a + 1 }' ... [17:30:06.406] future_lapply() ... [17:30:06.409] | Globals in FUN(): [n=4] '{', 'a', '<-', '+' [17:30:06.410] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.411] | future_lapply() -> future_xapply() ... [17:30:06.412] | : Number of chunks: 1 [17:30:06.413] | : getGlobalsAndPackagesXApply() ... [17:30:06.414] | : . future.globals: TRUE [17:30:06.429] | : . globals found/used: [n=2] 'FUN', 'a' [17:30:06.431] | : . needed namespaces: [n=0] [17:30:06.432] | : . use_args: TRUE [17:30:06.433] | : . Getting '...' globals ... [17:30:06.434] | : . ' '...' content: [n=0] [17:30:06.435] | : . ' List of 1 [17:30:06.435] | : . ' $ ...: list() [17:30:06.435] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.435] | : . ' - attr(*, "where")=List of 1 [17:30:06.435] | : . ' ..$ ...: [17:30:06.435] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.435] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.435] | : . ' - attr(*, "total_size")= num NA [17:30:06.441] | : . Getting '...' globals ... done [17:30:06.442] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [17:30:06.443] | : . List of 3 [17:30:06.443] | : . $ ...future.FUN:function (ii) [17:30:06.443] | : . $ a : num 1 [17:30:06.443] | : . $ ... : list() [17:30:06.443] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.443] | : . - attr(*, "where")=List of 3 [17:30:06.443] | : . ..$ ...future.FUN: [17:30:06.443] | : . ..$ a : [17:30:06.443] | : . ..$ ... : [17:30:06.443] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.443] | : . - attr(*, "resolved")= logi FALSE [17:30:06.443] | : . - attr(*, "total_size")= num 3499 [17:30:06.452] | : . Packages to be attached in all futures: [n=0] [17:30:06.453] | : getGlobalsAndPackagesXApply() ... done [17:30:06.454] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.454] | : List of 6 [17:30:06.454] | : $ ...future.FUN :function (ii) [17:30:06.454] | : $ a : num 1 [17:30:06.454] | : $ ... : list() [17:30:06.454] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.454] | : $ ...future.elements_ii : NULL [17:30:06.454] | : $ ...future.seeds_ii : NULL [17:30:06.454] | : $ ...future.globals.maxSize: NULL [17:30:06.454] | : - attr(*, "where")=List of 6 [17:30:06.454] | : ..$ ...future.FUN : [17:30:06.454] | : ..$ a : [17:30:06.454] | : ..$ ... : [17:30:06.454] | : ..$ ...future.elements_ii : [17:30:06.454] | : ..$ ...future.seeds_ii : [17:30:06.454] | : ..$ ...future.globals.maxSize: [17:30:06.454] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.454] | : - attr(*, "resolved")= logi FALSE [17:30:06.454] | : - attr(*, "total_size")= num 3499 [17:30:06.462] | : Number of futures (= number of chunks): 1 [17:30:06.463] | : Launching 1 futures (chunks) ... [17:30:06.463] | : Chunk #1 of 1 ... [17:30:06.464] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.465] | : + additional globals found: [n=0] [17:30:06.466] | : + additional namespaces needed: [n=0] [17:30:06.467] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.467] | : - seeds: [17:30:06.468] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.471] | : Created future: [17:30:06.472] | : MultisessionFuture: [17:30:06.472] | : Label: 'future_lapply-1' [17:30:06.472] | : Expression: [17:30:06.472] | : { [17:30:06.472] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.472] | : "# expression in do.call(), because function called uses '...' " [17:30:06.472] | : "# as a global variable " [17:30:06.472] | : do.call(function(...) { [17:30:06.472] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.472] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.472] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.472] | : "# anonymous function. " [17:30:06.472] | : "# " [17:30:06.472] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.472] | : "# function environment of FUN() to the calling environment. " [17:30:06.472] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.472] | : "# global environment, which is where globals are written. " [17:30:06.472] | : penv <- env <- environment(...future.FUN) [17:30:06.472] | : repeat { [17:30:06.472] | : if (identical(env, globalenv()) || identical(env, [17:30:06.472] | : emptyenv())) [17:30:06.472] | : break [17:30:06.472] | : penv <- env [17:30:06.472] | : env <- parent.env(env) [17:30:06.472] | : } [17:30:06.472] | : if (identical(penv, globalenv())) { [17:30:06.472] | : environment(...future.FUN) <- environment() [17:30:06.472] | : } [17:30:06.472] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.472] | : !isNamespace(penv)) { [17:30:06.472] | : parent.env(penv) <- environment() [17:30:06.472] | : } [17:30:06.472] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.472] | : { [17:30:06.472] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.472] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.472] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.472] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.472] | : on.exit(options(oopts), add = TRUE) [17:30:06.472] | : } [17:30:06.472] | : { [17:30:06.472] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.472] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.472] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.472] | : { [17:30:06.472] | : ...future.FUN(...future.X_jj, ...) [17:30:06.472] | : } [17:30:06.472] | : }) [17:30:06.472] | : } [17:30:06.472] | : } [17:30:06.472] | : }, args = future.call.arguments) [17:30:06.472] | : } [17:30:06.472] | : Globals: 6 objects totaling 3.69 KiB (function '...future.FUN' of 182 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:06.472] | : Packages: [17:30:06.472] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.472] | : Capture standard output: TRUE [17:30:06.472] | : Capture condition classes: 'condition' (excluding '') [17:30:06.472] | : Immediate condition classes: 'immediateCondition' [17:30:06.472] | : Lazy evaluation: FALSE [17:30:06.472] | : Local evaluation: TRUE [17:30:06.472] | : Early signaling: FALSE [17:30:06.472] | : Actions: [n=1] 'run' [17:30:06.472] | : State: 'running' ("Future is being evaluated") [17:30:06.472] | : Resolved: TRUE [17:30:06.472] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-27 [17:30:06.472] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.472] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.472] | : Value: [17:30:06.472] | : Conditions captured: [17:30:06.481] | : Chunk #1 of 1 ... DONE [17:30:06.482] | : Launching 1 futures (chunks) ... DONE [17:30:06.483] | : Resolving 1 futures (chunks) ... [17:30:06.484] | : - Number of value chunks collected: 1 [17:30:06.485] | : Resolving 1 futures (chunks) ... DONE [17:30:06.486] | : Reducing values from 1 chunks ... [17:30:06.487] | : - Number of values collected after concatenation: 1 [17:30:06.488] | : - Number of values expected: 1 [17:30:06.489] | : Reducing values from 1 chunks ... DONE [17:30:06.490] | future_lapply() -> future_xapply() ... done [17:30:06.491] future_lapply() ... done - lapply(..., future.globals = ) |> futurize() ... [17:30:06.493] future_lapply() ... [17:30:06.494] | Globals in FUN(): [n=1] 'a' [17:30:06.495] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.497] | future_lapply() -> future_xapply() ... [17:30:06.498] | : Number of chunks: 1 [17:30:06.499] | : getGlobalsAndPackagesXApply() ... [17:30:06.500] | : . future.globals: with names 'a' [17:30:06.501] | : . use_args: TRUE [17:30:06.502] | : . Getting '...' globals ... [17:30:06.504] | : . ' '...' content: [n=0] [17:30:06.505] | : . ' List of 1 [17:30:06.505] | : . ' $ ...: list() [17:30:06.505] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.505] | : . ' - attr(*, "where")=List of 1 [17:30:06.505] | : . ' ..$ ...: [17:30:06.505] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.505] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.505] | : . ' - attr(*, "total_size")= num NA [17:30:06.511] | : . Getting '...' globals ... done [17:30:06.512] | : . Globals to be used in all futures (chunks): [n=3] 'a', '...future.FUN', '...' [17:30:06.513] | : . List of 3 [17:30:06.513] | : . $ a : num 42 [17:30:06.513] | : . $ ...future.FUN:function (x) [17:30:06.513] | : . $ ... : list() [17:30:06.513] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.513] | : . - attr(*, "where")=List of 3 [17:30:06.513] | : . ..$ a : [17:30:06.513] | : . ..$ ...future.FUN: [17:30:06.513] | : . ..$ ... : [17:30:06.513] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.513] | : . - attr(*, "resolved")= logi FALSE [17:30:06.513] | : . - attr(*, "total_size")= num NA [17:30:06.520] | : . Packages to be attached in all futures: [n=0] [17:30:06.520] | : getGlobalsAndPackagesXApply() ... done [17:30:06.521] | : Globals pass to each chunk: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.522] | : List of 6 [17:30:06.522] | : $ a : num 42 [17:30:06.522] | : $ ...future.FUN :function (x) [17:30:06.522] | : $ ... : list() [17:30:06.522] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.522] | : $ ...future.elements_ii : NULL [17:30:06.522] | : $ ...future.seeds_ii : NULL [17:30:06.522] | : $ ...future.globals.maxSize: NULL [17:30:06.522] | : - attr(*, "where")=List of 6 [17:30:06.522] | : ..$ a : [17:30:06.522] | : ..$ ...future.FUN : [17:30:06.522] | : ..$ ... : [17:30:06.522] | : ..$ ...future.elements_ii : [17:30:06.522] | : ..$ ...future.seeds_ii : [17:30:06.522] | : ..$ ...future.globals.maxSize: [17:30:06.522] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.522] | : - attr(*, "resolved")= logi FALSE [17:30:06.522] | : - attr(*, "total_size")= num NA [17:30:06.532] | : Number of futures (= number of chunks): 1 [17:30:06.533] | : Launching 1 futures (chunks) ... [17:30:06.533] | : Chunk #1 of 1 ... [17:30:06.534] | : - seeds: [17:30:06.535] | : - All globals exported: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.538] | : Created future: [17:30:06.539] | : MultisessionFuture: [17:30:06.539] | : Label: 'future_lapply-1' [17:30:06.539] | : Expression: [17:30:06.539] | : { [17:30:06.539] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.539] | : "# expression in do.call(), because function called uses '...' " [17:30:06.539] | : "# as a global variable " [17:30:06.539] | : do.call(function(...) { [17:30:06.539] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.539] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.539] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.539] | : "# anonymous function. " [17:30:06.539] | : "# " [17:30:06.539] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.539] | : "# function environment of FUN() to the calling environment. " [17:30:06.539] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.539] | : "# global environment, which is where globals are written. " [17:30:06.539] | : penv <- env <- environment(...future.FUN) [17:30:06.539] | : repeat { [17:30:06.539] | : if (identical(env, globalenv()) || identical(env, [17:30:06.539] | : emptyenv())) [17:30:06.539] | : break [17:30:06.539] | : penv <- env [17:30:06.539] | : env <- parent.env(env) [17:30:06.539] | : } [17:30:06.539] | : if (identical(penv, globalenv())) { [17:30:06.539] | : environment(...future.FUN) <- environment() [17:30:06.539] | : } [17:30:06.539] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.539] | : !isNamespace(penv)) { [17:30:06.539] | : parent.env(penv) <- environment() [17:30:06.539] | : } [17:30:06.539] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.539] | : { [17:30:06.539] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.539] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.539] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.539] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.539] | : on.exit(options(oopts), add = TRUE) [17:30:06.539] | : } [17:30:06.539] | : { [17:30:06.539] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.539] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.539] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.539] | : { [17:30:06.539] | : ...future.FUN(...future.X_jj, ...) [17:30:06.539] | : } [17:30:06.539] | : }) [17:30:06.539] | : } [17:30:06.539] | : } [17:30:06.539] | : }, args = future.call.arguments) [17:30:06.539] | : } [17:30:06.539] | : Globals: 6 objects totaling 3.57 KiB (DotDotDotList 'future.call.arguments' of 97 bytes, function '...future.FUN' of 69 bytes, list '...future.elements_ii' of 47 bytes, numeric 'a' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes, ...) [17:30:06.539] | : Packages: [17:30:06.539] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.539] | : Capture standard output: TRUE [17:30:06.539] | : Capture condition classes: 'condition' (excluding '') [17:30:06.539] | : Immediate condition classes: 'immediateCondition' [17:30:06.539] | : Lazy evaluation: FALSE [17:30:06.539] | : Local evaluation: TRUE [17:30:06.539] | : Early signaling: FALSE [17:30:06.539] | : Actions: [n=1] 'run' [17:30:06.539] | : State: 'running' ("Future is being evaluated") [17:30:06.539] | : Resolved: TRUE [17:30:06.539] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-28 [17:30:06.539] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.539] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.539] | : Value: [17:30:06.539] | : Conditions captured: [17:30:06.545] | : Chunk #1 of 1 ... DONE [17:30:06.546] | : Launching 1 futures (chunks) ... DONE [17:30:06.547] | : Resolving 1 futures (chunks) ... [17:30:06.548] | : - Number of value chunks collected: 1 [17:30:06.549] | : Resolving 1 futures (chunks) ... DONE [17:30:06.549] | : Reducing values from 1 chunks ... [17:30:06.550] | : - Number of values collected after concatenation: 1 [17:30:06.550] | : - Number of values expected: 1 [17:30:06.551] | : Reducing values from 1 chunks ... DONE [17:30:06.551] | future_lapply() -> future_xapply() ... done [17:30:06.552] future_lapply() ... done List of 1 $ : num 42 *** future_lapply() - tricky globals ... DONE *** future_lapply() - missing arguments ... [17:30:06.555] future_lapply() ... [17:30:06.557] | Globals in FUN(): [n=0] [17:30:06.558] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.559] | future_lapply() -> future_xapply() ... [17:30:06.560] | : Number of chunks: 2 [17:30:06.561] | : getGlobalsAndPackagesXApply() ... [17:30:06.562] | : . future.globals: TRUE [17:30:06.571] | : . globals found/used: [n=1] 'FUN' [17:30:06.572] | : . needed namespaces: [n=0] [17:30:06.573] | : . use_args: TRUE [17:30:06.574] | : . Getting '...' globals ... [17:30:06.576] | : . ' '...' content: [n=0] [17:30:06.577] | : . ' List of 1 [17:30:06.577] | : . ' $ ...: list() [17:30:06.577] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.577] | : . ' - attr(*, "where")=List of 1 [17:30:06.577] | : . ' ..$ ...: [17:30:06.577] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.577] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.577] | : . ' - attr(*, "total_size")= num NA [17:30:06.588] | : . Getting '...' globals ... done [17:30:06.589] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:06.589] | : . List of 2 [17:30:06.589] | : . $ ...future.FUN:function (y) [17:30:06.589] | : . $ ... : list() [17:30:06.589] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.589] | : . - attr(*, "where")=List of 2 [17:30:06.589] | : . ..$ ...future.FUN: [17:30:06.589] | : . ..$ ... : [17:30:06.589] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.589] | : . - attr(*, "resolved")= logi FALSE [17:30:06.589] | : . - attr(*, "total_size")= num 3716 [17:30:06.596] | : . Packages to be attached in all futures: [n=0] [17:30:06.597] | : getGlobalsAndPackagesXApply() ... done [17:30:06.598] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.599] | : List of 5 [17:30:06.599] | : $ ...future.FUN :function (y) [17:30:06.599] | : $ ... : list() [17:30:06.599] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.599] | : $ ...future.elements_ii : NULL [17:30:06.599] | : $ ...future.seeds_ii : NULL [17:30:06.599] | : $ ...future.globals.maxSize: NULL [17:30:06.599] | : - attr(*, "where")=List of 5 [17:30:06.599] | : ..$ ...future.FUN : [17:30:06.599] | : ..$ ... : [17:30:06.599] | : ..$ ...future.elements_ii : [17:30:06.599] | : ..$ ...future.seeds_ii : [17:30:06.599] | : ..$ ...future.globals.maxSize: [17:30:06.599] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.599] | : - attr(*, "resolved")= logi FALSE [17:30:06.599] | : - attr(*, "total_size")= num 3716 [17:30:06.609] | : Number of futures (= number of chunks): 2 [17:30:06.610] | : Launching 2 futures (chunks) ... [17:30:06.611] | : Chunk #1 of 2 ... [17:30:06.612] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.613] | : + additional globals found: [n=0] [17:30:06.614] | : + additional namespaces needed: [n=0] [17:30:06.615] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.616] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.617] | : - seeds: [17:30:06.618] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.622] | : Created future: [17:30:06.623] | : MultisessionFuture: [17:30:06.623] | : Label: 'future_lapply-1' [17:30:06.623] | : Expression: [17:30:06.623] | : { [17:30:06.623] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.623] | : "# expression in do.call(), because function called uses '...' " [17:30:06.623] | : "# as a global variable " [17:30:06.623] | : do.call(function(...) { [17:30:06.623] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.623] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.623] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.623] | : "# anonymous function. " [17:30:06.623] | : "# " [17:30:06.623] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.623] | : "# function environment of FUN() to the calling environment. " [17:30:06.623] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.623] | : "# global environment, which is where globals are written. " [17:30:06.623] | : penv <- env <- environment(...future.FUN) [17:30:06.623] | : repeat { [17:30:06.623] | : if (identical(env, globalenv()) || identical(env, [17:30:06.623] | : emptyenv())) [17:30:06.623] | : break [17:30:06.623] | : penv <- env [17:30:06.623] | : env <- parent.env(env) [17:30:06.623] | : } [17:30:06.623] | : if (identical(penv, globalenv())) { [17:30:06.623] | : environment(...future.FUN) <- environment() [17:30:06.623] | : } [17:30:06.623] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.623] | : !isNamespace(penv)) { [17:30:06.623] | : parent.env(penv) <- environment() [17:30:06.623] | : } [17:30:06.623] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.623] | : { [17:30:06.623] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.623] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.623] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.623] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.623] | : on.exit(options(oopts), add = TRUE) [17:30:06.623] | : } [17:30:06.623] | : { [17:30:06.623] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.623] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.623] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.623] | : { [17:30:06.623] | : ...future.FUN(...future.X_jj, ...) [17:30:06.623] | : } [17:30:06.623] | : }) [17:30:06.623] | : } [17:30:06.623] | : } [17:30:06.623] | : }, args = future.call.arguments) [17:30:06.623] | : } [17:30:06.623] | : Globals: 5 objects totaling 3.71 KiB (function '...future.FUN' of 295 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.623] | : Packages: [17:30:06.623] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.623] | : Capture standard output: TRUE [17:30:06.623] | : Capture condition classes: 'condition' (excluding '') [17:30:06.623] | : Immediate condition classes: 'immediateCondition' [17:30:06.623] | : Lazy evaluation: FALSE [17:30:06.623] | : Local evaluation: TRUE [17:30:06.623] | : Early signaling: FALSE [17:30:06.623] | : Actions: [n=1] 'run' [17:30:06.623] | : State: 'running' ("Future is being evaluated") [17:30:06.623] | : Resolved: TRUE [17:30:06.623] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-29 [17:30:06.623] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.623] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.623] | : Value: [17:30:06.623] | : Conditions captured: [17:30:06.631] | : Chunk #1 of 2 ... DONE [17:30:06.632] | : Chunk #2 of 2 ... [17:30:06.632] | : - Finding globals in 'X' for chunk #2 ... [17:30:06.633] | : + additional globals found: [n=0] [17:30:06.634] | : + additional namespaces needed: [n=0] [17:30:06.635] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:06.636] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.636] | : - seeds: [17:30:06.637] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.640] | : Created future: [17:30:06.641] | : MultisessionFuture: [17:30:06.641] | : Label: 'future_lapply-2' [17:30:06.641] | : Expression: [17:30:06.641] | : { [17:30:06.641] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.641] | : "# expression in do.call(), because function called uses '...' " [17:30:06.641] | : "# as a global variable " [17:30:06.641] | : do.call(function(...) { [17:30:06.641] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.641] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.641] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.641] | : "# anonymous function. " [17:30:06.641] | : "# " [17:30:06.641] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.641] | : "# function environment of FUN() to the calling environment. " [17:30:06.641] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.641] | : "# global environment, which is where globals are written. " [17:30:06.641] | : penv <- env <- environment(...future.FUN) [17:30:06.641] | : repeat { [17:30:06.641] | : if (identical(env, globalenv()) || identical(env, [17:30:06.641] | : emptyenv())) [17:30:06.641] | : break [17:30:06.641] | : penv <- env [17:30:06.641] | : env <- parent.env(env) [17:30:06.641] | : } [17:30:06.641] | : if (identical(penv, globalenv())) { [17:30:06.641] | : environment(...future.FUN) <- environment() [17:30:06.641] | : } [17:30:06.641] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.641] | : !isNamespace(penv)) { [17:30:06.641] | : parent.env(penv) <- environment() [17:30:06.641] | : } [17:30:06.641] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.641] | : { [17:30:06.641] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.641] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.641] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.641] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.641] | : on.exit(options(oopts), add = TRUE) [17:30:06.641] | : } [17:30:06.641] | : { [17:30:06.641] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.641] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.641] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.641] | : { [17:30:06.641] | : ...future.FUN(...future.X_jj, ...) [17:30:06.641] | : } [17:30:06.641] | : }) [17:30:06.641] | : } [17:30:06.641] | : } [17:30:06.641] | : }, args = future.call.arguments) [17:30:06.641] | : } [17:30:06.641] | : Globals: 5 objects totaling 3.71 KiB (function '...future.FUN' of 295 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.641] | : Packages: [17:30:06.641] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.641] | : Capture standard output: TRUE [17:30:06.641] | : Capture condition classes: 'condition' (excluding '') [17:30:06.641] | : Immediate condition classes: 'immediateCondition' [17:30:06.641] | : Lazy evaluation: FALSE [17:30:06.641] | : Local evaluation: TRUE [17:30:06.641] | : Early signaling: FALSE [17:30:06.641] | : Actions: [n=1] 'run' [17:30:06.641] | : State: 'running' ("Future is being evaluated") [17:30:06.641] | : Resolved: TRUE [17:30:06.641] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-30 [17:30:06.641] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.641] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.641] | : Value: [17:30:06.641] | : Conditions captured: [17:30:06.649] | : Chunk #2 of 2 ... DONE [17:30:06.650] | : Launching 2 futures (chunks) ... DONE [17:30:06.651] | : Resolving 2 futures (chunks) ... [17:30:06.652] | : - Number of value chunks collected: 2 [17:30:06.653] | : Resolving 2 futures (chunks) ... DONE [17:30:06.654] | : Reducing values from 2 chunks ... [17:30:06.654] | : - Number of values collected after concatenation: 2 [17:30:06.655] | : - Number of values expected: 2 [17:30:06.656] | : Reducing values from 2 chunks ... DONE [17:30:06.656] | future_lapply() -> future_xapply() ... done [17:30:06.657] future_lapply() ... done *** future_lapply() - missing arguments ... DONE *** future_lapply() - false positives ... [17:30:06.659] future_lapply() ... [17:30:06.660] | Globals in FUN(): [n=0] [17:30:06.660] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.661] | future_lapply() -> future_xapply() ... [17:30:06.662] | : Number of chunks: 2 [17:30:06.663] | : getGlobalsAndPackagesXApply() ... [17:30:06.664] | : . future.globals: TRUE [17:30:06.672] | : . globals found/used: [n=1] 'FUN' [17:30:06.674] | : . needed namespaces: [n=0] [17:30:06.675] | : . use_args: TRUE [17:30:06.676] | : . Getting '...' globals ... [17:30:06.678] | : . ' '...' content: [n=0] [17:30:06.679] | : . ' List of 1 [17:30:06.679] | : . ' $ ...: list() [17:30:06.679] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.679] | : . ' - attr(*, "where")=List of 1 [17:30:06.679] | : . ' ..$ ...: [17:30:06.679] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.679] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.679] | : . ' - attr(*, "total_size")= num NA [17:30:06.685] | : . Getting '...' globals ... done [17:30:06.686] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:06.687] | : . List of 2 [17:30:06.687] | : . $ ...future.FUN:function (y) [17:30:06.687] | : . $ ... : list() [17:30:06.687] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.687] | : . - attr(*, "where")=List of 2 [17:30:06.687] | : . ..$ ...future.FUN: [17:30:06.687] | : . ..$ ... : [17:30:06.687] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.687] | : . - attr(*, "resolved")= logi FALSE [17:30:06.687] | : . - attr(*, "total_size")= num 3904 [17:30:06.692] | : . Packages to be attached in all futures: [n=0] [17:30:06.693] | : getGlobalsAndPackagesXApply() ... done [17:30:06.693] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.694] | : List of 5 [17:30:06.694] | : $ ...future.FUN :function (y) [17:30:06.694] | : $ ... : list() [17:30:06.694] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.694] | : $ ...future.elements_ii : NULL [17:30:06.694] | : $ ...future.seeds_ii : NULL [17:30:06.694] | : $ ...future.globals.maxSize: NULL [17:30:06.694] | : - attr(*, "where")=List of 5 [17:30:06.694] | : ..$ ...future.FUN : [17:30:06.694] | : ..$ ... : [17:30:06.694] | : ..$ ...future.elements_ii : [17:30:06.694] | : ..$ ...future.seeds_ii : [17:30:06.694] | : ..$ ...future.globals.maxSize: [17:30:06.694] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.694] | : - attr(*, "resolved")= logi FALSE [17:30:06.694] | : - attr(*, "total_size")= num 3904 [17:30:06.701] | : Number of futures (= number of chunks): 2 [17:30:06.702] | : Launching 2 futures (chunks) ... [17:30:06.703] | : Chunk #1 of 2 ... [17:30:06.703] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.704] | : + additional globals found: [n=0] [17:30:06.705] | : + additional namespaces needed: [n=0] [17:30:06.706] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.707] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.707] | : - seeds: [17:30:06.708] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.712] | : Created future: [17:30:06.713] | : MultisessionFuture: [17:30:06.713] | : Label: 'future_lapply-1' [17:30:06.713] | : Expression: [17:30:06.713] | : { [17:30:06.713] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.713] | : "# expression in do.call(), because function called uses '...' " [17:30:06.713] | : "# as a global variable " [17:30:06.713] | : do.call(function(...) { [17:30:06.713] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.713] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.713] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.713] | : "# anonymous function. " [17:30:06.713] | : "# " [17:30:06.713] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.713] | : "# function environment of FUN() to the calling environment. " [17:30:06.713] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.713] | : "# global environment, which is where globals are written. " [17:30:06.713] | : penv <- env <- environment(...future.FUN) [17:30:06.713] | : repeat { [17:30:06.713] | : if (identical(env, globalenv()) || identical(env, [17:30:06.713] | : emptyenv())) [17:30:06.713] | : break [17:30:06.713] | : penv <- env [17:30:06.713] | : env <- parent.env(env) [17:30:06.713] | : } [17:30:06.713] | : if (identical(penv, globalenv())) { [17:30:06.713] | : environment(...future.FUN) <- environment() [17:30:06.713] | : } [17:30:06.713] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.713] | : !isNamespace(penv)) { [17:30:06.713] | : parent.env(penv) <- environment() [17:30:06.713] | : } [17:30:06.713] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.713] | : { [17:30:06.713] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.713] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.713] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.713] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.713] | : on.exit(options(oopts), add = TRUE) [17:30:06.713] | : } [17:30:06.713] | : { [17:30:06.713] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.713] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.713] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.713] | : { [17:30:06.713] | : ...future.FUN(...future.X_jj, ...) [17:30:06.713] | : } [17:30:06.713] | : }) [17:30:06.713] | : } [17:30:06.713] | : } [17:30:06.713] | : }, args = future.call.arguments) [17:30:06.713] | : } [17:30:06.713] | : Globals: 5 objects totaling 3.80 KiB (function '...future.FUN' of 389 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.713] | : Packages: [17:30:06.713] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.713] | : Capture standard output: TRUE [17:30:06.713] | : Capture condition classes: 'condition' (excluding '') [17:30:06.713] | : Immediate condition classes: 'immediateCondition' [17:30:06.713] | : Lazy evaluation: FALSE [17:30:06.713] | : Local evaluation: TRUE [17:30:06.713] | : Early signaling: FALSE [17:30:06.713] | : Actions: [n=1] 'run' [17:30:06.713] | : State: 'running' ("Future is being evaluated") [17:30:06.713] | : Resolved: TRUE [17:30:06.713] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-31 [17:30:06.713] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.713] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.713] | : Value: [17:30:06.713] | : Conditions captured: [17:30:06.721] | : Chunk #1 of 2 ... DONE [17:30:06.722] | : Chunk #2 of 2 ... [17:30:06.723] | : - Finding globals in 'X' for chunk #2 ... [17:30:06.724] | : + additional globals found: [n=0] [17:30:06.725] | : + additional namespaces needed: [n=0] [17:30:06.727] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:06.728] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.729] | : - seeds: [17:30:06.730] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.734] | : Created future: [17:30:06.735] | : MultisessionFuture: [17:30:06.735] | : Label: 'future_lapply-2' [17:30:06.735] | : Expression: [17:30:06.735] | : { [17:30:06.735] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.735] | : "# expression in do.call(), because function called uses '...' " [17:30:06.735] | : "# as a global variable " [17:30:06.735] | : do.call(function(...) { [17:30:06.735] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.735] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.735] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.735] | : "# anonymous function. " [17:30:06.735] | : "# " [17:30:06.735] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.735] | : "# function environment of FUN() to the calling environment. " [17:30:06.735] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.735] | : "# global environment, which is where globals are written. " [17:30:06.735] | : penv <- env <- environment(...future.FUN) [17:30:06.735] | : repeat { [17:30:06.735] | : if (identical(env, globalenv()) || identical(env, [17:30:06.735] | : emptyenv())) [17:30:06.735] | : break [17:30:06.735] | : penv <- env [17:30:06.735] | : env <- parent.env(env) [17:30:06.735] | : } [17:30:06.735] | : if (identical(penv, globalenv())) { [17:30:06.735] | : environment(...future.FUN) <- environment() [17:30:06.735] | : } [17:30:06.735] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.735] | : !isNamespace(penv)) { [17:30:06.735] | : parent.env(penv) <- environment() [17:30:06.735] | : } [17:30:06.735] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.735] | : { [17:30:06.735] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.735] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.735] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.735] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.735] | : on.exit(options(oopts), add = TRUE) [17:30:06.735] | : } [17:30:06.735] | : { [17:30:06.735] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.735] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.735] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.735] | : { [17:30:06.735] | : ...future.FUN(...future.X_jj, ...) [17:30:06.735] | : } [17:30:06.735] | : }) [17:30:06.735] | : } [17:30:06.735] | : } [17:30:06.735] | : }, args = future.call.arguments) [17:30:06.735] | : } [17:30:06.735] | : Globals: 5 objects totaling 3.80 KiB (function '...future.FUN' of 389 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, list '...future.elements_ii' of 43 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.735] | : Packages: [17:30:06.735] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.735] | : Capture standard output: TRUE [17:30:06.735] | : Capture condition classes: 'condition' (excluding '') [17:30:06.735] | : Immediate condition classes: 'immediateCondition' [17:30:06.735] | : Lazy evaluation: FALSE [17:30:06.735] | : Local evaluation: TRUE [17:30:06.735] | : Early signaling: FALSE [17:30:06.735] | : Actions: [n=1] 'run' [17:30:06.735] | : State: 'running' ("Future is being evaluated") [17:30:06.735] | : Resolved: TRUE [17:30:06.735] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-32 [17:30:06.735] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.735] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.735] | : Value: [17:30:06.735] | : Conditions captured: [17:30:06.752] | : Chunk #2 of 2 ... DONE [17:30:06.753] | : Launching 2 futures (chunks) ... DONE [17:30:06.754] | : Resolving 2 futures (chunks) ... [17:30:06.756] | : - Number of value chunks collected: 2 [17:30:06.757] | : Resolving 2 futures (chunks) ... DONE [17:30:06.758] | : Reducing values from 2 chunks ... [17:30:06.759] | : - Number of values collected after concatenation: 2 [17:30:06.760] | : - Number of values expected: 2 [17:30:06.761] | : Reducing values from 2 chunks ... DONE [17:30:06.762] | future_lapply() -> future_xapply() ... done [17:30:06.763] future_lapply() ... done *** future_lapply() - false positives ... DONE *** future_lapply() - too large ... Baseline size of globals: 1.80 KiB - true positive ... [17:30:06.770] future_lapply() ... [17:30:06.771] | Globals in FUN(): [n=2] '{', 'getOption' [17:30:06.772] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.774] | future_lapply() -> future_xapply() ... [17:30:06.775] | : Number of chunks: 2 [17:30:06.776] | : getGlobalsAndPackagesXApply() ... [17:30:06.777] | : . future.globals: TRUE [17:30:06.796] | : getGlobalsAndPackagesXApply() ... done [17:30:06.797] | future_lapply() -> future_xapply() ... done [17:30:06.799] future_lapply() ... done [17:30:06.800] future_lapply() ... [17:30:06.803] | Globals in FUN(): [n=2] '{', 'getOption' [17:30:06.804] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.805] | future_lapply() -> future_xapply() ... [17:30:06.807] | : Number of chunks: 2 [17:30:06.808] | : getGlobalsAndPackagesXApply() ... [17:30:06.809] | : . future.globals: TRUE [17:30:06.825] | : . globals found/used: [n=1] 'FUN' [17:30:06.827] | : . needed namespaces: [n=0] [17:30:06.828] | : . use_args: TRUE [17:30:06.829] | : . Getting '...' globals ... [17:30:06.831] | : . ' '...' content: [n=0] [17:30:06.832] | : . ' List of 1 [17:30:06.832] | : . ' $ ...: list() [17:30:06.832] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.832] | : . ' - attr(*, "where")=List of 1 [17:30:06.832] | : . ' ..$ ...: [17:30:06.832] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.832] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.832] | : . ' - attr(*, "total_size")= num NA [17:30:06.837] | : . Getting '...' globals ... done [17:30:06.839] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:06.840] | : . List of 2 [17:30:06.840] | : . $ ...future.FUN:function (x) [17:30:06.840] | : . $ ... : list() [17:30:06.840] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.840] | : . - attr(*, "where")=List of 2 [17:30:06.840] | : . ..$ ...future.FUN: [17:30:06.840] | : . ..$ ... : [17:30:06.840] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.840] | : . - attr(*, "resolved")= logi FALSE [17:30:06.840] | : . - attr(*, "total_size")= num 4670 [17:30:06.846] | : . Packages to be attached in all futures: [n=0] [17:30:06.847] | : getGlobalsAndPackagesXApply() ... done [17:30:06.848] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.849] | : List of 5 [17:30:06.849] | : $ ...future.FUN :function (x) [17:30:06.849] | : $ ... : list() [17:30:06.849] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.849] | : $ ...future.elements_ii : NULL [17:30:06.849] | : $ ...future.seeds_ii : NULL [17:30:06.849] | : $ ...future.globals.maxSize: NULL [17:30:06.849] | : - attr(*, "where")=List of 5 [17:30:06.849] | : ..$ ...future.FUN : [17:30:06.849] | : ..$ ... : [17:30:06.849] | : ..$ ...future.elements_ii : [17:30:06.849] | : ..$ ...future.seeds_ii : [17:30:06.849] | : ..$ ...future.globals.maxSize: [17:30:06.849] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.849] | : - attr(*, "resolved")= logi FALSE [17:30:06.849] | : - attr(*, "total_size")= num 4670 [17:30:06.859] | : Number of futures (= number of chunks): 2 [17:30:06.860] | : Launching 2 futures (chunks) ... [17:30:06.861] | : Chunk #1 of 2 ... [17:30:06.862] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.864] | : + additional globals found: [n=0] [17:30:06.865] | : + additional namespaces needed: [n=0] [17:30:06.865] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.866] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.867] | : - seeds: [17:30:06.868] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.873] | : Created future: [17:30:06.874] | : MultisessionFuture: [17:30:06.874] | : Label: 'future_lapply-1' [17:30:06.874] | : Expression: [17:30:06.874] | : { [17:30:06.874] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.874] | : "# expression in do.call(), because function called uses '...' " [17:30:06.874] | : "# as a global variable " [17:30:06.874] | : do.call(function(...) { [17:30:06.874] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.874] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.874] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.874] | : "# anonymous function. " [17:30:06.874] | : "# " [17:30:06.874] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.874] | : "# function environment of FUN() to the calling environment. " [17:30:06.874] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.874] | : "# global environment, which is where globals are written. " [17:30:06.874] | : penv <- env <- environment(...future.FUN) [17:30:06.874] | : repeat { [17:30:06.874] | : if (identical(env, globalenv()) || identical(env, [17:30:06.874] | : emptyenv())) [17:30:06.874] | : break [17:30:06.874] | : penv <- env [17:30:06.874] | : env <- parent.env(env) [17:30:06.874] | : } [17:30:06.874] | : if (identical(penv, globalenv())) { [17:30:06.874] | : environment(...future.FUN) <- environment() [17:30:06.874] | : } [17:30:06.874] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.874] | : !isNamespace(penv)) { [17:30:06.874] | : parent.env(penv) <- environment() [17:30:06.874] | : } [17:30:06.874] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.874] | : { [17:30:06.874] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.874] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.874] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.874] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.874] | : on.exit(options(oopts), add = TRUE) [17:30:06.874] | : } [17:30:06.874] | : { [17:30:06.874] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.874] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.874] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.874] | : { [17:30:06.874] | : ...future.FUN(...future.X_jj, ...) [17:30:06.874] | : } [17:30:06.874] | : }) [17:30:06.874] | : } [17:30:06.874] | : } [17:30:06.874] | : }, args = future.call.arguments) [17:30:06.874] | : } [17:30:06.874] | : Globals: 5 objects totaling 5.19 KiB (list '...future.elements_ii' of 445 bytes, function '...future.FUN' of 407 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.874] | : Packages: [17:30:06.874] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.874] | : Capture standard output: TRUE [17:30:06.874] | : Capture condition classes: 'condition' (excluding '') [17:30:06.874] | : Immediate condition classes: 'immediateCondition' [17:30:06.874] | : Lazy evaluation: FALSE [17:30:06.874] | : Local evaluation: TRUE [17:30:06.874] | : Early signaling: FALSE [17:30:06.874] | : Actions: [n=1] 'run' [17:30:06.874] | : State: 'running' ("Future is being evaluated") [17:30:06.874] | : Resolved: TRUE [17:30:06.874] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-33 [17:30:06.874] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.874] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.874] | : Value: [17:30:06.874] | : Conditions captured: [17:30:06.882] | : Chunk #1 of 2 ... DONE [17:30:06.883] | : Chunk #2 of 2 ... [17:30:06.884] | : - Finding globals in 'X' for chunk #2 ... [17:30:06.886] | : + additional globals found: [n=0] [17:30:06.887] | : + additional namespaces needed: [n=0] [17:30:06.888] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:06.889] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [17:30:06.890] | : - seeds: [17:30:06.891] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.895] | : Created future: [17:30:06.896] | : MultisessionFuture: [17:30:06.896] | : Label: 'future_lapply-2' [17:30:06.896] | : Expression: [17:30:06.896] | : { [17:30:06.896] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:06.896] | : "# expression in do.call(), because function called uses '...' " [17:30:06.896] | : "# as a global variable " [17:30:06.896] | : do.call(function(...) { [17:30:06.896] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:06.896] | : "# without having an '...' argument. This means '...' is treated" [17:30:06.896] | : "# as a global variable. This may happen when FUN() is an " [17:30:06.896] | : "# anonymous function. " [17:30:06.896] | : "# " [17:30:06.896] | : "# If an anonymous function, we will make sure to restore the " [17:30:06.896] | : "# function environment of FUN() to the calling environment. " [17:30:06.896] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:06.896] | : "# global environment, which is where globals are written. " [17:30:06.896] | : penv <- env <- environment(...future.FUN) [17:30:06.896] | : repeat { [17:30:06.896] | : if (identical(env, globalenv()) || identical(env, [17:30:06.896] | : emptyenv())) [17:30:06.896] | : break [17:30:06.896] | : penv <- env [17:30:06.896] | : env <- parent.env(env) [17:30:06.896] | : } [17:30:06.896] | : if (identical(penv, globalenv())) { [17:30:06.896] | : environment(...future.FUN) <- environment() [17:30:06.896] | : } [17:30:06.896] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:06.896] | : !isNamespace(penv)) { [17:30:06.896] | : parent.env(penv) <- environment() [17:30:06.896] | : } [17:30:06.896] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:06.896] | : { [17:30:06.896] | : "# future.apply:::future_xapply(): preserve future option" [17:30:06.896] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:06.896] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:06.896] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:06.896] | : on.exit(options(oopts), add = TRUE) [17:30:06.896] | : } [17:30:06.896] | : { [17:30:06.896] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:06.896] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:06.896] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:06.896] | : { [17:30:06.896] | : ...future.FUN(...future.X_jj, ...) [17:30:06.896] | : } [17:30:06.896] | : }) [17:30:06.896] | : } [17:30:06.896] | : } [17:30:06.896] | : }, args = future.call.arguments) [17:30:06.896] | : } [17:30:06.896] | : Globals: 5 objects totaling 5.19 KiB (list '...future.elements_ii' of 445 bytes, function '...future.FUN' of 407 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, NULL '...future.seeds_ii' of 27 bytes, NULL '...future.globals.maxSize' of 27 bytes) [17:30:06.896] | : Packages: [17:30:06.896] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:06.896] | : Capture standard output: TRUE [17:30:06.896] | : Capture condition classes: 'condition' (excluding '') [17:30:06.896] | : Immediate condition classes: 'immediateCondition' [17:30:06.896] | : Lazy evaluation: FALSE [17:30:06.896] | : Local evaluation: TRUE [17:30:06.896] | : Early signaling: FALSE [17:30:06.896] | : Actions: [n=1] 'run' [17:30:06.896] | : State: 'running' ("Future is being evaluated") [17:30:06.896] | : Resolved: TRUE [17:30:06.896] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-34 [17:30:06.896] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:06.896] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:06.896] | : Value: [17:30:06.896] | : Conditions captured: [17:30:06.906] | : Chunk #2 of 2 ... DONE [17:30:06.907] | : Launching 2 futures (chunks) ... DONE [17:30:06.908] | : Resolving 2 futures (chunks) ... [17:30:06.910] | : - Number of value chunks collected: 2 [17:30:06.911] | : Resolving 2 futures (chunks) ... DONE [17:30:06.912] | : Reducing values from 2 chunks ... [17:30:06.913] | : - Number of values collected after concatenation: 10 [17:30:06.914] | : - Number of values expected: 10 [17:30:06.915] | : Reducing values from 2 chunks ... DONE [17:30:06.916] | future_lapply() -> future_xapply() ... done [17:30:06.917] future_lapply() ... done List of 10 $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL - approximately invariant to chunk size ... [17:30:06.933] future_lapply() ... [17:30:06.934] | Globals in FUN(): [n=2] '{', 'getOption' [17:30:06.935] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:06.936] | future_lapply() -> future_xapply() ... [17:30:06.938] | : Number of chunks: 10 [17:30:06.939] | : getGlobalsAndPackagesXApply() ... [17:30:06.940] | : . future.globals: TRUE [17:30:06.952] | : . globals found/used: [n=1] 'FUN' [17:30:06.954] | : . needed namespaces: [n=0] [17:30:06.955] | : . use_args: TRUE [17:30:06.956] | : . Getting '...' globals ... [17:30:06.958] | : . ' '...' content: [n=0] [17:30:06.959] | : . ' List of 1 [17:30:06.959] | : . ' $ ...: list() [17:30:06.959] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.959] | : . ' - attr(*, "where")=List of 1 [17:30:06.959] | : . ' ..$ ...: [17:30:06.959] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.959] | : . ' - attr(*, "resolved")= logi TRUE [17:30:06.959] | : . ' - attr(*, "total_size")= num NA [17:30:06.965] | : . Getting '...' globals ... done [17:30:06.966] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:06.967] | : . List of 2 [17:30:06.967] | : . $ ...future.FUN:function (x) [17:30:06.967] | : . $ ... : list() [17:30:06.967] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.967] | : . - attr(*, "where")=List of 2 [17:30:06.967] | : . ..$ ...future.FUN: [17:30:06.967] | : . ..$ ... : [17:30:06.967] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.967] | : . - attr(*, "resolved")= logi FALSE [17:30:06.967] | : . - attr(*, "total_size")= num 4686 [17:30:06.973] | : . Packages to be attached in all futures: [n=0] [17:30:06.974] | : getGlobalsAndPackagesXApply() ... done [17:30:06.976] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:06.977] | : List of 5 [17:30:06.977] | : $ ...future.FUN :function (x) [17:30:06.977] | : $ ... : list() [17:30:06.977] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:06.977] | : $ ...future.elements_ii : NULL [17:30:06.977] | : $ ...future.seeds_ii : NULL [17:30:06.977] | : $ ...future.globals.maxSize: NULL [17:30:06.977] | : - attr(*, "where")=List of 5 [17:30:06.977] | : ..$ ...future.FUN : [17:30:06.977] | : ..$ ... : [17:30:06.977] | : ..$ ...future.elements_ii : [17:30:06.977] | : ..$ ...future.seeds_ii : [17:30:06.977] | : ..$ ...future.globals.maxSize: [17:30:06.977] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:06.977] | : - attr(*, "resolved")= logi FALSE [17:30:06.977] | : - attr(*, "total_size")= num 4686 [17:30:06.991] | : Number of futures (= number of chunks): 10 [17:30:06.992] | : Launching 10 futures (chunks) ... [17:30:06.993] | : Chunk #1 of 10 ... [17:30:06.994] | : - Finding globals in 'X' for chunk #1 ... [17:30:06.996] | : + additional globals found: [n=0] [17:30:06.997] | : + additional namespaces needed: [n=0] [17:30:06.997] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:06.999] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.000] | : - seeds: [17:30:07.000] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.006] | : Created future: [17:30:07.007] | : MultisessionFuture: [17:30:07.007] | : Label: 'future_lapply-1' [17:30:07.007] | : Expression: [17:30:07.007] | : { [17:30:07.007] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.007] | : "# expression in do.call(), because function called uses '...' " [17:30:07.007] | : "# as a global variable " [17:30:07.007] | : do.call(function(...) { [17:30:07.007] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.007] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.007] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.007] | : "# anonymous function. " [17:30:07.007] | : "# " [17:30:07.007] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.007] | : "# function environment of FUN() to the calling environment. " [17:30:07.007] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.007] | : "# global environment, which is where globals are written. " [17:30:07.007] | : penv <- env <- environment(...future.FUN) [17:30:07.007] | : repeat { [17:30:07.007] | : if (identical(env, globalenv()) || identical(env, [17:30:07.007] | : emptyenv())) [17:30:07.007] | : break [17:30:07.007] | : penv <- env [17:30:07.007] | : env <- parent.env(env) [17:30:07.007] | : } [17:30:07.007] | : if (identical(penv, globalenv())) { [17:30:07.007] | : environment(...future.FUN) <- environment() [17:30:07.007] | : } [17:30:07.007] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.007] | : !isNamespace(penv)) { [17:30:07.007] | : parent.env(penv) <- environment() [17:30:07.007] | : } [17:30:07.007] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.007] | : { [17:30:07.007] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.007] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.007] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.007] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.007] | : on.exit(options(oopts), add = TRUE) [17:30:07.007] | : } [17:30:07.007] | : { [17:30:07.007] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.007] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.007] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.007] | : { [17:30:07.007] | : ...future.FUN(...future.X_jj, ...) [17:30:07.007] | : } [17:30:07.007] | : }) [17:30:07.007] | : } [17:30:07.007] | : } [17:30:07.007] | : }, args = future.call.arguments) [17:30:07.007] | : } [17:30:07.007] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.007] | : Packages: [17:30:07.007] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.007] | : Capture standard output: TRUE [17:30:07.007] | : Capture condition classes: 'condition' (excluding '') [17:30:07.007] | : Immediate condition classes: 'immediateCondition' [17:30:07.007] | : Lazy evaluation: FALSE [17:30:07.007] | : Local evaluation: TRUE [17:30:07.007] | : Early signaling: FALSE [17:30:07.007] | : Actions: [n=1] 'run' [17:30:07.007] | : State: 'running' ("Future is being evaluated") [17:30:07.007] | : Resolved: TRUE [17:30:07.007] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-35 [17:30:07.007] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.007] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.007] | : Value: [17:30:07.007] | : Conditions captured: [17:30:07.014] | : Chunk #1 of 10 ... DONE [17:30:07.015] | : Chunk #2 of 10 ... [17:30:07.017] | : - Finding globals in 'X' for chunk #2 ... [17:30:07.018] | : + additional globals found: [n=0] [17:30:07.019] | : + additional namespaces needed: [n=0] [17:30:07.020] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:07.021] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.022] | : - seeds: [17:30:07.023] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.028] | : Created future: [17:30:07.030] | : MultisessionFuture: [17:30:07.030] | : Label: 'future_lapply-2' [17:30:07.030] | : Expression: [17:30:07.030] | : { [17:30:07.030] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.030] | : "# expression in do.call(), because function called uses '...' " [17:30:07.030] | : "# as a global variable " [17:30:07.030] | : do.call(function(...) { [17:30:07.030] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.030] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.030] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.030] | : "# anonymous function. " [17:30:07.030] | : "# " [17:30:07.030] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.030] | : "# function environment of FUN() to the calling environment. " [17:30:07.030] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.030] | : "# global environment, which is where globals are written. " [17:30:07.030] | : penv <- env <- environment(...future.FUN) [17:30:07.030] | : repeat { [17:30:07.030] | : if (identical(env, globalenv()) || identical(env, [17:30:07.030] | : emptyenv())) [17:30:07.030] | : break [17:30:07.030] | : penv <- env [17:30:07.030] | : env <- parent.env(env) [17:30:07.030] | : } [17:30:07.030] | : if (identical(penv, globalenv())) { [17:30:07.030] | : environment(...future.FUN) <- environment() [17:30:07.030] | : } [17:30:07.030] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.030] | : !isNamespace(penv)) { [17:30:07.030] | : parent.env(penv) <- environment() [17:30:07.030] | : } [17:30:07.030] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.030] | : { [17:30:07.030] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.030] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.030] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.030] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.030] | : on.exit(options(oopts), add = TRUE) [17:30:07.030] | : } [17:30:07.030] | : { [17:30:07.030] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.030] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.030] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.030] | : { [17:30:07.030] | : ...future.FUN(...future.X_jj, ...) [17:30:07.030] | : } [17:30:07.030] | : }) [17:30:07.030] | : } [17:30:07.030] | : } [17:30:07.030] | : }, args = future.call.arguments) [17:30:07.030] | : } [17:30:07.030] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.030] | : Packages: [17:30:07.030] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.030] | : Capture standard output: TRUE [17:30:07.030] | : Capture condition classes: 'condition' (excluding '') [17:30:07.030] | : Immediate condition classes: 'immediateCondition' [17:30:07.030] | : Lazy evaluation: FALSE [17:30:07.030] | : Local evaluation: TRUE [17:30:07.030] | : Early signaling: FALSE [17:30:07.030] | : Actions: [n=1] 'run' [17:30:07.030] | : State: 'running' ("Future is being evaluated") [17:30:07.030] | : Resolved: TRUE [17:30:07.030] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-36 [17:30:07.030] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.030] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.030] | : Value: [17:30:07.030] | : Conditions captured: [17:30:07.037] | : Chunk #2 of 10 ... DONE [17:30:07.038] | : Chunk #3 of 10 ... [17:30:07.039] | : - Finding globals in 'X' for chunk #3 ... [17:30:07.041] | : + additional globals found: [n=0] [17:30:07.042] | : + additional namespaces needed: [n=0] [17:30:07.043] | : - Finding globals in 'X' for chunk #3 ... DONE [17:30:07.044] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.045] | : - seeds: [17:30:07.046] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.050] | : Created future: [17:30:07.051] | : MultisessionFuture: [17:30:07.051] | : Label: 'future_lapply-3' [17:30:07.051] | : Expression: [17:30:07.051] | : { [17:30:07.051] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.051] | : "# expression in do.call(), because function called uses '...' " [17:30:07.051] | : "# as a global variable " [17:30:07.051] | : do.call(function(...) { [17:30:07.051] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.051] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.051] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.051] | : "# anonymous function. " [17:30:07.051] | : "# " [17:30:07.051] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.051] | : "# function environment of FUN() to the calling environment. " [17:30:07.051] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.051] | : "# global environment, which is where globals are written. " [17:30:07.051] | : penv <- env <- environment(...future.FUN) [17:30:07.051] | : repeat { [17:30:07.051] | : if (identical(env, globalenv()) || identical(env, [17:30:07.051] | : emptyenv())) [17:30:07.051] | : break [17:30:07.051] | : penv <- env [17:30:07.051] | : env <- parent.env(env) [17:30:07.051] | : } [17:30:07.051] | : if (identical(penv, globalenv())) { [17:30:07.051] | : environment(...future.FUN) <- environment() [17:30:07.051] | : } [17:30:07.051] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.051] | : !isNamespace(penv)) { [17:30:07.051] | : parent.env(penv) <- environment() [17:30:07.051] | : } [17:30:07.051] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.051] | : { [17:30:07.051] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.051] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.051] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.051] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.051] | : on.exit(options(oopts), add = TRUE) [17:30:07.051] | : } [17:30:07.051] | : { [17:30:07.051] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.051] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.051] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.051] | : { [17:30:07.051] | : ...future.FUN(...future.X_jj, ...) [17:30:07.051] | : } [17:30:07.051] | : }) [17:30:07.051] | : } [17:30:07.051] | : } [17:30:07.051] | : }, args = future.call.arguments) [17:30:07.051] | : } [17:30:07.051] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.051] | : Packages: [17:30:07.051] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.051] | : Capture standard output: TRUE [17:30:07.051] | : Capture condition classes: 'condition' (excluding '') [17:30:07.051] | : Immediate condition classes: 'immediateCondition' [17:30:07.051] | : Lazy evaluation: FALSE [17:30:07.051] | : Local evaluation: TRUE [17:30:07.051] | : Early signaling: FALSE [17:30:07.051] | : Actions: [n=1] 'run' [17:30:07.051] | : State: 'running' ("Future is being evaluated") [17:30:07.051] | : Resolved: TRUE [17:30:07.051] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-37 [17:30:07.051] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.051] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.051] | : Value: [17:30:07.051] | : Conditions captured: [17:30:07.058] | : Chunk #3 of 10 ... DONE [17:30:07.059] | : Chunk #4 of 10 ... [17:30:07.060] | : - Finding globals in 'X' for chunk #4 ... [17:30:07.061] | : + additional globals found: [n=0] [17:30:07.062] | : + additional namespaces needed: [n=0] [17:30:07.062] | : - Finding globals in 'X' for chunk #4 ... DONE [17:30:07.063] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.064] | : - seeds: [17:30:07.065] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.068] | : Created future: [17:30:07.069] | : MultisessionFuture: [17:30:07.069] | : Label: 'future_lapply-4' [17:30:07.069] | : Expression: [17:30:07.069] | : { [17:30:07.069] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.069] | : "# expression in do.call(), because function called uses '...' " [17:30:07.069] | : "# as a global variable " [17:30:07.069] | : do.call(function(...) { [17:30:07.069] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.069] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.069] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.069] | : "# anonymous function. " [17:30:07.069] | : "# " [17:30:07.069] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.069] | : "# function environment of FUN() to the calling environment. " [17:30:07.069] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.069] | : "# global environment, which is where globals are written. " [17:30:07.069] | : penv <- env <- environment(...future.FUN) [17:30:07.069] | : repeat { [17:30:07.069] | : if (identical(env, globalenv()) || identical(env, [17:30:07.069] | : emptyenv())) [17:30:07.069] | : break [17:30:07.069] | : penv <- env [17:30:07.069] | : env <- parent.env(env) [17:30:07.069] | : } [17:30:07.069] | : if (identical(penv, globalenv())) { [17:30:07.069] | : environment(...future.FUN) <- environment() [17:30:07.069] | : } [17:30:07.069] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.069] | : !isNamespace(penv)) { [17:30:07.069] | : parent.env(penv) <- environment() [17:30:07.069] | : } [17:30:07.069] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.069] | : { [17:30:07.069] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.069] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.069] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.069] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.069] | : on.exit(options(oopts), add = TRUE) [17:30:07.069] | : } [17:30:07.069] | : { [17:30:07.069] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.069] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.069] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.069] | : { [17:30:07.069] | : ...future.FUN(...future.X_jj, ...) [17:30:07.069] | : } [17:30:07.069] | : }) [17:30:07.069] | : } [17:30:07.069] | : } [17:30:07.069] | : }, args = future.call.arguments) [17:30:07.069] | : } [17:30:07.069] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.069] | : Packages: [17:30:07.069] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.069] | : Capture standard output: TRUE [17:30:07.069] | : Capture condition classes: 'condition' (excluding '') [17:30:07.069] | : Immediate condition classes: 'immediateCondition' [17:30:07.069] | : Lazy evaluation: FALSE [17:30:07.069] | : Local evaluation: TRUE [17:30:07.069] | : Early signaling: FALSE [17:30:07.069] | : Actions: [n=1] 'run' [17:30:07.069] | : State: 'running' ("Future is being evaluated") [17:30:07.069] | : Resolved: TRUE [17:30:07.069] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-38 [17:30:07.069] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.069] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.069] | : Value: [17:30:07.069] | : Conditions captured: [17:30:07.082] | : Chunk #4 of 10 ... DONE [17:30:07.084] | : Chunk #5 of 10 ... [17:30:07.085] | : - Finding globals in 'X' for chunk #5 ... [17:30:07.086] | : + additional globals found: [n=0] [17:30:07.088] | : + additional namespaces needed: [n=0] [17:30:07.089] | : - Finding globals in 'X' for chunk #5 ... DONE [17:30:07.090] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.091] | : - seeds: [17:30:07.092] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.097] | : Created future: [17:30:07.098] | : MultisessionFuture: [17:30:07.098] | : Label: 'future_lapply-5' [17:30:07.098] | : Expression: [17:30:07.098] | : { [17:30:07.098] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.098] | : "# expression in do.call(), because function called uses '...' " [17:30:07.098] | : "# as a global variable " [17:30:07.098] | : do.call(function(...) { [17:30:07.098] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.098] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.098] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.098] | : "# anonymous function. " [17:30:07.098] | : "# " [17:30:07.098] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.098] | : "# function environment of FUN() to the calling environment. " [17:30:07.098] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.098] | : "# global environment, which is where globals are written. " [17:30:07.098] | : penv <- env <- environment(...future.FUN) [17:30:07.098] | : repeat { [17:30:07.098] | : if (identical(env, globalenv()) || identical(env, [17:30:07.098] | : emptyenv())) [17:30:07.098] | : break [17:30:07.098] | : penv <- env [17:30:07.098] | : env <- parent.env(env) [17:30:07.098] | : } [17:30:07.098] | : if (identical(penv, globalenv())) { [17:30:07.098] | : environment(...future.FUN) <- environment() [17:30:07.098] | : } [17:30:07.098] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.098] | : !isNamespace(penv)) { [17:30:07.098] | : parent.env(penv) <- environment() [17:30:07.098] | : } [17:30:07.098] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.098] | : { [17:30:07.098] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.098] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.098] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.098] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.098] | : on.exit(options(oopts), add = TRUE) [17:30:07.098] | : } [17:30:07.098] | : { [17:30:07.098] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.098] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.098] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.098] | : { [17:30:07.098] | : ...future.FUN(...future.X_jj, ...) [17:30:07.098] | : } [17:30:07.098] | : }) [17:30:07.098] | : } [17:30:07.098] | : } [17:30:07.098] | : }, args = future.call.arguments) [17:30:07.098] | : } [17:30:07.098] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.098] | : Packages: [17:30:07.098] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.098] | : Capture standard output: TRUE [17:30:07.098] | : Capture condition classes: 'condition' (excluding '') [17:30:07.098] | : Immediate condition classes: 'immediateCondition' [17:30:07.098] | : Lazy evaluation: FALSE [17:30:07.098] | : Local evaluation: TRUE [17:30:07.098] | : Early signaling: FALSE [17:30:07.098] | : Actions: [n=1] 'run' [17:30:07.098] | : State: 'running' ("Future is being evaluated") [17:30:07.098] | : Resolved: TRUE [17:30:07.098] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-39 [17:30:07.098] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.098] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.098] | : Value: [17:30:07.098] | : Conditions captured: [17:30:07.106] | : Chunk #5 of 10 ... DONE [17:30:07.108] | : Chunk #6 of 10 ... [17:30:07.109] | : - Finding globals in 'X' for chunk #6 ... [17:30:07.111] | : + additional globals found: [n=0] [17:30:07.112] | : + additional namespaces needed: [n=0] [17:30:07.113] | : - Finding globals in 'X' for chunk #6 ... DONE [17:30:07.114] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.115] | : - seeds: [17:30:07.116] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.122] | : Created future: [17:30:07.123] | : MultisessionFuture: [17:30:07.123] | : Label: 'future_lapply-6' [17:30:07.123] | : Expression: [17:30:07.123] | : { [17:30:07.123] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.123] | : "# expression in do.call(), because function called uses '...' " [17:30:07.123] | : "# as a global variable " [17:30:07.123] | : do.call(function(...) { [17:30:07.123] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.123] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.123] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.123] | : "# anonymous function. " [17:30:07.123] | : "# " [17:30:07.123] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.123] | : "# function environment of FUN() to the calling environment. " [17:30:07.123] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.123] | : "# global environment, which is where globals are written. " [17:30:07.123] | : penv <- env <- environment(...future.FUN) [17:30:07.123] | : repeat { [17:30:07.123] | : if (identical(env, globalenv()) || identical(env, [17:30:07.123] | : emptyenv())) [17:30:07.123] | : break [17:30:07.123] | : penv <- env [17:30:07.123] | : env <- parent.env(env) [17:30:07.123] | : } [17:30:07.123] | : if (identical(penv, globalenv())) { [17:30:07.123] | : environment(...future.FUN) <- environment() [17:30:07.123] | : } [17:30:07.123] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.123] | : !isNamespace(penv)) { [17:30:07.123] | : parent.env(penv) <- environment() [17:30:07.123] | : } [17:30:07.123] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.123] | : { [17:30:07.123] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.123] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.123] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.123] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.123] | : on.exit(options(oopts), add = TRUE) [17:30:07.123] | : } [17:30:07.123] | : { [17:30:07.123] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.123] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.123] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.123] | : { [17:30:07.123] | : ...future.FUN(...future.X_jj, ...) [17:30:07.123] | : } [17:30:07.123] | : }) [17:30:07.123] | : } [17:30:07.123] | : } [17:30:07.123] | : }, args = future.call.arguments) [17:30:07.123] | : } [17:30:07.123] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.123] | : Packages: [17:30:07.123] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.123] | : Capture standard output: TRUE [17:30:07.123] | : Capture condition classes: 'condition' (excluding '') [17:30:07.123] | : Immediate condition classes: 'immediateCondition' [17:30:07.123] | : Lazy evaluation: FALSE [17:30:07.123] | : Local evaluation: TRUE [17:30:07.123] | : Early signaling: FALSE [17:30:07.123] | : Actions: [n=1] 'run' [17:30:07.123] | : State: 'running' ("Future is being evaluated") [17:30:07.123] | : Resolved: TRUE [17:30:07.123] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-40 [17:30:07.123] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.123] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.123] | : Value: [17:30:07.123] | : Conditions captured: [17:30:07.132] | : Chunk #6 of 10 ... DONE [17:30:07.133] | : Chunk #7 of 10 ... [17:30:07.134] | : - Finding globals in 'X' for chunk #7 ... [17:30:07.135] | : + additional globals found: [n=0] [17:30:07.136] | : + additional namespaces needed: [n=0] [17:30:07.137] | : - Finding globals in 'X' for chunk #7 ... DONE [17:30:07.137] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.138] | : - seeds: [17:30:07.139] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.143] | : Created future: [17:30:07.144] | : MultisessionFuture: [17:30:07.144] | : Label: 'future_lapply-7' [17:30:07.144] | : Expression: [17:30:07.144] | : { [17:30:07.144] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.144] | : "# expression in do.call(), because function called uses '...' " [17:30:07.144] | : "# as a global variable " [17:30:07.144] | : do.call(function(...) { [17:30:07.144] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.144] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.144] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.144] | : "# anonymous function. " [17:30:07.144] | : "# " [17:30:07.144] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.144] | : "# function environment of FUN() to the calling environment. " [17:30:07.144] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.144] | : "# global environment, which is where globals are written. " [17:30:07.144] | : penv <- env <- environment(...future.FUN) [17:30:07.144] | : repeat { [17:30:07.144] | : if (identical(env, globalenv()) || identical(env, [17:30:07.144] | : emptyenv())) [17:30:07.144] | : break [17:30:07.144] | : penv <- env [17:30:07.144] | : env <- parent.env(env) [17:30:07.144] | : } [17:30:07.144] | : if (identical(penv, globalenv())) { [17:30:07.144] | : environment(...future.FUN) <- environment() [17:30:07.144] | : } [17:30:07.144] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.144] | : !isNamespace(penv)) { [17:30:07.144] | : parent.env(penv) <- environment() [17:30:07.144] | : } [17:30:07.144] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.144] | : { [17:30:07.144] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.144] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.144] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.144] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.144] | : on.exit(options(oopts), add = TRUE) [17:30:07.144] | : } [17:30:07.144] | : { [17:30:07.144] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.144] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.144] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.144] | : { [17:30:07.144] | : ...future.FUN(...future.X_jj, ...) [17:30:07.144] | : } [17:30:07.144] | : }) [17:30:07.144] | : } [17:30:07.144] | : } [17:30:07.144] | : }, args = future.call.arguments) [17:30:07.144] | : } [17:30:07.144] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.144] | : Packages: [17:30:07.144] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.144] | : Capture standard output: TRUE [17:30:07.144] | : Capture condition classes: 'condition' (excluding '') [17:30:07.144] | : Immediate condition classes: 'immediateCondition' [17:30:07.144] | : Lazy evaluation: FALSE [17:30:07.144] | : Local evaluation: TRUE [17:30:07.144] | : Early signaling: FALSE [17:30:07.144] | : Actions: [n=1] 'run' [17:30:07.144] | : State: 'running' ("Future is being evaluated") [17:30:07.144] | : Resolved: TRUE [17:30:07.144] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-41 [17:30:07.144] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.144] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.144] | : Value: [17:30:07.144] | : Conditions captured: [17:30:07.150] | : Chunk #7 of 10 ... DONE [17:30:07.151] | : Chunk #8 of 10 ... [17:30:07.152] | : - Finding globals in 'X' for chunk #8 ... [17:30:07.153] | : + additional globals found: [n=0] [17:30:07.154] | : + additional namespaces needed: [n=0] [17:30:07.155] | : - Finding globals in 'X' for chunk #8 ... DONE [17:30:07.155] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.156] | : - seeds: [17:30:07.157] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.163] | : Created future: [17:30:07.164] | : MultisessionFuture: [17:30:07.164] | : Label: 'future_lapply-8' [17:30:07.164] | : Expression: [17:30:07.164] | : { [17:30:07.164] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.164] | : "# expression in do.call(), because function called uses '...' " [17:30:07.164] | : "# as a global variable " [17:30:07.164] | : do.call(function(...) { [17:30:07.164] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.164] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.164] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.164] | : "# anonymous function. " [17:30:07.164] | : "# " [17:30:07.164] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.164] | : "# function environment of FUN() to the calling environment. " [17:30:07.164] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.164] | : "# global environment, which is where globals are written. " [17:30:07.164] | : penv <- env <- environment(...future.FUN) [17:30:07.164] | : repeat { [17:30:07.164] | : if (identical(env, globalenv()) || identical(env, [17:30:07.164] | : emptyenv())) [17:30:07.164] | : break [17:30:07.164] | : penv <- env [17:30:07.164] | : env <- parent.env(env) [17:30:07.164] | : } [17:30:07.164] | : if (identical(penv, globalenv())) { [17:30:07.164] | : environment(...future.FUN) <- environment() [17:30:07.164] | : } [17:30:07.164] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.164] | : !isNamespace(penv)) { [17:30:07.164] | : parent.env(penv) <- environment() [17:30:07.164] | : } [17:30:07.164] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.164] | : { [17:30:07.164] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.164] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.164] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.164] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.164] | : on.exit(options(oopts), add = TRUE) [17:30:07.164] | : } [17:30:07.164] | : { [17:30:07.164] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.164] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.164] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.164] | : { [17:30:07.164] | : ...future.FUN(...future.X_jj, ...) [17:30:07.164] | : } [17:30:07.164] | : }) [17:30:07.164] | : } [17:30:07.164] | : } [17:30:07.164] | : }, args = future.call.arguments) [17:30:07.164] | : } [17:30:07.164] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.164] | : Packages: [17:30:07.164] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.164] | : Capture standard output: TRUE [17:30:07.164] | : Capture condition classes: 'condition' (excluding '') [17:30:07.164] | : Immediate condition classes: 'immediateCondition' [17:30:07.164] | : Lazy evaluation: FALSE [17:30:07.164] | : Local evaluation: TRUE [17:30:07.164] | : Early signaling: FALSE [17:30:07.164] | : Actions: [n=1] 'run' [17:30:07.164] | : State: 'running' ("Future is being evaluated") [17:30:07.164] | : Resolved: TRUE [17:30:07.164] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-42 [17:30:07.164] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.164] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.164] | : Value: [17:30:07.164] | : Conditions captured: [17:30:07.172] | : Chunk #8 of 10 ... DONE [17:30:07.173] | : Chunk #9 of 10 ... [17:30:07.174] | : - Finding globals in 'X' for chunk #9 ... [17:30:07.175] | : + additional globals found: [n=0] [17:30:07.176] | : + additional namespaces needed: [n=0] [17:30:07.177] | : - Finding globals in 'X' for chunk #9 ... DONE [17:30:07.178] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.179] | : - seeds: [17:30:07.180] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.185] | : Created future: [17:30:07.186] | : MultisessionFuture: [17:30:07.186] | : Label: 'future_lapply-9' [17:30:07.186] | : Expression: [17:30:07.186] | : { [17:30:07.186] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.186] | : "# expression in do.call(), because function called uses '...' " [17:30:07.186] | : "# as a global variable " [17:30:07.186] | : do.call(function(...) { [17:30:07.186] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.186] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.186] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.186] | : "# anonymous function. " [17:30:07.186] | : "# " [17:30:07.186] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.186] | : "# function environment of FUN() to the calling environment. " [17:30:07.186] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.186] | : "# global environment, which is where globals are written. " [17:30:07.186] | : penv <- env <- environment(...future.FUN) [17:30:07.186] | : repeat { [17:30:07.186] | : if (identical(env, globalenv()) || identical(env, [17:30:07.186] | : emptyenv())) [17:30:07.186] | : break [17:30:07.186] | : penv <- env [17:30:07.186] | : env <- parent.env(env) [17:30:07.186] | : } [17:30:07.186] | : if (identical(penv, globalenv())) { [17:30:07.186] | : environment(...future.FUN) <- environment() [17:30:07.186] | : } [17:30:07.186] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.186] | : !isNamespace(penv)) { [17:30:07.186] | : parent.env(penv) <- environment() [17:30:07.186] | : } [17:30:07.186] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.186] | : { [17:30:07.186] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.186] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.186] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.186] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.186] | : on.exit(options(oopts), add = TRUE) [17:30:07.186] | : } [17:30:07.186] | : { [17:30:07.186] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.186] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.186] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.186] | : { [17:30:07.186] | : ...future.FUN(...future.X_jj, ...) [17:30:07.186] | : } [17:30:07.186] | : }) [17:30:07.186] | : } [17:30:07.186] | : } [17:30:07.186] | : }, args = future.call.arguments) [17:30:07.186] | : } [17:30:07.186] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.186] | : Packages: [17:30:07.186] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.186] | : Capture standard output: TRUE [17:30:07.186] | : Capture condition classes: 'condition' (excluding '') [17:30:07.186] | : Immediate condition classes: 'immediateCondition' [17:30:07.186] | : Lazy evaluation: FALSE [17:30:07.186] | : Local evaluation: TRUE [17:30:07.186] | : Early signaling: FALSE [17:30:07.186] | : Actions: [n=1] 'run' [17:30:07.186] | : State: 'running' ("Future is being evaluated") [17:30:07.186] | : Resolved: TRUE [17:30:07.186] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-43 [17:30:07.186] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.186] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.186] | : Value: [17:30:07.186] | : Conditions captured: [17:30:07.199] | : Chunk #9 of 10 ... DONE [17:30:07.200] | : Chunk #10 of 10 ... [17:30:07.202] | : - Finding globals in 'X' for chunk #10 ... [17:30:07.203] | : + additional globals found: [n=0] [17:30:07.205] | : + additional namespaces needed: [n=0] [17:30:07.205] | : - Finding globals in 'X' for chunk #10 ... DONE [17:30:07.206] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [17:30:07.208] | : - seeds: [17:30:07.209] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.214] | : Created future: [17:30:07.214] | : MultisessionFuture: [17:30:07.214] | : Label: 'future_lapply-10' [17:30:07.214] | : Expression: [17:30:07.214] | : { [17:30:07.214] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.214] | : "# expression in do.call(), because function called uses '...' " [17:30:07.214] | : "# as a global variable " [17:30:07.214] | : do.call(function(...) { [17:30:07.214] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.214] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.214] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.214] | : "# anonymous function. " [17:30:07.214] | : "# " [17:30:07.214] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.214] | : "# function environment of FUN() to the calling environment. " [17:30:07.214] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.214] | : "# global environment, which is where globals are written. " [17:30:07.214] | : penv <- env <- environment(...future.FUN) [17:30:07.214] | : repeat { [17:30:07.214] | : if (identical(env, globalenv()) || identical(env, [17:30:07.214] | : emptyenv())) [17:30:07.214] | : break [17:30:07.214] | : penv <- env [17:30:07.214] | : env <- parent.env(env) [17:30:07.214] | : } [17:30:07.214] | : if (identical(penv, globalenv())) { [17:30:07.214] | : environment(...future.FUN) <- environment() [17:30:07.214] | : } [17:30:07.214] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.214] | : !isNamespace(penv)) { [17:30:07.214] | : parent.env(penv) <- environment() [17:30:07.214] | : } [17:30:07.214] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.214] | : { [17:30:07.214] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.214] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.214] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.214] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.214] | : on.exit(options(oopts), add = TRUE) [17:30:07.214] | : } [17:30:07.214] | : { [17:30:07.214] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.214] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.214] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.214] | : { [17:30:07.214] | : ...future.FUN(...future.X_jj, ...) [17:30:07.214] | : } [17:30:07.214] | : }) [17:30:07.214] | : } [17:30:07.214] | : } [17:30:07.214] | : }, args = future.call.arguments) [17:30:07.214] | : } [17:30:07.214] | : Globals: 5 objects totaling 4.92 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 141 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.214] | : Packages: [17:30:07.214] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.214] | : Capture standard output: TRUE [17:30:07.214] | : Capture condition classes: 'condition' (excluding '') [17:30:07.214] | : Immediate condition classes: 'immediateCondition' [17:30:07.214] | : Lazy evaluation: FALSE [17:30:07.214] | : Local evaluation: TRUE [17:30:07.214] | : Early signaling: FALSE [17:30:07.214] | : Actions: [n=1] 'run' [17:30:07.214] | : State: 'running' ("Future is being evaluated") [17:30:07.214] | : Resolved: TRUE [17:30:07.214] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-44 [17:30:07.214] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.214] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.214] | : Value: [17:30:07.214] | : Conditions captured: [17:30:07.223] | : Chunk #10 of 10 ... DONE [17:30:07.224] | : Launching 10 futures (chunks) ... DONE [17:30:07.225] | : Resolving 10 futures (chunks) ... [17:30:07.230] | : - Number of value chunks collected: 10 [17:30:07.230] | : Resolving 10 futures (chunks) ... DONE [17:30:07.231] | : Reducing values from 10 chunks ... [17:30:07.232] | : - Number of values collected after concatenation: 10 [17:30:07.232] | : - Number of values expected: 10 [17:30:07.233] | : Reducing values from 10 chunks ... DONE [17:30:07.234] | future_lapply() -> future_xapply() ... done [17:30:07.234] future_lapply() ... done List of 10 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 maxSize = 2305.6 bytes future.globals.maxSize = 2305.6 bytes [17:30:07.241] future_lapply() ... [17:30:07.242] | Globals in FUN(): [n=2] '{', 'getOption' [17:30:07.243] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.243] | future_lapply() -> future_xapply() ... [17:30:07.244] | : Number of chunks: 5 [17:30:07.245] | : getGlobalsAndPackagesXApply() ... [17:30:07.246] | : . future.globals: TRUE [17:30:07.256] | : . globals found/used: [n=1] 'FUN' [17:30:07.257] | : . needed namespaces: [n=0] [17:30:07.258] | : . use_args: TRUE [17:30:07.259] | : . Getting '...' globals ... [17:30:07.260] | : . ' '...' content: [n=0] [17:30:07.260] | : . ' List of 1 [17:30:07.260] | : . ' $ ...: list() [17:30:07.260] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.260] | : . ' - attr(*, "where")=List of 1 [17:30:07.260] | : . ' ..$ ...: [17:30:07.260] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.260] | : . ' - attr(*, "resolved")= logi TRUE [17:30:07.260] | : . ' - attr(*, "total_size")= num NA [17:30:07.265] | : . Getting '...' globals ... done [17:30:07.266] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:07.266] | : . List of 2 [17:30:07.266] | : . $ ...future.FUN:function (x) [17:30:07.266] | : . $ ... : list() [17:30:07.266] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.266] | : . - attr(*, "where")=List of 2 [17:30:07.266] | : . ..$ ...future.FUN: [17:30:07.266] | : . ..$ ... : [17:30:07.266] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.266] | : . - attr(*, "resolved")= logi FALSE [17:30:07.266] | : . - attr(*, "total_size")= num 4686 [17:30:07.272] | : . Packages to be attached in all futures: [n=0] [17:30:07.273] | : getGlobalsAndPackagesXApply() ... done [17:30:07.274] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.274] | : List of 5 [17:30:07.274] | : $ ...future.FUN :function (x) [17:30:07.274] | : $ ... : list() [17:30:07.274] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.274] | : $ ...future.elements_ii : NULL [17:30:07.274] | : $ ...future.seeds_ii : NULL [17:30:07.274] | : $ ...future.globals.maxSize: NULL [17:30:07.274] | : - attr(*, "where")=List of 5 [17:30:07.274] | : ..$ ...future.FUN : [17:30:07.274] | : ..$ ... : [17:30:07.274] | : ..$ ...future.elements_ii : [17:30:07.274] | : ..$ ...future.seeds_ii : [17:30:07.274] | : ..$ ...future.globals.maxSize: [17:30:07.274] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.274] | : - attr(*, "resolved")= logi FALSE [17:30:07.274] | : - attr(*, "total_size")= num 4686 [17:30:07.280] | : Number of futures (= number of chunks): 5 [17:30:07.281] | : Launching 5 futures (chunks) ... [17:30:07.281] | : Chunk #1 of 5 ... [17:30:07.282] | : - Finding globals in 'X' for chunk #1 ... [17:30:07.283] | : + additional globals found: [n=0] [17:30:07.283] | : + additional namespaces needed: [n=0] [17:30:07.284] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:07.285] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [17:30:07.285] | : - seeds: [17:30:07.286] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.289] | : Created future: [17:30:07.290] | : MultisessionFuture: [17:30:07.290] | : Label: 'future_lapply-1' [17:30:07.290] | : Expression: [17:30:07.290] | : { [17:30:07.290] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.290] | : "# expression in do.call(), because function called uses '...' " [17:30:07.290] | : "# as a global variable " [17:30:07.290] | : do.call(function(...) { [17:30:07.290] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.290] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.290] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.290] | : "# anonymous function. " [17:30:07.290] | : "# " [17:30:07.290] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.290] | : "# function environment of FUN() to the calling environment. " [17:30:07.290] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.290] | : "# global environment, which is where globals are written. " [17:30:07.290] | : penv <- env <- environment(...future.FUN) [17:30:07.290] | : repeat { [17:30:07.290] | : if (identical(env, globalenv()) || identical(env, [17:30:07.290] | : emptyenv())) [17:30:07.290] | : break [17:30:07.290] | : penv <- env [17:30:07.290] | : env <- parent.env(env) [17:30:07.290] | : } [17:30:07.290] | : if (identical(penv, globalenv())) { [17:30:07.290] | : environment(...future.FUN) <- environment() [17:30:07.290] | : } [17:30:07.290] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.290] | : !isNamespace(penv)) { [17:30:07.290] | : parent.env(penv) <- environment() [17:30:07.290] | : } [17:30:07.290] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.290] | : { [17:30:07.290] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.290] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.290] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.290] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.290] | : on.exit(options(oopts), add = TRUE) [17:30:07.290] | : } [17:30:07.290] | : { [17:30:07.290] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.290] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.290] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.290] | : { [17:30:07.290] | : ...future.FUN(...future.X_jj, ...) [17:30:07.290] | : } [17:30:07.290] | : }) [17:30:07.290] | : } [17:30:07.290] | : } [17:30:07.290] | : }, args = future.call.arguments) [17:30:07.290] | : } [17:30:07.290] | : Globals: 5 objects totaling 5.00 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 217 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.290] | : Packages: [17:30:07.290] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.290] | : Capture standard output: TRUE [17:30:07.290] | : Capture condition classes: 'condition' (excluding '') [17:30:07.290] | : Immediate condition classes: 'immediateCondition' [17:30:07.290] | : Lazy evaluation: FALSE [17:30:07.290] | : Local evaluation: TRUE [17:30:07.290] | : Early signaling: FALSE [17:30:07.290] | : Actions: [n=1] 'run' [17:30:07.290] | : State: 'running' ("Future is being evaluated") [17:30:07.290] | : Resolved: TRUE [17:30:07.290] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-45 [17:30:07.290] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.290] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.290] | : Value: [17:30:07.290] | : Conditions captured: [17:30:07.297] | : Chunk #1 of 5 ... DONE [17:30:07.298] | : Chunk #2 of 5 ... [17:30:07.299] | : - Finding globals in 'X' for chunk #2 ... [17:30:07.301] | : + additional globals found: [n=0] [17:30:07.302] | : + additional namespaces needed: [n=0] [17:30:07.302] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:07.303] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [17:30:07.304] | : - seeds: [17:30:07.305] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.308] | : Created future: [17:30:07.309] | : MultisessionFuture: [17:30:07.309] | : Label: 'future_lapply-2' [17:30:07.309] | : Expression: [17:30:07.309] | : { [17:30:07.309] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.309] | : "# expression in do.call(), because function called uses '...' " [17:30:07.309] | : "# as a global variable " [17:30:07.309] | : do.call(function(...) { [17:30:07.309] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.309] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.309] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.309] | : "# anonymous function. " [17:30:07.309] | : "# " [17:30:07.309] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.309] | : "# function environment of FUN() to the calling environment. " [17:30:07.309] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.309] | : "# global environment, which is where globals are written. " [17:30:07.309] | : penv <- env <- environment(...future.FUN) [17:30:07.309] | : repeat { [17:30:07.309] | : if (identical(env, globalenv()) || identical(env, [17:30:07.309] | : emptyenv())) [17:30:07.309] | : break [17:30:07.309] | : penv <- env [17:30:07.309] | : env <- parent.env(env) [17:30:07.309] | : } [17:30:07.309] | : if (identical(penv, globalenv())) { [17:30:07.309] | : environment(...future.FUN) <- environment() [17:30:07.309] | : } [17:30:07.309] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.309] | : !isNamespace(penv)) { [17:30:07.309] | : parent.env(penv) <- environment() [17:30:07.309] | : } [17:30:07.309] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.309] | : { [17:30:07.309] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.309] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.309] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.309] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.309] | : on.exit(options(oopts), add = TRUE) [17:30:07.309] | : } [17:30:07.309] | : { [17:30:07.309] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.309] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.309] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.309] | : { [17:30:07.309] | : ...future.FUN(...future.X_jj, ...) [17:30:07.309] | : } [17:30:07.309] | : }) [17:30:07.309] | : } [17:30:07.309] | : } [17:30:07.309] | : }, args = future.call.arguments) [17:30:07.309] | : } [17:30:07.309] | : Globals: 5 objects totaling 5.00 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 217 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.309] | : Packages: [17:30:07.309] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.309] | : Capture standard output: TRUE [17:30:07.309] | : Capture condition classes: 'condition' (excluding '') [17:30:07.309] | : Immediate condition classes: 'immediateCondition' [17:30:07.309] | : Lazy evaluation: FALSE [17:30:07.309] | : Local evaluation: TRUE [17:30:07.309] | : Early signaling: FALSE [17:30:07.309] | : Actions: [n=1] 'run' [17:30:07.309] | : State: 'running' ("Future is being evaluated") [17:30:07.309] | : Resolved: TRUE [17:30:07.309] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-46 [17:30:07.309] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.309] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.309] | : Value: [17:30:07.309] | : Conditions captured: [17:30:07.317] | : Chunk #2 of 5 ... DONE [17:30:07.318] | : Chunk #3 of 5 ... [17:30:07.319] | : - Finding globals in 'X' for chunk #3 ... [17:30:07.320] | : + additional globals found: [n=0] [17:30:07.321] | : + additional namespaces needed: [n=0] [17:30:07.321] | : - Finding globals in 'X' for chunk #3 ... DONE [17:30:07.322] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [17:30:07.323] | : - seeds: [17:30:07.323] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.327] | : Created future: [17:30:07.328] | : MultisessionFuture: [17:30:07.328] | : Label: 'future_lapply-3' [17:30:07.328] | : Expression: [17:30:07.328] | : { [17:30:07.328] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.328] | : "# expression in do.call(), because function called uses '...' " [17:30:07.328] | : "# as a global variable " [17:30:07.328] | : do.call(function(...) { [17:30:07.328] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.328] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.328] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.328] | : "# anonymous function. " [17:30:07.328] | : "# " [17:30:07.328] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.328] | : "# function environment of FUN() to the calling environment. " [17:30:07.328] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.328] | : "# global environment, which is where globals are written. " [17:30:07.328] | : penv <- env <- environment(...future.FUN) [17:30:07.328] | : repeat { [17:30:07.328] | : if (identical(env, globalenv()) || identical(env, [17:30:07.328] | : emptyenv())) [17:30:07.328] | : break [17:30:07.328] | : penv <- env [17:30:07.328] | : env <- parent.env(env) [17:30:07.328] | : } [17:30:07.328] | : if (identical(penv, globalenv())) { [17:30:07.328] | : environment(...future.FUN) <- environment() [17:30:07.328] | : } [17:30:07.328] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.328] | : !isNamespace(penv)) { [17:30:07.328] | : parent.env(penv) <- environment() [17:30:07.328] | : } [17:30:07.328] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.328] | : { [17:30:07.328] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.328] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.328] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.328] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.328] | : on.exit(options(oopts), add = TRUE) [17:30:07.328] | : } [17:30:07.328] | : { [17:30:07.328] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.328] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.328] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.328] | : { [17:30:07.328] | : ...future.FUN(...future.X_jj, ...) [17:30:07.328] | : } [17:30:07.328] | : }) [17:30:07.328] | : } [17:30:07.328] | : } [17:30:07.328] | : }, args = future.call.arguments) [17:30:07.328] | : } [17:30:07.328] | : Globals: 5 objects totaling 5.00 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 217 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.328] | : Packages: [17:30:07.328] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.328] | : Capture standard output: TRUE [17:30:07.328] | : Capture condition classes: 'condition' (excluding '') [17:30:07.328] | : Immediate condition classes: 'immediateCondition' [17:30:07.328] | : Lazy evaluation: FALSE [17:30:07.328] | : Local evaluation: TRUE [17:30:07.328] | : Early signaling: FALSE [17:30:07.328] | : Actions: [n=1] 'run' [17:30:07.328] | : State: 'running' ("Future is being evaluated") [17:30:07.328] | : Resolved: TRUE [17:30:07.328] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-47 [17:30:07.328] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.328] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.328] | : Value: [17:30:07.328] | : Conditions captured: [17:30:07.334] | : Chunk #3 of 5 ... DONE [17:30:07.335] | : Chunk #4 of 5 ... [17:30:07.336] | : - Finding globals in 'X' for chunk #4 ... [17:30:07.338] | : + additional globals found: [n=0] [17:30:07.339] | : + additional namespaces needed: [n=0] [17:30:07.340] | : - Finding globals in 'X' for chunk #4 ... DONE [17:30:07.341] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [17:30:07.342] | : - seeds: [17:30:07.343] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.350] | : Created future: [17:30:07.351] | : MultisessionFuture: [17:30:07.351] | : Label: 'future_lapply-4' [17:30:07.351] | : Expression: [17:30:07.351] | : { [17:30:07.351] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.351] | : "# expression in do.call(), because function called uses '...' " [17:30:07.351] | : "# as a global variable " [17:30:07.351] | : do.call(function(...) { [17:30:07.351] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.351] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.351] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.351] | : "# anonymous function. " [17:30:07.351] | : "# " [17:30:07.351] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.351] | : "# function environment of FUN() to the calling environment. " [17:30:07.351] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.351] | : "# global environment, which is where globals are written. " [17:30:07.351] | : penv <- env <- environment(...future.FUN) [17:30:07.351] | : repeat { [17:30:07.351] | : if (identical(env, globalenv()) || identical(env, [17:30:07.351] | : emptyenv())) [17:30:07.351] | : break [17:30:07.351] | : penv <- env [17:30:07.351] | : env <- parent.env(env) [17:30:07.351] | : } [17:30:07.351] | : if (identical(penv, globalenv())) { [17:30:07.351] | : environment(...future.FUN) <- environment() [17:30:07.351] | : } [17:30:07.351] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.351] | : !isNamespace(penv)) { [17:30:07.351] | : parent.env(penv) <- environment() [17:30:07.351] | : } [17:30:07.351] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.351] | : { [17:30:07.351] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.351] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.351] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.351] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.351] | : on.exit(options(oopts), add = TRUE) [17:30:07.351] | : } [17:30:07.351] | : { [17:30:07.351] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.351] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.351] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.351] | : { [17:30:07.351] | : ...future.FUN(...future.X_jj, ...) [17:30:07.351] | : } [17:30:07.351] | : }) [17:30:07.351] | : } [17:30:07.351] | : } [17:30:07.351] | : }, args = future.call.arguments) [17:30:07.351] | : } [17:30:07.351] | : Globals: 5 objects totaling 5.00 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 217 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.351] | : Packages: [17:30:07.351] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.351] | : Capture standard output: TRUE [17:30:07.351] | : Capture condition classes: 'condition' (excluding '') [17:30:07.351] | : Immediate condition classes: 'immediateCondition' [17:30:07.351] | : Lazy evaluation: FALSE [17:30:07.351] | : Local evaluation: TRUE [17:30:07.351] | : Early signaling: FALSE [17:30:07.351] | : Actions: [n=1] 'run' [17:30:07.351] | : State: 'running' ("Future is being evaluated") [17:30:07.351] | : Resolved: TRUE [17:30:07.351] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-48 [17:30:07.351] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.351] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.351] | : Value: [17:30:07.351] | : Conditions captured: [17:30:07.362] | : Chunk #4 of 5 ... DONE [17:30:07.364] | : Chunk #5 of 5 ... [17:30:07.365] | : - Finding globals in 'X' for chunk #5 ... [17:30:07.367] | : + additional globals found: [n=0] [17:30:07.369] | : + additional namespaces needed: [n=0] [17:30:07.370] | : - Finding globals in 'X' for chunk #5 ... DONE [17:30:07.372] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [17:30:07.373] | : - seeds: [17:30:07.374] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.380] | : Created future: [17:30:07.381] | : MultisessionFuture: [17:30:07.381] | : Label: 'future_lapply-5' [17:30:07.381] | : Expression: [17:30:07.381] | : { [17:30:07.381] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.381] | : "# expression in do.call(), because function called uses '...' " [17:30:07.381] | : "# as a global variable " [17:30:07.381] | : do.call(function(...) { [17:30:07.381] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.381] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.381] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.381] | : "# anonymous function. " [17:30:07.381] | : "# " [17:30:07.381] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.381] | : "# function environment of FUN() to the calling environment. " [17:30:07.381] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.381] | : "# global environment, which is where globals are written. " [17:30:07.381] | : penv <- env <- environment(...future.FUN) [17:30:07.381] | : repeat { [17:30:07.381] | : if (identical(env, globalenv()) || identical(env, [17:30:07.381] | : emptyenv())) [17:30:07.381] | : break [17:30:07.381] | : penv <- env [17:30:07.381] | : env <- parent.env(env) [17:30:07.381] | : } [17:30:07.381] | : if (identical(penv, globalenv())) { [17:30:07.381] | : environment(...future.FUN) <- environment() [17:30:07.381] | : } [17:30:07.381] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.381] | : !isNamespace(penv)) { [17:30:07.381] | : parent.env(penv) <- environment() [17:30:07.381] | : } [17:30:07.381] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.381] | : { [17:30:07.381] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.381] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.381] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.381] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.381] | : on.exit(options(oopts), add = TRUE) [17:30:07.381] | : } [17:30:07.381] | : { [17:30:07.381] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.381] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.381] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.381] | : { [17:30:07.381] | : ...future.FUN(...future.X_jj, ...) [17:30:07.381] | : } [17:30:07.381] | : }) [17:30:07.381] | : } [17:30:07.381] | : } [17:30:07.381] | : }, args = future.call.arguments) [17:30:07.381] | : } [17:30:07.381] | : Globals: 5 objects totaling 5.00 KiB (function '...future.FUN' of 407 bytes, list '...future.elements_ii' of 217 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.381] | : Packages: [17:30:07.381] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.381] | : Capture standard output: TRUE [17:30:07.381] | : Capture condition classes: 'condition' (excluding '') [17:30:07.381] | : Immediate condition classes: 'immediateCondition' [17:30:07.381] | : Lazy evaluation: FALSE [17:30:07.381] | : Local evaluation: TRUE [17:30:07.381] | : Early signaling: FALSE [17:30:07.381] | : Actions: [n=1] 'run' [17:30:07.381] | : State: 'running' ("Future is being evaluated") [17:30:07.381] | : Resolved: TRUE [17:30:07.381] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-49 [17:30:07.381] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.381] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.381] | : Value: [17:30:07.381] | : Conditions captured: [17:30:07.395] | : Chunk #5 of 5 ... DONE [17:30:07.396] | : Launching 5 futures (chunks) ... DONE [17:30:07.397] | : Resolving 5 futures (chunks) ... [17:30:07.399] | : - Number of value chunks collected: 5 [17:30:07.400] | : Resolving 5 futures (chunks) ... DONE [17:30:07.401] | : Reducing values from 5 chunks ... [17:30:07.401] | : - Number of values collected after concatenation: 10 [17:30:07.402] | : - Number of values expected: 10 [17:30:07.403] | : Reducing values from 5 chunks ... DONE [17:30:07.403] | future_lapply() -> future_xapply() ... done [17:30:07.404] future_lapply() ... done List of 10 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 maxSize = 2305.6 bytes future.globals.maxSize = 2305.6 bytes [17:30:07.412] future_lapply() ... [17:30:07.413] | Globals in FUN(): [n=2] '{', 'getOption' [17:30:07.414] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.415] | future_lapply() -> future_xapply() ... [17:30:07.416] | : Number of chunks: 2 [17:30:07.417] | : getGlobalsAndPackagesXApply() ... [17:30:07.418] | : . future.globals: TRUE [17:30:07.429] | : . globals found/used: [n=1] 'FUN' [17:30:07.429] | : . needed namespaces: [n=0] [17:30:07.430] | : . use_args: TRUE [17:30:07.431] | : . Getting '...' globals ... [17:30:07.433] | : . ' '...' content: [n=0] [17:30:07.434] | : . ' List of 1 [17:30:07.434] | : . ' $ ...: list() [17:30:07.434] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.434] | : . ' - attr(*, "where")=List of 1 [17:30:07.434] | : . ' ..$ ...: [17:30:07.434] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.434] | : . ' - attr(*, "resolved")= logi TRUE [17:30:07.434] | : . ' - attr(*, "total_size")= num NA [17:30:07.439] | : . Getting '...' globals ... done [17:30:07.440] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:07.441] | : . List of 2 [17:30:07.441] | : . $ ...future.FUN:function (x) [17:30:07.441] | : . $ ... : list() [17:30:07.441] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.441] | : . - attr(*, "where")=List of 2 [17:30:07.441] | : . ..$ ...future.FUN: [17:30:07.441] | : . ..$ ... : [17:30:07.441] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.441] | : . - attr(*, "resolved")= logi FALSE [17:30:07.441] | : . - attr(*, "total_size")= num 4686 [17:30:07.445] | : . Packages to be attached in all futures: [n=0] [17:30:07.446] | : getGlobalsAndPackagesXApply() ... done [17:30:07.447] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.447] | : List of 5 [17:30:07.447] | : $ ...future.FUN :function (x) [17:30:07.447] | : $ ... : list() [17:30:07.447] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.447] | : $ ...future.elements_ii : NULL [17:30:07.447] | : $ ...future.seeds_ii : NULL [17:30:07.447] | : $ ...future.globals.maxSize: NULL [17:30:07.447] | : - attr(*, "where")=List of 5 [17:30:07.447] | : ..$ ...future.FUN : [17:30:07.447] | : ..$ ... : [17:30:07.447] | : ..$ ...future.elements_ii : [17:30:07.447] | : ..$ ...future.seeds_ii : [17:30:07.447] | : ..$ ...future.globals.maxSize: [17:30:07.447] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.447] | : - attr(*, "resolved")= logi FALSE [17:30:07.447] | : - attr(*, "total_size")= num 4686 [17:30:07.457] | : Number of futures (= number of chunks): 2 [17:30:07.458] | : Launching 2 futures (chunks) ... [17:30:07.458] | : Chunk #1 of 2 ... [17:30:07.459] | : - Finding globals in 'X' for chunk #1 ... [17:30:07.460] | : + additional globals found: [n=0] [17:30:07.461] | : + additional namespaces needed: [n=0] [17:30:07.462] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:07.463] | : - Adjusted option 'future.globals.maxSize': 2306 -> 2 * 2306 = 4611 (bytes) [17:30:07.463] | : - seeds: [17:30:07.464] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.468] | : Created future: [17:30:07.469] | : MultisessionFuture: [17:30:07.469] | : Label: 'future_lapply-1' [17:30:07.469] | : Expression: [17:30:07.469] | : { [17:30:07.469] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.469] | : "# expression in do.call(), because function called uses '...' " [17:30:07.469] | : "# as a global variable " [17:30:07.469] | : do.call(function(...) { [17:30:07.469] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.469] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.469] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.469] | : "# anonymous function. " [17:30:07.469] | : "# " [17:30:07.469] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.469] | : "# function environment of FUN() to the calling environment. " [17:30:07.469] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.469] | : "# global environment, which is where globals are written. " [17:30:07.469] | : penv <- env <- environment(...future.FUN) [17:30:07.469] | : repeat { [17:30:07.469] | : if (identical(env, globalenv()) || identical(env, [17:30:07.469] | : emptyenv())) [17:30:07.469] | : break [17:30:07.469] | : penv <- env [17:30:07.469] | : env <- parent.env(env) [17:30:07.469] | : } [17:30:07.469] | : if (identical(penv, globalenv())) { [17:30:07.469] | : environment(...future.FUN) <- environment() [17:30:07.469] | : } [17:30:07.469] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.469] | : !isNamespace(penv)) { [17:30:07.469] | : parent.env(penv) <- environment() [17:30:07.469] | : } [17:30:07.469] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.469] | : { [17:30:07.469] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.469] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.469] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.469] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.469] | : on.exit(options(oopts), add = TRUE) [17:30:07.469] | : } [17:30:07.469] | : { [17:30:07.469] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.469] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.469] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.469] | : { [17:30:07.469] | : ...future.FUN(...future.X_jj, ...) [17:30:07.469] | : } [17:30:07.469] | : }) [17:30:07.469] | : } [17:30:07.469] | : } [17:30:07.469] | : }, args = future.call.arguments) [17:30:07.469] | : } [17:30:07.469] | : Globals: 5 objects totaling 5.22 KiB (list '...future.elements_ii' of 445 bytes, function '...future.FUN' of 407 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.469] | : Packages: [17:30:07.469] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.469] | : Capture standard output: TRUE [17:30:07.469] | : Capture condition classes: 'condition' (excluding '') [17:30:07.469] | : Immediate condition classes: 'immediateCondition' [17:30:07.469] | : Lazy evaluation: FALSE [17:30:07.469] | : Local evaluation: TRUE [17:30:07.469] | : Early signaling: FALSE [17:30:07.469] | : Actions: [n=1] 'run' [17:30:07.469] | : State: 'running' ("Future is being evaluated") [17:30:07.469] | : Resolved: TRUE [17:30:07.469] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-50 [17:30:07.469] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.469] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.469] | : Value: [17:30:07.469] | : Conditions captured: [17:30:07.480] | : Chunk #1 of 2 ... DONE [17:30:07.481] | : Chunk #2 of 2 ... [17:30:07.483] | : - Finding globals in 'X' for chunk #2 ... [17:30:07.484] | : + additional globals found: [n=0] [17:30:07.485] | : + additional namespaces needed: [n=0] [17:30:07.486] | : - Finding globals in 'X' for chunk #2 ... DONE [17:30:07.487] | : - Adjusted option 'future.globals.maxSize': 2306 -> 2 * 2306 = 4611 (bytes) [17:30:07.488] | : - seeds: [17:30:07.489] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.494] | : Created future: [17:30:07.495] | : MultisessionFuture: [17:30:07.495] | : Label: 'future_lapply-2' [17:30:07.495] | : Expression: [17:30:07.495] | : { [17:30:07.495] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.495] | : "# expression in do.call(), because function called uses '...' " [17:30:07.495] | : "# as a global variable " [17:30:07.495] | : do.call(function(...) { [17:30:07.495] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.495] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.495] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.495] | : "# anonymous function. " [17:30:07.495] | : "# " [17:30:07.495] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.495] | : "# function environment of FUN() to the calling environment. " [17:30:07.495] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.495] | : "# global environment, which is where globals are written. " [17:30:07.495] | : penv <- env <- environment(...future.FUN) [17:30:07.495] | : repeat { [17:30:07.495] | : if (identical(env, globalenv()) || identical(env, [17:30:07.495] | : emptyenv())) [17:30:07.495] | : break [17:30:07.495] | : penv <- env [17:30:07.495] | : env <- parent.env(env) [17:30:07.495] | : } [17:30:07.495] | : if (identical(penv, globalenv())) { [17:30:07.495] | : environment(...future.FUN) <- environment() [17:30:07.495] | : } [17:30:07.495] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.495] | : !isNamespace(penv)) { [17:30:07.495] | : parent.env(penv) <- environment() [17:30:07.495] | : } [17:30:07.495] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.495] | : { [17:30:07.495] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.495] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.495] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.495] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.495] | : on.exit(options(oopts), add = TRUE) [17:30:07.495] | : } [17:30:07.495] | : { [17:30:07.495] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.495] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.495] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.495] | : { [17:30:07.495] | : ...future.FUN(...future.X_jj, ...) [17:30:07.495] | : } [17:30:07.495] | : }) [17:30:07.495] | : } [17:30:07.495] | : } [17:30:07.495] | : }, args = future.call.arguments) [17:30:07.495] | : } [17:30:07.495] | : Globals: 5 objects totaling 5.22 KiB (list '...future.elements_ii' of 445 bytes, function '...future.FUN' of 407 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.495] | : Packages: [17:30:07.495] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.495] | : Capture standard output: TRUE [17:30:07.495] | : Capture condition classes: 'condition' (excluding '') [17:30:07.495] | : Immediate condition classes: 'immediateCondition' [17:30:07.495] | : Lazy evaluation: FALSE [17:30:07.495] | : Local evaluation: TRUE [17:30:07.495] | : Early signaling: FALSE [17:30:07.495] | : Actions: [n=1] 'run' [17:30:07.495] | : State: 'running' ("Future is being evaluated") [17:30:07.495] | : Resolved: TRUE [17:30:07.495] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-51 [17:30:07.495] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.495] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.495] | : Value: [17:30:07.495] | : Conditions captured: [17:30:07.501] | : Chunk #2 of 2 ... DONE [17:30:07.502] | : Launching 2 futures (chunks) ... DONE [17:30:07.503] | : Resolving 2 futures (chunks) ... [17:30:07.504] | : - Number of value chunks collected: 2 [17:30:07.505] | : Resolving 2 futures (chunks) ... DONE [17:30:07.506] | : Reducing values from 2 chunks ... [17:30:07.506] | : - Number of values collected after concatenation: 10 [17:30:07.507] | : - Number of values expected: 10 [17:30:07.507] | : Reducing values from 2 chunks ... DONE [17:30:07.508] | future_lapply() -> future_xapply() ... done [17:30:07.509] future_lapply() ... done List of 10 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 maxSize = 2305.6 bytes future.globals.maxSize = 2305.6 bytes [17:30:07.516] future_lapply() ... [17:30:07.517] | Globals in FUN(): [n=2] '{', 'getOption' [17:30:07.518] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.519] | future_lapply() -> future_xapply() ... [17:30:07.519] | : Number of chunks: 1 [17:30:07.520] | : getGlobalsAndPackagesXApply() ... [17:30:07.521] | : . future.globals: TRUE [17:30:07.529] | : . globals found/used: [n=1] 'FUN' [17:30:07.530] | : . needed namespaces: [n=0] [17:30:07.531] | : . use_args: TRUE [17:30:07.531] | : . Getting '...' globals ... [17:30:07.533] | : . ' '...' content: [n=0] [17:30:07.533] | : . ' List of 1 [17:30:07.533] | : . ' $ ...: list() [17:30:07.533] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.533] | : . ' - attr(*, "where")=List of 1 [17:30:07.533] | : . ' ..$ ...: [17:30:07.533] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.533] | : . ' - attr(*, "resolved")= logi TRUE [17:30:07.533] | : . ' - attr(*, "total_size")= num NA [17:30:07.537] | : . Getting '...' globals ... done [17:30:07.538] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:07.539] | : . List of 2 [17:30:07.539] | : . $ ...future.FUN:function (x) [17:30:07.539] | : . $ ... : list() [17:30:07.539] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.539] | : . - attr(*, "where")=List of 2 [17:30:07.539] | : . ..$ ...future.FUN: [17:30:07.539] | : . ..$ ... : [17:30:07.539] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.539] | : . - attr(*, "resolved")= logi FALSE [17:30:07.539] | : . - attr(*, "total_size")= num 4686 [17:30:07.543] | : . Packages to be attached in all futures: [n=0] [17:30:07.544] | : getGlobalsAndPackagesXApply() ... done [17:30:07.545] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.545] | : List of 5 [17:30:07.545] | : $ ...future.FUN :function (x) [17:30:07.545] | : $ ... : list() [17:30:07.545] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.545] | : $ ...future.elements_ii : NULL [17:30:07.545] | : $ ...future.seeds_ii : NULL [17:30:07.545] | : $ ...future.globals.maxSize: NULL [17:30:07.545] | : - attr(*, "where")=List of 5 [17:30:07.545] | : ..$ ...future.FUN : [17:30:07.545] | : ..$ ... : [17:30:07.545] | : ..$ ...future.elements_ii : [17:30:07.545] | : ..$ ...future.seeds_ii : [17:30:07.545] | : ..$ ...future.globals.maxSize: [17:30:07.545] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.545] | : - attr(*, "resolved")= logi FALSE [17:30:07.545] | : - attr(*, "total_size")= num 4686 [17:30:07.553] | : Number of futures (= number of chunks): 1 [17:30:07.554] | : Launching 1 futures (chunks) ... [17:30:07.555] | : Chunk #1 of 1 ... [17:30:07.556] | : - Finding globals in 'X' for chunk #1 ... [17:30:07.557] | : + additional globals found: [n=0] [17:30:07.558] | : + additional namespaces needed: [n=0] [17:30:07.559] | : - Finding globals in 'X' for chunk #1 ... DONE [17:30:07.560] | : - seeds: [17:30:07.561] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.565] | : Created future: [17:30:07.566] | : MultisessionFuture: [17:30:07.566] | : Label: 'future_lapply-1' [17:30:07.566] | : Expression: [17:30:07.566] | : { [17:30:07.566] | : "# future::getGlobalsAndPackages(): wrapping the original future" [17:30:07.566] | : "# expression in do.call(), because function called uses '...' " [17:30:07.566] | : "# as a global variable " [17:30:07.566] | : do.call(function(...) { [17:30:07.566] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [17:30:07.566] | : "# without having an '...' argument. This means '...' is treated" [17:30:07.566] | : "# as a global variable. This may happen when FUN() is an " [17:30:07.566] | : "# anonymous function. " [17:30:07.566] | : "# " [17:30:07.566] | : "# If an anonymous function, we will make sure to restore the " [17:30:07.566] | : "# function environment of FUN() to the calling environment. " [17:30:07.566] | : "# We assume FUN() an anonymous function if it lives in the " [17:30:07.566] | : "# global environment, which is where globals are written. " [17:30:07.566] | : penv <- env <- environment(...future.FUN) [17:30:07.566] | : repeat { [17:30:07.566] | : if (identical(env, globalenv()) || identical(env, [17:30:07.566] | : emptyenv())) [17:30:07.566] | : break [17:30:07.566] | : penv <- env [17:30:07.566] | : env <- parent.env(env) [17:30:07.566] | : } [17:30:07.566] | : if (identical(penv, globalenv())) { [17:30:07.566] | : environment(...future.FUN) <- environment() [17:30:07.566] | : } [17:30:07.566] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [17:30:07.566] | : !isNamespace(penv)) { [17:30:07.566] | : parent.env(penv) <- environment() [17:30:07.566] | : } [17:30:07.566] | : rm(list = c("env", "penv"), inherits = FALSE) [17:30:07.566] | : { [17:30:07.566] | : "# future.apply:::future_xapply(): preserve future option" [17:30:07.566] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [17:30:07.566] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [17:30:07.566] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [17:30:07.566] | : on.exit(options(oopts), add = TRUE) [17:30:07.566] | : } [17:30:07.566] | : { [17:30:07.566] | : "# future.apply::future_lapply(): process chunk of elements" [17:30:07.566] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [17:30:07.566] | : ...future.X_jj <- ...future.elements_ii[[jj]] [17:30:07.566] | : { [17:30:07.566] | : ...future.FUN(...future.X_jj, ...) [17:30:07.566] | : } [17:30:07.566] | : }) [17:30:07.566] | : } [17:30:07.566] | : } [17:30:07.566] | : }, args = future.call.arguments) [17:30:07.566] | : } [17:30:07.566] | : Globals: 5 objects totaling 5.59 KiB (list '...future.elements_ii' of 825 bytes, function '...future.FUN' of 407 bytes, DotDotDotList 'future.call.arguments' of 97 bytes, numeric '...future.globals.maxSize' of 39 bytes, NULL '...future.seeds_ii' of 27 bytes) [17:30:07.566] | : Packages: [17:30:07.566] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [17:30:07.566] | : Capture standard output: TRUE [17:30:07.566] | : Capture condition classes: 'condition' (excluding '') [17:30:07.566] | : Immediate condition classes: 'immediateCondition' [17:30:07.566] | : Lazy evaluation: FALSE [17:30:07.566] | : Local evaluation: TRUE [17:30:07.566] | : Early signaling: FALSE [17:30:07.566] | : Actions: [n=1] 'run' [17:30:07.566] | : State: 'running' ("Future is being evaluated") [17:30:07.566] | : Resolved: TRUE [17:30:07.566] | : Unique identifier: 003df39c9fe3a50b66266752c375c7ae-52 [17:30:07.566] | : Owner process: 003df39c9fe3a50b66266752c375c7ae [17:30:07.566] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [17:30:07.566] | : Value: [17:30:07.566] | : Conditions captured: [17:30:07.572] | : Chunk #1 of 1 ... DONE [17:30:07.573] | : Launching 1 futures (chunks) ... DONE [17:30:07.574] | : Resolving 1 futures (chunks) ... [17:30:07.575] | : - Number of value chunks collected: 1 [17:30:07.575] | : Resolving 1 futures (chunks) ... DONE [17:30:07.576] | : Reducing values from 1 chunks ... [17:30:07.577] | : - Number of values collected after concatenation: 10 [17:30:07.577] | : - Number of values expected: 10 [17:30:07.578] | : Reducing values from 1 chunks ... DONE [17:30:07.578] | future_lapply() -> future_xapply() ... done [17:30:07.579] future_lapply() ... done List of 10 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 $ : num 2306 maxSize = 2305.6 bytes future.globals.maxSize = 2305.6 bytes *** future_lapply() - too large ... DONE *** future_lapply() - globals exceptions ... [17:30:07.585] future_lapply() ... [17:30:07.586] | Globals in FUN(): [n=0] [17:30:07.587] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.587] | future_lapply() -> future_xapply() ... [17:30:07.588] | : Number of chunks: 1 [17:30:07.589] | : getGlobalsAndPackagesXApply() ... [17:30:07.589] | : getGlobalsAndPackagesXApply() ... done [17:30:07.590] | future_lapply() -> future_xapply() ... done [17:30:07.590] future_lapply() ... done [17:30:07.591] future_lapply() ... [17:30:07.592] | Globals in FUN(): [n=0] [17:30:07.593] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.594] | future_lapply() -> future_xapply() ... [17:30:07.594] | : Number of chunks: 1 [17:30:07.595] | : getGlobalsAndPackagesXApply() ... [17:30:07.596] | : . future.globals: with names [17:30:07.596] | : getGlobalsAndPackagesXApply() ... done [17:30:07.597] | future_lapply() -> future_xapply() ... done [17:30:07.597] future_lapply() ... done [17:30:07.598] future_lapply() ... [17:30:07.599] | Globals in FUN(): [n=0] [17:30:07.600] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.601] | future_lapply() -> future_xapply() ... [17:30:07.601] | : Number of chunks: 1 [17:30:07.602] | : getGlobalsAndPackagesXApply() ... [17:30:07.603] | : . future.globals: '...future.FUN' [17:30:07.603] | : . use_args: TRUE [17:30:07.604] | : getGlobalsAndPackagesXApply() ... done [17:30:07.605] | future_lapply() -> future_xapply() ... done [17:30:07.605] future_lapply() ... done [17:30:07.606] future_lapply() ... [17:30:07.607] | Globals in FUN(): [n=0] [17:30:07.608] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.609] | future_lapply() -> future_xapply() ... [17:30:07.610] | : Number of chunks: 1 [17:30:07.611] | : getGlobalsAndPackagesXApply() ... [17:30:07.612] | : . future.globals: '...future.FUN' [17:30:07.613] | : . use_args: TRUE [17:30:07.615] | : getGlobalsAndPackagesXApply() ... done [17:30:07.616] | future_lapply() -> future_xapply() ... done [17:30:07.617] future_lapply() ... done [17:30:07.619] future_lapply() ... [17:30:07.621] | Globals in FUN(): [n=0] [17:30:07.622] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [17:30:07.623] | future_lapply() -> future_xapply() ... [17:30:07.624] | : Number of chunks: 1 [17:30:07.625] | : getGlobalsAndPackagesXApply() ... [17:30:07.626] | : . future.globals: TRUE [17:30:07.641] | : . globals found/used: [n=1] 'FUN' [17:30:07.642] | : . needed namespaces: [n=0] [17:30:07.642] | : . use_args: TRUE [17:30:07.643] | : . Getting '...' globals ... [17:30:07.644] | : . ' '...' content: [n=0] [17:30:07.645] | : . ' List of 1 [17:30:07.645] | : . ' $ ...: list() [17:30:07.645] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.645] | : . ' - attr(*, "where")=List of 1 [17:30:07.645] | : . ' ..$ ...: [17:30:07.645] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.645] | : . ' - attr(*, "resolved")= logi TRUE [17:30:07.645] | : . ' - attr(*, "total_size")= num NA [17:30:07.649] | : . Getting '...' globals ... done [17:30:07.650] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [17:30:07.651] | : . List of 2 [17:30:07.651] | : . $ ...future.FUN:function (f) [17:30:07.651] | : . $ ... : list() [17:30:07.651] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.651] | : . - attr(*, "where")=List of 2 [17:30:07.651] | : . ..$ ...future.FUN: [17:30:07.651] | : . ..$ ... : [17:30:07.651] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.651] | : . - attr(*, "resolved")= logi FALSE [17:30:07.651] | : . - attr(*, "total_size")= num 3255 [17:30:07.655] | : . Packages to be attached in all futures: [n=0] [17:30:07.656] | : getGlobalsAndPackagesXApply() ... done [17:30:07.657] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [17:30:07.657] | : List of 5 [17:30:07.657] | : $ ...future.FUN :function (f) [17:30:07.657] | : $ ... : list() [17:30:07.657] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [17:30:07.657] | : $ ...future.elements_ii : NULL [17:30:07.657] | : $ ...future.seeds_ii : NULL [17:30:07.657] | : $ ...future.globals.maxSize: NULL [17:30:07.657] | : - attr(*, "where")=List of 5 [17:30:07.657] | : ..$ ...future.FUN : [17:30:07.657] | : ..$ ... : [17:30:07.657] | : ..$ ...future.elements_ii : [17:30:07.657] | : ..$ ...future.seeds_ii : [17:30:07.657] | : ..$ ...future.globals.maxSize: [17:30:07.657] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:30:07.657] | : - attr(*, "resolved")= logi FALSE [17:30:07.657] | : - attr(*, "total_size")= num 3255 [17:30:07.664] | : Number of futures (= number of chunks): 1 [17:30:07.665] | : Launching 1 futures (chunks) ... [17:30:07.665] | : Chunk #1 of 1 ... [17:30:07.666] | : - Finding globals in 'X' for chunk #1 ... [17:30:07.675] | : + additional globals found: [n=1] '...future.elements_ii' [17:30:07.675] | : + additional namespaces needed: [n=0] [17:30:07.676] | : onError() ... [17:30:07.677] | : . Received Warning: Caught simpleError. Canceling all iterations ... [17:30:07.678] | : . Signaling: [17:30:07.678] | : onError() ... done [17:30:07.679] | future_lapply() -> future_xapply() ... done [17:30:07.680] future_lapply() ... done *** future_lapply() - globals exceptions ... DONE Failed to undo environment variables: - Expected environment variables: [n=218] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CV_Instance001', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS44_HOME', 'RTOOLS45_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS45_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTME_NAME', 'R_TESTME_PACKAGE', 'R_TESTME_PATH', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TETRAD_DIR', '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_RCPP_NOT_NEEDED_', '_R_CHECK_RD_BIBENTRIES_CITED_NOT_SHOWN_', '_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_RELATIVE_PATHS_', '_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: Skipping, because path appears not to be an 'R CMD check' folder: 'D:/temp/2026_03_18_17_25_17_22656' Test time: user.self=4s, sys.self=0.5s, elapsed=7s, user.child=NAs, sys.child=NAs Test 'future.apply-future_lapply,globals' ... success > > proc.time() user system elapsed 4.87 0.65 7.23