R version 4.6.0 alpha (2026-03-31 r89747 ucrt) 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' [07:31:27.032] future_lapply() ... [07:31:27.047] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [07:31:27.048] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.050] | future_lapply() -> future_xapply() ... [07:31:27.052] | : Number of chunks: 1 [07:31:27.053] | : getGlobalsAndPackagesXApply() ... [07:31:27.054] | : . future.globals: FALSE [07:31:27.061] | : . globals found/used: [n=2] 'FUN', 'future.call.arguments' [07:31:27.062] | : . needed namespaces: [n=0] [07:31:27.063] | : . use_args: TRUE [07:31:27.064] | : . Getting '...' globals ... [07:31:27.067] | : . ' '...' content: [n=0] [07:31:27.068] | : . ' List of 1 [07:31:27.068] | : . ' $ ...: list() [07:31:27.068] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.068] | : . ' - attr(*, "where")=List of 1 [07:31:27.068] | : . ' ..$ ...: [07:31:27.068] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.068] | : . ' - attr(*, "resolved")= logi TRUE [07:31:27.068] | : . ' - attr(*, "total_size")= num NA [07:31:27.075] | : . Getting '...' globals ... done [07:31:27.076] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'future.call.arguments', '...' [07:31:27.077] | : . List of 3 [07:31:27.077] | : . $ ...future.FUN :function (x) [07:31:27.077] | : . $ future.call.arguments: list() [07:31:27.077] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.077] | : . $ ... : list() [07:31:27.077] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.077] | : . - attr(*, "where")=List of 3 [07:31:27.077] | : . ..$ ...future.FUN : [07:31:27.077] | : . ..$ future.call.arguments: [07:31:27.077] | : . ..$ ... : [07:31:27.077] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.077] | : . - attr(*, "resolved")= logi FALSE [07:31:27.077] | : . - attr(*, "total_size")= num 3581 [07:31:27.086] | : . Packages to be attached in all futures: [n=1] 'utils' [07:31:27.087] | : getGlobalsAndPackagesXApply() ... done [07:31:27.088] | : Globals pass to each chunk: [n=6] '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.089] | : List of 6 [07:31:27.089] | : $ ...future.FUN :function (x) [07:31:27.089] | : $ future.call.arguments : list() [07:31:27.089] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.089] | : $ ... : list() [07:31:27.089] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.089] | : $ ...future.elements_ii : NULL [07:31:27.089] | : $ ...future.seeds_ii : NULL [07:31:27.089] | : $ ...future.globals.maxSize: NULL [07:31:27.089] | : - attr(*, "where")=List of 6 [07:31:27.089] | : ..$ ...future.FUN : [07:31:27.089] | : ..$ future.call.arguments : [07:31:27.089] | : ..$ ... : [07:31:27.089] | : ..$ ...future.elements_ii : [07:31:27.089] | : ..$ ...future.seeds_ii : [07:31:27.089] | : ..$ ...future.globals.maxSize: [07:31:27.089] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.089] | : - attr(*, "resolved")= logi FALSE [07:31:27.089] | : - attr(*, "total_size")= num 3581 [07:31:27.102] | : Number of futures (= number of chunks): 1 [07:31:27.103] | : Launching 1 futures (chunks) ... [07:31:27.103] | : Chunk #1 of 1 ... [07:31:27.105] | : - seeds: [07:31:27.106] | : - All globals exported: [n=6] '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.114] | : Created future: [07:31:27.115] | : ClusterFuture: [07:31:27.115] | : Label: 'fz:base::lapply-1' [07:31:27.115] | : Expression: [07:31:27.115] | : { [07:31:27.115] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.115] | : "# expression in do.call(), because function called uses '...' " [07:31:27.115] | : "# as a global variable " [07:31:27.115] | : do.call(function(...) { [07:31:27.115] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.115] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.115] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.115] | : "# anonymous function. " [07:31:27.115] | : "# " [07:31:27.115] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.115] | : "# function environment of FUN() to the calling environment. " [07:31:27.115] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.115] | : "# global environment, which is where globals are written. " [07:31:27.115] | : penv <- env <- environment(...future.FUN) [07:31:27.115] | : repeat { [07:31:27.115] | : if (identical(env, globalenv()) || identical(env, [07:31:27.115] | : emptyenv())) [07:31:27.115] | : break [07:31:27.115] | : penv <- env [07:31:27.115] | : env <- parent.env(env) [07:31:27.115] | : } [07:31:27.115] | : if (identical(penv, globalenv())) { [07:31:27.115] | : environment(...future.FUN) <- environment() [07:31:27.115] | : } [07:31:27.115] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.115] | : !isNamespace(penv)) { [07:31:27.115] | : parent.env(penv) <- environment() [07:31:27.115] | : } [07:31:27.115] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.115] | : { [07:31:27.115] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.115] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.115] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.115] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.115] | : on.exit(options(oopts), add = TRUE) [07:31:27.115] | : } [07:31:27.115] | : { [07:31:27.115] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.115] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.115] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.115] | : { [07:31:27.115] | : ...future.FUN(...future.X_jj, ...) [07:31:27.115] | : } [07:31:27.115] | : }) [07:31:27.115] | : } [07:31:27.115] | : } [07:31:27.115] | : }, args = future.call.arguments) [07:31:27.115] | : } [07:31:27.115] | : Globals: 5 objects totaling 3.69 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) [07:31:27.115] | : Packages: 1 packages ('utils') [07:31:27.115] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.115] | : Capture standard output: TRUE [07:31:27.115] | : Capture condition classes: 'condition' (excluding '') [07:31:27.115] | : Immediate condition classes: 'immediateCondition' [07:31:27.115] | : Lazy evaluation: FALSE [07:31:27.115] | : Local evaluation: TRUE [07:31:27.115] | : Early signaling: FALSE [07:31:27.115] | : Actions: [n=1] 'run' [07:31:27.115] | : State: 'running' ("Future is being evaluated") [07:31:27.115] | : Resolved: TRUE [07:31:27.115] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-1 [07:31:27.115] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.115] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:27.115] | : Value: [07:31:27.115] | : Conditions captured: [07:31:27.210] | : Chunk #1 of 1 ... DONE [07:31:27.211] | : Launching 1 futures (chunks) ... DONE [07:31:27.212] | : Resolving 1 futures (chunks) ... [07:31:27.218] | : onError() ... [07:31:27.219] | : . Received Warning: Caught simpleError. Canceling all iterations ... [07:31:27.221] | : . Signaling: [07:31:27.222] | : onError() ... done [07:31:27.223] | future_lapply() -> future_xapply() ... done [07:31:27.223] future_lapply() ... done Globals set 'B' [07:31:27.225] future_lapply() ... [07:31:27.227] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [07:31:27.228] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.229] | future_lapply() -> future_xapply() ... [07:31:27.230] | : Number of chunks: 1 [07:31:27.231] | : getGlobalsAndPackagesXApply() ... [07:31:27.232] | : . future.globals: TRUE [07:31:27.257] | : . globals found/used: [n=3] 'FUN', 'a', 'b' [07:31:27.258] | : . needed namespaces: [n=1] 'stats' [07:31:27.260] | : . use_args: TRUE [07:31:27.261] | : . Getting '...' globals ... [07:31:27.262] | : . ' '...' content: [n=0] [07:31:27.264] | : . ' List of 1 [07:31:27.264] | : . ' $ ...: list() [07:31:27.264] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.264] | : . ' - attr(*, "where")=List of 1 [07:31:27.264] | : . ' ..$ ...: [07:31:27.264] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.264] | : . ' - attr(*, "resolved")= logi TRUE [07:31:27.264] | : . ' - attr(*, "total_size")= num NA [07:31:27.270] | : . Getting '...' globals ... done [07:31:27.271] | : . Globals to be used in all futures (chunks): [n=4] '...future.FUN', 'a', 'b', '...' [07:31:27.272] | : . List of 4 [07:31:27.272] | : . $ ...future.FUN:function (x) [07:31:27.272] | : . $ a : num 1 [07:31:27.272] | : . $ b : num 2 [07:31:27.272] | : . $ ... : list() [07:31:27.272] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.272] | : . - attr(*, "where")=List of 4 [07:31:27.272] | : . ..$ ...future.FUN: [07:31:27.272] | : . ..$ a : [07:31:27.272] | : . ..$ b : [07:31:27.272] | : . ..$ ... : [07:31:27.272] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.272] | : . - attr(*, "resolved")= logi FALSE [07:31:27.272] | : . - attr(*, "total_size")= num 3562 [07:31:27.282] | : . Packages to be attached in all futures: [n=2] 'stats', 'utils' [07:31:27.283] | : getGlobalsAndPackagesXApply() ... done [07:31:27.285] | : Globals pass to each chunk: [n=7] '...future.FUN', 'a', 'b', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.286] | : List of 7 [07:31:27.286] | : $ ...future.FUN :function (x) [07:31:27.286] | : $ a : num 1 [07:31:27.286] | : $ b : num 2 [07:31:27.286] | : $ ... : list() [07:31:27.286] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.286] | : $ ...future.elements_ii : NULL [07:31:27.286] | : $ ...future.seeds_ii : NULL [07:31:27.286] | : $ ...future.globals.maxSize: NULL [07:31:27.286] | : - attr(*, "where")=List of 7 [07:31:27.286] | : ..$ ...future.FUN : [07:31:27.286] | : ..$ a : [07:31:27.286] | : ..$ b : [07:31:27.286] | : ..$ ... : [07:31:27.286] | : ..$ ...future.elements_ii : [07:31:27.286] | : ..$ ...future.seeds_ii : [07:31:27.286] | : ..$ ...future.globals.maxSize: [07:31:27.286] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.286] | : - attr(*, "resolved")= logi FALSE [07:31:27.286] | : - attr(*, "total_size")= num 3562 [07:31:27.299] | : Number of futures (= number of chunks): 1 [07:31:27.300] | : Launching 1 futures (chunks) ... [07:31:27.301] | : Chunk #1 of 1 ... [07:31:27.302] | : - Finding globals in 'X' for chunk #1 ... [07:31:27.304] | : + additional globals found: [n=0] [07:31:27.305] | : + additional namespaces needed: [n=0] [07:31:27.306] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:27.307] | : - seeds: [07:31:27.308] | : - All globals exported: [n=7] '...future.FUN', 'a', 'b', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.313] | : Created future: [07:31:27.314] | : ClusterFuture: [07:31:27.314] | : Label: 'fz:base::lapply-1' [07:31:27.314] | : Expression: [07:31:27.314] | : { [07:31:27.314] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.314] | : "# expression in do.call(), because function called uses '...' " [07:31:27.314] | : "# as a global variable " [07:31:27.314] | : do.call(function(...) { [07:31:27.314] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.314] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.314] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.314] | : "# anonymous function. " [07:31:27.314] | : "# " [07:31:27.314] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.314] | : "# function environment of FUN() to the calling environment. " [07:31:27.314] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.314] | : "# global environment, which is where globals are written. " [07:31:27.314] | : penv <- env <- environment(...future.FUN) [07:31:27.314] | : repeat { [07:31:27.314] | : if (identical(env, globalenv()) || identical(env, [07:31:27.314] | : emptyenv())) [07:31:27.314] | : break [07:31:27.314] | : penv <- env [07:31:27.314] | : env <- parent.env(env) [07:31:27.314] | : } [07:31:27.314] | : if (identical(penv, globalenv())) { [07:31:27.314] | : environment(...future.FUN) <- environment() [07:31:27.314] | : } [07:31:27.314] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.314] | : !isNamespace(penv)) { [07:31:27.314] | : parent.env(penv) <- environment() [07:31:27.314] | : } [07:31:27.314] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.314] | : { [07:31:27.314] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.314] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.314] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.314] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.314] | : on.exit(options(oopts), add = TRUE) [07:31:27.314] | : } [07:31:27.314] | : { [07:31:27.314] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.314] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.314] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.314] | : { [07:31:27.314] | : ...future.FUN(...future.X_jj, ...) [07:31:27.314] | : } [07:31:27.314] | : }) [07:31:27.314] | : } [07:31:27.314] | : } [07:31:27.314] | : }, args = future.call.arguments) [07:31:27.314] | : } [07:31:27.314] | : 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, ...) [07:31:27.314] | : Packages: 2 packages ('stats', 'utils') [07:31:27.314] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.314] | : Capture standard output: TRUE [07:31:27.314] | : Capture condition classes: 'condition' (excluding '') [07:31:27.314] | : Immediate condition classes: 'immediateCondition' [07:31:27.314] | : Lazy evaluation: FALSE [07:31:27.314] | : Local evaluation: TRUE [07:31:27.314] | : Early signaling: FALSE [07:31:27.314] | : Actions: [n=1] 'run' [07:31:27.314] | : State: 'running' ("Future is being evaluated") [07:31:27.314] | : Resolved: TRUE [07:31:27.314] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-2 [07:31:27.314] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.314] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:27.314] | : Value: [07:31:27.314] | : Conditions captured: [07:31:27.325] | : Chunk #1 of 1 ... DONE [07:31:27.326] | : Launching 1 futures (chunks) ... DONE [07:31:27.327] | : Resolving 1 futures (chunks) ... [07:31:27.329] | : - Number of value chunks collected: 1 [07:31:27.330] | : Resolving 1 futures (chunks) ... DONE [07:31:27.331] | : Reducing values from 1 chunks ... [07:31:27.332] | : - Number of values collected after concatenation: 1 [07:31:27.333] | : - Number of values expected: 1 [07:31:27.335] | : Reducing values from 1 chunks ... DONE [07:31:27.336] | future_lapply() -> future_xapply() ... done [07:31:27.337] future_lapply() ... done [[1]] [1] 1 Globals set 'C' [07:31:27.339] future_lapply() ... [07:31:27.342] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [07:31:27.343] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.344] | future_lapply() -> future_xapply() ... [07:31:27.345] | : Number of chunks: 1 [07:31:27.346] | : getGlobalsAndPackagesXApply() ... [07:31:27.347] | : . future.globals: 'a', 'b' [07:31:27.348] | : . use_args: TRUE [07:31:27.349] | : . Globals to be used in all futures (chunks): [n=4] 'a', 'b', '...future.FUN', '...' [07:31:27.350] | : . List of 4 [07:31:27.350] | : . $ a : num 1 [07:31:27.350] | : . $ b : num 2 [07:31:27.350] | : . $ ...future.FUN:function (x) [07:31:27.350] | : . $ ... : list() [07:31:27.350] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.350] | : . - attr(*, "where")=List of 4 [07:31:27.350] | : . ..$ a : [07:31:27.350] | : . ..$ b : [07:31:27.350] | : . ..$ ...future.FUN: [07:31:27.350] | : . ..$ ... : [07:31:27.350] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.350] | : . - attr(*, "resolved")= logi FALSE [07:31:27.350] | : . - attr(*, "total_size")= num NA [07:31:27.360] | : . Packages to be attached in all futures: [n=1] 'utils' [07:31:27.361] | : getGlobalsAndPackagesXApply() ... done [07:31:27.362] | : Globals pass to each chunk: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.364] | : List of 7 [07:31:27.364] | : $ a : num 1 [07:31:27.364] | : $ b : num 2 [07:31:27.364] | : $ ...future.FUN :function (x) [07:31:27.364] | : $ ... : list() [07:31:27.364] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.364] | : $ ...future.elements_ii : NULL [07:31:27.364] | : $ ...future.seeds_ii : NULL [07:31:27.364] | : $ ...future.globals.maxSize: NULL [07:31:27.364] | : - attr(*, "where")=List of 7 [07:31:27.364] | : ..$ a : [07:31:27.364] | : ..$ b : [07:31:27.364] | : ..$ ...future.FUN : [07:31:27.364] | : ..$ ... : [07:31:27.364] | : ..$ ...future.elements_ii : [07:31:27.364] | : ..$ ...future.seeds_ii : [07:31:27.364] | : ..$ ...future.globals.maxSize: [07:31:27.364] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.364] | : - attr(*, "resolved")= logi FALSE [07:31:27.364] | : - attr(*, "total_size")= num NA [07:31:27.376] | : Number of futures (= number of chunks): 1 [07:31:27.377] | : Launching 1 futures (chunks) ... [07:31:27.379] | : Chunk #1 of 1 ... [07:31:27.380] | : - seeds: [07:31:27.381] | : - All globals exported: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.386] | : Created future: [07:31:27.387] | : ClusterFuture: [07:31:27.387] | : Label: 'fz:base::lapply-1' [07:31:27.387] | : Expression: [07:31:27.387] | : { [07:31:27.387] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.387] | : "# expression in do.call(), because function called uses '...' " [07:31:27.387] | : "# as a global variable " [07:31:27.387] | : do.call(function(...) { [07:31:27.387] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.387] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.387] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.387] | : "# anonymous function. " [07:31:27.387] | : "# " [07:31:27.387] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.387] | : "# function environment of FUN() to the calling environment. " [07:31:27.387] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.387] | : "# global environment, which is where globals are written. " [07:31:27.387] | : penv <- env <- environment(...future.FUN) [07:31:27.387] | : repeat { [07:31:27.387] | : if (identical(env, globalenv()) || identical(env, [07:31:27.387] | : emptyenv())) [07:31:27.387] | : break [07:31:27.387] | : penv <- env [07:31:27.387] | : env <- parent.env(env) [07:31:27.387] | : } [07:31:27.387] | : if (identical(penv, globalenv())) { [07:31:27.387] | : environment(...future.FUN) <- environment() [07:31:27.387] | : } [07:31:27.387] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.387] | : !isNamespace(penv)) { [07:31:27.387] | : parent.env(penv) <- environment() [07:31:27.387] | : } [07:31:27.387] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.387] | : { [07:31:27.387] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.387] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.387] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.387] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.387] | : on.exit(options(oopts), add = TRUE) [07:31:27.387] | : } [07:31:27.387] | : { [07:31:27.387] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.387] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.387] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.387] | : { [07:31:27.387] | : ...future.FUN(...future.X_jj, ...) [07:31:27.387] | : } [07:31:27.387] | : }) [07:31:27.387] | : } [07:31:27.387] | : } [07:31:27.387] | : }, args = future.call.arguments) [07:31:27.387] | : } [07:31:27.387] | : Globals: 7 objects totaling 3.79 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, ...) [07:31:27.387] | : Packages: 1 packages ('utils') [07:31:27.387] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.387] | : Capture standard output: TRUE [07:31:27.387] | : Capture condition classes: 'condition' (excluding '') [07:31:27.387] | : Immediate condition classes: 'immediateCondition' [07:31:27.387] | : Lazy evaluation: FALSE [07:31:27.387] | : Local evaluation: TRUE [07:31:27.387] | : Early signaling: FALSE [07:31:27.387] | : Actions: [n=1] 'run' [07:31:27.387] | : State: 'running' ("Future is being evaluated") [07:31:27.387] | : Resolved: TRUE [07:31:27.387] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-3 [07:31:27.387] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.387] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:27.387] | : Value: [07:31:27.387] | : Conditions captured: [07:31:27.395] | : Chunk #1 of 1 ... DONE [07:31:27.397] | : Launching 1 futures (chunks) ... DONE [07:31:27.398] | : Resolving 1 futures (chunks) ... [07:31:27.399] | : - Number of value chunks collected: 1 [07:31:27.400] | : Resolving 1 futures (chunks) ... DONE [07:31:27.401] | : Reducing values from 1 chunks ... [07:31:27.402] | : - Number of values collected after concatenation: 1 [07:31:27.403] | : - Number of values expected: 1 [07:31:27.404] | : Reducing values from 1 chunks ... DONE [07:31:27.406] | future_lapply() -> future_xapply() ... done [07:31:27.407] future_lapply() ... done [[1]] [1] 1 Globals set 'D' [07:31:27.408] future_lapply() ... [07:31:27.411] | Globals in FUN(): [n=5] '{', 'median', 'c', 'a', 'b' [07:31:27.412] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.413] | future_lapply() -> future_xapply() ... [07:31:27.414] | : Number of chunks: 1 [07:31:27.415] | : getGlobalsAndPackagesXApply() ... [07:31:27.416] | : . future.globals: with names 'a', 'b' [07:31:27.418] | : . use_args: TRUE [07:31:27.419] | : . Getting '...' globals ... [07:31:27.421] | : . ' '...' content: [n=0] [07:31:27.422] | : . ' List of 1 [07:31:27.422] | : . ' $ ...: list() [07:31:27.422] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.422] | : . ' - attr(*, "where")=List of 1 [07:31:27.422] | : . ' ..$ ...: [07:31:27.422] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.422] | : . ' - attr(*, "resolved")= logi TRUE [07:31:27.422] | : . ' - attr(*, "total_size")= num NA [07:31:27.428] | : . Getting '...' globals ... done [07:31:27.429] | : . Globals to be used in all futures (chunks): [n=4] 'a', 'b', '...future.FUN', '...' [07:31:27.430] | : . List of 4 [07:31:27.430] | : . $ a : num 2 [07:31:27.430] | : . $ b : num 3 [07:31:27.430] | : . $ ...future.FUN:function (x) [07:31:27.430] | : . $ ... : list() [07:31:27.430] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.430] | : . - attr(*, "where")=List of 4 [07:31:27.430] | : . ..$ a : [07:31:27.430] | : . ..$ b : [07:31:27.430] | : . ..$ ...future.FUN: [07:31:27.430] | : . ..$ ... : [07:31:27.430] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.430] | : . - attr(*, "resolved")= logi FALSE [07:31:27.430] | : . - attr(*, "total_size")= num NA [07:31:27.440] | : . Packages to be attached in all futures: [n=1] 'utils' [07:31:27.441] | : getGlobalsAndPackagesXApply() ... done [07:31:27.442] | : Globals pass to each chunk: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.443] | : List of 7 [07:31:27.443] | : $ a : num 2 [07:31:27.443] | : $ b : num 3 [07:31:27.443] | : $ ...future.FUN :function (x) [07:31:27.443] | : $ ... : list() [07:31:27.443] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.443] | : $ ...future.elements_ii : NULL [07:31:27.443] | : $ ...future.seeds_ii : NULL [07:31:27.443] | : $ ...future.globals.maxSize: NULL [07:31:27.443] | : - attr(*, "where")=List of 7 [07:31:27.443] | : ..$ a : [07:31:27.443] | : ..$ b : [07:31:27.443] | : ..$ ...future.FUN : [07:31:27.443] | : ..$ ... : [07:31:27.443] | : ..$ ...future.elements_ii : [07:31:27.443] | : ..$ ...future.seeds_ii : [07:31:27.443] | : ..$ ...future.globals.maxSize: [07:31:27.443] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.443] | : - attr(*, "resolved")= logi FALSE [07:31:27.443] | : - attr(*, "total_size")= num NA [07:31:27.456] | : Number of futures (= number of chunks): 1 [07:31:27.457] | : Launching 1 futures (chunks) ... [07:31:27.458] | : Chunk #1 of 1 ... [07:31:27.459] | : - seeds: [07:31:27.460] | : - All globals exported: [n=7] 'a', 'b', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.466] | : Created future: [07:31:27.467] | : ClusterFuture: [07:31:27.467] | : Label: 'fz:base::lapply-1' [07:31:27.467] | : Expression: [07:31:27.467] | : { [07:31:27.467] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.467] | : "# expression in do.call(), because function called uses '...' " [07:31:27.467] | : "# as a global variable " [07:31:27.467] | : do.call(function(...) { [07:31:27.467] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.467] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.467] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.467] | : "# anonymous function. " [07:31:27.467] | : "# " [07:31:27.467] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.467] | : "# function environment of FUN() to the calling environment. " [07:31:27.467] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.467] | : "# global environment, which is where globals are written. " [07:31:27.467] | : penv <- env <- environment(...future.FUN) [07:31:27.467] | : repeat { [07:31:27.467] | : if (identical(env, globalenv()) || identical(env, [07:31:27.467] | : emptyenv())) [07:31:27.467] | : break [07:31:27.467] | : penv <- env [07:31:27.467] | : env <- parent.env(env) [07:31:27.467] | : } [07:31:27.467] | : if (identical(penv, globalenv())) { [07:31:27.467] | : environment(...future.FUN) <- environment() [07:31:27.467] | : } [07:31:27.467] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.467] | : !isNamespace(penv)) { [07:31:27.467] | : parent.env(penv) <- environment() [07:31:27.467] | : } [07:31:27.467] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.467] | : { [07:31:27.467] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.467] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.467] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.467] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.467] | : on.exit(options(oopts), add = TRUE) [07:31:27.467] | : } [07:31:27.467] | : { [07:31:27.467] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.467] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.467] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.467] | : { [07:31:27.467] | : ...future.FUN(...future.X_jj, ...) [07:31:27.467] | : } [07:31:27.467] | : }) [07:31:27.467] | : } [07:31:27.467] | : } [07:31:27.467] | : }, args = future.call.arguments) [07:31:27.467] | : } [07:31:27.467] | : Globals: 7 objects totaling 3.89 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, ...) [07:31:27.467] | : Packages: 1 packages ('utils') [07:31:27.467] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.467] | : Capture standard output: TRUE [07:31:27.467] | : Capture condition classes: 'condition' (excluding '') [07:31:27.467] | : Immediate condition classes: 'immediateCondition' [07:31:27.467] | : Lazy evaluation: FALSE [07:31:27.467] | : Local evaluation: TRUE [07:31:27.467] | : Early signaling: FALSE [07:31:27.467] | : Actions: [n=1] 'run' [07:31:27.467] | : State: 'running' ("Future is being evaluated") [07:31:27.467] | : Resolved: TRUE [07:31:27.467] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-4 [07:31:27.467] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.467] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:27.467] | : Value: [07:31:27.467] | : Conditions captured: [07:31:27.477] | : Chunk #1 of 1 ... DONE [07:31:27.478] | : Launching 1 futures (chunks) ... DONE [07:31:27.479] | : Resolving 1 futures (chunks) ... [07:31:27.481] | : - Number of value chunks collected: 1 [07:31:27.482] | : Resolving 1 futures (chunks) ... DONE [07:31:27.482] | : Reducing values from 1 chunks ... [07:31:27.483] | : - Number of values collected after concatenation: 1 [07:31:27.484] | : - Number of values expected: 1 [07:31:27.485] | : Reducing values from 1 chunks ... DONE [07:31:27.486] | future_lapply() -> future_xapply() ... done [07:31:27.487] future_lapply() ... done [[1]] [1] 2 *** future_lapply() - globals ... DONE *** future_lapply() - manual globals ... [07:31:27.489] future_lapply() ... [07:31:27.491] | Globals in FUN(): [n=3] '{', '*', 'd' [07:31:27.495] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.496] | future_lapply() -> future_xapply() ... [07:31:27.497] | : Number of chunks: 1 [07:31:27.498] | : getGlobalsAndPackagesXApply() ... [07:31:27.499] | : . future.globals: FALSE [07:31:27.501] | : . globals found/used: [n=3] 'd', 'FUN', 'future.call.arguments' [07:31:27.502] | : . needed namespaces: [n=0] [07:31:27.502] | : . use_args: TRUE [07:31:27.503] | : . Getting '...' globals ... [07:31:27.504] | : . ' '...' content: [n=0] [07:31:27.505] | : . ' List of 1 [07:31:27.505] | : . ' $ ...: list() [07:31:27.505] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.505] | : . ' - attr(*, "where")=List of 1 [07:31:27.505] | : . ' ..$ ...: [07:31:27.505] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.505] | : . ' - attr(*, "resolved")= logi TRUE [07:31:27.505] | : . ' - attr(*, "total_size")= num NA [07:31:27.510] | : . Getting '...' globals ... done [07:31:27.511] | : . Globals to be used in all futures (chunks): [n=4] 'd', '...future.FUN', 'future.call.arguments', '...' [07:31:27.512] | : . List of 4 [07:31:27.512] | : . $ d : num 42 [07:31:27.512] | : . $ ...future.FUN :function (x) [07:31:27.512] | : . $ future.call.arguments: list() [07:31:27.512] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.512] | : . $ ... : list() [07:31:27.512] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.512] | : . - attr(*, "where")=List of 4 [07:31:27.512] | : . ..$ d : [07:31:27.512] | : . ..$ ...future.FUN : [07:31:27.512] | : . ..$ future.call.arguments: [07:31:27.512] | : . ..$ ... : [07:31:27.512] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.512] | : . - attr(*, "resolved")= logi FALSE [07:31:27.512] | : . - attr(*, "total_size")= num 3698 [07:31:27.519] | : . Packages to be attached in all futures: [n=0] [07:31:27.520] | : getGlobalsAndPackagesXApply() ... done [07:31:27.521] | : Globals pass to each chunk: [n=7] 'd', '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.522] | : List of 7 [07:31:27.522] | : $ d : num 42 [07:31:27.522] | : $ ...future.FUN :function (x) [07:31:27.522] | : $ future.call.arguments : list() [07:31:27.522] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.522] | : $ ... : list() [07:31:27.522] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.522] | : $ ...future.elements_ii : NULL [07:31:27.522] | : $ ...future.seeds_ii : NULL [07:31:27.522] | : $ ...future.globals.maxSize: NULL [07:31:27.522] | : - attr(*, "where")=List of 7 [07:31:27.522] | : ..$ d : [07:31:27.522] | : ..$ ...future.FUN : [07:31:27.522] | : ..$ future.call.arguments : [07:31:27.522] | : ..$ ... : [07:31:27.522] | : ..$ ...future.elements_ii : [07:31:27.522] | : ..$ ...future.seeds_ii : [07:31:27.522] | : ..$ ...future.globals.maxSize: [07:31:27.522] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.522] | : - attr(*, "resolved")= logi FALSE [07:31:27.522] | : - attr(*, "total_size")= num 3698 [07:31:27.533] | : Number of futures (= number of chunks): 1 [07:31:27.534] | : Launching 1 futures (chunks) ... [07:31:27.535] | : Chunk #1 of 1 ... [07:31:27.535] | : - seeds: [07:31:27.536] | : - All globals exported: [n=7] 'd', '...future.FUN', 'future.call.arguments', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.541] | : Created future: [07:31:27.543] | : ClusterFuture: [07:31:27.543] | : Label: 'fz:base::lapply-1' [07:31:27.543] | : Expression: [07:31:27.543] | : { [07:31:27.543] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.543] | : "# expression in do.call(), because function called uses '...' " [07:31:27.543] | : "# as a global variable " [07:31:27.543] | : do.call(function(...) { [07:31:27.543] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.543] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.543] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.543] | : "# anonymous function. " [07:31:27.543] | : "# " [07:31:27.543] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.543] | : "# function environment of FUN() to the calling environment. " [07:31:27.543] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.543] | : "# global environment, which is where globals are written. " [07:31:27.543] | : penv <- env <- environment(...future.FUN) [07:31:27.543] | : repeat { [07:31:27.543] | : if (identical(env, globalenv()) || identical(env, [07:31:27.543] | : emptyenv())) [07:31:27.543] | : break [07:31:27.543] | : penv <- env [07:31:27.543] | : env <- parent.env(env) [07:31:27.543] | : } [07:31:27.543] | : if (identical(penv, globalenv())) { [07:31:27.543] | : environment(...future.FUN) <- environment() [07:31:27.543] | : } [07:31:27.543] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.543] | : !isNamespace(penv)) { [07:31:27.543] | : parent.env(penv) <- environment() [07:31:27.543] | : } [07:31:27.543] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.543] | : { [07:31:27.543] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.543] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.543] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.543] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.543] | : on.exit(options(oopts), add = TRUE) [07:31:27.543] | : } [07:31:27.543] | : { [07:31:27.543] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.543] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.543] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.543] | : { [07:31:27.543] | : ...future.FUN(...future.X_jj, ...) [07:31:27.543] | : } [07:31:27.543] | : }) [07:31:27.543] | : } [07:31:27.543] | : } [07:31:27.543] | : }, args = future.call.arguments) [07:31:27.543] | : } [07:31:27.543] | : 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, ...) [07:31:27.543] | : Packages: [07:31:27.543] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.543] | : Capture standard output: TRUE [07:31:27.543] | : Capture condition classes: 'condition' (excluding '') [07:31:27.543] | : Immediate condition classes: 'immediateCondition' [07:31:27.543] | : Lazy evaluation: FALSE [07:31:27.543] | : Local evaluation: TRUE [07:31:27.543] | : Early signaling: FALSE [07:31:27.543] | : Actions: [n=1] 'run' [07:31:27.543] | : State: 'running' ("Future is being evaluated") [07:31:27.543] | : Resolved: TRUE [07:31:27.543] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-5 [07:31:27.543] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.543] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:27.543] | : Value: [07:31:27.543] | : Conditions captured: [07:31:27.552] | : Chunk #1 of 1 ... DONE [07:31:27.553] | : Launching 1 futures (chunks) ... DONE [07:31:27.554] | : Resolving 1 futures (chunks) ... [07:31:27.556] | : - Number of value chunks collected: 1 [07:31:27.557] | : Resolving 1 futures (chunks) ... DONE [07:31:27.558] | : Reducing values from 1 chunks ... [07:31:27.559] | : - Number of values collected after concatenation: 2 [07:31:27.560] | : - Number of values expected: 2 [07:31:27.561] | : Reducing values from 1 chunks ... DONE [07:31:27.562] | future_lapply() -> future_xapply() ... done [07:31:27.563] future_lapply() ... done [07:31:27.565] future_lapply() ... [07:31:27.567] | Globals in FUN(): [n=3] '{', '*', 'e' [07:31:27.568] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.569] | future_lapply() -> future_xapply() ... [07:31:27.570] | : Number of chunks: 1 [07:31:27.571] | : getGlobalsAndPackagesXApply() ... [07:31:27.572] | : . future.globals: TRUE [07:31:27.582] | : . globals found/used: [n=1] 'FUN' [07:31:27.583] | : . needed namespaces: [n=0] [07:31:27.584] | : . use_args: TRUE [07:31:27.585] | : . Getting '...' globals ... [07:31:27.586] | : . ' '...' content: [n=0] [07:31:27.587] | : . ' List of 1 [07:31:27.587] | : . ' $ ...: list() [07:31:27.587] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.587] | : . ' - attr(*, "where")=List of 1 [07:31:27.587] | : . ' ..$ ...: [07:31:27.587] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.587] | : . ' - attr(*, "resolved")= logi TRUE [07:31:27.587] | : . ' - attr(*, "total_size")= num NA [07:31:27.593] | : . Getting '...' globals ... done [07:31:27.594] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:27.595] | : . List of 2 [07:31:27.595] | : . $ ...future.FUN:function (x) [07:31:27.595] | : . $ ... : list() [07:31:27.595] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.595] | : . - attr(*, "where")=List of 2 [07:31:27.595] | : . ..$ ...future.FUN: [07:31:27.595] | : . ..$ ... : [07:31:27.595] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.595] | : . - attr(*, "resolved")= logi FALSE [07:31:27.595] | : . - attr(*, "total_size")= num 3589 [07:31:27.601] | : . Packages to be attached in all futures: [n=0] [07:31:27.602] | : getGlobalsAndPackagesXApply() ... done [07:31:27.604] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.604] | : List of 5 [07:31:27.604] | : $ ...future.FUN :function (x) [07:31:27.604] | : $ ... : list() [07:31:27.604] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.604] | : $ ...future.elements_ii : NULL [07:31:27.604] | : $ ...future.seeds_ii : NULL [07:31:27.604] | : $ ...future.globals.maxSize: NULL [07:31:27.604] | : - attr(*, "where")=List of 5 [07:31:27.604] | : ..$ ...future.FUN : [07:31:27.604] | : ..$ ... : [07:31:27.604] | : ..$ ...future.elements_ii : [07:31:27.604] | : ..$ ...future.seeds_ii : [07:31:27.604] | : ..$ ...future.globals.maxSize: [07:31:27.604] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.604] | : - attr(*, "resolved")= logi FALSE [07:31:27.604] | : - attr(*, "total_size")= num 3589 [07:31:27.614] | : Number of futures (= number of chunks): 1 [07:31:27.615] | : Launching 1 futures (chunks) ... [07:31:27.615] | : Chunk #1 of 1 ... [07:31:27.616] | : - Finding globals in 'X' for chunk #1 ... [07:31:27.618] | : + additional globals found: [n=0] [07:31:27.619] | : + additional namespaces needed: [n=0] [07:31:27.620] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:27.621] | : - seeds: [07:31:27.621] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.626] | : Created future: [07:31:27.627] | : ClusterFuture: [07:31:27.627] | : Label: 'fz:base::lapply-1' [07:31:27.627] | : Expression: [07:31:27.627] | : { [07:31:27.627] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.627] | : "# expression in do.call(), because function called uses '...' " [07:31:27.627] | : "# as a global variable " [07:31:27.627] | : do.call(function(...) { [07:31:27.627] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.627] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.627] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.627] | : "# anonymous function. " [07:31:27.627] | : "# " [07:31:27.627] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.627] | : "# function environment of FUN() to the calling environment. " [07:31:27.627] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.627] | : "# global environment, which is where globals are written. " [07:31:27.627] | : penv <- env <- environment(...future.FUN) [07:31:27.627] | : repeat { [07:31:27.627] | : if (identical(env, globalenv()) || identical(env, [07:31:27.627] | : emptyenv())) [07:31:27.627] | : break [07:31:27.627] | : penv <- env [07:31:27.627] | : env <- parent.env(env) [07:31:27.627] | : } [07:31:27.627] | : if (identical(penv, globalenv())) { [07:31:27.627] | : environment(...future.FUN) <- environment() [07:31:27.627] | : } [07:31:27.627] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.627] | : !isNamespace(penv)) { [07:31:27.627] | : parent.env(penv) <- environment() [07:31:27.627] | : } [07:31:27.627] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.627] | : { [07:31:27.627] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.627] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.627] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.627] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.627] | : on.exit(options(oopts), add = TRUE) [07:31:27.627] | : } [07:31:27.627] | : { [07:31:27.627] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.627] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.627] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.627] | : { [07:31:27.627] | : ...future.FUN(...future.X_jj, ...) [07:31:27.627] | : } [07:31:27.627] | : }) [07:31:27.627] | : } [07:31:27.627] | : } [07:31:27.627] | : }, args = future.call.arguments) [07:31:27.627] | : } [07:31:27.627] | : 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) [07:31:27.627] | : Packages: [07:31:27.627] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.627] | : Capture standard output: TRUE [07:31:27.627] | : Capture condition classes: 'condition' (excluding '') [07:31:27.627] | : Immediate condition classes: 'immediateCondition' [07:31:27.627] | : Lazy evaluation: FALSE [07:31:27.627] | : Local evaluation: TRUE [07:31:27.627] | : Early signaling: FALSE [07:31:27.627] | : Actions: [n=1] 'run' [07:31:27.627] | : State: 'running' ("Future is being evaluated") [07:31:27.627] | : Resolved: TRUE [07:31:27.627] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-6 [07:31:27.627] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.627] | : Class: 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:27.627] | : Value: [07:31:27.627] | : Conditions captured: [07:31:27.635] | : Chunk #1 of 1 ... DONE [07:31:27.636] | : Launching 1 futures (chunks) ... DONE [07:31:27.637] | : Resolving 1 futures (chunks) ... [07:31:27.639] | : onError() ... [07:31:27.640] | : . Received Warning: Caught simpleError. Canceling all iterations ... [07:31:27.642] | : . Signaling: [07:31:27.643] | : onError() ... done [07:31:27.644] | future_lapply() -> future_xapply() ... done [07:31:27.645] future_lapply() ... done *** future_lapply() - manual globals ... DONE *** future_lapply() - tricky globals ... [07:31:27.801] future_lapply() ... [07:31:27.804] | Globals in FUN(): [n=7] '{', 'do.call', 'caller', 'c', 'list', '+', 'args' [07:31:27.805] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.806] | future_lapply() -> future_xapply() ... [07:31:27.807] | : Number of chunks: 1 [07:31:27.808] | : getGlobalsAndPackagesXApply() ... [07:31:27.809] | : . future.globals: TRUE [07:31:27.861] | : . globals found/used: [n=5] 'FUN', 'caller', 'args', 'call_my_add', 'my_add' [07:31:27.862] | : . needed namespaces: [n=0] [07:31:27.864] | : . use_args: TRUE [07:31:27.865] | : . Getting '...' globals ... [07:31:27.866] | : . ' '...' content: [n=0] [07:31:27.867] | : . ' List of 1 [07:31:27.867] | : . ' $ ...: list() [07:31:27.867] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.867] | : . ' - attr(*, "where")=List of 1 [07:31:27.867] | : . ' ..$ ...: [07:31:27.867] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.867] | : . ' - attr(*, "resolved")= logi TRUE [07:31:27.867] | : . ' - attr(*, "total_size")= num NA [07:31:27.873] | : . Getting '...' globals ... done [07:31:27.875] | : . Globals to be used in all futures (chunks): [n=6] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...' [07:31:27.875] | : . List of 6 [07:31:27.875] | : . $ ...future.FUN:function (i) [07:31:27.875] | : . $ caller :function (a, b, FUN = call_my_add) [07:31:27.875] | : . $ args :List of 1 [07:31:27.875] | : . ..$ FUN:function (a, b) [07:31:27.875] | : . $ call_my_add :function (a, b) [07:31:27.875] | : . $ my_add :function (a, b) [07:31:27.875] | : . $ ... : list() [07:31:27.875] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.875] | : . - attr(*, "where")=List of 6 [07:31:27.875] | : . ..$ ...future.FUN: [07:31:27.875] | : . ..$ caller : [07:31:27.875] | : . ..$ args : [07:31:27.875] | : . ..$ call_my_add : [07:31:27.875] | : . ..$ my_add : [07:31:27.875] | : . ..$ ... : [07:31:27.875] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.875] | : . - attr(*, "resolved")= logi FALSE [07:31:27.875] | : . - attr(*, "total_size")= num 6433 [07:31:27.887] | : . Packages to be attached in all futures: [n=0] [07:31:27.888] | : getGlobalsAndPackagesXApply() ... done [07:31:27.889] | : 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' [07:31:27.890] | : List of 9 [07:31:27.890] | : $ ...future.FUN :function (i) [07:31:27.890] | : $ caller :function (a, b, FUN = call_my_add) [07:31:27.890] | : $ args :List of 1 [07:31:27.890] | : ..$ FUN:function (a, b) [07:31:27.890] | : $ call_my_add :function (a, b) [07:31:27.890] | : $ my_add :function (a, b) [07:31:27.890] | : $ ... : list() [07:31:27.890] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:27.890] | : $ ...future.elements_ii : NULL [07:31:27.890] | : $ ...future.seeds_ii : NULL [07:31:27.890] | : $ ...future.globals.maxSize: NULL [07:31:27.890] | : - attr(*, "where")=List of 9 [07:31:27.890] | : ..$ ...future.FUN : [07:31:27.890] | : ..$ caller : [07:31:27.890] | : ..$ args : [07:31:27.890] | : ..$ call_my_add : [07:31:27.890] | : ..$ my_add : [07:31:27.890] | : ..$ ... : [07:31:27.890] | : ..$ ...future.elements_ii : [07:31:27.890] | : ..$ ...future.seeds_ii : [07:31:27.890] | : ..$ ...future.globals.maxSize: [07:31:27.890] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:27.890] | : - attr(*, "resolved")= logi FALSE [07:31:27.890] | : - attr(*, "total_size")= num 6433 [07:31:27.904] | : Number of futures (= number of chunks): 1 [07:31:27.905] | : Launching 1 futures (chunks) ... [07:31:27.906] | : Chunk #1 of 1 ... [07:31:27.907] | : - Finding globals in 'X' for chunk #1 ... [07:31:27.908] | : + additional globals found: [n=0] [07:31:27.909] | : + additional namespaces needed: [n=0] [07:31:27.910] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:27.911] | : - seeds: [07:31:27.912] | : - All globals exported: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:27.938] | : Created future: [07:31:27.940] | : SequentialFuture: [07:31:27.940] | : Label: 'fz:base::lapply-1' [07:31:27.940] | : Expression: [07:31:27.940] | : { [07:31:27.940] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:27.940] | : "# expression in do.call(), because function called uses '...' " [07:31:27.940] | : "# as a global variable " [07:31:27.940] | : do.call(function(...) { [07:31:27.940] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:27.940] | : "# without having an '...' argument. This means '...' is treated" [07:31:27.940] | : "# as a global variable. This may happen when FUN() is an " [07:31:27.940] | : "# anonymous function. " [07:31:27.940] | : "# " [07:31:27.940] | : "# If an anonymous function, we will make sure to restore the " [07:31:27.940] | : "# function environment of FUN() to the calling environment. " [07:31:27.940] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:27.940] | : "# global environment, which is where globals are written. " [07:31:27.940] | : penv <- env <- environment(...future.FUN) [07:31:27.940] | : repeat { [07:31:27.940] | : if (identical(env, globalenv()) || identical(env, [07:31:27.940] | : emptyenv())) [07:31:27.940] | : break [07:31:27.940] | : penv <- env [07:31:27.940] | : env <- parent.env(env) [07:31:27.940] | : } [07:31:27.940] | : if (identical(penv, globalenv())) { [07:31:27.940] | : environment(...future.FUN) <- environment() [07:31:27.940] | : } [07:31:27.940] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:27.940] | : !isNamespace(penv)) { [07:31:27.940] | : parent.env(penv) <- environment() [07:31:27.940] | : } [07:31:27.940] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:27.940] | : { [07:31:27.940] | : "# future.apply:::future_xapply(): preserve future option" [07:31:27.940] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:27.940] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:27.940] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:27.940] | : on.exit(options(oopts), add = TRUE) [07:31:27.940] | : } [07:31:27.940] | : { [07:31:27.940] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:27.940] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:27.940] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:27.940] | : { [07:31:27.940] | : ...future.FUN(...future.X_jj, ...) [07:31:27.940] | : } [07:31:27.940] | : }) [07:31:27.940] | : } [07:31:27.940] | : } [07:31:27.940] | : }, args = future.call.arguments) [07:31:27.940] | : } [07:31:27.940] | : 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, ...) [07:31:27.940] | : Packages: [07:31:27.940] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:27.940] | : Capture standard output: TRUE [07:31:27.940] | : Capture condition classes: 'condition' (excluding '') [07:31:27.940] | : Immediate condition classes: 'immediateCondition' [07:31:27.940] | : Lazy evaluation: FALSE [07:31:27.940] | : Local evaluation: TRUE [07:31:27.940] | : Early signaling: FALSE [07:31:27.940] | : Actions: [n=1] 'run' [07:31:27.940] | : State: 'finished' ("Future was resolved successfully") [07:31:27.940] | : Resolved: TRUE [07:31:27.940] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-7 [07:31:27.940] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.940] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:27.940] | : Value: 67 bytes of class 'list' [07:31:27.940] | : Duration: 0.01865077 secs (started 2026-04-01 07:31:27.91722) [07:31:27.940] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:27.946] | : Chunk #1 of 1 ... DONE [07:31:27.947] | : Launching 1 futures (chunks) ... DONE [07:31:27.947] | : Resolving 1 futures (chunks) ... [07:31:27.949] | : - Number of value chunks collected: 1 [07:31:27.950] | : Resolving 1 futures (chunks) ... DONE [07:31:27.951] | : Reducing values from 1 chunks ... [07:31:27.952] | : - Number of values collected after concatenation: 3 [07:31:27.953] | : - Number of values expected: 3 [07:31:27.954] | : Reducing values from 1 chunks ... DONE [07:31:27.954] | future_lapply() -> future_xapply() ... done [07:31:27.955] future_lapply() ... done - lapply(x, FUN = do.call, ...) |> futurize() ... [07:31:27.957] future_lapply() ... [07:31:27.961] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [07:31:27.962] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:27.963] | future_lapply() -> future_xapply() ... [07:31:27.964] | : Number of chunks: 1 [07:31:27.965] | : getGlobalsAndPackagesXApply() ... [07:31:27.966] | : . future.globals: TRUE [07:31:28.007] | : . globals found/used: [n=1] 'FUN' [07:31:28.008] | : . needed namespaces: [n=0] [07:31:28.009] | : . use_args: TRUE [07:31:28.010] | : . Getting '...' globals ... [07:31:28.012] | : . ' '...' content: [n=1] 'what' [07:31:28.013] | : . ' List of 1 [07:31:28.013] | : . ' $ ...:List of 1 [07:31:28.013] | : . ' ..$ what:function (x) [07:31:28.013] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.013] | : . ' - attr(*, "where")=List of 1 [07:31:28.013] | : . ' ..$ ...: [07:31:28.013] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.013] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.013] | : . ' - attr(*, "total_size")= num NA [07:31:28.018] | : . Getting '...' globals ... done [07:31:28.019] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:28.020] | : . List of 2 [07:31:28.020] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [07:31:28.020] | : . $ ... :List of 1 [07:31:28.020] | : . ..$ what:function (x) [07:31:28.020] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.020] | : . - attr(*, "where")=List of 2 [07:31:28.020] | : . ..$ ...future.FUN: [07:31:28.020] | : . ..$ ... : [07:31:28.020] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.020] | : . - attr(*, "resolved")= logi FALSE [07:31:28.020] | : . - attr(*, "total_size")= num 6983 [07:31:28.027] | : . Packages to be attached in all futures: [n=0] [07:31:28.028] | : getGlobalsAndPackagesXApply() ... done [07:31:28.029] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.030] | : List of 5 [07:31:28.030] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [07:31:28.030] | : $ ... :List of 1 [07:31:28.030] | : ..$ what:function (x) [07:31:28.030] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.030] | : $ ...future.elements_ii : NULL [07:31:28.030] | : $ ...future.seeds_ii : NULL [07:31:28.030] | : $ ...future.globals.maxSize: NULL [07:31:28.030] | : - attr(*, "where")=List of 5 [07:31:28.030] | : ..$ ...future.FUN : [07:31:28.030] | : ..$ ... : [07:31:28.030] | : ..$ ...future.elements_ii : [07:31:28.030] | : ..$ ...future.seeds_ii : [07:31:28.030] | : ..$ ...future.globals.maxSize: [07:31:28.030] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.030] | : - attr(*, "resolved")= logi FALSE [07:31:28.030] | : - attr(*, "total_size")= num 6983 [07:31:28.040] | : Number of futures (= number of chunks): 1 [07:31:28.041] | : Launching 1 futures (chunks) ... [07:31:28.042] | : Chunk #1 of 1 ... [07:31:28.043] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.044] | : + additional globals found: [n=0] [07:31:28.045] | : + additional namespaces needed: [n=0] [07:31:28.045] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.046] | : - seeds: [07:31:28.046] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.055] | : Created future: [07:31:28.056] | : SequentialFuture: [07:31:28.056] | : Label: 'fz:base::lapply-1' [07:31:28.056] | : Expression: [07:31:28.056] | : { [07:31:28.056] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.056] | : "# expression in do.call(), because function called uses '...' " [07:31:28.056] | : "# as a global variable " [07:31:28.056] | : do.call(function(...) { [07:31:28.056] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.056] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.056] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.056] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.056] | : on.exit(options(oopts), add = TRUE) [07:31:28.056] | : } [07:31:28.056] | : { [07:31:28.056] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.056] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.056] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.056] | : { [07:31:28.056] | : ...future.FUN(...future.X_jj, ...) [07:31:28.056] | : } [07:31:28.056] | : }) [07:31:28.056] | : } [07:31:28.056] | : }, args = future.call.arguments) [07:31:28.056] | : } [07:31:28.056] | : Globals: 5 objects totaling 7.01 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) [07:31:28.056] | : Packages: [07:31:28.056] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.056] | : Capture standard output: TRUE [07:31:28.056] | : Capture condition classes: 'condition' (excluding '') [07:31:28.056] | : Immediate condition classes: 'immediateCondition' [07:31:28.056] | : Lazy evaluation: FALSE [07:31:28.056] | : Local evaluation: TRUE [07:31:28.056] | : Early signaling: FALSE [07:31:28.056] | : Actions: [n=1] 'run' [07:31:28.056] | : State: 'finished' ("Future was resolved successfully") [07:31:28.056] | : Resolved: TRUE [07:31:28.056] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-8 [07:31:28.056] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.056] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.056] | : Value: 43 bytes of class 'list' [07:31:28.056] | : Duration: 0.004539967 secs (started 2026-04-01 07:31:28.049248) [07:31:28.056] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.061] | : Chunk #1 of 1 ... DONE [07:31:28.062] | : Launching 1 futures (chunks) ... DONE [07:31:28.063] | : Resolving 1 futures (chunks) ... [07:31:28.064] | : - Number of value chunks collected: 1 [07:31:28.064] | : Resolving 1 futures (chunks) ... DONE [07:31:28.065] | : Reducing values from 1 chunks ... [07:31:28.066] | : - Number of values collected after concatenation: 1 [07:31:28.066] | : - Number of values expected: 1 [07:31:28.067] | : Reducing values from 1 chunks ... DONE [07:31:28.067] | future_lapply() -> future_xapply() ... done [07:31:28.068] future_lapply() ... done [07:31:28.069] future_lapply() ... [07:31:28.072] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [07:31:28.072] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.073] | future_lapply() -> future_xapply() ... [07:31:28.074] | : Number of chunks: 1 [07:31:28.074] | : getGlobalsAndPackagesXApply() ... [07:31:28.075] | : . future.globals: TRUE [07:31:28.122] | : . globals found/used: [n=1] 'FUN' [07:31:28.123] | : . needed namespaces: [n=0] [07:31:28.124] | : . use_args: TRUE [07:31:28.125] | : . Getting '...' globals ... [07:31:28.127] | : . ' '...' content: [n=1] 'what' [07:31:28.128] | : . ' List of 1 [07:31:28.128] | : . ' $ ...:List of 1 [07:31:28.128] | : . ' ..$ what:function (...) [07:31:28.128] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.128] | : . ' - attr(*, "where")=List of 1 [07:31:28.128] | : . ' ..$ ...: [07:31:28.128] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.128] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.128] | : . ' - attr(*, "total_size")= num NA [07:31:28.134] | : . Getting '...' globals ... done [07:31:28.136] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:28.137] | : . List of 2 [07:31:28.137] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [07:31:28.137] | : . $ ... :List of 1 [07:31:28.137] | : . ..$ what:function (...) [07:31:28.137] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.137] | : . - attr(*, "where")=List of 2 [07:31:28.137] | : . ..$ ...future.FUN: [07:31:28.137] | : . ..$ ... : [07:31:28.137] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.137] | : . - attr(*, "resolved")= logi FALSE [07:31:28.137] | : . - attr(*, "total_size")= num 7051 [07:31:28.143] | : . Packages to be attached in all futures: [n=0] [07:31:28.144] | : getGlobalsAndPackagesXApply() ... done [07:31:28.146] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.147] | : List of 5 [07:31:28.147] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [07:31:28.147] | : $ ... :List of 1 [07:31:28.147] | : ..$ what:function (...) [07:31:28.147] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.147] | : $ ...future.elements_ii : NULL [07:31:28.147] | : $ ...future.seeds_ii : NULL [07:31:28.147] | : $ ...future.globals.maxSize: NULL [07:31:28.147] | : - attr(*, "where")=List of 5 [07:31:28.147] | : ..$ ...future.FUN : [07:31:28.147] | : ..$ ... : [07:31:28.147] | : ..$ ...future.elements_ii : [07:31:28.147] | : ..$ ...future.seeds_ii : [07:31:28.147] | : ..$ ...future.globals.maxSize: [07:31:28.147] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.147] | : - attr(*, "resolved")= logi FALSE [07:31:28.147] | : - attr(*, "total_size")= num 7051 [07:31:28.156] | : Number of futures (= number of chunks): 1 [07:31:28.158] | : Launching 1 futures (chunks) ... [07:31:28.158] | : Chunk #1 of 1 ... [07:31:28.159] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.161] | : + additional globals found: [n=0] [07:31:28.162] | : + additional namespaces needed: [n=0] [07:31:28.162] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.163] | : - seeds: [07:31:28.164] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.174] | : Created future: [07:31:28.175] | : SequentialFuture: [07:31:28.175] | : Label: 'fz:base::lapply-1' [07:31:28.175] | : Expression: [07:31:28.175] | : { [07:31:28.175] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.175] | : "# expression in do.call(), because function called uses '...' " [07:31:28.175] | : "# as a global variable " [07:31:28.175] | : do.call(function(...) { [07:31:28.175] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.175] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.175] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.175] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.175] | : on.exit(options(oopts), add = TRUE) [07:31:28.175] | : } [07:31:28.175] | : { [07:31:28.175] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.175] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.175] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.175] | : { [07:31:28.175] | : ...future.FUN(...future.X_jj, ...) [07:31:28.175] | : } [07:31:28.175] | : }) [07:31:28.175] | : } [07:31:28.175] | : }, args = future.call.arguments) [07:31:28.175] | : } [07:31:28.175] | : 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) [07:31:28.175] | : Packages: [07:31:28.175] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.175] | : Capture standard output: TRUE [07:31:28.175] | : Capture condition classes: 'condition' (excluding '') [07:31:28.175] | : Immediate condition classes: 'immediateCondition' [07:31:28.175] | : Lazy evaluation: FALSE [07:31:28.175] | : Local evaluation: TRUE [07:31:28.175] | : Early signaling: FALSE [07:31:28.175] | : Actions: [n=1] 'run' [07:31:28.175] | : State: 'finished' ("Future was resolved successfully") [07:31:28.175] | : Resolved: TRUE [07:31:28.175] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-9 [07:31:28.175] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.175] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.175] | : Value: 43 bytes of class 'list' [07:31:28.175] | : Duration: 0.006407022 secs (started 2026-04-01 07:31:28.166674) [07:31:28.175] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.179] | : Chunk #1 of 1 ... DONE [07:31:28.180] | : Launching 1 futures (chunks) ... DONE [07:31:28.180] | : Resolving 1 futures (chunks) ... [07:31:28.182] | : - Number of value chunks collected: 1 [07:31:28.183] | : Resolving 1 futures (chunks) ... DONE [07:31:28.183] | : Reducing values from 1 chunks ... [07:31:28.184] | : - Number of values collected after concatenation: 1 [07:31:28.185] | : - Number of values expected: 1 [07:31:28.186] | : Reducing values from 1 chunks ... DONE [07:31:28.186] | future_lapply() -> future_xapply() ... done [07:31:28.187] future_lapply() ... done - lapply(x, ...) |> futurize() - passing arguments via '...' ... [07:31:28.189] future_lapply() ... [07:31:28.190] | Globals in FUN(): [n=1] 'typeof' [07:31:28.191] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.192] | future_lapply() -> future_xapply() ... [07:31:28.193] | : Number of chunks: 1 [07:31:28.194] | : getGlobalsAndPackagesXApply() ... [07:31:28.195] | : . future.globals: TRUE [07:31:28.208] | : . globals found/used: [n=1] 'FUN' [07:31:28.209] | : . needed namespaces: [n=0] [07:31:28.210] | : . use_args: TRUE [07:31:28.210] | : . Getting '...' globals ... [07:31:28.212] | : . ' '...' content: [n=1] 'b' [07:31:28.213] | : . ' List of 1 [07:31:28.213] | : . ' $ ...:List of 1 [07:31:28.213] | : . ' ..$ b:'data.frame': 2 obs. of 1 variable: [07:31:28.213] | : . ' .. ..$ a: int [1:2] 1 2 [07:31:28.213] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.213] | : . ' - attr(*, "where")=List of 1 [07:31:28.213] | : . ' ..$ ...: [07:31:28.213] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.213] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.213] | : . ' - attr(*, "total_size")= num NA [07:31:28.219] | : . Getting '...' globals ... done [07:31:28.220] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:28.222] | : . List of 2 [07:31:28.222] | : . $ ...future.FUN:function (a, b) [07:31:28.222] | : . $ ... :List of 1 [07:31:28.222] | : . ..$ b:'data.frame': 2 obs. of 1 variable: [07:31:28.222] | : . .. ..$ a: int [1:2] 1 2 [07:31:28.222] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.222] | : . - attr(*, "where")=List of 2 [07:31:28.222] | : . ..$ ...future.FUN: [07:31:28.222] | : . ..$ ... : [07:31:28.222] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.222] | : . - attr(*, "resolved")= logi FALSE [07:31:28.222] | : . - attr(*, "total_size")= num 3755 [07:31:28.238] | : . Packages to be attached in all futures: [n=0] [07:31:28.239] | : getGlobalsAndPackagesXApply() ... done [07:31:28.240] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.241] | : List of 5 [07:31:28.241] | : $ ...future.FUN :function (a, b) [07:31:28.241] | : $ ... :List of 1 [07:31:28.241] | : ..$ b:'data.frame': 2 obs. of 1 variable: [07:31:28.241] | : .. ..$ a: int [1:2] 1 2 [07:31:28.241] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.241] | : $ ...future.elements_ii : NULL [07:31:28.241] | : $ ...future.seeds_ii : NULL [07:31:28.241] | : $ ...future.globals.maxSize: NULL [07:31:28.241] | : - attr(*, "where")=List of 5 [07:31:28.241] | : ..$ ...future.FUN : [07:31:28.241] | : ..$ ... : [07:31:28.241] | : ..$ ...future.elements_ii : [07:31:28.241] | : ..$ ...future.seeds_ii : [07:31:28.241] | : ..$ ...future.globals.maxSize: [07:31:28.241] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.241] | : - attr(*, "resolved")= logi FALSE [07:31:28.241] | : - attr(*, "total_size")= num 3755 [07:31:28.250] | : Number of futures (= number of chunks): 1 [07:31:28.252] | : Launching 1 futures (chunks) ... [07:31:28.253] | : Chunk #1 of 1 ... [07:31:28.254] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.255] | : + additional globals found: [n=0] [07:31:28.256] | : + additional namespaces needed: [n=0] [07:31:28.257] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.258] | : - seeds: [07:31:28.258] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.268] | : Created future: [07:31:28.269] | : SequentialFuture: [07:31:28.269] | : Label: 'fz:base::lapply-1' [07:31:28.269] | : Expression: [07:31:28.269] | : { [07:31:28.269] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.269] | : "# expression in do.call(), because function called uses '...' " [07:31:28.269] | : "# as a global variable " [07:31:28.269] | : do.call(function(...) { [07:31:28.269] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:28.269] | : "# without having an '...' argument. This means '...' is treated" [07:31:28.269] | : "# as a global variable. This may happen when FUN() is an " [07:31:28.269] | : "# anonymous function. " [07:31:28.269] | : "# " [07:31:28.269] | : "# If an anonymous function, we will make sure to restore the " [07:31:28.269] | : "# function environment of FUN() to the calling environment. " [07:31:28.269] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:28.269] | : "# global environment, which is where globals are written. " [07:31:28.269] | : penv <- env <- environment(...future.FUN) [07:31:28.269] | : repeat { [07:31:28.269] | : if (identical(env, globalenv()) || identical(env, [07:31:28.269] | : emptyenv())) [07:31:28.269] | : break [07:31:28.269] | : penv <- env [07:31:28.269] | : env <- parent.env(env) [07:31:28.269] | : } [07:31:28.269] | : if (identical(penv, globalenv())) { [07:31:28.269] | : environment(...future.FUN) <- environment() [07:31:28.269] | : } [07:31:28.269] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:28.269] | : !isNamespace(penv)) { [07:31:28.269] | : parent.env(penv) <- environment() [07:31:28.269] | : } [07:31:28.269] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:28.269] | : { [07:31:28.269] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.269] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.269] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.269] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.269] | : on.exit(options(oopts), add = TRUE) [07:31:28.269] | : } [07:31:28.269] | : { [07:31:28.269] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.269] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.269] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.269] | : { [07:31:28.269] | : ...future.FUN(...future.X_jj, ...) [07:31:28.269] | : } [07:31:28.269] | : }) [07:31:28.269] | : } [07:31:28.269] | : } [07:31:28.269] | : }, args = future.call.arguments) [07:31:28.269] | : } [07:31:28.269] | : Globals: 5 objects totaling 3.96 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) [07:31:28.269] | : Packages: [07:31:28.269] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.269] | : Capture standard output: TRUE [07:31:28.269] | : Capture condition classes: 'condition' (excluding '') [07:31:28.269] | : Immediate condition classes: 'immediateCondition' [07:31:28.269] | : Lazy evaluation: FALSE [07:31:28.269] | : Local evaluation: TRUE [07:31:28.269] | : Early signaling: FALSE [07:31:28.269] | : Actions: [n=1] 'run' [07:31:28.269] | : State: 'finished' ("Future was resolved successfully") [07:31:28.269] | : Resolved: TRUE [07:31:28.269] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-10 [07:31:28.269] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.269] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.269] | : Value: 51 bytes of class 'list' [07:31:28.269] | : Duration: 0.005200148 secs (started 2026-04-01 07:31:28.261668) [07:31:28.269] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.274] | : Chunk #1 of 1 ... DONE [07:31:28.275] | : Launching 1 futures (chunks) ... DONE [07:31:28.276] | : Resolving 1 futures (chunks) ... [07:31:28.278] | : - Number of value chunks collected: 1 [07:31:28.279] | : Resolving 1 futures (chunks) ... DONE [07:31:28.279] | : Reducing values from 1 chunks ... [07:31:28.280] | : - Number of values collected after concatenation: 1 [07:31:28.281] | : - Number of values expected: 1 [07:31:28.282] | : Reducing values from 1 chunks ... DONE [07:31:28.282] | future_lapply() -> future_xapply() ... done [07:31:28.283] future_lapply() ... done [07:31:28.285] future_lapply() ... [07:31:28.286] | Globals in FUN(): [n=1] 'typeof' [07:31:28.287] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.288] | future_lapply() -> future_xapply() ... [07:31:28.289] | : Number of chunks: 1 [07:31:28.290] | : getGlobalsAndPackagesXApply() ... [07:31:28.291] | : . future.globals: TRUE [07:31:28.310] | : . globals found/used: [n=1] 'FUN' [07:31:28.311] | : . needed namespaces: [n=0] [07:31:28.311] | : . use_args: TRUE [07:31:28.312] | : . Getting '...' globals ... [07:31:28.314] | : . ' '...' content: [n=1] 'b' [07:31:28.315] | : . ' List of 1 [07:31:28.315] | : . ' $ ...:List of 1 [07:31:28.315] | : . ' ..$ b: [07:31:28.315] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.315] | : . ' - attr(*, "where")=List of 1 [07:31:28.315] | : . ' ..$ ...: [07:31:28.315] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.315] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.315] | : . ' - attr(*, "total_size")= num NA [07:31:28.321] | : . Getting '...' globals ... done [07:31:28.322] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:28.323] | : . List of 2 [07:31:28.323] | : . $ ...future.FUN:function (a, b) [07:31:28.323] | : . $ ... :List of 1 [07:31:28.323] | : . ..$ b: [07:31:28.323] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.323] | : . - attr(*, "where")=List of 2 [07:31:28.323] | : . ..$ ...future.FUN: [07:31:28.323] | : . ..$ ... : [07:31:28.323] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.323] | : . - attr(*, "resolved")= logi FALSE [07:31:28.323] | : . - attr(*, "total_size")= num 3510 [07:31:28.330] | : . Packages to be attached in all futures: [n=0] [07:31:28.331] | : getGlobalsAndPackagesXApply() ... done [07:31:28.332] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.333] | : List of 5 [07:31:28.333] | : $ ...future.FUN :function (a, b) [07:31:28.333] | : $ ... :List of 1 [07:31:28.333] | : ..$ b: [07:31:28.333] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.333] | : $ ...future.elements_ii : NULL [07:31:28.333] | : $ ...future.seeds_ii : NULL [07:31:28.333] | : $ ...future.globals.maxSize: NULL [07:31:28.333] | : - attr(*, "where")=List of 5 [07:31:28.333] | : ..$ ...future.FUN : [07:31:28.333] | : ..$ ... : [07:31:28.333] | : ..$ ...future.elements_ii : [07:31:28.333] | : ..$ ...future.seeds_ii : [07:31:28.333] | : ..$ ...future.globals.maxSize: [07:31:28.333] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.333] | : - attr(*, "resolved")= logi FALSE [07:31:28.333] | : - attr(*, "total_size")= num 3510 [07:31:28.342] | : Number of futures (= number of chunks): 1 [07:31:28.343] | : Launching 1 futures (chunks) ... [07:31:28.343] | : Chunk #1 of 1 ... [07:31:28.344] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.346] | : + additional globals found: [n=0] [07:31:28.347] | : + additional namespaces needed: [n=0] [07:31:28.348] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.348] | : - seeds: [07:31:28.349] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.359] | : Created future: [07:31:28.360] | : SequentialFuture: [07:31:28.360] | : Label: 'fz:base::lapply-1' [07:31:28.360] | : Expression: [07:31:28.360] | : { [07:31:28.360] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.360] | : "# expression in do.call(), because function called uses '...' " [07:31:28.360] | : "# as a global variable " [07:31:28.360] | : do.call(function(...) { [07:31:28.360] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:28.360] | : "# without having an '...' argument. This means '...' is treated" [07:31:28.360] | : "# as a global variable. This may happen when FUN() is an " [07:31:28.360] | : "# anonymous function. " [07:31:28.360] | : "# " [07:31:28.360] | : "# If an anonymous function, we will make sure to restore the " [07:31:28.360] | : "# function environment of FUN() to the calling environment. " [07:31:28.360] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:28.360] | : "# global environment, which is where globals are written. " [07:31:28.360] | : penv <- env <- environment(...future.FUN) [07:31:28.360] | : repeat { [07:31:28.360] | : if (identical(env, globalenv()) || identical(env, [07:31:28.360] | : emptyenv())) [07:31:28.360] | : break [07:31:28.360] | : penv <- env [07:31:28.360] | : env <- parent.env(env) [07:31:28.360] | : } [07:31:28.360] | : if (identical(penv, globalenv())) { [07:31:28.360] | : environment(...future.FUN) <- environment() [07:31:28.360] | : } [07:31:28.360] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:28.360] | : !isNamespace(penv)) { [07:31:28.360] | : parent.env(penv) <- environment() [07:31:28.360] | : } [07:31:28.360] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:28.360] | : { [07:31:28.360] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.360] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.360] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.360] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.360] | : on.exit(options(oopts), add = TRUE) [07:31:28.360] | : } [07:31:28.360] | : { [07:31:28.360] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.360] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.360] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.360] | : { [07:31:28.360] | : ...future.FUN(...future.X_jj, ...) [07:31:28.360] | : } [07:31:28.360] | : }) [07:31:28.360] | : } [07:31:28.360] | : } [07:31:28.360] | : }, args = future.call.arguments) [07:31:28.360] | : } [07:31:28.360] | : Globals: 5 objects totaling 3.72 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) [07:31:28.360] | : Packages: [07:31:28.360] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.360] | : Capture standard output: TRUE [07:31:28.360] | : Capture condition classes: 'condition' (excluding '') [07:31:28.360] | : Immediate condition classes: 'immediateCondition' [07:31:28.360] | : Lazy evaluation: FALSE [07:31:28.360] | : Local evaluation: TRUE [07:31:28.360] | : Early signaling: FALSE [07:31:28.360] | : Actions: [n=1] 'run' [07:31:28.360] | : State: 'finished' ("Future was resolved successfully") [07:31:28.360] | : Resolved: TRUE [07:31:28.360] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-11 [07:31:28.360] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.360] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.360] | : Value: 58 bytes of class 'list' [07:31:28.360] | : Duration: 0.005234003 secs (started 2026-04-01 07:31:28.35239) [07:31:28.360] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.365] | : Chunk #1 of 1 ... DONE [07:31:28.366] | : Launching 1 futures (chunks) ... DONE [07:31:28.367] | : Resolving 1 futures (chunks) ... [07:31:28.368] | : - Number of value chunks collected: 1 [07:31:28.369] | : Resolving 1 futures (chunks) ... DONE [07:31:28.370] | : Reducing values from 1 chunks ... [07:31:28.371] | : - Number of values collected after concatenation: 1 [07:31:28.372] | : - Number of values expected: 1 [07:31:28.373] | : Reducing values from 1 chunks ... DONE [07:31:28.374] | future_lapply() -> future_xapply() ... done [07:31:28.375] future_lapply() ... done [07:31:28.377] future_lapply() ... [07:31:28.378] | Globals in FUN(): [n=1] 'typeof' [07:31:28.379] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.380] | future_lapply() -> future_xapply() ... [07:31:28.381] | : Number of chunks: 1 [07:31:28.382] | : getGlobalsAndPackagesXApply() ... [07:31:28.383] | : . future.globals: TRUE [07:31:28.399] | : . globals found/used: [n=1] 'FUN' [07:31:28.400] | : . needed namespaces: [n=0] [07:31:28.401] | : . use_args: TRUE [07:31:28.402] | : . Getting '...' globals ... [07:31:28.404] | : . ' '...' content: [n=1] 'b' [07:31:28.405] | : . ' List of 1 [07:31:28.405] | : . ' $ ...:List of 1 [07:31:28.405] | : . ' ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [07:31:28.405] | : . ' .. .. ..@ slots :List of 4 [07:31:28.405] | : . ' .. .. .. ..$ .Data : chr "function" [07:31:28.405] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. ..$ target : chr "signature" [07:31:28.405] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. ..$ defined: chr "signature" [07:31:28.405] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. ..$ generic: chr "character" [07:31:28.405] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. ..@ contains :List of 4 [07:31:28.405] | : . ' .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "function" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:28.405] | : . ' .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr "function" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:28.405] | : . ' .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr "function" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:28.405] | : . ' .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "optionalMethod" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr "function" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 3 [07:31:28.405] | : . ' .. .. ..@ virtual : logi FALSE [07:31:28.405] | : . ' .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [07:31:28.405] | : . ' list() [07:31:28.405] | : . ' .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [07:31:28.405] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [07:31:28.405] | : . ' .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [07:31:28.405] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [07:31:28.405] | : . ' .. .. .. .. ..$ generic: chr(0) [07:31:28.405] | : . ' .. .. ..@ validity : NULL [07:31:28.405] | : . ' .. .. ..@ access : list() [07:31:28.405] | : . ' .. .. ..@ className : chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. ..@ subclasses:List of 7 [07:31:28.405] | : . ' .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:28.405] | : . ' .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:28.405] | : . ' .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:28.405] | : . ' .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:28.405] | : . ' .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:28.405] | : . ' .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr "MethodWithNext" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:28.405] | : . ' .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.405] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.405] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:28.405] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.405] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.405] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:28.405] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.405] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.405] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:28.405] | : . ' .. .. ..@ versionKey: [07:31:28.405] | : . ' .. .. ..@ sealed : logi TRUE [07:31:28.405] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.405] | : . ' - attr(*, "where")=List of 1 [07:31:28.405] | : . ' ..$ ...: [07:31:28.405] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.405] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.405] | : . ' - attr(*, "total_size")= num NA [07:31:28.517] | : . Getting '...' globals ... done [07:31:28.518] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:28.519] | : . List of 2 [07:31:28.519] | : . $ ...future.FUN:function (a, b) [07:31:28.519] | : . $ ... :List of 1 [07:31:28.519] | : . ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [07:31:28.519] | : . .. .. ..@ slots :List of 4 [07:31:28.519] | : . .. .. .. ..$ .Data : chr "function" [07:31:28.519] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. ..$ target : chr "signature" [07:31:28.519] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. ..$ defined: chr "signature" [07:31:28.519] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. ..$ generic: chr "character" [07:31:28.519] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. ..@ contains :List of 4 [07:31:28.519] | : . .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "function" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:28.519] | : . .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr "function" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:28.519] | : . .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr "function" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:28.519] | : . .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "optionalMethod" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr "function" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 3 [07:31:28.519] | : . .. .. ..@ virtual : logi FALSE [07:31:28.519] | : . .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [07:31:28.519] | : . list() [07:31:28.519] | : . .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [07:31:28.519] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:28.519] | : . .. .. .. .. .. .. ..@ names : chr(0) [07:31:28.519] | : . .. .. .. .. .. .. ..@ package: chr(0) [07:31:28.519] | : . .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [07:31:28.519] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:28.519] | : . .. .. .. .. .. .. ..@ names : chr(0) [07:31:28.519] | : . .. .. .. .. .. .. ..@ package: chr(0) [07:31:28.519] | : . .. .. .. .. ..$ generic: chr(0) [07:31:28.519] | : . .. .. ..@ validity : NULL [07:31:28.519] | : . .. .. ..@ access : list() [07:31:28.519] | : . .. .. ..@ className : chr "MethodDefinition" [07:31:28.519] | : . .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. ..@ subclasses:List of 7 [07:31:28.519] | : . .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:28.519] | : . .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:28.519] | : . .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:28.519] | : . .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:28.519] | : . .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:28.519] | : . .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr "MethodWithNext" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:28.519] | : . .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.519] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.519] | : . .. .. .. .. .. ..@ test :function (object) [07:31:28.519] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.519] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.519] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:28.519] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.519] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.519] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:28.519] | : . .. .. ..@ versionKey: [07:31:28.519] | : . .. .. ..@ sealed : logi TRUE [07:31:28.519] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.519] | : . - attr(*, "where")=List of 2 [07:31:28.519] | : . ..$ ...future.FUN: [07:31:28.519] | : . ..$ ... : [07:31:28.519] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.519] | : . - attr(*, "resolved")= logi FALSE [07:31:28.519] | : . - attr(*, "total_size")= num 105377 [07:31:28.626] | : . Packages to be attached in all futures: [n=0] [07:31:28.628] | : getGlobalsAndPackagesXApply() ... done [07:31:28.629] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.630] | : List of 5 [07:31:28.630] | : $ ...future.FUN :function (a, b) [07:31:28.630] | : $ ... :List of 1 [07:31:28.630] | : ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [07:31:28.630] | : .. .. ..@ slots :List of 4 [07:31:28.630] | : .. .. .. ..$ .Data : chr "function" [07:31:28.630] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. ..$ target : chr "signature" [07:31:28.630] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. ..$ defined: chr "signature" [07:31:28.630] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. ..$ generic: chr "character" [07:31:28.630] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. ..@ contains :List of 4 [07:31:28.630] | : .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "function" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr(0) [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 1 [07:31:28.630] | : .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr "function" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 2 [07:31:28.630] | : .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr "function" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 2 [07:31:28.630] | : .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "optionalMethod" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr "function" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 3 [07:31:28.630] | : .. .. ..@ virtual : logi FALSE [07:31:28.630] | : .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [07:31:28.630] | : list() [07:31:28.630] | : .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [07:31:28.630] | : .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:28.630] | : .. .. .. .. .. .. ..@ names : chr(0) [07:31:28.630] | : .. .. .. .. .. .. ..@ package: chr(0) [07:31:28.630] | : .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [07:31:28.630] | : .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:28.630] | : .. .. .. .. .. .. ..@ names : chr(0) [07:31:28.630] | : .. .. .. .. .. .. ..@ package: chr(0) [07:31:28.630] | : .. .. .. .. ..$ generic: chr(0) [07:31:28.630] | : .. .. ..@ validity : NULL [07:31:28.630] | : .. .. ..@ access : list() [07:31:28.630] | : .. .. ..@ className : chr "MethodDefinition" [07:31:28.630] | : .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. ..@ subclasses:List of 7 [07:31:28.630] | : .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr(0) [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 1 [07:31:28.630] | : .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr(0) [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 1 [07:31:28.630] | : .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr(0) [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 1 [07:31:28.630] | : .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr(0) [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 1 [07:31:28.630] | : .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 2 [07:31:28.630] | : .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr "MethodWithNext" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 2 [07:31:28.630] | : .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:28.630] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:28.630] | : .. .. .. .. .. ..@ test :function (object) [07:31:28.630] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:28.630] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:28.630] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:28.630] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:28.630] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:28.630] | : .. .. .. .. .. ..@ distance : num 2 [07:31:28.630] | : .. .. ..@ versionKey: [07:31:28.630] | : .. .. ..@ sealed : logi TRUE [07:31:28.630] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.630] | : $ ...future.elements_ii : NULL [07:31:28.630] | : $ ...future.seeds_ii : NULL [07:31:28.630] | : $ ...future.globals.maxSize: NULL [07:31:28.630] | : - attr(*, "where")=List of 5 [07:31:28.630] | : ..$ ...future.FUN : [07:31:28.630] | : ..$ ... : [07:31:28.630] | : ..$ ...future.elements_ii : [07:31:28.630] | : ..$ ...future.seeds_ii : [07:31:28.630] | : ..$ ...future.globals.maxSize: [07:31:28.630] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.630] | : - attr(*, "resolved")= logi FALSE [07:31:28.630] | : - attr(*, "total_size")= num 105377 [07:31:28.731] | : Number of futures (= number of chunks): 1 [07:31:28.732] | : Launching 1 futures (chunks) ... [07:31:28.733] | : Chunk #1 of 1 ... [07:31:28.734] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.735] | : + additional globals found: [n=0] [07:31:28.735] | : + additional namespaces needed: [n=0] [07:31:28.736] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.736] | : - seeds: [07:31:28.737] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.744] | : Created future: [07:31:28.744] | : SequentialFuture: [07:31:28.744] | : Label: 'fz:base::lapply-1' [07:31:28.744] | : Expression: [07:31:28.744] | : { [07:31:28.744] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.744] | : "# expression in do.call(), because function called uses '...' " [07:31:28.744] | : "# as a global variable " [07:31:28.744] | : do.call(function(...) { [07:31:28.744] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:28.744] | : "# without having an '...' argument. This means '...' is treated" [07:31:28.744] | : "# as a global variable. This may happen when FUN() is an " [07:31:28.744] | : "# anonymous function. " [07:31:28.744] | : "# " [07:31:28.744] | : "# If an anonymous function, we will make sure to restore the " [07:31:28.744] | : "# function environment of FUN() to the calling environment. " [07:31:28.744] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:28.744] | : "# global environment, which is where globals are written. " [07:31:28.744] | : penv <- env <- environment(...future.FUN) [07:31:28.744] | : repeat { [07:31:28.744] | : if (identical(env, globalenv()) || identical(env, [07:31:28.744] | : emptyenv())) [07:31:28.744] | : break [07:31:28.744] | : penv <- env [07:31:28.744] | : env <- parent.env(env) [07:31:28.744] | : } [07:31:28.744] | : if (identical(penv, globalenv())) { [07:31:28.744] | : environment(...future.FUN) <- environment() [07:31:28.744] | : } [07:31:28.744] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:28.744] | : !isNamespace(penv)) { [07:31:28.744] | : parent.env(penv) <- environment() [07:31:28.744] | : } [07:31:28.744] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:28.744] | : { [07:31:28.744] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.744] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.744] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.744] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.744] | : on.exit(options(oopts), add = TRUE) [07:31:28.744] | : } [07:31:28.744] | : { [07:31:28.744] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.744] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.744] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.744] | : { [07:31:28.744] | : ...future.FUN(...future.X_jj, ...) [07:31:28.744] | : } [07:31:28.744] | : }) [07:31:28.744] | : } [07:31:28.744] | : } [07:31:28.744] | : }, args = future.call.arguments) [07:31:28.744] | : } [07:31:28.744] | : Globals: 5 objects totaling 103.20 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) [07:31:28.744] | : Packages: [07:31:28.744] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.744] | : Capture standard output: TRUE [07:31:28.744] | : Capture condition classes: 'condition' (excluding '') [07:31:28.744] | : Immediate condition classes: 'immediateCondition' [07:31:28.744] | : Lazy evaluation: FALSE [07:31:28.744] | : Local evaluation: TRUE [07:31:28.744] | : Early signaling: FALSE [07:31:28.744] | : Actions: [n=1] 'run' [07:31:28.744] | : State: 'finished' ("Future was resolved successfully") [07:31:28.744] | : Resolved: TRUE [07:31:28.744] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-12 [07:31:28.744] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.744] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.744] | : Value: 49 bytes of class 'list' [07:31:28.744] | : Duration: 0.003548861 secs (started 2026-04-01 07:31:28.739221) [07:31:28.744] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.749] | : Chunk #1 of 1 ... DONE [07:31:28.749] | : Launching 1 futures (chunks) ... DONE [07:31:28.750] | : Resolving 1 futures (chunks) ... [07:31:28.751] | : - Number of value chunks collected: 1 [07:31:28.751] | : Resolving 1 futures (chunks) ... DONE [07:31:28.752] | : Reducing values from 1 chunks ... [07:31:28.753] | : - Number of values collected after concatenation: 1 [07:31:28.753] | : - Number of values expected: 1 [07:31:28.754] | : Reducing values from 1 chunks ... DONE [07:31:28.754] | future_lapply() -> future_xapply() ... done [07:31:28.755] future_lapply() ... done - lapply(X, ...) |> futurize() - 'X' containing globals ... List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 [07:31:28.759] future_lapply() ... [07:31:28.760] | Globals in FUN(): [n=0] [07:31:28.761] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.762] | future_lapply() -> future_xapply() ... [07:31:28.763] | : Number of chunks: 1 [07:31:28.764] | : getGlobalsAndPackagesXApply() ... [07:31:28.764] | : . future.globals: TRUE [07:31:28.773] | : . globals found/used: [n=1] 'FUN' [07:31:28.774] | : . needed namespaces: [n=0] [07:31:28.775] | : . use_args: TRUE [07:31:28.776] | : . Getting '...' globals ... [07:31:28.777] | : . ' '...' content: [n=0] [07:31:28.778] | : . ' List of 1 [07:31:28.778] | : . ' $ ...: list() [07:31:28.778] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.778] | : . ' - attr(*, "where")=List of 1 [07:31:28.778] | : . ' ..$ ...: [07:31:28.778] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.778] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.778] | : . ' - attr(*, "total_size")= num NA [07:31:28.784] | : . Getting '...' globals ... done [07:31:28.785] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:28.786] | : . List of 2 [07:31:28.786] | : . $ ...future.FUN:function (f) [07:31:28.786] | : . $ ... : list() [07:31:28.786] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.786] | : . - attr(*, "where")=List of 2 [07:31:28.786] | : . ..$ ...future.FUN: [07:31:28.786] | : . ..$ ... : [07:31:28.786] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.786] | : . - attr(*, "resolved")= logi FALSE [07:31:28.786] | : . - attr(*, "total_size")= num 4782 [07:31:28.792] | : . Packages to be attached in all futures: [n=0] [07:31:28.793] | : getGlobalsAndPackagesXApply() ... done [07:31:28.794] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.795] | : List of 5 [07:31:28.795] | : $ ...future.FUN :function (f) [07:31:28.795] | : $ ... : list() [07:31:28.795] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.795] | : $ ...future.elements_ii : NULL [07:31:28.795] | : $ ...future.seeds_ii : NULL [07:31:28.795] | : $ ...future.globals.maxSize: NULL [07:31:28.795] | : - attr(*, "where")=List of 5 [07:31:28.795] | : ..$ ...future.FUN : [07:31:28.795] | : ..$ ... : [07:31:28.795] | : ..$ ...future.elements_ii : [07:31:28.795] | : ..$ ...future.seeds_ii : [07:31:28.795] | : ..$ ...future.globals.maxSize: [07:31:28.795] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.795] | : - attr(*, "resolved")= logi FALSE [07:31:28.795] | : - attr(*, "total_size")= num 4782 [07:31:28.804] | : Number of futures (= number of chunks): 1 [07:31:28.805] | : Launching 1 futures (chunks) ... [07:31:28.806] | : Chunk #1 of 1 ... [07:31:28.807] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.858] | : + additional globals found: [n=2] 'a', 'b' [07:31:28.860] | : + additional namespaces needed: [n=0] [07:31:28.861] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.861] | : - seeds: [07:31:28.862] | : - All globals exported: [n=7] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize', 'a', 'b' [07:31:28.873] | : Created future: [07:31:28.873] | : SequentialFuture: [07:31:28.873] | : Label: 'fz:base::lapply-1' [07:31:28.873] | : Expression: [07:31:28.873] | : { [07:31:28.873] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.873] | : "# expression in do.call(), because function called uses '...' " [07:31:28.873] | : "# as a global variable " [07:31:28.873] | : do.call(function(...) { [07:31:28.873] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:28.873] | : "# without having an '...' argument. This means '...' is treated" [07:31:28.873] | : "# as a global variable. This may happen when FUN() is an " [07:31:28.873] | : "# anonymous function. " [07:31:28.873] | : "# " [07:31:28.873] | : "# If an anonymous function, we will make sure to restore the " [07:31:28.873] | : "# function environment of FUN() to the calling environment. " [07:31:28.873] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:28.873] | : "# global environment, which is where globals are written. " [07:31:28.873] | : penv <- env <- environment(...future.FUN) [07:31:28.873] | : repeat { [07:31:28.873] | : if (identical(env, globalenv()) || identical(env, [07:31:28.873] | : emptyenv())) [07:31:28.873] | : break [07:31:28.873] | : penv <- env [07:31:28.873] | : env <- parent.env(env) [07:31:28.873] | : } [07:31:28.873] | : if (identical(penv, globalenv())) { [07:31:28.873] | : environment(...future.FUN) <- environment() [07:31:28.873] | : } [07:31:28.873] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:28.873] | : !isNamespace(penv)) { [07:31:28.873] | : parent.env(penv) <- environment() [07:31:28.873] | : } [07:31:28.873] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:28.873] | : { [07:31:28.873] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.873] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.873] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.873] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.873] | : on.exit(options(oopts), add = TRUE) [07:31:28.873] | : } [07:31:28.873] | : { [07:31:28.873] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.873] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.873] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.873] | : { [07:31:28.873] | : ...future.FUN(...future.X_jj, ...) [07:31:28.873] | : } [07:31:28.873] | : }) [07:31:28.873] | : } [07:31:28.873] | : } [07:31:28.873] | : }, args = future.call.arguments) [07:31:28.873] | : } [07:31:28.873] | : 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, ...) [07:31:28.873] | : Packages: [07:31:28.873] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.873] | : Capture standard output: TRUE [07:31:28.873] | : Capture condition classes: 'condition' (excluding '') [07:31:28.873] | : Immediate condition classes: 'immediateCondition' [07:31:28.873] | : Lazy evaluation: FALSE [07:31:28.873] | : Local evaluation: TRUE [07:31:28.873] | : Early signaling: FALSE [07:31:28.873] | : Actions: [n=1] 'run' [07:31:28.873] | : State: 'finished' ("Future was resolved successfully") [07:31:28.873] | : Resolved: TRUE [07:31:28.873] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-13 [07:31:28.873] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.873] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.873] | : Value: 91 bytes of class 'list' [07:31:28.873] | : Duration: 0.005859137 secs (started 2026-04-01 07:31:28.865244) [07:31:28.873] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.878] | : Chunk #1 of 1 ... DONE [07:31:28.879] | : Launching 1 futures (chunks) ... DONE [07:31:28.880] | : Resolving 1 futures (chunks) ... [07:31:28.881] | : - Number of value chunks collected: 1 [07:31:28.882] | : Resolving 1 futures (chunks) ... DONE [07:31:28.883] | : Reducing values from 1 chunks ... [07:31:28.884] | : - Number of values collected after concatenation: 4 [07:31:28.884] | : - Number of values expected: 4 [07:31:28.885] | : Reducing values from 1 chunks ... DONE [07:31:28.885] | future_lapply() -> future_xapply() ... done [07:31:28.886] future_lapply() ... done List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 - lapply(X, ...) |> futurize() - '{ a <- a + 1; a }' ... [07:31:28.889] future_lapply() ... [07:31:28.891] | Globals in FUN(): [n=4] '{', '<-', 'a', '+' [07:31:28.892] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.892] | future_lapply() -> future_xapply() ... [07:31:28.893] | : Number of chunks: 1 [07:31:28.893] | : getGlobalsAndPackagesXApply() ... [07:31:28.894] | : . future.globals: TRUE [07:31:28.904] | : . globals found/used: [n=2] 'FUN', 'a' [07:31:28.905] | : . needed namespaces: [n=0] [07:31:28.905] | : . use_args: TRUE [07:31:28.906] | : . Getting '...' globals ... [07:31:28.907] | : . ' '...' content: [n=0] [07:31:28.907] | : . ' List of 1 [07:31:28.907] | : . ' $ ...: list() [07:31:28.907] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.907] | : . ' - attr(*, "where")=List of 1 [07:31:28.907] | : . ' ..$ ...: [07:31:28.907] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.907] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.907] | : . ' - attr(*, "total_size")= num NA [07:31:28.911] | : . Getting '...' globals ... done [07:31:28.912] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [07:31:28.912] | : . List of 3 [07:31:28.912] | : . $ ...future.FUN:function (ii) [07:31:28.912] | : . $ a : num 1 [07:31:28.912] | : . $ ... : list() [07:31:28.912] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.912] | : . - attr(*, "where")=List of 3 [07:31:28.912] | : . ..$ ...future.FUN: [07:31:28.912] | : . ..$ a : [07:31:28.912] | : . ..$ ... : [07:31:28.912] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.912] | : . - attr(*, "resolved")= logi FALSE [07:31:28.912] | : . - attr(*, "total_size")= num 3503 [07:31:28.917] | : . Packages to be attached in all futures: [n=0] [07:31:28.918] | : getGlobalsAndPackagesXApply() ... done [07:31:28.919] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.919] | : List of 6 [07:31:28.919] | : $ ...future.FUN :function (ii) [07:31:28.919] | : $ a : num 1 [07:31:28.919] | : $ ... : list() [07:31:28.919] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.919] | : $ ...future.elements_ii : NULL [07:31:28.919] | : $ ...future.seeds_ii : NULL [07:31:28.919] | : $ ...future.globals.maxSize: NULL [07:31:28.919] | : - attr(*, "where")=List of 6 [07:31:28.919] | : ..$ ...future.FUN : [07:31:28.919] | : ..$ a : [07:31:28.919] | : ..$ ... : [07:31:28.919] | : ..$ ...future.elements_ii : [07:31:28.919] | : ..$ ...future.seeds_ii : [07:31:28.919] | : ..$ ...future.globals.maxSize: [07:31:28.919] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.919] | : - attr(*, "resolved")= logi FALSE [07:31:28.919] | : - attr(*, "total_size")= num 3503 [07:31:28.927] | : Number of futures (= number of chunks): 1 [07:31:28.928] | : Launching 1 futures (chunks) ... [07:31:28.929] | : Chunk #1 of 1 ... [07:31:28.930] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.931] | : + additional globals found: [n=0] [07:31:28.932] | : + additional namespaces needed: [n=0] [07:31:28.932] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:28.933] | : - seeds: [07:31:28.934] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.942] | : Created future: [07:31:28.943] | : SequentialFuture: [07:31:28.943] | : Label: 'fz:base::lapply-1' [07:31:28.943] | : Expression: [07:31:28.943] | : { [07:31:28.943] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:28.943] | : "# expression in do.call(), because function called uses '...' " [07:31:28.943] | : "# as a global variable " [07:31:28.943] | : do.call(function(...) { [07:31:28.943] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:28.943] | : "# without having an '...' argument. This means '...' is treated" [07:31:28.943] | : "# as a global variable. This may happen when FUN() is an " [07:31:28.943] | : "# anonymous function. " [07:31:28.943] | : "# " [07:31:28.943] | : "# If an anonymous function, we will make sure to restore the " [07:31:28.943] | : "# function environment of FUN() to the calling environment. " [07:31:28.943] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:28.943] | : "# global environment, which is where globals are written. " [07:31:28.943] | : penv <- env <- environment(...future.FUN) [07:31:28.943] | : repeat { [07:31:28.943] | : if (identical(env, globalenv()) || identical(env, [07:31:28.943] | : emptyenv())) [07:31:28.943] | : break [07:31:28.943] | : penv <- env [07:31:28.943] | : env <- parent.env(env) [07:31:28.943] | : } [07:31:28.943] | : if (identical(penv, globalenv())) { [07:31:28.943] | : environment(...future.FUN) <- environment() [07:31:28.943] | : } [07:31:28.943] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:28.943] | : !isNamespace(penv)) { [07:31:28.943] | : parent.env(penv) <- environment() [07:31:28.943] | : } [07:31:28.943] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:28.943] | : { [07:31:28.943] | : "# future.apply:::future_xapply(): preserve future option" [07:31:28.943] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:28.943] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:28.943] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:28.943] | : on.exit(options(oopts), add = TRUE) [07:31:28.943] | : } [07:31:28.943] | : { [07:31:28.943] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:28.943] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:28.943] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:28.943] | : { [07:31:28.943] | : ...future.FUN(...future.X_jj, ...) [07:31:28.943] | : } [07:31:28.943] | : }) [07:31:28.943] | : } [07:31:28.943] | : } [07:31:28.943] | : }, args = future.call.arguments) [07:31:28.943] | : } [07:31:28.943] | : Globals: 6 objects totaling 3.70 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, ...) [07:31:28.943] | : Packages: [07:31:28.943] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:28.943] | : Capture standard output: TRUE [07:31:28.943] | : Capture condition classes: 'condition' (excluding '') [07:31:28.943] | : Immediate condition classes: 'immediateCondition' [07:31:28.943] | : Lazy evaluation: FALSE [07:31:28.943] | : Local evaluation: TRUE [07:31:28.943] | : Early signaling: FALSE [07:31:28.943] | : Actions: [n=1] 'run' [07:31:28.943] | : State: 'finished' ("Future was resolved successfully") [07:31:28.943] | : Resolved: TRUE [07:31:28.943] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-14 [07:31:28.943] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.943] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:28.943] | : Value: 47 bytes of class 'list' [07:31:28.943] | : Duration: 0.003924131 secs (started 2026-04-01 07:31:28.936678) [07:31:28.943] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:28.945] | : Chunk #1 of 1 ... DONE [07:31:28.946] | : Launching 1 futures (chunks) ... DONE [07:31:28.946] | : Resolving 1 futures (chunks) ... [07:31:28.948] | : - Number of value chunks collected: 1 [07:31:28.948] | : Resolving 1 futures (chunks) ... DONE [07:31:28.949] | : Reducing values from 1 chunks ... [07:31:28.949] | : - Number of values collected after concatenation: 1 [07:31:28.950] | : - Number of values expected: 1 [07:31:28.950] | : Reducing values from 1 chunks ... DONE [07:31:28.951] | future_lapply() -> future_xapply() ... done [07:31:28.951] future_lapply() ... done - lapply(X, ...) |> futurize() - '{ a; a <- a + 1 }' ... [07:31:28.953] future_lapply() ... [07:31:28.954] | Globals in FUN(): [n=4] '{', 'a', '<-', '+' [07:31:28.955] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:28.955] | future_lapply() -> future_xapply() ... [07:31:28.956] | : Number of chunks: 1 [07:31:28.957] | : getGlobalsAndPackagesXApply() ... [07:31:28.958] | : . future.globals: TRUE [07:31:28.970] | : . globals found/used: [n=2] 'FUN', 'a' [07:31:28.971] | : . needed namespaces: [n=0] [07:31:28.971] | : . use_args: TRUE [07:31:28.972] | : . Getting '...' globals ... [07:31:28.973] | : . ' '...' content: [n=0] [07:31:28.973] | : . ' List of 1 [07:31:28.973] | : . ' $ ...: list() [07:31:28.973] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.973] | : . ' - attr(*, "where")=List of 1 [07:31:28.973] | : . ' ..$ ...: [07:31:28.973] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.973] | : . ' - attr(*, "resolved")= logi TRUE [07:31:28.973] | : . ' - attr(*, "total_size")= num NA [07:31:28.977] | : . Getting '...' globals ... done [07:31:28.977] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [07:31:28.978] | : . List of 3 [07:31:28.978] | : . $ ...future.FUN:function (ii) [07:31:28.978] | : . $ a : num 1 [07:31:28.978] | : . $ ... : list() [07:31:28.978] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.978] | : . - attr(*, "where")=List of 3 [07:31:28.978] | : . ..$ ...future.FUN: [07:31:28.978] | : . ..$ a : [07:31:28.978] | : . ..$ ... : [07:31:28.978] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.978] | : . - attr(*, "resolved")= logi FALSE [07:31:28.978] | : . - attr(*, "total_size")= num 3503 [07:31:28.984] | : . Packages to be attached in all futures: [n=0] [07:31:28.985] | : getGlobalsAndPackagesXApply() ... done [07:31:28.986] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:28.986] | : List of 6 [07:31:28.986] | : $ ...future.FUN :function (ii) [07:31:28.986] | : $ a : num 1 [07:31:28.986] | : $ ... : list() [07:31:28.986] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:28.986] | : $ ...future.elements_ii : NULL [07:31:28.986] | : $ ...future.seeds_ii : NULL [07:31:28.986] | : $ ...future.globals.maxSize: NULL [07:31:28.986] | : - attr(*, "where")=List of 6 [07:31:28.986] | : ..$ ...future.FUN : [07:31:28.986] | : ..$ a : [07:31:28.986] | : ..$ ... : [07:31:28.986] | : ..$ ...future.elements_ii : [07:31:28.986] | : ..$ ...future.seeds_ii : [07:31:28.986] | : ..$ ...future.globals.maxSize: [07:31:28.986] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:28.986] | : - attr(*, "resolved")= logi FALSE [07:31:28.986] | : - attr(*, "total_size")= num 3503 [07:31:28.995] | : Number of futures (= number of chunks): 1 [07:31:28.996] | : Launching 1 futures (chunks) ... [07:31:28.997] | : Chunk #1 of 1 ... [07:31:28.998] | : - Finding globals in 'X' for chunk #1 ... [07:31:28.999] | : + additional globals found: [n=0] [07:31:29.000] | : + additional namespaces needed: [n=0] [07:31:29.001] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:29.001] | : - seeds: [07:31:29.002] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.011] | : Created future: [07:31:29.012] | : SequentialFuture: [07:31:29.012] | : Label: 'fz:base::lapply-1' [07:31:29.012] | : Expression: [07:31:29.012] | : { [07:31:29.012] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:29.012] | : "# expression in do.call(), because function called uses '...' " [07:31:29.012] | : "# as a global variable " [07:31:29.012] | : do.call(function(...) { [07:31:29.012] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:29.012] | : "# without having an '...' argument. This means '...' is treated" [07:31:29.012] | : "# as a global variable. This may happen when FUN() is an " [07:31:29.012] | : "# anonymous function. " [07:31:29.012] | : "# " [07:31:29.012] | : "# If an anonymous function, we will make sure to restore the " [07:31:29.012] | : "# function environment of FUN() to the calling environment. " [07:31:29.012] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:29.012] | : "# global environment, which is where globals are written. " [07:31:29.012] | : penv <- env <- environment(...future.FUN) [07:31:29.012] | : repeat { [07:31:29.012] | : if (identical(env, globalenv()) || identical(env, [07:31:29.012] | : emptyenv())) [07:31:29.012] | : break [07:31:29.012] | : penv <- env [07:31:29.012] | : env <- parent.env(env) [07:31:29.012] | : } [07:31:29.012] | : if (identical(penv, globalenv())) { [07:31:29.012] | : environment(...future.FUN) <- environment() [07:31:29.012] | : } [07:31:29.012] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:29.012] | : !isNamespace(penv)) { [07:31:29.012] | : parent.env(penv) <- environment() [07:31:29.012] | : } [07:31:29.012] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:29.012] | : { [07:31:29.012] | : "# future.apply:::future_xapply(): preserve future option" [07:31:29.012] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:29.012] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:29.012] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:29.012] | : on.exit(options(oopts), add = TRUE) [07:31:29.012] | : } [07:31:29.012] | : { [07:31:29.012] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:29.012] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:29.012] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:29.012] | : { [07:31:29.012] | : ...future.FUN(...future.X_jj, ...) [07:31:29.012] | : } [07:31:29.012] | : }) [07:31:29.012] | : } [07:31:29.012] | : } [07:31:29.012] | : }, args = future.call.arguments) [07:31:29.012] | : } [07:31:29.012] | : Globals: 6 objects totaling 3.70 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, ...) [07:31:29.012] | : Packages: [07:31:29.012] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:29.012] | : Capture standard output: TRUE [07:31:29.012] | : Capture condition classes: 'condition' (excluding '') [07:31:29.012] | : Immediate condition classes: 'immediateCondition' [07:31:29.012] | : Lazy evaluation: FALSE [07:31:29.012] | : Local evaluation: TRUE [07:31:29.012] | : Early signaling: FALSE [07:31:29.012] | : Actions: [n=1] 'run' [07:31:29.012] | : State: 'finished' ("Future was resolved successfully") [07:31:29.012] | : Resolved: TRUE [07:31:29.012] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-15 [07:31:29.012] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.012] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:29.012] | : Value: 47 bytes of class 'list' [07:31:29.012] | : Duration: 0.004887104 secs (started 2026-04-01 07:31:29.005035) [07:31:29.012] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.016] | : Chunk #1 of 1 ... DONE [07:31:29.017] | : Launching 1 futures (chunks) ... DONE [07:31:29.018] | : Resolving 1 futures (chunks) ... [07:31:29.019] | : - Number of value chunks collected: 1 [07:31:29.020] | : Resolving 1 futures (chunks) ... DONE [07:31:29.021] | : Reducing values from 1 chunks ... [07:31:29.022] | : - Number of values collected after concatenation: 1 [07:31:29.022] | : - Number of values expected: 1 [07:31:29.023] | : Reducing values from 1 chunks ... DONE [07:31:29.024] | future_lapply() -> future_xapply() ... done [07:31:29.025] future_lapply() ... done - lapply(..., future.globals = ) |> futurize() ... [07:31:29.027] future_lapply() ... [07:31:29.028] | Globals in FUN(): [n=1] 'a' [07:31:29.029] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:29.030] | future_lapply() -> future_xapply() ... [07:31:29.031] | : Number of chunks: 1 [07:31:29.031] | : getGlobalsAndPackagesXApply() ... [07:31:29.032] | : . future.globals: with names 'a' [07:31:29.033] | : . use_args: TRUE [07:31:29.034] | : . Getting '...' globals ... [07:31:29.035] | : . ' '...' content: [n=0] [07:31:29.036] | : . ' List of 1 [07:31:29.036] | : . ' $ ...: list() [07:31:29.036] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.036] | : . ' - attr(*, "where")=List of 1 [07:31:29.036] | : . ' ..$ ...: [07:31:29.036] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.036] | : . ' - attr(*, "resolved")= logi TRUE [07:31:29.036] | : . ' - attr(*, "total_size")= num NA [07:31:29.041] | : . Getting '...' globals ... done [07:31:29.042] | : . Globals to be used in all futures (chunks): [n=3] 'a', '...future.FUN', '...' [07:31:29.043] | : . List of 3 [07:31:29.043] | : . $ a : num 42 [07:31:29.043] | : . $ ...future.FUN:function (x) [07:31:29.043] | : . $ ... : list() [07:31:29.043] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.043] | : . - attr(*, "where")=List of 3 [07:31:29.043] | : . ..$ a : [07:31:29.043] | : . ..$ ...future.FUN: [07:31:29.043] | : . ..$ ... : [07:31:29.043] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.043] | : . - attr(*, "resolved")= logi FALSE [07:31:29.043] | : . - attr(*, "total_size")= num NA [07:31:29.050] | : . Packages to be attached in all futures: [n=0] [07:31:29.051] | : getGlobalsAndPackagesXApply() ... done [07:31:29.052] | : Globals pass to each chunk: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.052] | : List of 6 [07:31:29.052] | : $ a : num 42 [07:31:29.052] | : $ ...future.FUN :function (x) [07:31:29.052] | : $ ... : list() [07:31:29.052] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.052] | : $ ...future.elements_ii : NULL [07:31:29.052] | : $ ...future.seeds_ii : NULL [07:31:29.052] | : $ ...future.globals.maxSize: NULL [07:31:29.052] | : - attr(*, "where")=List of 6 [07:31:29.052] | : ..$ a : [07:31:29.052] | : ..$ ...future.FUN : [07:31:29.052] | : ..$ ... : [07:31:29.052] | : ..$ ...future.elements_ii : [07:31:29.052] | : ..$ ...future.seeds_ii : [07:31:29.052] | : ..$ ...future.globals.maxSize: [07:31:29.052] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.052] | : - attr(*, "resolved")= logi FALSE [07:31:29.052] | : - attr(*, "total_size")= num NA [07:31:29.061] | : Number of futures (= number of chunks): 1 [07:31:29.062] | : Launching 1 futures (chunks) ... [07:31:29.063] | : Chunk #1 of 1 ... [07:31:29.064] | : - seeds: [07:31:29.065] | : - All globals exported: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.074] | : Created future: [07:31:29.074] | : SequentialFuture: [07:31:29.074] | : Label: 'fz:base::lapply-1' [07:31:29.074] | : Expression: [07:31:29.074] | : { [07:31:29.074] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:29.074] | : "# expression in do.call(), because function called uses '...' " [07:31:29.074] | : "# as a global variable " [07:31:29.074] | : do.call(function(...) { [07:31:29.074] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:29.074] | : "# without having an '...' argument. This means '...' is treated" [07:31:29.074] | : "# as a global variable. This may happen when FUN() is an " [07:31:29.074] | : "# anonymous function. " [07:31:29.074] | : "# " [07:31:29.074] | : "# If an anonymous function, we will make sure to restore the " [07:31:29.074] | : "# function environment of FUN() to the calling environment. " [07:31:29.074] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:29.074] | : "# global environment, which is where globals are written. " [07:31:29.074] | : penv <- env <- environment(...future.FUN) [07:31:29.074] | : repeat { [07:31:29.074] | : if (identical(env, globalenv()) || identical(env, [07:31:29.074] | : emptyenv())) [07:31:29.074] | : break [07:31:29.074] | : penv <- env [07:31:29.074] | : env <- parent.env(env) [07:31:29.074] | : } [07:31:29.074] | : if (identical(penv, globalenv())) { [07:31:29.074] | : environment(...future.FUN) <- environment() [07:31:29.074] | : } [07:31:29.074] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:29.074] | : !isNamespace(penv)) { [07:31:29.074] | : parent.env(penv) <- environment() [07:31:29.074] | : } [07:31:29.074] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:29.074] | : { [07:31:29.074] | : "# future.apply:::future_xapply(): preserve future option" [07:31:29.074] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:29.074] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:29.074] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:29.074] | : on.exit(options(oopts), add = TRUE) [07:31:29.074] | : } [07:31:29.074] | : { [07:31:29.074] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:29.074] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:29.074] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:29.074] | : { [07:31:29.074] | : ...future.FUN(...future.X_jj, ...) [07:31:29.074] | : } [07:31:29.074] | : }) [07:31:29.074] | : } [07:31:29.074] | : } [07:31:29.074] | : }, args = future.call.arguments) [07:31:29.074] | : } [07:31:29.074] | : Globals: 6 objects totaling 3.58 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, ...) [07:31:29.074] | : Packages: [07:31:29.074] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:29.074] | : Capture standard output: TRUE [07:31:29.074] | : Capture condition classes: 'condition' (excluding '') [07:31:29.074] | : Immediate condition classes: 'immediateCondition' [07:31:29.074] | : Lazy evaluation: FALSE [07:31:29.074] | : Local evaluation: TRUE [07:31:29.074] | : Early signaling: FALSE [07:31:29.074] | : Actions: [n=1] 'run' [07:31:29.074] | : State: 'finished' ("Future was resolved successfully") [07:31:29.074] | : Resolved: TRUE [07:31:29.074] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-16 [07:31:29.074] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.074] | : Class: 'SequentialFuture', 'UniprocessFuture', 'Future' [07:31:29.074] | : Value: 47 bytes of class 'list' [07:31:29.074] | : Duration: 0.004802942 secs (started 2026-04-01 07:31:29.067585) [07:31:29.074] | : Worker process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.079] | : Chunk #1 of 1 ... DONE [07:31:29.079] | : Launching 1 futures (chunks) ... DONE [07:31:29.080] | : Resolving 1 futures (chunks) ... [07:31:29.082] | : - Number of value chunks collected: 1 [07:31:29.082] | : Resolving 1 futures (chunks) ... DONE [07:31:29.083] | : Reducing values from 1 chunks ... [07:31:29.084] | : - Number of values collected after concatenation: 1 [07:31:29.085] | : - Number of values expected: 1 [07:31:29.085] | : Reducing values from 1 chunks ... DONE [07:31:29.086] | future_lapply() -> future_xapply() ... done [07:31:29.087] future_lapply() ... done List of 1 $ : num 42 [07:31:29.574] future_lapply() ... [07:31:29.576] | Globals in FUN(): [n=7] '{', 'do.call', 'caller', 'c', 'list', '+', 'args' [07:31:29.577] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:29.578] | future_lapply() -> future_xapply() ... [07:31:29.584] | : Number of chunks: 2 [07:31:29.585] | : getGlobalsAndPackagesXApply() ... [07:31:29.586] | : . future.globals: TRUE [07:31:29.630] | : . globals found/used: [n=5] 'FUN', 'caller', 'args', 'call_my_add', 'my_add' [07:31:29.631] | : . needed namespaces: [n=0] [07:31:29.632] | : . use_args: TRUE [07:31:29.632] | : . Getting '...' globals ... [07:31:29.633] | : . ' '...' content: [n=0] [07:31:29.634] | : . ' List of 1 [07:31:29.634] | : . ' $ ...: list() [07:31:29.634] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.634] | : . ' - attr(*, "where")=List of 1 [07:31:29.634] | : . ' ..$ ...: [07:31:29.634] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.634] | : . ' - attr(*, "resolved")= logi TRUE [07:31:29.634] | : . ' - attr(*, "total_size")= num NA [07:31:29.638] | : . Getting '...' globals ... done [07:31:29.639] | : . Globals to be used in all futures (chunks): [n=6] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...' [07:31:29.640] | : . List of 6 [07:31:29.640] | : . $ ...future.FUN:function (i) [07:31:29.640] | : . $ caller :function (a, b, FUN = call_my_add) [07:31:29.640] | : . $ args :List of 1 [07:31:29.640] | : . ..$ FUN:function (a, b) [07:31:29.640] | : . $ call_my_add :function (a, b) [07:31:29.640] | : . $ my_add :function (a, b) [07:31:29.640] | : . $ ... : list() [07:31:29.640] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.640] | : . - attr(*, "where")=List of 6 [07:31:29.640] | : . ..$ ...future.FUN: [07:31:29.640] | : . ..$ caller : [07:31:29.640] | : . ..$ args : [07:31:29.640] | : . ..$ call_my_add : [07:31:29.640] | : . ..$ my_add : [07:31:29.640] | : . ..$ ... : [07:31:29.640] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.640] | : . - attr(*, "resolved")= logi FALSE [07:31:29.640] | : . - attr(*, "total_size")= num 10980 [07:31:29.650] | : . Packages to be attached in all futures: [n=0] [07:31:29.650] | : getGlobalsAndPackagesXApply() ... done [07:31:29.651] | : 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' [07:31:29.652] | : List of 9 [07:31:29.652] | : $ ...future.FUN :function (i) [07:31:29.652] | : $ caller :function (a, b, FUN = call_my_add) [07:31:29.652] | : $ args :List of 1 [07:31:29.652] | : ..$ FUN:function (a, b) [07:31:29.652] | : $ call_my_add :function (a, b) [07:31:29.652] | : $ my_add :function (a, b) [07:31:29.652] | : $ ... : list() [07:31:29.652] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.652] | : $ ...future.elements_ii : NULL [07:31:29.652] | : $ ...future.seeds_ii : NULL [07:31:29.652] | : $ ...future.globals.maxSize: NULL [07:31:29.652] | : - attr(*, "where")=List of 9 [07:31:29.652] | : ..$ ...future.FUN : [07:31:29.652] | : ..$ caller : [07:31:29.652] | : ..$ args : [07:31:29.652] | : ..$ call_my_add : [07:31:29.652] | : ..$ my_add : [07:31:29.652] | : ..$ ... : [07:31:29.652] | : ..$ ...future.elements_ii : [07:31:29.652] | : ..$ ...future.seeds_ii : [07:31:29.652] | : ..$ ...future.globals.maxSize: [07:31:29.652] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.652] | : - attr(*, "resolved")= logi FALSE [07:31:29.652] | : - attr(*, "total_size")= num 10980 [07:31:29.660] | : Number of futures (= number of chunks): 2 [07:31:29.661] | : Launching 2 futures (chunks) ... [07:31:29.661] | : Chunk #1 of 2 ... [07:31:29.662] | : - Finding globals in 'X' for chunk #1 ... [07:31:29.663] | : + additional globals found: [n=0] [07:31:29.663] | : + additional namespaces needed: [n=0] [07:31:29.664] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:29.665] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:29.665] | : - seeds: [07:31:29.666] | : - All globals exported: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.670] | : Created future: [07:31:29.671] | : MultisessionFuture: [07:31:29.671] | : Label: 'fz:base::lapply-1' [07:31:29.671] | : Expression: [07:31:29.671] | : { [07:31:29.671] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:29.671] | : "# expression in do.call(), because function called uses '...' " [07:31:29.671] | : "# as a global variable " [07:31:29.671] | : do.call(function(...) { [07:31:29.671] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:29.671] | : "# without having an '...' argument. This means '...' is treated" [07:31:29.671] | : "# as a global variable. This may happen when FUN() is an " [07:31:29.671] | : "# anonymous function. " [07:31:29.671] | : "# " [07:31:29.671] | : "# If an anonymous function, we will make sure to restore the " [07:31:29.671] | : "# function environment of FUN() to the calling environment. " [07:31:29.671] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:29.671] | : "# global environment, which is where globals are written. " [07:31:29.671] | : penv <- env <- environment(...future.FUN) [07:31:29.671] | : repeat { [07:31:29.671] | : if (identical(env, globalenv()) || identical(env, [07:31:29.671] | : emptyenv())) [07:31:29.671] | : break [07:31:29.671] | : penv <- env [07:31:29.671] | : env <- parent.env(env) [07:31:29.671] | : } [07:31:29.671] | : if (identical(penv, globalenv())) { [07:31:29.671] | : environment(...future.FUN) <- environment() [07:31:29.671] | : } [07:31:29.671] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:29.671] | : !isNamespace(penv)) { [07:31:29.671] | : parent.env(penv) <- environment() [07:31:29.671] | : } [07:31:29.671] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:29.671] | : { [07:31:29.671] | : "# future.apply:::future_xapply(): preserve future option" [07:31:29.671] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:29.671] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:29.671] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:29.671] | : on.exit(options(oopts), add = TRUE) [07:31:29.671] | : } [07:31:29.671] | : { [07:31:29.671] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:29.671] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:29.671] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:29.671] | : { [07:31:29.671] | : ...future.FUN(...future.X_jj, ...) [07:31:29.671] | : } [07:31:29.671] | : }) [07:31:29.671] | : } [07:31:29.671] | : } [07:31:29.671] | : }, args = future.call.arguments) [07:31:29.671] | : } [07:31:29.671] | : 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, ...) [07:31:29.671] | : Packages: [07:31:29.671] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:29.671] | : Capture standard output: TRUE [07:31:29.671] | : Capture condition classes: 'condition' (excluding '') [07:31:29.671] | : Immediate condition classes: 'immediateCondition' [07:31:29.671] | : Lazy evaluation: FALSE [07:31:29.671] | : Local evaluation: TRUE [07:31:29.671] | : Early signaling: FALSE [07:31:29.671] | : Actions: [n=1] 'run' [07:31:29.671] | : State: 'running' ("Future is being evaluated") [07:31:29.671] | : Resolved: TRUE [07:31:29.671] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-17 [07:31:29.671] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.671] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:29.671] | : Value: [07:31:29.671] | : Conditions captured: [07:31:29.796] | : Chunk #1 of 2 ... DONE [07:31:29.797] | : Chunk #2 of 2 ... [07:31:29.798] | : - Finding globals in 'X' for chunk #2 ... [07:31:29.799] | : + additional globals found: [n=0] [07:31:29.800] | : + additional namespaces needed: [n=0] [07:31:29.801] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:29.802] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:29.803] | : - seeds: [07:31:29.803] | : - All globals exported: [n=9] '...future.FUN', 'caller', 'args', 'call_my_add', 'my_add', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.809] | : Created future: [07:31:29.810] | : MultisessionFuture: [07:31:29.810] | : Label: 'fz:base::lapply-2' [07:31:29.810] | : Expression: [07:31:29.810] | : { [07:31:29.810] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:29.810] | : "# expression in do.call(), because function called uses '...' " [07:31:29.810] | : "# as a global variable " [07:31:29.810] | : do.call(function(...) { [07:31:29.810] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:29.810] | : "# without having an '...' argument. This means '...' is treated" [07:31:29.810] | : "# as a global variable. This may happen when FUN() is an " [07:31:29.810] | : "# anonymous function. " [07:31:29.810] | : "# " [07:31:29.810] | : "# If an anonymous function, we will make sure to restore the " [07:31:29.810] | : "# function environment of FUN() to the calling environment. " [07:31:29.810] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:29.810] | : "# global environment, which is where globals are written. " [07:31:29.810] | : penv <- env <- environment(...future.FUN) [07:31:29.810] | : repeat { [07:31:29.810] | : if (identical(env, globalenv()) || identical(env, [07:31:29.810] | : emptyenv())) [07:31:29.810] | : break [07:31:29.810] | : penv <- env [07:31:29.810] | : env <- parent.env(env) [07:31:29.810] | : } [07:31:29.810] | : if (identical(penv, globalenv())) { [07:31:29.810] | : environment(...future.FUN) <- environment() [07:31:29.810] | : } [07:31:29.810] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:29.810] | : !isNamespace(penv)) { [07:31:29.810] | : parent.env(penv) <- environment() [07:31:29.810] | : } [07:31:29.810] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:29.810] | : { [07:31:29.810] | : "# future.apply:::future_xapply(): preserve future option" [07:31:29.810] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:29.810] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:29.810] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:29.810] | : on.exit(options(oopts), add = TRUE) [07:31:29.810] | : } [07:31:29.810] | : { [07:31:29.810] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:29.810] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:29.810] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:29.810] | : { [07:31:29.810] | : ...future.FUN(...future.X_jj, ...) [07:31:29.810] | : } [07:31:29.810] | : }) [07:31:29.810] | : } [07:31:29.810] | : } [07:31:29.810] | : }, args = future.call.arguments) [07:31:29.810] | : } [07:31:29.810] | : Globals: 9 objects totaling 8.51 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, ...) [07:31:29.810] | : Packages: [07:31:29.810] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:29.810] | : Capture standard output: TRUE [07:31:29.810] | : Capture condition classes: 'condition' (excluding '') [07:31:29.810] | : Immediate condition classes: 'immediateCondition' [07:31:29.810] | : Lazy evaluation: FALSE [07:31:29.810] | : Local evaluation: TRUE [07:31:29.810] | : Early signaling: FALSE [07:31:29.810] | : Actions: [n=1] 'run' [07:31:29.810] | : State: 'running' ("Future is being evaluated") [07:31:29.810] | : Resolved: TRUE [07:31:29.810] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-18 [07:31:29.810] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.810] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:29.810] | : Value: [07:31:29.810] | : Conditions captured: [07:31:29.819] | : Chunk #2 of 2 ... DONE [07:31:29.820] | : Launching 2 futures (chunks) ... DONE [07:31:29.821] | : Resolving 2 futures (chunks) ... [07:31:29.829] | : - Number of value chunks collected: 2 [07:31:29.830] | : Resolving 2 futures (chunks) ... DONE [07:31:29.831] | : Reducing values from 2 chunks ... [07:31:29.832] | : - Number of values collected after concatenation: 3 [07:31:29.833] | : - Number of values expected: 3 [07:31:29.834] | : Reducing values from 2 chunks ... DONE [07:31:29.835] | future_lapply() -> future_xapply() ... done [07:31:29.835] future_lapply() ... done - lapply(x, FUN = do.call, ...) |> futurize() ... [07:31:29.837] future_lapply() ... [07:31:29.841] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [07:31:29.842] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:29.843] | future_lapply() -> future_xapply() ... [07:31:29.844] | : Number of chunks: 1 [07:31:29.845] | : getGlobalsAndPackagesXApply() ... [07:31:29.845] | : . future.globals: TRUE [07:31:29.886] | : . globals found/used: [n=1] 'FUN' [07:31:29.887] | : . needed namespaces: [n=0] [07:31:29.888] | : . use_args: TRUE [07:31:29.889] | : . Getting '...' globals ... [07:31:29.891] | : . ' '...' content: [n=1] 'what' [07:31:29.892] | : . ' List of 1 [07:31:29.892] | : . ' $ ...:List of 1 [07:31:29.892] | : . ' ..$ what:function (x) [07:31:29.892] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.892] | : . ' - attr(*, "where")=List of 1 [07:31:29.892] | : . ' ..$ ...: [07:31:29.892] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.892] | : . ' - attr(*, "resolved")= logi TRUE [07:31:29.892] | : . ' - attr(*, "total_size")= num NA [07:31:29.898] | : . Getting '...' globals ... done [07:31:29.899] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:29.900] | : . List of 2 [07:31:29.900] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [07:31:29.900] | : . $ ... :List of 1 [07:31:29.900] | : . ..$ what:function (x) [07:31:29.900] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.900] | : . - attr(*, "where")=List of 2 [07:31:29.900] | : . ..$ ...future.FUN: [07:31:29.900] | : . ..$ ... : [07:31:29.900] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.900] | : . - attr(*, "resolved")= logi FALSE [07:31:29.900] | : . - attr(*, "total_size")= num 6983 [07:31:29.907] | : . Packages to be attached in all futures: [n=0] [07:31:29.908] | : getGlobalsAndPackagesXApply() ... done [07:31:29.909] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.910] | : List of 5 [07:31:29.910] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [07:31:29.910] | : $ ... :List of 1 [07:31:29.910] | : ..$ what:function (x) [07:31:29.910] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:29.910] | : $ ...future.elements_ii : NULL [07:31:29.910] | : $ ...future.seeds_ii : NULL [07:31:29.910] | : $ ...future.globals.maxSize: NULL [07:31:29.910] | : - attr(*, "where")=List of 5 [07:31:29.910] | : ..$ ...future.FUN : [07:31:29.910] | : ..$ ... : [07:31:29.910] | : ..$ ...future.elements_ii : [07:31:29.910] | : ..$ ...future.seeds_ii : [07:31:29.910] | : ..$ ...future.globals.maxSize: [07:31:29.910] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:29.910] | : - attr(*, "resolved")= logi FALSE [07:31:29.910] | : - attr(*, "total_size")= num 6983 [07:31:29.919] | : Number of futures (= number of chunks): 1 [07:31:29.920] | : Launching 1 futures (chunks) ... [07:31:29.921] | : Chunk #1 of 1 ... [07:31:29.922] | : - Finding globals in 'X' for chunk #1 ... [07:31:29.924] | : + additional globals found: [n=0] [07:31:29.925] | : + additional namespaces needed: [n=0] [07:31:29.925] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:29.926] | : - seeds: [07:31:29.927] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:29.930] | : Created future: [07:31:29.931] | : MultisessionFuture: [07:31:29.931] | : Label: 'fz:base::lapply-1' [07:31:29.931] | : Expression: [07:31:29.931] | : { [07:31:29.931] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:29.931] | : "# expression in do.call(), because function called uses '...' " [07:31:29.931] | : "# as a global variable " [07:31:29.931] | : do.call(function(...) { [07:31:29.931] | : "# future.apply:::future_xapply(): preserve future option" [07:31:29.931] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:29.931] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:29.931] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:29.931] | : on.exit(options(oopts), add = TRUE) [07:31:29.931] | : } [07:31:29.931] | : { [07:31:29.931] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:29.931] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:29.931] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:29.931] | : { [07:31:29.931] | : ...future.FUN(...future.X_jj, ...) [07:31:29.931] | : } [07:31:29.931] | : }) [07:31:29.931] | : } [07:31:29.931] | : }, args = future.call.arguments) [07:31:29.931] | : } [07:31:29.931] | : Globals: 5 objects totaling 7.01 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) [07:31:29.931] | : Packages: [07:31:29.931] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:29.931] | : Capture standard output: TRUE [07:31:29.931] | : Capture condition classes: 'condition' (excluding '') [07:31:29.931] | : Immediate condition classes: 'immediateCondition' [07:31:29.931] | : Lazy evaluation: FALSE [07:31:29.931] | : Local evaluation: TRUE [07:31:29.931] | : Early signaling: FALSE [07:31:29.931] | : Actions: [n=1] 'run' [07:31:29.931] | : State: 'running' ("Future is being evaluated") [07:31:29.931] | : Resolved: TRUE [07:31:29.931] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-19 [07:31:29.931] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:29.931] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:29.931] | : Value: [07:31:29.931] | : Conditions captured: [07:31:29.938] | : Chunk #1 of 1 ... DONE [07:31:29.939] | : Launching 1 futures (chunks) ... DONE [07:31:29.940] | : Resolving 1 futures (chunks) ... [07:31:29.941] | : - Number of value chunks collected: 1 [07:31:29.943] | : Resolving 1 futures (chunks) ... DONE [07:31:29.944] | : Reducing values from 1 chunks ... [07:31:29.945] | : - Number of values collected after concatenation: 1 [07:31:29.945] | : - Number of values expected: 1 [07:31:29.946] | : Reducing values from 1 chunks ... DONE [07:31:29.947] | future_lapply() -> future_xapply() ... done [07:31:29.948] future_lapply() ... done [07:31:29.950] future_lapply() ... [07:31:29.954] | Globals in FUN(): [n=10] 'parent.frame', '{', 'if', '!', 'is.list', 'stop', '<-', 'lapply', 'enquote', '.Internal' [07:31:29.955] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:29.956] | future_lapply() -> future_xapply() ... [07:31:29.957] | : Number of chunks: 1 [07:31:29.958] | : getGlobalsAndPackagesXApply() ... [07:31:29.959] | : . future.globals: TRUE [07:31:30.009] | : . globals found/used: [n=1] 'FUN' [07:31:30.010] | : . needed namespaces: [n=0] [07:31:30.011] | : . use_args: TRUE [07:31:30.011] | : . Getting '...' globals ... [07:31:30.013] | : . ' '...' content: [n=1] 'what' [07:31:30.014] | : . ' List of 1 [07:31:30.014] | : . ' $ ...:List of 1 [07:31:30.014] | : . ' ..$ what:function (...) [07:31:30.014] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.014] | : . ' - attr(*, "where")=List of 1 [07:31:30.014] | : . ' ..$ ...: [07:31:30.014] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.014] | : . ' - attr(*, "resolved")= logi TRUE [07:31:30.014] | : . ' - attr(*, "total_size")= num NA [07:31:30.019] | : . Getting '...' globals ... done [07:31:30.020] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:30.020] | : . List of 2 [07:31:30.020] | : . $ ...future.FUN:function (what, args, quote = FALSE, envir = parent.frame()) [07:31:30.020] | : . $ ... :List of 1 [07:31:30.020] | : . ..$ what:function (...) [07:31:30.020] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.020] | : . - attr(*, "where")=List of 2 [07:31:30.020] | : . ..$ ...future.FUN: [07:31:30.020] | : . ..$ ... : [07:31:30.020] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.020] | : . - attr(*, "resolved")= logi FALSE [07:31:30.020] | : . - attr(*, "total_size")= num 7419 [07:31:30.026] | : . Packages to be attached in all futures: [n=0] [07:31:30.027] | : getGlobalsAndPackagesXApply() ... done [07:31:30.029] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.030] | : List of 5 [07:31:30.030] | : $ ...future.FUN :function (what, args, quote = FALSE, envir = parent.frame()) [07:31:30.030] | : $ ... :List of 1 [07:31:30.030] | : ..$ what:function (...) [07:31:30.030] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.030] | : $ ...future.elements_ii : NULL [07:31:30.030] | : $ ...future.seeds_ii : NULL [07:31:30.030] | : $ ...future.globals.maxSize: NULL [07:31:30.030] | : - attr(*, "where")=List of 5 [07:31:30.030] | : ..$ ...future.FUN : [07:31:30.030] | : ..$ ... : [07:31:30.030] | : ..$ ...future.elements_ii : [07:31:30.030] | : ..$ ...future.seeds_ii : [07:31:30.030] | : ..$ ...future.globals.maxSize: [07:31:30.030] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.030] | : - attr(*, "resolved")= logi FALSE [07:31:30.030] | : - attr(*, "total_size")= num 7419 [07:31:30.042] | : Number of futures (= number of chunks): 1 [07:31:30.043] | : Launching 1 futures (chunks) ... [07:31:30.045] | : Chunk #1 of 1 ... [07:31:30.046] | : - Finding globals in 'X' for chunk #1 ... [07:31:30.047] | : + additional globals found: [n=0] [07:31:30.048] | : + additional namespaces needed: [n=0] [07:31:30.049] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:30.050] | : - seeds: [07:31:30.051] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.055] | : Created future: [07:31:30.056] | : MultisessionFuture: [07:31:30.056] | : Label: 'fz:base::lapply-1' [07:31:30.056] | : Expression: [07:31:30.056] | : { [07:31:30.056] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.056] | : "# expression in do.call(), because function called uses '...' " [07:31:30.056] | : "# as a global variable " [07:31:30.056] | : do.call(function(...) { [07:31:30.056] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.056] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.056] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.056] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.056] | : on.exit(options(oopts), add = TRUE) [07:31:30.056] | : } [07:31:30.056] | : { [07:31:30.056] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.056] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.056] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.056] | : { [07:31:30.056] | : ...future.FUN(...future.X_jj, ...) [07:31:30.056] | : } [07:31:30.056] | : }) [07:31:30.056] | : } [07:31:30.056] | : }, args = future.call.arguments) [07:31:30.056] | : } [07:31:30.056] | : 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) [07:31:30.056] | : Packages: [07:31:30.056] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.056] | : Capture standard output: TRUE [07:31:30.056] | : Capture condition classes: 'condition' (excluding '') [07:31:30.056] | : Immediate condition classes: 'immediateCondition' [07:31:30.056] | : Lazy evaluation: FALSE [07:31:30.056] | : Local evaluation: TRUE [07:31:30.056] | : Early signaling: FALSE [07:31:30.056] | : Actions: [n=1] 'run' [07:31:30.056] | : State: 'running' ("Future is being evaluated") [07:31:30.056] | : Resolved: TRUE [07:31:30.056] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-20 [07:31:30.056] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.056] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.056] | : Value: [07:31:30.056] | : Conditions captured: [07:31:30.067] | : Chunk #1 of 1 ... DONE [07:31:30.068] | : Launching 1 futures (chunks) ... DONE [07:31:30.069] | : Resolving 1 futures (chunks) ... [07:31:30.071] | : - Number of value chunks collected: 1 [07:31:30.072] | : Resolving 1 futures (chunks) ... DONE [07:31:30.073] | : Reducing values from 1 chunks ... [07:31:30.073] | : - Number of values collected after concatenation: 1 [07:31:30.074] | : - Number of values expected: 1 [07:31:30.075] | : Reducing values from 1 chunks ... DONE [07:31:30.076] | future_lapply() -> future_xapply() ... done [07:31:30.077] future_lapply() ... done - lapply(x, ...) |> futurize() - passing arguments via '...' ... [07:31:30.079] future_lapply() ... [07:31:30.081] | Globals in FUN(): [n=1] 'typeof' [07:31:30.082] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:30.083] | future_lapply() -> future_xapply() ... [07:31:30.084] | : Number of chunks: 1 [07:31:30.085] | : getGlobalsAndPackagesXApply() ... [07:31:30.085] | : . future.globals: TRUE [07:31:30.100] | : . globals found/used: [n=1] 'FUN' [07:31:30.101] | : . needed namespaces: [n=0] [07:31:30.102] | : . use_args: TRUE [07:31:30.103] | : . Getting '...' globals ... [07:31:30.104] | : . ' '...' content: [n=1] 'b' [07:31:30.105] | : . ' List of 1 [07:31:30.105] | : . ' $ ...:List of 1 [07:31:30.105] | : . ' ..$ b:'data.frame': 2 obs. of 1 variable: [07:31:30.105] | : . ' .. ..$ a: int [1:2] 1 2 [07:31:30.105] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.105] | : . ' - attr(*, "where")=List of 1 [07:31:30.105] | : . ' ..$ ...: [07:31:30.105] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.105] | : . ' - attr(*, "resolved")= logi TRUE [07:31:30.105] | : . ' - attr(*, "total_size")= num NA [07:31:30.112] | : . Getting '...' globals ... done [07:31:30.113] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:30.114] | : . List of 2 [07:31:30.114] | : . $ ...future.FUN:function (a, b) [07:31:30.114] | : . $ ... :List of 1 [07:31:30.114] | : . ..$ b:'data.frame': 2 obs. of 1 variable: [07:31:30.114] | : . .. ..$ a: int [1:2] 1 2 [07:31:30.114] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.114] | : . - attr(*, "where")=List of 2 [07:31:30.114] | : . ..$ ...future.FUN: [07:31:30.114] | : . ..$ ... : [07:31:30.114] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.114] | : . - attr(*, "resolved")= logi FALSE [07:31:30.114] | : . - attr(*, "total_size")= num 3755 [07:31:30.122] | : . Packages to be attached in all futures: [n=0] [07:31:30.123] | : getGlobalsAndPackagesXApply() ... done [07:31:30.124] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.128] | : List of 5 [07:31:30.128] | : $ ...future.FUN :function (a, b) [07:31:30.128] | : $ ... :List of 1 [07:31:30.128] | : ..$ b:'data.frame': 2 obs. of 1 variable: [07:31:30.128] | : .. ..$ a: int [1:2] 1 2 [07:31:30.128] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.128] | : $ ...future.elements_ii : NULL [07:31:30.128] | : $ ...future.seeds_ii : NULL [07:31:30.128] | : $ ...future.globals.maxSize: NULL [07:31:30.128] | : - attr(*, "where")=List of 5 [07:31:30.128] | : ..$ ...future.FUN : [07:31:30.128] | : ..$ ... : [07:31:30.128] | : ..$ ...future.elements_ii : [07:31:30.128] | : ..$ ...future.seeds_ii : [07:31:30.128] | : ..$ ...future.globals.maxSize: [07:31:30.128] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.128] | : - attr(*, "resolved")= logi FALSE [07:31:30.128] | : - attr(*, "total_size")= num 3755 [07:31:30.139] | : Number of futures (= number of chunks): 1 [07:31:30.140] | : Launching 1 futures (chunks) ... [07:31:30.141] | : Chunk #1 of 1 ... [07:31:30.142] | : - Finding globals in 'X' for chunk #1 ... [07:31:30.143] | : + additional globals found: [n=0] [07:31:30.144] | : + additional namespaces needed: [n=0] [07:31:30.145] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:30.146] | : - seeds: [07:31:30.147] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.152] | : Created future: [07:31:30.153] | : MultisessionFuture: [07:31:30.153] | : Label: 'fz:base::lapply-1' [07:31:30.153] | : Expression: [07:31:30.153] | : { [07:31:30.153] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.153] | : "# expression in do.call(), because function called uses '...' " [07:31:30.153] | : "# as a global variable " [07:31:30.153] | : do.call(function(...) { [07:31:30.153] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:30.153] | : "# without having an '...' argument. This means '...' is treated" [07:31:30.153] | : "# as a global variable. This may happen when FUN() is an " [07:31:30.153] | : "# anonymous function. " [07:31:30.153] | : "# " [07:31:30.153] | : "# If an anonymous function, we will make sure to restore the " [07:31:30.153] | : "# function environment of FUN() to the calling environment. " [07:31:30.153] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:30.153] | : "# global environment, which is where globals are written. " [07:31:30.153] | : penv <- env <- environment(...future.FUN) [07:31:30.153] | : repeat { [07:31:30.153] | : if (identical(env, globalenv()) || identical(env, [07:31:30.153] | : emptyenv())) [07:31:30.153] | : break [07:31:30.153] | : penv <- env [07:31:30.153] | : env <- parent.env(env) [07:31:30.153] | : } [07:31:30.153] | : if (identical(penv, globalenv())) { [07:31:30.153] | : environment(...future.FUN) <- environment() [07:31:30.153] | : } [07:31:30.153] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:30.153] | : !isNamespace(penv)) { [07:31:30.153] | : parent.env(penv) <- environment() [07:31:30.153] | : } [07:31:30.153] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:30.153] | : { [07:31:30.153] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.153] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.153] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.153] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.153] | : on.exit(options(oopts), add = TRUE) [07:31:30.153] | : } [07:31:30.153] | : { [07:31:30.153] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.153] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.153] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.153] | : { [07:31:30.153] | : ...future.FUN(...future.X_jj, ...) [07:31:30.153] | : } [07:31:30.153] | : }) [07:31:30.153] | : } [07:31:30.153] | : } [07:31:30.153] | : }, args = future.call.arguments) [07:31:30.153] | : } [07:31:30.153] | : Globals: 5 objects totaling 3.96 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) [07:31:30.153] | : Packages: [07:31:30.153] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.153] | : Capture standard output: TRUE [07:31:30.153] | : Capture condition classes: 'condition' (excluding '') [07:31:30.153] | : Immediate condition classes: 'immediateCondition' [07:31:30.153] | : Lazy evaluation: FALSE [07:31:30.153] | : Local evaluation: TRUE [07:31:30.153] | : Early signaling: FALSE [07:31:30.153] | : Actions: [n=1] 'run' [07:31:30.153] | : State: 'running' ("Future is being evaluated") [07:31:30.153] | : Resolved: TRUE [07:31:30.153] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-21 [07:31:30.153] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.153] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.153] | : Value: [07:31:30.153] | : Conditions captured: [07:31:30.163] | : Chunk #1 of 1 ... DONE [07:31:30.164] | : Launching 1 futures (chunks) ... DONE [07:31:30.165] | : Resolving 1 futures (chunks) ... [07:31:30.167] | : - Number of value chunks collected: 1 [07:31:30.168] | : Resolving 1 futures (chunks) ... DONE [07:31:30.168] | : Reducing values from 1 chunks ... [07:31:30.169] | : - Number of values collected after concatenation: 1 [07:31:30.170] | : - Number of values expected: 1 [07:31:30.171] | : Reducing values from 1 chunks ... DONE [07:31:30.172] | future_lapply() -> future_xapply() ... done [07:31:30.173] future_lapply() ... done [07:31:30.175] future_lapply() ... [07:31:30.176] | Globals in FUN(): [n=1] 'typeof' [07:31:30.177] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:30.178] | future_lapply() -> future_xapply() ... [07:31:30.179] | : Number of chunks: 1 [07:31:30.180] | : getGlobalsAndPackagesXApply() ... [07:31:30.181] | : . future.globals: TRUE [07:31:30.196] | : . globals found/used: [n=1] 'FUN' [07:31:30.197] | : . needed namespaces: [n=0] [07:31:30.199] | : . use_args: TRUE [07:31:30.200] | : . Getting '...' globals ... [07:31:30.201] | : . ' '...' content: [n=1] 'b' [07:31:30.202] | : . ' List of 1 [07:31:30.202] | : . ' $ ...:List of 1 [07:31:30.202] | : . ' ..$ b: [07:31:30.202] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.202] | : . ' - attr(*, "where")=List of 1 [07:31:30.202] | : . ' ..$ ...: [07:31:30.202] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.202] | : . ' - attr(*, "resolved")= logi TRUE [07:31:30.202] | : . ' - attr(*, "total_size")= num NA [07:31:30.209] | : . Getting '...' globals ... done [07:31:30.210] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:30.211] | : . List of 2 [07:31:30.211] | : . $ ...future.FUN:function (a, b) [07:31:30.211] | : . $ ... :List of 1 [07:31:30.211] | : . ..$ b: [07:31:30.211] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.211] | : . - attr(*, "where")=List of 2 [07:31:30.211] | : . ..$ ...future.FUN: [07:31:30.211] | : . ..$ ... : [07:31:30.211] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.211] | : . - attr(*, "resolved")= logi FALSE [07:31:30.211] | : . - attr(*, "total_size")= num 3510 [07:31:30.218] | : . Packages to be attached in all futures: [n=0] [07:31:30.219] | : getGlobalsAndPackagesXApply() ... done [07:31:30.220] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.221] | : List of 5 [07:31:30.221] | : $ ...future.FUN :function (a, b) [07:31:30.221] | : $ ... :List of 1 [07:31:30.221] | : ..$ b: [07:31:30.221] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.221] | : $ ...future.elements_ii : NULL [07:31:30.221] | : $ ...future.seeds_ii : NULL [07:31:30.221] | : $ ...future.globals.maxSize: NULL [07:31:30.221] | : - attr(*, "where")=List of 5 [07:31:30.221] | : ..$ ...future.FUN : [07:31:30.221] | : ..$ ... : [07:31:30.221] | : ..$ ...future.elements_ii : [07:31:30.221] | : ..$ ...future.seeds_ii : [07:31:30.221] | : ..$ ...future.globals.maxSize: [07:31:30.221] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.221] | : - attr(*, "resolved")= logi FALSE [07:31:30.221] | : - attr(*, "total_size")= num 3510 [07:31:30.232] | : Number of futures (= number of chunks): 1 [07:31:30.233] | : Launching 1 futures (chunks) ... [07:31:30.234] | : Chunk #1 of 1 ... [07:31:30.235] | : - Finding globals in 'X' for chunk #1 ... [07:31:30.236] | : + additional globals found: [n=0] [07:31:30.237] | : + additional namespaces needed: [n=0] [07:31:30.238] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:30.239] | : - seeds: [07:31:30.240] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.245] | : Created future: [07:31:30.246] | : MultisessionFuture: [07:31:30.246] | : Label: 'fz:base::lapply-1' [07:31:30.246] | : Expression: [07:31:30.246] | : { [07:31:30.246] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.246] | : "# expression in do.call(), because function called uses '...' " [07:31:30.246] | : "# as a global variable " [07:31:30.246] | : do.call(function(...) { [07:31:30.246] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:30.246] | : "# without having an '...' argument. This means '...' is treated" [07:31:30.246] | : "# as a global variable. This may happen when FUN() is an " [07:31:30.246] | : "# anonymous function. " [07:31:30.246] | : "# " [07:31:30.246] | : "# If an anonymous function, we will make sure to restore the " [07:31:30.246] | : "# function environment of FUN() to the calling environment. " [07:31:30.246] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:30.246] | : "# global environment, which is where globals are written. " [07:31:30.246] | : penv <- env <- environment(...future.FUN) [07:31:30.246] | : repeat { [07:31:30.246] | : if (identical(env, globalenv()) || identical(env, [07:31:30.246] | : emptyenv())) [07:31:30.246] | : break [07:31:30.246] | : penv <- env [07:31:30.246] | : env <- parent.env(env) [07:31:30.246] | : } [07:31:30.246] | : if (identical(penv, globalenv())) { [07:31:30.246] | : environment(...future.FUN) <- environment() [07:31:30.246] | : } [07:31:30.246] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:30.246] | : !isNamespace(penv)) { [07:31:30.246] | : parent.env(penv) <- environment() [07:31:30.246] | : } [07:31:30.246] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:30.246] | : { [07:31:30.246] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.246] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.246] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.246] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.246] | : on.exit(options(oopts), add = TRUE) [07:31:30.246] | : } [07:31:30.246] | : { [07:31:30.246] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.246] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.246] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.246] | : { [07:31:30.246] | : ...future.FUN(...future.X_jj, ...) [07:31:30.246] | : } [07:31:30.246] | : }) [07:31:30.246] | : } [07:31:30.246] | : } [07:31:30.246] | : }, args = future.call.arguments) [07:31:30.246] | : } [07:31:30.246] | : Globals: 5 objects totaling 3.72 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) [07:31:30.246] | : Packages: [07:31:30.246] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.246] | : Capture standard output: TRUE [07:31:30.246] | : Capture condition classes: 'condition' (excluding '') [07:31:30.246] | : Immediate condition classes: 'immediateCondition' [07:31:30.246] | : Lazy evaluation: FALSE [07:31:30.246] | : Local evaluation: TRUE [07:31:30.246] | : Early signaling: FALSE [07:31:30.246] | : Actions: [n=1] 'run' [07:31:30.246] | : State: 'running' ("Future is being evaluated") [07:31:30.246] | : Resolved: TRUE [07:31:30.246] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-22 [07:31:30.246] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.246] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.246] | : Value: [07:31:30.246] | : Conditions captured: [07:31:30.254] | : Chunk #1 of 1 ... DONE [07:31:30.255] | : Launching 1 futures (chunks) ... DONE [07:31:30.255] | : Resolving 1 futures (chunks) ... [07:31:30.257] | : - Number of value chunks collected: 1 [07:31:30.258] | : Resolving 1 futures (chunks) ... DONE [07:31:30.259] | : Reducing values from 1 chunks ... [07:31:30.260] | : - Number of values collected after concatenation: 1 [07:31:30.261] | : - Number of values expected: 1 [07:31:30.262] | : Reducing values from 1 chunks ... DONE [07:31:30.262] | future_lapply() -> future_xapply() ... done [07:31:30.263] future_lapply() ... done [07:31:30.265] future_lapply() ... [07:31:30.267] | Globals in FUN(): [n=1] 'typeof' [07:31:30.268] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:30.269] | future_lapply() -> future_xapply() ... [07:31:30.270] | : Number of chunks: 1 [07:31:30.271] | : getGlobalsAndPackagesXApply() ... [07:31:30.271] | : . future.globals: TRUE [07:31:30.287] | : . globals found/used: [n=1] 'FUN' [07:31:30.288] | : . needed namespaces: [n=0] [07:31:30.289] | : . use_args: TRUE [07:31:30.290] | : . Getting '...' globals ... [07:31:30.291] | : . ' '...' content: [n=1] 'b' [07:31:30.292] | : . ' List of 1 [07:31:30.292] | : . ' $ ...:List of 1 [07:31:30.292] | : . ' ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [07:31:30.292] | : . ' .. .. ..@ slots :List of 4 [07:31:30.292] | : . ' .. .. .. ..$ .Data : chr "function" [07:31:30.292] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. ..$ target : chr "signature" [07:31:30.292] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. ..$ defined: chr "signature" [07:31:30.292] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. ..$ generic: chr "character" [07:31:30.292] | : . ' .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. ..@ contains :List of 4 [07:31:30.292] | : . ' .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "function" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:30.292] | : . ' .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr "function" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:30.292] | : . ' .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr "function" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:30.292] | : . ' .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "optionalMethod" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr "function" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 3 [07:31:30.292] | : . ' .. .. ..@ virtual : logi FALSE [07:31:30.292] | : . ' .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [07:31:30.292] | : . ' list() [07:31:30.292] | : . ' .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [07:31:30.292] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [07:31:30.292] | : . ' .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [07:31:30.292] | : . ' .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. .. ..@ names : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. .. ..@ package: chr(0) [07:31:30.292] | : . ' .. .. .. .. ..$ generic: chr(0) [07:31:30.292] | : . ' .. .. ..@ validity : NULL [07:31:30.292] | : . ' .. .. ..@ access : list() [07:31:30.292] | : . ' .. .. ..@ className : chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. ..@ subclasses:List of 7 [07:31:30.292] | : . ' .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:30.292] | : . ' .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:30.292] | : . ' .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:30.292] | : . ' .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr(0) [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 1 [07:31:30.292] | : . ' .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:30.292] | : . ' .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr "MethodWithNext" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:30.292] | : . ' .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.292] | : . ' .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ package : chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.292] | : . ' .. .. .. .. .. ..@ test :function (object) [07:31:30.292] | : . ' .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.292] | : . ' .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.292] | : . ' .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:30.292] | : . ' .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.292] | : . ' .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.292] | : . ' .. .. .. .. .. ..@ distance : num 2 [07:31:30.292] | : . ' .. .. ..@ versionKey: [07:31:30.292] | : . ' .. .. ..@ sealed : logi TRUE [07:31:30.292] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.292] | : . ' - attr(*, "where")=List of 1 [07:31:30.292] | : . ' ..$ ...: [07:31:30.292] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.292] | : . ' - attr(*, "resolved")= logi TRUE [07:31:30.292] | : . ' - attr(*, "total_size")= num NA [07:31:30.422] | : . Getting '...' globals ... done [07:31:30.423] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:30.424] | : . List of 2 [07:31:30.424] | : . $ ...future.FUN:function (a, b) [07:31:30.424] | : . $ ... :List of 1 [07:31:30.424] | : . ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [07:31:30.424] | : . .. .. ..@ slots :List of 4 [07:31:30.424] | : . .. .. .. ..$ .Data : chr "function" [07:31:30.424] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. ..$ target : chr "signature" [07:31:30.424] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. ..$ defined: chr "signature" [07:31:30.424] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. ..$ generic: chr "character" [07:31:30.424] | : . .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. ..@ contains :List of 4 [07:31:30.424] | : . .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "function" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:30.424] | : . .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr "function" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:30.424] | : . .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr "function" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:30.424] | : . .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "optionalMethod" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr "function" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 3 [07:31:30.424] | : . .. .. ..@ virtual : logi FALSE [07:31:30.424] | : . .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [07:31:30.424] | : . list() [07:31:30.424] | : . .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [07:31:30.424] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:30.424] | : . .. .. .. .. .. .. ..@ names : chr(0) [07:31:30.424] | : . .. .. .. .. .. .. ..@ package: chr(0) [07:31:30.424] | : . .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [07:31:30.424] | : . .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:30.424] | : . .. .. .. .. .. .. ..@ names : chr(0) [07:31:30.424] | : . .. .. .. .. .. .. ..@ package: chr(0) [07:31:30.424] | : . .. .. .. .. ..$ generic: chr(0) [07:31:30.424] | : . .. .. ..@ validity : NULL [07:31:30.424] | : . .. .. ..@ access : list() [07:31:30.424] | : . .. .. ..@ className : chr "MethodDefinition" [07:31:30.424] | : . .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. ..@ subclasses:List of 7 [07:31:30.424] | : . .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:30.424] | : . .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:30.424] | : . .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:30.424] | : . .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr(0) [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 1 [07:31:30.424] | : . .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:30.424] | : . .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr "MethodWithNext" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:30.424] | : . .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.424] | : . .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ package : chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.424] | : . .. .. .. .. .. ..@ test :function (object) [07:31:30.424] | : . .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.424] | : . .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.424] | : . .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:30.424] | : . .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.424] | : . .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.424] | : . .. .. .. .. .. ..@ distance : num 2 [07:31:30.424] | : . .. .. ..@ versionKey: [07:31:30.424] | : . .. .. ..@ sealed : logi TRUE [07:31:30.424] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.424] | : . - attr(*, "where")=List of 2 [07:31:30.424] | : . ..$ ...future.FUN: [07:31:30.424] | : . ..$ ... : [07:31:30.424] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.424] | : . - attr(*, "resolved")= logi FALSE [07:31:30.424] | : . - attr(*, "total_size")= num 105377 [07:31:30.561] | : . Packages to be attached in all futures: [n=0] [07:31:30.562] | : getGlobalsAndPackagesXApply() ... done [07:31:30.563] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.564] | : List of 5 [07:31:30.564] | : $ ...future.FUN :function (a, b) [07:31:30.564] | : $ ... :List of 1 [07:31:30.564] | : ..$ b:Formal class 'classRepresentation' [package "methods"] with 11 slots [07:31:30.564] | : .. .. ..@ slots :List of 4 [07:31:30.564] | : .. .. .. ..$ .Data : chr "function" [07:31:30.564] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. ..$ target : chr "signature" [07:31:30.564] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. ..$ defined: chr "signature" [07:31:30.564] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. ..$ generic: chr "character" [07:31:30.564] | : .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. ..@ contains :List of 4 [07:31:30.564] | : .. .. .. ..$ function :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "function" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr(0) [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 1 [07:31:30.564] | : .. .. .. ..$ OptionalFunction:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "OptionalFunction" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr "function" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 2 [07:31:30.564] | : .. .. .. ..$ PossibleMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "PossibleMethod" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr "function" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 2 [07:31:30.564] | : .. .. .. ..$ optionalMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "optionalMethod" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr "function" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 3 [07:31:30.564] | : .. .. ..@ virtual : logi FALSE [07:31:30.564] | : .. .. ..@ prototype :Formal class 'function' [package ""] with 0 slots [07:31:30.564] | : list() [07:31:30.564] | : .. .. .. .. ..$ target :Formal class 'signature' [package "methods"] with 3 slots [07:31:30.564] | : .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:30.564] | : .. .. .. .. .. .. ..@ names : chr(0) [07:31:30.564] | : .. .. .. .. .. .. ..@ package: chr(0) [07:31:30.564] | : .. .. .. .. ..$ defined:Formal class 'signature' [package "methods"] with 3 slots [07:31:30.564] | : .. .. .. .. .. .. ..@ .Data : chr(0) [07:31:30.564] | : .. .. .. .. .. .. ..@ names : chr(0) [07:31:30.564] | : .. .. .. .. .. .. ..@ package: chr(0) [07:31:30.564] | : .. .. .. .. ..$ generic: chr(0) [07:31:30.564] | : .. .. ..@ validity : NULL [07:31:30.564] | : .. .. ..@ access : list() [07:31:30.564] | : .. .. ..@ className : chr "MethodDefinition" [07:31:30.564] | : .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. ..@ subclasses:List of 7 [07:31:30.564] | : .. .. .. ..$ derivedDefaultMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethod" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr(0) [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 1 [07:31:30.564] | : .. .. .. ..$ MethodWithNext :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNext" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr(0) [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 1 [07:31:30.564] | : .. .. .. ..$ SealedMethodDefinition :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "SealedMethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr(0) [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 1 [07:31:30.564] | : .. .. .. ..$ MethodDefinitionWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodDefinitionWithTrace" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr(0) [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 1 [07:31:30.564] | : .. .. .. ..$ internalDispatchMethod :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "internalDispatchMethod" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 2 [07:31:30.564] | : .. .. .. ..$ MethodWithNextWithTrace :Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "MethodWithNextWithTrace" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr "MethodWithNext" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 2 [07:31:30.564] | : .. .. .. ..$ derivedDefaultMethodWithTrace:Formal class 'SClassExtension' [package "methods"] with 10 slots [07:31:30.564] | : .. .. .. .. .. ..@ subClass : chr "derivedDefaultMethodWithTrace" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ superClass: chr "MethodDefinition" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ package : chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ coerce :function (from, strict = TRUE) [07:31:30.564] | : .. .. .. .. .. ..@ test :function (object) [07:31:30.564] | : .. .. .. .. .. ..@ replace :function (from, to, value) [07:31:30.564] | : .. .. .. .. .. ..@ simple : logi TRUE [07:31:30.564] | : .. .. .. .. .. ..@ by : chr "derivedDefaultMethod" [07:31:30.564] | : .. .. .. .. .. .. ..- attr(*, "package")= chr "methods" [07:31:30.564] | : .. .. .. .. .. ..@ dataPart : logi FALSE [07:31:30.564] | : .. .. .. .. .. ..@ distance : num 2 [07:31:30.564] | : .. .. ..@ versionKey: [07:31:30.564] | : .. .. ..@ sealed : logi TRUE [07:31:30.564] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.564] | : $ ...future.elements_ii : NULL [07:31:30.564] | : $ ...future.seeds_ii : NULL [07:31:30.564] | : $ ...future.globals.maxSize: NULL [07:31:30.564] | : - attr(*, "where")=List of 5 [07:31:30.564] | : ..$ ...future.FUN : [07:31:30.564] | : ..$ ... : [07:31:30.564] | : ..$ ...future.elements_ii : [07:31:30.564] | : ..$ ...future.seeds_ii : [07:31:30.564] | : ..$ ...future.globals.maxSize: [07:31:30.564] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.564] | : - attr(*, "resolved")= logi FALSE [07:31:30.564] | : - attr(*, "total_size")= num 105377 [07:31:30.677] | : Number of futures (= number of chunks): 1 [07:31:30.678] | : Launching 1 futures (chunks) ... [07:31:30.679] | : Chunk #1 of 1 ... [07:31:30.680] | : - Finding globals in 'X' for chunk #1 ... [07:31:30.681] | : + additional globals found: [n=0] [07:31:30.682] | : + additional namespaces needed: [n=0] [07:31:30.683] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:30.684] | : - seeds: [07:31:30.685] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.691] | : Created future: [07:31:30.692] | : MultisessionFuture: [07:31:30.692] | : Label: 'fz:base::lapply-1' [07:31:30.692] | : Expression: [07:31:30.692] | : { [07:31:30.692] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.692] | : "# expression in do.call(), because function called uses '...' " [07:31:30.692] | : "# as a global variable " [07:31:30.692] | : do.call(function(...) { [07:31:30.692] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:30.692] | : "# without having an '...' argument. This means '...' is treated" [07:31:30.692] | : "# as a global variable. This may happen when FUN() is an " [07:31:30.692] | : "# anonymous function. " [07:31:30.692] | : "# " [07:31:30.692] | : "# If an anonymous function, we will make sure to restore the " [07:31:30.692] | : "# function environment of FUN() to the calling environment. " [07:31:30.692] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:30.692] | : "# global environment, which is where globals are written. " [07:31:30.692] | : penv <- env <- environment(...future.FUN) [07:31:30.692] | : repeat { [07:31:30.692] | : if (identical(env, globalenv()) || identical(env, [07:31:30.692] | : emptyenv())) [07:31:30.692] | : break [07:31:30.692] | : penv <- env [07:31:30.692] | : env <- parent.env(env) [07:31:30.692] | : } [07:31:30.692] | : if (identical(penv, globalenv())) { [07:31:30.692] | : environment(...future.FUN) <- environment() [07:31:30.692] | : } [07:31:30.692] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:30.692] | : !isNamespace(penv)) { [07:31:30.692] | : parent.env(penv) <- environment() [07:31:30.692] | : } [07:31:30.692] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:30.692] | : { [07:31:30.692] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.692] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.692] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.692] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.692] | : on.exit(options(oopts), add = TRUE) [07:31:30.692] | : } [07:31:30.692] | : { [07:31:30.692] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.692] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.692] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.692] | : { [07:31:30.692] | : ...future.FUN(...future.X_jj, ...) [07:31:30.692] | : } [07:31:30.692] | : }) [07:31:30.692] | : } [07:31:30.692] | : } [07:31:30.692] | : }, args = future.call.arguments) [07:31:30.692] | : } [07:31:30.692] | : Globals: 5 objects totaling 103.20 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) [07:31:30.692] | : Packages: [07:31:30.692] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.692] | : Capture standard output: TRUE [07:31:30.692] | : Capture condition classes: 'condition' (excluding '') [07:31:30.692] | : Immediate condition classes: 'immediateCondition' [07:31:30.692] | : Lazy evaluation: FALSE [07:31:30.692] | : Local evaluation: TRUE [07:31:30.692] | : Early signaling: FALSE [07:31:30.692] | : Actions: [n=1] 'run' [07:31:30.692] | : State: 'running' ("Future is being evaluated") [07:31:30.692] | : Resolved: TRUE [07:31:30.692] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-23 [07:31:30.692] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.692] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.692] | : Value: [07:31:30.692] | : Conditions captured: [07:31:30.699] | : Chunk #1 of 1 ... DONE [07:31:30.700] | : Launching 1 futures (chunks) ... DONE [07:31:30.701] | : Resolving 1 futures (chunks) ... [07:31:30.703] | : - Number of value chunks collected: 1 [07:31:30.704] | : Resolving 1 futures (chunks) ... DONE [07:31:30.705] | : Reducing values from 1 chunks ... [07:31:30.706] | : - Number of values collected after concatenation: 1 [07:31:30.707] | : - Number of values expected: 1 [07:31:30.707] | : Reducing values from 1 chunks ... DONE [07:31:30.708] | future_lapply() -> future_xapply() ... done [07:31:30.709] future_lapply() ... done - lapply(X, ...) |> futurize() - 'X' containing globals ... List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 [07:31:30.715] future_lapply() ... [07:31:30.717] | Globals in FUN(): [n=0] [07:31:30.718] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:30.719] | future_lapply() -> future_xapply() ... [07:31:30.720] | : Number of chunks: 2 [07:31:30.721] | : getGlobalsAndPackagesXApply() ... [07:31:30.722] | : . future.globals: TRUE [07:31:30.730] | : . globals found/used: [n=1] 'FUN' [07:31:30.732] | : . needed namespaces: [n=0] [07:31:30.733] | : . use_args: TRUE [07:31:30.734] | : . Getting '...' globals ... [07:31:30.735] | : . ' '...' content: [n=0] [07:31:30.736] | : . ' List of 1 [07:31:30.736] | : . ' $ ...: list() [07:31:30.736] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.736] | : . ' - attr(*, "where")=List of 1 [07:31:30.736] | : . ' ..$ ...: [07:31:30.736] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.736] | : . ' - attr(*, "resolved")= logi TRUE [07:31:30.736] | : . ' - attr(*, "total_size")= num NA [07:31:30.742] | : . Getting '...' globals ... done [07:31:30.744] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:30.745] | : . List of 2 [07:31:30.745] | : . $ ...future.FUN:function (f) [07:31:30.745] | : . $ ... : list() [07:31:30.745] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.745] | : . - attr(*, "where")=List of 2 [07:31:30.745] | : . ..$ ...future.FUN: [07:31:30.745] | : . ..$ ... : [07:31:30.745] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.745] | : . - attr(*, "resolved")= logi FALSE [07:31:30.745] | : . - attr(*, "total_size")= num 4782 [07:31:30.751] | : . Packages to be attached in all futures: [n=0] [07:31:30.752] | : getGlobalsAndPackagesXApply() ... done [07:31:30.753] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.754] | : List of 5 [07:31:30.754] | : $ ...future.FUN :function (f) [07:31:30.754] | : $ ... : list() [07:31:30.754] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.754] | : $ ...future.elements_ii : NULL [07:31:30.754] | : $ ...future.seeds_ii : NULL [07:31:30.754] | : $ ...future.globals.maxSize: NULL [07:31:30.754] | : - attr(*, "where")=List of 5 [07:31:30.754] | : ..$ ...future.FUN : [07:31:30.754] | : ..$ ... : [07:31:30.754] | : ..$ ...future.elements_ii : [07:31:30.754] | : ..$ ...future.seeds_ii : [07:31:30.754] | : ..$ ...future.globals.maxSize: [07:31:30.754] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.754] | : - attr(*, "resolved")= logi FALSE [07:31:30.754] | : - attr(*, "total_size")= num 4782 [07:31:30.764] | : Number of futures (= number of chunks): 2 [07:31:30.765] | : Launching 2 futures (chunks) ... [07:31:30.766] | : Chunk #1 of 2 ... [07:31:30.767] | : - Finding globals in 'X' for chunk #1 ... [07:31:30.792] | : + additional globals found: [n=2] 'a', 'b' [07:31:30.793] | : + additional namespaces needed: [n=0] [07:31:30.795] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:30.796] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:30.797] | : - seeds: [07:31:30.798] | : - All globals exported: [n=7] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize', 'a', 'b' [07:31:30.803] | : Created future: [07:31:30.804] | : MultisessionFuture: [07:31:30.804] | : Label: 'fz:base::lapply-1' [07:31:30.804] | : Expression: [07:31:30.804] | : { [07:31:30.804] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.804] | : "# expression in do.call(), because function called uses '...' " [07:31:30.804] | : "# as a global variable " [07:31:30.804] | : do.call(function(...) { [07:31:30.804] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:30.804] | : "# without having an '...' argument. This means '...' is treated" [07:31:30.804] | : "# as a global variable. This may happen when FUN() is an " [07:31:30.804] | : "# anonymous function. " [07:31:30.804] | : "# " [07:31:30.804] | : "# If an anonymous function, we will make sure to restore the " [07:31:30.804] | : "# function environment of FUN() to the calling environment. " [07:31:30.804] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:30.804] | : "# global environment, which is where globals are written. " [07:31:30.804] | : penv <- env <- environment(...future.FUN) [07:31:30.804] | : repeat { [07:31:30.804] | : if (identical(env, globalenv()) || identical(env, [07:31:30.804] | : emptyenv())) [07:31:30.804] | : break [07:31:30.804] | : penv <- env [07:31:30.804] | : env <- parent.env(env) [07:31:30.804] | : } [07:31:30.804] | : if (identical(penv, globalenv())) { [07:31:30.804] | : environment(...future.FUN) <- environment() [07:31:30.804] | : } [07:31:30.804] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:30.804] | : !isNamespace(penv)) { [07:31:30.804] | : parent.env(penv) <- environment() [07:31:30.804] | : } [07:31:30.804] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:30.804] | : { [07:31:30.804] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.804] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.804] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.804] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.804] | : on.exit(options(oopts), add = TRUE) [07:31:30.804] | : } [07:31:30.804] | : { [07:31:30.804] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.804] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.804] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.804] | : { [07:31:30.804] | : ...future.FUN(...future.X_jj, ...) [07:31:30.804] | : } [07:31:30.804] | : }) [07:31:30.804] | : } [07:31:30.804] | : } [07:31:30.804] | : }, args = future.call.arguments) [07:31:30.804] | : } [07:31:30.804] | : 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, ...) [07:31:30.804] | : Packages: [07:31:30.804] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.804] | : Capture standard output: TRUE [07:31:30.804] | : Capture condition classes: 'condition' (excluding '') [07:31:30.804] | : Immediate condition classes: 'immediateCondition' [07:31:30.804] | : Lazy evaluation: FALSE [07:31:30.804] | : Local evaluation: TRUE [07:31:30.804] | : Early signaling: FALSE [07:31:30.804] | : Actions: [n=1] 'run' [07:31:30.804] | : State: 'running' ("Future is being evaluated") [07:31:30.804] | : Resolved: TRUE [07:31:30.804] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-24 [07:31:30.804] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.804] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.804] | : Value: [07:31:30.804] | : Conditions captured: [07:31:30.812] | : Chunk #1 of 2 ... DONE [07:31:30.813] | : Chunk #2 of 2 ... [07:31:30.814] | : - Finding globals in 'X' for chunk #2 ... [07:31:30.837] | : + additional globals found: [n=2] 'a', 'b' [07:31:30.838] | : + additional namespaces needed: [n=0] [07:31:30.839] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:30.840] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:30.840] | : - seeds: [07:31:30.841] | : - All globals exported: [n=7] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize', 'a', 'b' [07:31:30.845] | : Created future: [07:31:30.846] | : MultisessionFuture: [07:31:30.846] | : Label: 'fz:base::lapply-2' [07:31:30.846] | : Expression: [07:31:30.846] | : { [07:31:30.846] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.846] | : "# expression in do.call(), because function called uses '...' " [07:31:30.846] | : "# as a global variable " [07:31:30.846] | : do.call(function(...) { [07:31:30.846] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:30.846] | : "# without having an '...' argument. This means '...' is treated" [07:31:30.846] | : "# as a global variable. This may happen when FUN() is an " [07:31:30.846] | : "# anonymous function. " [07:31:30.846] | : "# " [07:31:30.846] | : "# If an anonymous function, we will make sure to restore the " [07:31:30.846] | : "# function environment of FUN() to the calling environment. " [07:31:30.846] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:30.846] | : "# global environment, which is where globals are written. " [07:31:30.846] | : penv <- env <- environment(...future.FUN) [07:31:30.846] | : repeat { [07:31:30.846] | : if (identical(env, globalenv()) || identical(env, [07:31:30.846] | : emptyenv())) [07:31:30.846] | : break [07:31:30.846] | : penv <- env [07:31:30.846] | : env <- parent.env(env) [07:31:30.846] | : } [07:31:30.846] | : if (identical(penv, globalenv())) { [07:31:30.846] | : environment(...future.FUN) <- environment() [07:31:30.846] | : } [07:31:30.846] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:30.846] | : !isNamespace(penv)) { [07:31:30.846] | : parent.env(penv) <- environment() [07:31:30.846] | : } [07:31:30.846] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:30.846] | : { [07:31:30.846] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.846] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.846] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.846] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.846] | : on.exit(options(oopts), add = TRUE) [07:31:30.846] | : } [07:31:30.846] | : { [07:31:30.846] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.846] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.846] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.846] | : { [07:31:30.846] | : ...future.FUN(...future.X_jj, ...) [07:31:30.846] | : } [07:31:30.846] | : }) [07:31:30.846] | : } [07:31:30.846] | : } [07:31:30.846] | : }, args = future.call.arguments) [07:31:30.846] | : } [07:31:30.846] | : Globals: 7 objects totaling 6.00 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, ...) [07:31:30.846] | : Packages: [07:31:30.846] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.846] | : Capture standard output: TRUE [07:31:30.846] | : Capture condition classes: 'condition' (excluding '') [07:31:30.846] | : Immediate condition classes: 'immediateCondition' [07:31:30.846] | : Lazy evaluation: FALSE [07:31:30.846] | : Local evaluation: TRUE [07:31:30.846] | : Early signaling: FALSE [07:31:30.846] | : Actions: [n=1] 'run' [07:31:30.846] | : State: 'running' ("Future is being evaluated") [07:31:30.846] | : Resolved: TRUE [07:31:30.846] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-25 [07:31:30.846] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.846] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.846] | : Value: [07:31:30.846] | : Conditions captured: [07:31:30.855] | : Chunk #2 of 2 ... DONE [07:31:30.856] | : Launching 2 futures (chunks) ... DONE [07:31:30.857] | : Resolving 2 futures (chunks) ... [07:31:30.859] | : - Number of value chunks collected: 2 [07:31:30.860] | : Resolving 2 futures (chunks) ... DONE [07:31:30.861] | : Reducing values from 2 chunks ... [07:31:30.862] | : - Number of values collected after concatenation: 4 [07:31:30.864] | : - Number of values expected: 4 [07:31:30.865] | : Reducing values from 2 chunks ... DONE [07:31:30.866] | future_lapply() -> future_xapply() ... done [07:31:30.867] future_lapply() ... done List of 4 $ : num 84 $ : num 10.5 $ : num 63 $ : int 11 - lapply(X, ...) |> futurize() - '{ a <- a + 1; a }' ... [07:31:30.872] future_lapply() ... [07:31:30.875] | Globals in FUN(): [n=4] '{', '<-', 'a', '+' [07:31:30.876] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:30.877] | future_lapply() -> future_xapply() ... [07:31:30.878] | : Number of chunks: 1 [07:31:30.879] | : getGlobalsAndPackagesXApply() ... [07:31:30.880] | : . future.globals: TRUE [07:31:30.898] | : . globals found/used: [n=2] 'FUN', 'a' [07:31:30.899] | : . needed namespaces: [n=0] [07:31:30.900] | : . use_args: TRUE [07:31:30.902] | : . Getting '...' globals ... [07:31:30.903] | : . ' '...' content: [n=0] [07:31:30.904] | : . ' List of 1 [07:31:30.904] | : . ' $ ...: list() [07:31:30.904] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.904] | : . ' - attr(*, "where")=List of 1 [07:31:30.904] | : . ' ..$ ...: [07:31:30.904] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.904] | : . ' - attr(*, "resolved")= logi TRUE [07:31:30.904] | : . ' - attr(*, "total_size")= num NA [07:31:30.911] | : . Getting '...' globals ... done [07:31:30.912] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [07:31:30.912] | : . List of 3 [07:31:30.912] | : . $ ...future.FUN:function (ii) [07:31:30.912] | : . $ a : num 1 [07:31:30.912] | : . $ ... : list() [07:31:30.912] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.912] | : . - attr(*, "where")=List of 3 [07:31:30.912] | : . ..$ ...future.FUN: [07:31:30.912] | : . ..$ a : [07:31:30.912] | : . ..$ ... : [07:31:30.912] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.912] | : . - attr(*, "resolved")= logi FALSE [07:31:30.912] | : . - attr(*, "total_size")= num 3503 [07:31:30.918] | : . Packages to be attached in all futures: [n=0] [07:31:30.919] | : getGlobalsAndPackagesXApply() ... done [07:31:30.920] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.921] | : List of 6 [07:31:30.921] | : $ ...future.FUN :function (ii) [07:31:30.921] | : $ a : num 1 [07:31:30.921] | : $ ... : list() [07:31:30.921] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:30.921] | : $ ...future.elements_ii : NULL [07:31:30.921] | : $ ...future.seeds_ii : NULL [07:31:30.921] | : $ ...future.globals.maxSize: NULL [07:31:30.921] | : - attr(*, "where")=List of 6 [07:31:30.921] | : ..$ ...future.FUN : [07:31:30.921] | : ..$ a : [07:31:30.921] | : ..$ ... : [07:31:30.921] | : ..$ ...future.elements_ii : [07:31:30.921] | : ..$ ...future.seeds_ii : [07:31:30.921] | : ..$ ...future.globals.maxSize: [07:31:30.921] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:30.921] | : - attr(*, "resolved")= logi FALSE [07:31:30.921] | : - attr(*, "total_size")= num 3503 [07:31:30.933] | : Number of futures (= number of chunks): 1 [07:31:30.934] | : Launching 1 futures (chunks) ... [07:31:30.935] | : Chunk #1 of 1 ... [07:31:30.937] | : - Finding globals in 'X' for chunk #1 ... [07:31:30.938] | : + additional globals found: [n=0] [07:31:30.939] | : + additional namespaces needed: [n=0] [07:31:30.940] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:30.941] | : - seeds: [07:31:30.942] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:30.947] | : Created future: [07:31:30.948] | : MultisessionFuture: [07:31:30.948] | : Label: 'fz:base::lapply-1' [07:31:30.948] | : Expression: [07:31:30.948] | : { [07:31:30.948] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:30.948] | : "# expression in do.call(), because function called uses '...' " [07:31:30.948] | : "# as a global variable " [07:31:30.948] | : do.call(function(...) { [07:31:30.948] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:30.948] | : "# without having an '...' argument. This means '...' is treated" [07:31:30.948] | : "# as a global variable. This may happen when FUN() is an " [07:31:30.948] | : "# anonymous function. " [07:31:30.948] | : "# " [07:31:30.948] | : "# If an anonymous function, we will make sure to restore the " [07:31:30.948] | : "# function environment of FUN() to the calling environment. " [07:31:30.948] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:30.948] | : "# global environment, which is where globals are written. " [07:31:30.948] | : penv <- env <- environment(...future.FUN) [07:31:30.948] | : repeat { [07:31:30.948] | : if (identical(env, globalenv()) || identical(env, [07:31:30.948] | : emptyenv())) [07:31:30.948] | : break [07:31:30.948] | : penv <- env [07:31:30.948] | : env <- parent.env(env) [07:31:30.948] | : } [07:31:30.948] | : if (identical(penv, globalenv())) { [07:31:30.948] | : environment(...future.FUN) <- environment() [07:31:30.948] | : } [07:31:30.948] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:30.948] | : !isNamespace(penv)) { [07:31:30.948] | : parent.env(penv) <- environment() [07:31:30.948] | : } [07:31:30.948] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:30.948] | : { [07:31:30.948] | : "# future.apply:::future_xapply(): preserve future option" [07:31:30.948] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:30.948] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:30.948] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:30.948] | : on.exit(options(oopts), add = TRUE) [07:31:30.948] | : } [07:31:30.948] | : { [07:31:30.948] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:30.948] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:30.948] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:30.948] | : { [07:31:30.948] | : ...future.FUN(...future.X_jj, ...) [07:31:30.948] | : } [07:31:30.948] | : }) [07:31:30.948] | : } [07:31:30.948] | : } [07:31:30.948] | : }, args = future.call.arguments) [07:31:30.948] | : } [07:31:30.948] | : Globals: 6 objects totaling 3.70 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, ...) [07:31:30.948] | : Packages: [07:31:30.948] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:30.948] | : Capture standard output: TRUE [07:31:30.948] | : Capture condition classes: 'condition' (excluding '') [07:31:30.948] | : Immediate condition classes: 'immediateCondition' [07:31:30.948] | : Lazy evaluation: FALSE [07:31:30.948] | : Local evaluation: TRUE [07:31:30.948] | : Early signaling: FALSE [07:31:30.948] | : Actions: [n=1] 'run' [07:31:30.948] | : State: 'running' ("Future is being evaluated") [07:31:30.948] | : Resolved: TRUE [07:31:30.948] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-26 [07:31:30.948] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:30.948] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:30.948] | : Value: [07:31:30.948] | : Conditions captured: [07:31:30.958] | : Chunk #1 of 1 ... DONE [07:31:30.959] | : Launching 1 futures (chunks) ... DONE [07:31:30.960] | : Resolving 1 futures (chunks) ... [07:31:30.962] | : - Number of value chunks collected: 1 [07:31:30.963] | : Resolving 1 futures (chunks) ... DONE [07:31:30.964] | : Reducing values from 1 chunks ... [07:31:30.965] | : - Number of values collected after concatenation: 1 [07:31:30.966] | : - Number of values expected: 1 [07:31:30.967] | : Reducing values from 1 chunks ... DONE [07:31:30.968] | future_lapply() -> future_xapply() ... done [07:31:30.969] future_lapply() ... done - lapply(X, ...) |> futurize() - '{ a; a <- a + 1 }' ... [07:31:30.971] future_lapply() ... [07:31:30.974] | Globals in FUN(): [n=4] '{', 'a', '<-', '+' [07:31:30.975] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:30.976] | future_lapply() -> future_xapply() ... [07:31:30.977] | : Number of chunks: 1 [07:31:30.979] | : getGlobalsAndPackagesXApply() ... [07:31:30.980] | : . future.globals: TRUE [07:31:31.002] | : . globals found/used: [n=2] 'FUN', 'a' [07:31:31.003] | : . needed namespaces: [n=0] [07:31:31.005] | : . use_args: TRUE [07:31:31.006] | : . Getting '...' globals ... [07:31:31.007] | : . ' '...' content: [n=0] [07:31:31.008] | : . ' List of 1 [07:31:31.008] | : . ' $ ...: list() [07:31:31.008] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.008] | : . ' - attr(*, "where")=List of 1 [07:31:31.008] | : . ' ..$ ...: [07:31:31.008] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.008] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.008] | : . ' - attr(*, "total_size")= num NA [07:31:31.015] | : . Getting '...' globals ... done [07:31:31.016] | : . Globals to be used in all futures (chunks): [n=3] '...future.FUN', 'a', '...' [07:31:31.017] | : . List of 3 [07:31:31.017] | : . $ ...future.FUN:function (ii) [07:31:31.017] | : . $ a : num 1 [07:31:31.017] | : . $ ... : list() [07:31:31.017] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.017] | : . - attr(*, "where")=List of 3 [07:31:31.017] | : . ..$ ...future.FUN: [07:31:31.017] | : . ..$ a : [07:31:31.017] | : . ..$ ... : [07:31:31.017] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.017] | : . - attr(*, "resolved")= logi FALSE [07:31:31.017] | : . - attr(*, "total_size")= num 3503 [07:31:31.026] | : . Packages to be attached in all futures: [n=0] [07:31:31.027] | : getGlobalsAndPackagesXApply() ... done [07:31:31.028] | : Globals pass to each chunk: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.029] | : List of 6 [07:31:31.029] | : $ ...future.FUN :function (ii) [07:31:31.029] | : $ a : num 1 [07:31:31.029] | : $ ... : list() [07:31:31.029] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.029] | : $ ...future.elements_ii : NULL [07:31:31.029] | : $ ...future.seeds_ii : NULL [07:31:31.029] | : $ ...future.globals.maxSize: NULL [07:31:31.029] | : - attr(*, "where")=List of 6 [07:31:31.029] | : ..$ ...future.FUN : [07:31:31.029] | : ..$ a : [07:31:31.029] | : ..$ ... : [07:31:31.029] | : ..$ ...future.elements_ii : [07:31:31.029] | : ..$ ...future.seeds_ii : [07:31:31.029] | : ..$ ...future.globals.maxSize: [07:31:31.029] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.029] | : - attr(*, "resolved")= logi FALSE [07:31:31.029] | : - attr(*, "total_size")= num 3503 [07:31:31.041] | : Number of futures (= number of chunks): 1 [07:31:31.043] | : Launching 1 futures (chunks) ... [07:31:31.046] | : Chunk #1 of 1 ... [07:31:31.047] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.049] | : + additional globals found: [n=0] [07:31:31.050] | : + additional namespaces needed: [n=0] [07:31:31.051] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.052] | : - seeds: [07:31:31.053] | : - All globals exported: [n=6] '...future.FUN', 'a', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.059] | : Created future: [07:31:31.060] | : MultisessionFuture: [07:31:31.060] | : Label: 'fz:base::lapply-1' [07:31:31.060] | : Expression: [07:31:31.060] | : { [07:31:31.060] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.060] | : "# expression in do.call(), because function called uses '...' " [07:31:31.060] | : "# as a global variable " [07:31:31.060] | : do.call(function(...) { [07:31:31.060] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.060] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.060] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.060] | : "# anonymous function. " [07:31:31.060] | : "# " [07:31:31.060] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.060] | : "# function environment of FUN() to the calling environment. " [07:31:31.060] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.060] | : "# global environment, which is where globals are written. " [07:31:31.060] | : penv <- env <- environment(...future.FUN) [07:31:31.060] | : repeat { [07:31:31.060] | : if (identical(env, globalenv()) || identical(env, [07:31:31.060] | : emptyenv())) [07:31:31.060] | : break [07:31:31.060] | : penv <- env [07:31:31.060] | : env <- parent.env(env) [07:31:31.060] | : } [07:31:31.060] | : if (identical(penv, globalenv())) { [07:31:31.060] | : environment(...future.FUN) <- environment() [07:31:31.060] | : } [07:31:31.060] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.060] | : !isNamespace(penv)) { [07:31:31.060] | : parent.env(penv) <- environment() [07:31:31.060] | : } [07:31:31.060] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.060] | : { [07:31:31.060] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.060] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.060] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.060] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.060] | : on.exit(options(oopts), add = TRUE) [07:31:31.060] | : } [07:31:31.060] | : { [07:31:31.060] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.060] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.060] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.060] | : { [07:31:31.060] | : ...future.FUN(...future.X_jj, ...) [07:31:31.060] | : } [07:31:31.060] | : }) [07:31:31.060] | : } [07:31:31.060] | : } [07:31:31.060] | : }, args = future.call.arguments) [07:31:31.060] | : } [07:31:31.060] | : Globals: 6 objects totaling 3.70 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, ...) [07:31:31.060] | : Packages: [07:31:31.060] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.060] | : Capture standard output: TRUE [07:31:31.060] | : Capture condition classes: 'condition' (excluding '') [07:31:31.060] | : Immediate condition classes: 'immediateCondition' [07:31:31.060] | : Lazy evaluation: FALSE [07:31:31.060] | : Local evaluation: TRUE [07:31:31.060] | : Early signaling: FALSE [07:31:31.060] | : Actions: [n=1] 'run' [07:31:31.060] | : State: 'running' ("Future is being evaluated") [07:31:31.060] | : Resolved: TRUE [07:31:31.060] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-27 [07:31:31.060] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.060] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.060] | : Value: [07:31:31.060] | : Conditions captured: [07:31:31.068] | : Chunk #1 of 1 ... DONE [07:31:31.068] | : Launching 1 futures (chunks) ... DONE [07:31:31.069] | : Resolving 1 futures (chunks) ... [07:31:31.070] | : - Number of value chunks collected: 1 [07:31:31.071] | : Resolving 1 futures (chunks) ... DONE [07:31:31.072] | : Reducing values from 1 chunks ... [07:31:31.072] | : - Number of values collected after concatenation: 1 [07:31:31.073] | : - Number of values expected: 1 [07:31:31.074] | : Reducing values from 1 chunks ... DONE [07:31:31.075] | future_lapply() -> future_xapply() ... done [07:31:31.075] future_lapply() ... done - lapply(..., future.globals = ) |> futurize() ... [07:31:31.077] future_lapply() ... [07:31:31.078] | Globals in FUN(): [n=1] 'a' [07:31:31.078] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.079] | future_lapply() -> future_xapply() ... [07:31:31.080] | : Number of chunks: 1 [07:31:31.081] | : getGlobalsAndPackagesXApply() ... [07:31:31.081] | : . future.globals: with names 'a' [07:31:31.082] | : . use_args: TRUE [07:31:31.083] | : . Getting '...' globals ... [07:31:31.084] | : . ' '...' content: [n=0] [07:31:31.085] | : . ' List of 1 [07:31:31.085] | : . ' $ ...: list() [07:31:31.085] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.085] | : . ' - attr(*, "where")=List of 1 [07:31:31.085] | : . ' ..$ ...: [07:31:31.085] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.085] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.085] | : . ' - attr(*, "total_size")= num NA [07:31:31.089] | : . Getting '...' globals ... done [07:31:31.090] | : . Globals to be used in all futures (chunks): [n=3] 'a', '...future.FUN', '...' [07:31:31.091] | : . List of 3 [07:31:31.091] | : . $ a : num 42 [07:31:31.091] | : . $ ...future.FUN:function (x) [07:31:31.091] | : . $ ... : list() [07:31:31.091] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.091] | : . - attr(*, "where")=List of 3 [07:31:31.091] | : . ..$ a : [07:31:31.091] | : . ..$ ...future.FUN: [07:31:31.091] | : . ..$ ... : [07:31:31.091] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.091] | : . - attr(*, "resolved")= logi FALSE [07:31:31.091] | : . - attr(*, "total_size")= num NA [07:31:31.096] | : . Packages to be attached in all futures: [n=0] [07:31:31.097] | : getGlobalsAndPackagesXApply() ... done [07:31:31.098] | : Globals pass to each chunk: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.099] | : List of 6 [07:31:31.099] | : $ a : num 42 [07:31:31.099] | : $ ...future.FUN :function (x) [07:31:31.099] | : $ ... : list() [07:31:31.099] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.099] | : $ ...future.elements_ii : NULL [07:31:31.099] | : $ ...future.seeds_ii : NULL [07:31:31.099] | : $ ...future.globals.maxSize: NULL [07:31:31.099] | : - attr(*, "where")=List of 6 [07:31:31.099] | : ..$ a : [07:31:31.099] | : ..$ ...future.FUN : [07:31:31.099] | : ..$ ... : [07:31:31.099] | : ..$ ...future.elements_ii : [07:31:31.099] | : ..$ ...future.seeds_ii : [07:31:31.099] | : ..$ ...future.globals.maxSize: [07:31:31.099] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.099] | : - attr(*, "resolved")= logi FALSE [07:31:31.099] | : - attr(*, "total_size")= num NA [07:31:31.106] | : Number of futures (= number of chunks): 1 [07:31:31.107] | : Launching 1 futures (chunks) ... [07:31:31.107] | : Chunk #1 of 1 ... [07:31:31.108] | : - seeds: [07:31:31.109] | : - All globals exported: [n=6] 'a', '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.113] | : Created future: [07:31:31.114] | : MultisessionFuture: [07:31:31.114] | : Label: 'fz:base::lapply-1' [07:31:31.114] | : Expression: [07:31:31.114] | : { [07:31:31.114] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.114] | : "# expression in do.call(), because function called uses '...' " [07:31:31.114] | : "# as a global variable " [07:31:31.114] | : do.call(function(...) { [07:31:31.114] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.114] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.114] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.114] | : "# anonymous function. " [07:31:31.114] | : "# " [07:31:31.114] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.114] | : "# function environment of FUN() to the calling environment. " [07:31:31.114] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.114] | : "# global environment, which is where globals are written. " [07:31:31.114] | : penv <- env <- environment(...future.FUN) [07:31:31.114] | : repeat { [07:31:31.114] | : if (identical(env, globalenv()) || identical(env, [07:31:31.114] | : emptyenv())) [07:31:31.114] | : break [07:31:31.114] | : penv <- env [07:31:31.114] | : env <- parent.env(env) [07:31:31.114] | : } [07:31:31.114] | : if (identical(penv, globalenv())) { [07:31:31.114] | : environment(...future.FUN) <- environment() [07:31:31.114] | : } [07:31:31.114] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.114] | : !isNamespace(penv)) { [07:31:31.114] | : parent.env(penv) <- environment() [07:31:31.114] | : } [07:31:31.114] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.114] | : { [07:31:31.114] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.114] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.114] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.114] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.114] | : on.exit(options(oopts), add = TRUE) [07:31:31.114] | : } [07:31:31.114] | : { [07:31:31.114] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.114] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.114] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.114] | : { [07:31:31.114] | : ...future.FUN(...future.X_jj, ...) [07:31:31.114] | : } [07:31:31.114] | : }) [07:31:31.114] | : } [07:31:31.114] | : } [07:31:31.114] | : }, args = future.call.arguments) [07:31:31.114] | : } [07:31:31.114] | : Globals: 6 objects totaling 3.58 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, ...) [07:31:31.114] | : Packages: [07:31:31.114] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.114] | : Capture standard output: TRUE [07:31:31.114] | : Capture condition classes: 'condition' (excluding '') [07:31:31.114] | : Immediate condition classes: 'immediateCondition' [07:31:31.114] | : Lazy evaluation: FALSE [07:31:31.114] | : Local evaluation: TRUE [07:31:31.114] | : Early signaling: FALSE [07:31:31.114] | : Actions: [n=1] 'run' [07:31:31.114] | : State: 'running' ("Future is being evaluated") [07:31:31.114] | : Resolved: TRUE [07:31:31.114] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-28 [07:31:31.114] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.114] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.114] | : Value: [07:31:31.114] | : Conditions captured: [07:31:31.121] | : Chunk #1 of 1 ... DONE [07:31:31.122] | : Launching 1 futures (chunks) ... DONE [07:31:31.123] | : Resolving 1 futures (chunks) ... [07:31:31.125] | : - Number of value chunks collected: 1 [07:31:31.126] | : Resolving 1 futures (chunks) ... DONE [07:31:31.127] | : Reducing values from 1 chunks ... [07:31:31.127] | : - Number of values collected after concatenation: 1 [07:31:31.128] | : - Number of values expected: 1 [07:31:31.129] | : Reducing values from 1 chunks ... DONE [07:31:31.129] | future_lapply() -> future_xapply() ... done [07:31:31.130] future_lapply() ... done List of 1 $ : num 42 *** future_lapply() - tricky globals ... DONE *** future_lapply() - missing arguments ... [07:31:31.132] future_lapply() ... [07:31:31.133] | Globals in FUN(): [n=0] [07:31:31.134] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.135] | future_lapply() -> future_xapply() ... [07:31:31.136] | : Number of chunks: 2 [07:31:31.136] | : getGlobalsAndPackagesXApply() ... [07:31:31.137] | : . future.globals: TRUE [07:31:31.143] | : . globals found/used: [n=1] 'FUN' [07:31:31.144] | : . needed namespaces: [n=0] [07:31:31.145] | : . use_args: TRUE [07:31:31.146] | : . Getting '...' globals ... [07:31:31.147] | : . ' '...' content: [n=0] [07:31:31.147] | : . ' List of 1 [07:31:31.147] | : . ' $ ...: list() [07:31:31.147] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.147] | : . ' - attr(*, "where")=List of 1 [07:31:31.147] | : . ' ..$ ...: [07:31:31.147] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.147] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.147] | : . ' - attr(*, "total_size")= num NA [07:31:31.152] | : . Getting '...' globals ... done [07:31:31.152] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:31.153] | : . List of 2 [07:31:31.153] | : . $ ...future.FUN:function (y) [07:31:31.153] | : . $ ... : list() [07:31:31.153] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.153] | : . - attr(*, "where")=List of 2 [07:31:31.153] | : . ..$ ...future.FUN: [07:31:31.153] | : . ..$ ... : [07:31:31.153] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.153] | : . - attr(*, "resolved")= logi FALSE [07:31:31.153] | : . - attr(*, "total_size")= num 3720 [07:31:31.158] | : . Packages to be attached in all futures: [n=0] [07:31:31.158] | : getGlobalsAndPackagesXApply() ... done [07:31:31.159] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.160] | : List of 5 [07:31:31.160] | : $ ...future.FUN :function (y) [07:31:31.160] | : $ ... : list() [07:31:31.160] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.160] | : $ ...future.elements_ii : NULL [07:31:31.160] | : $ ...future.seeds_ii : NULL [07:31:31.160] | : $ ...future.globals.maxSize: NULL [07:31:31.160] | : - attr(*, "where")=List of 5 [07:31:31.160] | : ..$ ...future.FUN : [07:31:31.160] | : ..$ ... : [07:31:31.160] | : ..$ ...future.elements_ii : [07:31:31.160] | : ..$ ...future.seeds_ii : [07:31:31.160] | : ..$ ...future.globals.maxSize: [07:31:31.160] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.160] | : - attr(*, "resolved")= logi FALSE [07:31:31.160] | : - attr(*, "total_size")= num 3720 [07:31:31.169] | : Number of futures (= number of chunks): 2 [07:31:31.170] | : Launching 2 futures (chunks) ... [07:31:31.171] | : Chunk #1 of 2 ... [07:31:31.171] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.172] | : + additional globals found: [n=0] [07:31:31.173] | : + additional namespaces needed: [n=0] [07:31:31.174] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.174] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:31.175] | : - seeds: [07:31:31.176] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.181] | : Created future: [07:31:31.182] | : MultisessionFuture: [07:31:31.182] | : Label: 'fz:base::lapply-1' [07:31:31.182] | : Expression: [07:31:31.182] | : { [07:31:31.182] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.182] | : "# expression in do.call(), because function called uses '...' " [07:31:31.182] | : "# as a global variable " [07:31:31.182] | : do.call(function(...) { [07:31:31.182] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.182] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.182] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.182] | : "# anonymous function. " [07:31:31.182] | : "# " [07:31:31.182] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.182] | : "# function environment of FUN() to the calling environment. " [07:31:31.182] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.182] | : "# global environment, which is where globals are written. " [07:31:31.182] | : penv <- env <- environment(...future.FUN) [07:31:31.182] | : repeat { [07:31:31.182] | : if (identical(env, globalenv()) || identical(env, [07:31:31.182] | : emptyenv())) [07:31:31.182] | : break [07:31:31.182] | : penv <- env [07:31:31.182] | : env <- parent.env(env) [07:31:31.182] | : } [07:31:31.182] | : if (identical(penv, globalenv())) { [07:31:31.182] | : environment(...future.FUN) <- environment() [07:31:31.182] | : } [07:31:31.182] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.182] | : !isNamespace(penv)) { [07:31:31.182] | : parent.env(penv) <- environment() [07:31:31.182] | : } [07:31:31.182] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.182] | : { [07:31:31.182] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.182] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.182] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.182] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.182] | : on.exit(options(oopts), add = TRUE) [07:31:31.182] | : } [07:31:31.182] | : { [07:31:31.182] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.182] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.182] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.182] | : { [07:31:31.182] | : ...future.FUN(...future.X_jj, ...) [07:31:31.182] | : } [07:31:31.182] | : }) [07:31:31.182] | : } [07:31:31.182] | : } [07:31:31.182] | : }, args = future.call.arguments) [07:31:31.182] | : } [07:31:31.182] | : 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) [07:31:31.182] | : Packages: [07:31:31.182] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.182] | : Capture standard output: TRUE [07:31:31.182] | : Capture condition classes: 'condition' (excluding '') [07:31:31.182] | : Immediate condition classes: 'immediateCondition' [07:31:31.182] | : Lazy evaluation: FALSE [07:31:31.182] | : Local evaluation: TRUE [07:31:31.182] | : Early signaling: FALSE [07:31:31.182] | : Actions: [n=1] 'run' [07:31:31.182] | : State: 'running' ("Future is being evaluated") [07:31:31.182] | : Resolved: TRUE [07:31:31.182] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-29 [07:31:31.182] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.182] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.182] | : Value: [07:31:31.182] | : Conditions captured: [07:31:31.189] | : Chunk #1 of 2 ... DONE [07:31:31.190] | : Chunk #2 of 2 ... [07:31:31.190] | : - Finding globals in 'X' for chunk #2 ... [07:31:31.191] | : + additional globals found: [n=0] [07:31:31.192] | : + additional namespaces needed: [n=0] [07:31:31.193] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:31.194] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:31.195] | : - seeds: [07:31:31.196] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.200] | : Created future: [07:31:31.201] | : MultisessionFuture: [07:31:31.201] | : Label: 'fz:base::lapply-2' [07:31:31.201] | : Expression: [07:31:31.201] | : { [07:31:31.201] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.201] | : "# expression in do.call(), because function called uses '...' " [07:31:31.201] | : "# as a global variable " [07:31:31.201] | : do.call(function(...) { [07:31:31.201] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.201] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.201] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.201] | : "# anonymous function. " [07:31:31.201] | : "# " [07:31:31.201] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.201] | : "# function environment of FUN() to the calling environment. " [07:31:31.201] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.201] | : "# global environment, which is where globals are written. " [07:31:31.201] | : penv <- env <- environment(...future.FUN) [07:31:31.201] | : repeat { [07:31:31.201] | : if (identical(env, globalenv()) || identical(env, [07:31:31.201] | : emptyenv())) [07:31:31.201] | : break [07:31:31.201] | : penv <- env [07:31:31.201] | : env <- parent.env(env) [07:31:31.201] | : } [07:31:31.201] | : if (identical(penv, globalenv())) { [07:31:31.201] | : environment(...future.FUN) <- environment() [07:31:31.201] | : } [07:31:31.201] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.201] | : !isNamespace(penv)) { [07:31:31.201] | : parent.env(penv) <- environment() [07:31:31.201] | : } [07:31:31.201] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.201] | : { [07:31:31.201] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.201] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.201] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.201] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.201] | : on.exit(options(oopts), add = TRUE) [07:31:31.201] | : } [07:31:31.201] | : { [07:31:31.201] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.201] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.201] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.201] | : { [07:31:31.201] | : ...future.FUN(...future.X_jj, ...) [07:31:31.201] | : } [07:31:31.201] | : }) [07:31:31.201] | : } [07:31:31.201] | : } [07:31:31.201] | : }, args = future.call.arguments) [07:31:31.201] | : } [07:31:31.201] | : 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) [07:31:31.201] | : Packages: [07:31:31.201] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.201] | : Capture standard output: TRUE [07:31:31.201] | : Capture condition classes: 'condition' (excluding '') [07:31:31.201] | : Immediate condition classes: 'immediateCondition' [07:31:31.201] | : Lazy evaluation: FALSE [07:31:31.201] | : Local evaluation: TRUE [07:31:31.201] | : Early signaling: FALSE [07:31:31.201] | : Actions: [n=1] 'run' [07:31:31.201] | : State: 'running' ("Future is being evaluated") [07:31:31.201] | : Resolved: TRUE [07:31:31.201] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-30 [07:31:31.201] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.201] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.201] | : Value: [07:31:31.201] | : Conditions captured: [07:31:31.210] | : Chunk #2 of 2 ... DONE [07:31:31.211] | : Launching 2 futures (chunks) ... DONE [07:31:31.211] | : Resolving 2 futures (chunks) ... [07:31:31.214] | : - Number of value chunks collected: 2 [07:31:31.215] | : Resolving 2 futures (chunks) ... DONE [07:31:31.215] | : Reducing values from 2 chunks ... [07:31:31.216] | : - Number of values collected after concatenation: 2 [07:31:31.217] | : - Number of values expected: 2 [07:31:31.218] | : Reducing values from 2 chunks ... DONE [07:31:31.219] | future_lapply() -> future_xapply() ... done [07:31:31.220] future_lapply() ... done *** future_lapply() - missing arguments ... DONE *** future_lapply() - false positives ... [07:31:31.222] future_lapply() ... [07:31:31.223] | Globals in FUN(): [n=0] [07:31:31.224] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.225] | future_lapply() -> future_xapply() ... [07:31:31.227] | : Number of chunks: 2 [07:31:31.227] | : getGlobalsAndPackagesXApply() ... [07:31:31.228] | : . future.globals: TRUE [07:31:31.236] | : . globals found/used: [n=1] 'FUN' [07:31:31.237] | : . needed namespaces: [n=0] [07:31:31.238] | : . use_args: TRUE [07:31:31.239] | : . Getting '...' globals ... [07:31:31.241] | : . ' '...' content: [n=0] [07:31:31.242] | : . ' List of 1 [07:31:31.242] | : . ' $ ...: list() [07:31:31.242] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.242] | : . ' - attr(*, "where")=List of 1 [07:31:31.242] | : . ' ..$ ...: [07:31:31.242] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.242] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.242] | : . ' - attr(*, "total_size")= num NA [07:31:31.247] | : . Getting '...' globals ... done [07:31:31.248] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:31.249] | : . List of 2 [07:31:31.249] | : . $ ...future.FUN:function (y) [07:31:31.249] | : . $ ... : list() [07:31:31.249] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.249] | : . - attr(*, "where")=List of 2 [07:31:31.249] | : . ..$ ...future.FUN: [07:31:31.249] | : . ..$ ... : [07:31:31.249] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.249] | : . - attr(*, "resolved")= logi FALSE [07:31:31.249] | : . - attr(*, "total_size")= num 3908 [07:31:31.255] | : . Packages to be attached in all futures: [n=0] [07:31:31.256] | : getGlobalsAndPackagesXApply() ... done [07:31:31.257] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.258] | : List of 5 [07:31:31.258] | : $ ...future.FUN :function (y) [07:31:31.258] | : $ ... : list() [07:31:31.258] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.258] | : $ ...future.elements_ii : NULL [07:31:31.258] | : $ ...future.seeds_ii : NULL [07:31:31.258] | : $ ...future.globals.maxSize: NULL [07:31:31.258] | : - attr(*, "where")=List of 5 [07:31:31.258] | : ..$ ...future.FUN : [07:31:31.258] | : ..$ ... : [07:31:31.258] | : ..$ ...future.elements_ii : [07:31:31.258] | : ..$ ...future.seeds_ii : [07:31:31.258] | : ..$ ...future.globals.maxSize: [07:31:31.258] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.258] | : - attr(*, "resolved")= logi FALSE [07:31:31.258] | : - attr(*, "total_size")= num 3908 [07:31:31.267] | : Number of futures (= number of chunks): 2 [07:31:31.268] | : Launching 2 futures (chunks) ... [07:31:31.269] | : Chunk #1 of 2 ... [07:31:31.270] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.271] | : + additional globals found: [n=0] [07:31:31.272] | : + additional namespaces needed: [n=0] [07:31:31.273] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.273] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:31.274] | : - seeds: [07:31:31.275] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.280] | : Created future: [07:31:31.281] | : MultisessionFuture: [07:31:31.281] | : Label: 'fz:base::lapply-1' [07:31:31.281] | : Expression: [07:31:31.281] | : { [07:31:31.281] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.281] | : "# expression in do.call(), because function called uses '...' " [07:31:31.281] | : "# as a global variable " [07:31:31.281] | : do.call(function(...) { [07:31:31.281] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.281] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.281] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.281] | : "# anonymous function. " [07:31:31.281] | : "# " [07:31:31.281] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.281] | : "# function environment of FUN() to the calling environment. " [07:31:31.281] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.281] | : "# global environment, which is where globals are written. " [07:31:31.281] | : penv <- env <- environment(...future.FUN) [07:31:31.281] | : repeat { [07:31:31.281] | : if (identical(env, globalenv()) || identical(env, [07:31:31.281] | : emptyenv())) [07:31:31.281] | : break [07:31:31.281] | : penv <- env [07:31:31.281] | : env <- parent.env(env) [07:31:31.281] | : } [07:31:31.281] | : if (identical(penv, globalenv())) { [07:31:31.281] | : environment(...future.FUN) <- environment() [07:31:31.281] | : } [07:31:31.281] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.281] | : !isNamespace(penv)) { [07:31:31.281] | : parent.env(penv) <- environment() [07:31:31.281] | : } [07:31:31.281] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.281] | : { [07:31:31.281] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.281] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.281] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.281] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.281] | : on.exit(options(oopts), add = TRUE) [07:31:31.281] | : } [07:31:31.281] | : { [07:31:31.281] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.281] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.281] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.281] | : { [07:31:31.281] | : ...future.FUN(...future.X_jj, ...) [07:31:31.281] | : } [07:31:31.281] | : }) [07:31:31.281] | : } [07:31:31.281] | : } [07:31:31.281] | : }, args = future.call.arguments) [07:31:31.281] | : } [07:31:31.281] | : Globals: 5 objects totaling 3.81 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) [07:31:31.281] | : Packages: [07:31:31.281] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.281] | : Capture standard output: TRUE [07:31:31.281] | : Capture condition classes: 'condition' (excluding '') [07:31:31.281] | : Immediate condition classes: 'immediateCondition' [07:31:31.281] | : Lazy evaluation: FALSE [07:31:31.281] | : Local evaluation: TRUE [07:31:31.281] | : Early signaling: FALSE [07:31:31.281] | : Actions: [n=1] 'run' [07:31:31.281] | : State: 'running' ("Future is being evaluated") [07:31:31.281] | : Resolved: TRUE [07:31:31.281] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-31 [07:31:31.281] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.281] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.281] | : Value: [07:31:31.281] | : Conditions captured: [07:31:31.288] | : Chunk #1 of 2 ... DONE [07:31:31.289] | : Chunk #2 of 2 ... [07:31:31.290] | : - Finding globals in 'X' for chunk #2 ... [07:31:31.291] | : + additional globals found: [n=0] [07:31:31.292] | : + additional namespaces needed: [n=0] [07:31:31.293] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:31.294] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:31.295] | : - seeds: [07:31:31.296] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.300] | : Created future: [07:31:31.301] | : MultisessionFuture: [07:31:31.301] | : Label: 'fz:base::lapply-2' [07:31:31.301] | : Expression: [07:31:31.301] | : { [07:31:31.301] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.301] | : "# expression in do.call(), because function called uses '...' " [07:31:31.301] | : "# as a global variable " [07:31:31.301] | : do.call(function(...) { [07:31:31.301] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.301] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.301] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.301] | : "# anonymous function. " [07:31:31.301] | : "# " [07:31:31.301] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.301] | : "# function environment of FUN() to the calling environment. " [07:31:31.301] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.301] | : "# global environment, which is where globals are written. " [07:31:31.301] | : penv <- env <- environment(...future.FUN) [07:31:31.301] | : repeat { [07:31:31.301] | : if (identical(env, globalenv()) || identical(env, [07:31:31.301] | : emptyenv())) [07:31:31.301] | : break [07:31:31.301] | : penv <- env [07:31:31.301] | : env <- parent.env(env) [07:31:31.301] | : } [07:31:31.301] | : if (identical(penv, globalenv())) { [07:31:31.301] | : environment(...future.FUN) <- environment() [07:31:31.301] | : } [07:31:31.301] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.301] | : !isNamespace(penv)) { [07:31:31.301] | : parent.env(penv) <- environment() [07:31:31.301] | : } [07:31:31.301] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.301] | : { [07:31:31.301] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.301] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.301] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.301] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.301] | : on.exit(options(oopts), add = TRUE) [07:31:31.301] | : } [07:31:31.301] | : { [07:31:31.301] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.301] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.301] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.301] | : { [07:31:31.301] | : ...future.FUN(...future.X_jj, ...) [07:31:31.301] | : } [07:31:31.301] | : }) [07:31:31.301] | : } [07:31:31.301] | : } [07:31:31.301] | : }, args = future.call.arguments) [07:31:31.301] | : } [07:31:31.301] | : Globals: 5 objects totaling 3.81 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) [07:31:31.301] | : Packages: [07:31:31.301] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.301] | : Capture standard output: TRUE [07:31:31.301] | : Capture condition classes: 'condition' (excluding '') [07:31:31.301] | : Immediate condition classes: 'immediateCondition' [07:31:31.301] | : Lazy evaluation: FALSE [07:31:31.301] | : Local evaluation: TRUE [07:31:31.301] | : Early signaling: FALSE [07:31:31.301] | : Actions: [n=1] 'run' [07:31:31.301] | : State: 'running' ("Future is being evaluated") [07:31:31.301] | : Resolved: TRUE [07:31:31.301] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-32 [07:31:31.301] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.301] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.301] | : Value: [07:31:31.301] | : Conditions captured: [07:31:31.310] | : Chunk #2 of 2 ... DONE [07:31:31.311] | : Launching 2 futures (chunks) ... DONE [07:31:31.312] | : Resolving 2 futures (chunks) ... [07:31:31.314] | : - Number of value chunks collected: 2 [07:31:31.315] | : Resolving 2 futures (chunks) ... DONE [07:31:31.316] | : Reducing values from 2 chunks ... [07:31:31.317] | : - Number of values collected after concatenation: 2 [07:31:31.318] | : - Number of values expected: 2 [07:31:31.319] | : Reducing values from 2 chunks ... DONE [07:31:31.320] | future_lapply() -> future_xapply() ... done [07:31:31.321] future_lapply() ... done *** future_lapply() - false positives ... DONE *** future_lapply() - too large ... Baseline size of globals: 1.80 KiB - true positive ... [07:31:31.326] future_lapply() ... [07:31:31.328] | Globals in FUN(): [n=2] '{', 'getOption' [07:31:31.329] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.330] | future_lapply() -> future_xapply() ... [07:31:31.331] | : Number of chunks: 2 [07:31:31.332] | : getGlobalsAndPackagesXApply() ... [07:31:31.333] | : . future.globals: TRUE [07:31:31.344] | : getGlobalsAndPackagesXApply() ... done [07:31:31.345] | future_lapply() -> future_xapply() ... done [07:31:31.345] future_lapply() ... done [07:31:31.347] future_lapply() ... [07:31:31.348] | Globals in FUN(): [n=2] '{', 'getOption' [07:31:31.349] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.350] | future_lapply() -> future_xapply() ... [07:31:31.351] | : Number of chunks: 2 [07:31:31.352] | : getGlobalsAndPackagesXApply() ... [07:31:31.353] | : . future.globals: TRUE [07:31:31.368] | : . globals found/used: [n=1] 'FUN' [07:31:31.369] | : . needed namespaces: [n=0] [07:31:31.370] | : . use_args: TRUE [07:31:31.371] | : . Getting '...' globals ... [07:31:31.372] | : . ' '...' content: [n=0] [07:31:31.373] | : . ' List of 1 [07:31:31.373] | : . ' $ ...: list() [07:31:31.373] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.373] | : . ' - attr(*, "where")=List of 1 [07:31:31.373] | : . ' ..$ ...: [07:31:31.373] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.373] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.373] | : . ' - attr(*, "total_size")= num NA [07:31:31.378] | : . Getting '...' globals ... done [07:31:31.379] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:31.380] | : . List of 2 [07:31:31.380] | : . $ ...future.FUN:function (x) [07:31:31.380] | : . $ ... : list() [07:31:31.380] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.380] | : . - attr(*, "where")=List of 2 [07:31:31.380] | : . ..$ ...future.FUN: [07:31:31.380] | : . ..$ ... : [07:31:31.380] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.380] | : . - attr(*, "resolved")= logi FALSE [07:31:31.380] | : . - attr(*, "total_size")= num 4674 [07:31:31.385] | : . Packages to be attached in all futures: [n=0] [07:31:31.386] | : getGlobalsAndPackagesXApply() ... done [07:31:31.387] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.388] | : List of 5 [07:31:31.388] | : $ ...future.FUN :function (x) [07:31:31.388] | : $ ... : list() [07:31:31.388] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.388] | : $ ...future.elements_ii : NULL [07:31:31.388] | : $ ...future.seeds_ii : NULL [07:31:31.388] | : $ ...future.globals.maxSize: NULL [07:31:31.388] | : - attr(*, "where")=List of 5 [07:31:31.388] | : ..$ ...future.FUN : [07:31:31.388] | : ..$ ... : [07:31:31.388] | : ..$ ...future.elements_ii : [07:31:31.388] | : ..$ ...future.seeds_ii : [07:31:31.388] | : ..$ ...future.globals.maxSize: [07:31:31.388] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.388] | : - attr(*, "resolved")= logi FALSE [07:31:31.388] | : - attr(*, "total_size")= num 4674 [07:31:31.396] | : Number of futures (= number of chunks): 2 [07:31:31.397] | : Launching 2 futures (chunks) ... [07:31:31.398] | : Chunk #1 of 2 ... [07:31:31.399] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.400] | : + additional globals found: [n=0] [07:31:31.401] | : + additional namespaces needed: [n=0] [07:31:31.402] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.403] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:31.404] | : - seeds: [07:31:31.405] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.409] | : Created future: [07:31:31.410] | : MultisessionFuture: [07:31:31.410] | : Label: 'fz:base::lapply-1' [07:31:31.410] | : Expression: [07:31:31.410] | : { [07:31:31.410] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.410] | : "# expression in do.call(), because function called uses '...' " [07:31:31.410] | : "# as a global variable " [07:31:31.410] | : do.call(function(...) { [07:31:31.410] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.410] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.410] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.410] | : "# anonymous function. " [07:31:31.410] | : "# " [07:31:31.410] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.410] | : "# function environment of FUN() to the calling environment. " [07:31:31.410] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.410] | : "# global environment, which is where globals are written. " [07:31:31.410] | : penv <- env <- environment(...future.FUN) [07:31:31.410] | : repeat { [07:31:31.410] | : if (identical(env, globalenv()) || identical(env, [07:31:31.410] | : emptyenv())) [07:31:31.410] | : break [07:31:31.410] | : penv <- env [07:31:31.410] | : env <- parent.env(env) [07:31:31.410] | : } [07:31:31.410] | : if (identical(penv, globalenv())) { [07:31:31.410] | : environment(...future.FUN) <- environment() [07:31:31.410] | : } [07:31:31.410] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.410] | : !isNamespace(penv)) { [07:31:31.410] | : parent.env(penv) <- environment() [07:31:31.410] | : } [07:31:31.410] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.410] | : { [07:31:31.410] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.410] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.410] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.410] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.410] | : on.exit(options(oopts), add = TRUE) [07:31:31.410] | : } [07:31:31.410] | : { [07:31:31.410] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.410] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.410] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.410] | : { [07:31:31.410] | : ...future.FUN(...future.X_jj, ...) [07:31:31.410] | : } [07:31:31.410] | : }) [07:31:31.410] | : } [07:31:31.410] | : } [07:31:31.410] | : }, args = future.call.arguments) [07:31:31.410] | : } [07:31:31.410] | : Globals: 5 objects totaling 5.20 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) [07:31:31.410] | : Packages: [07:31:31.410] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.410] | : Capture standard output: TRUE [07:31:31.410] | : Capture condition classes: 'condition' (excluding '') [07:31:31.410] | : Immediate condition classes: 'immediateCondition' [07:31:31.410] | : Lazy evaluation: FALSE [07:31:31.410] | : Local evaluation: TRUE [07:31:31.410] | : Early signaling: FALSE [07:31:31.410] | : Actions: [n=1] 'run' [07:31:31.410] | : State: 'running' ("Future is being evaluated") [07:31:31.410] | : Resolved: TRUE [07:31:31.410] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-33 [07:31:31.410] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.410] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.410] | : Value: [07:31:31.410] | : Conditions captured: [07:31:31.421] | : Chunk #1 of 2 ... DONE [07:31:31.422] | : Chunk #2 of 2 ... [07:31:31.423] | : - Finding globals in 'X' for chunk #2 ... [07:31:31.424] | : + additional globals found: [n=0] [07:31:31.426] | : + additional namespaces needed: [n=0] [07:31:31.427] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:31.428] | : - Adjusted option 'future.globals.maxSize': 524288000 -> 2 * 524288000 = 1048576000 (bytes) [07:31:31.429] | : - seeds: [07:31:31.430] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.434] | : Created future: [07:31:31.435] | : MultisessionFuture: [07:31:31.435] | : Label: 'fz:base::lapply-2' [07:31:31.435] | : Expression: [07:31:31.435] | : { [07:31:31.435] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.435] | : "# expression in do.call(), because function called uses '...' " [07:31:31.435] | : "# as a global variable " [07:31:31.435] | : do.call(function(...) { [07:31:31.435] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.435] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.435] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.435] | : "# anonymous function. " [07:31:31.435] | : "# " [07:31:31.435] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.435] | : "# function environment of FUN() to the calling environment. " [07:31:31.435] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.435] | : "# global environment, which is where globals are written. " [07:31:31.435] | : penv <- env <- environment(...future.FUN) [07:31:31.435] | : repeat { [07:31:31.435] | : if (identical(env, globalenv()) || identical(env, [07:31:31.435] | : emptyenv())) [07:31:31.435] | : break [07:31:31.435] | : penv <- env [07:31:31.435] | : env <- parent.env(env) [07:31:31.435] | : } [07:31:31.435] | : if (identical(penv, globalenv())) { [07:31:31.435] | : environment(...future.FUN) <- environment() [07:31:31.435] | : } [07:31:31.435] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.435] | : !isNamespace(penv)) { [07:31:31.435] | : parent.env(penv) <- environment() [07:31:31.435] | : } [07:31:31.435] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.435] | : { [07:31:31.435] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.435] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.435] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.435] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.435] | : on.exit(options(oopts), add = TRUE) [07:31:31.435] | : } [07:31:31.435] | : { [07:31:31.435] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.435] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.435] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.435] | : { [07:31:31.435] | : ...future.FUN(...future.X_jj, ...) [07:31:31.435] | : } [07:31:31.435] | : }) [07:31:31.435] | : } [07:31:31.435] | : } [07:31:31.435] | : }, args = future.call.arguments) [07:31:31.435] | : } [07:31:31.435] | : Globals: 5 objects totaling 5.20 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) [07:31:31.435] | : Packages: [07:31:31.435] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.435] | : Capture standard output: TRUE [07:31:31.435] | : Capture condition classes: 'condition' (excluding '') [07:31:31.435] | : Immediate condition classes: 'immediateCondition' [07:31:31.435] | : Lazy evaluation: FALSE [07:31:31.435] | : Local evaluation: TRUE [07:31:31.435] | : Early signaling: FALSE [07:31:31.435] | : Actions: [n=1] 'run' [07:31:31.435] | : State: 'running' ("Future is being evaluated") [07:31:31.435] | : Resolved: TRUE [07:31:31.435] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-34 [07:31:31.435] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.435] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.435] | : Value: [07:31:31.435] | : Conditions captured: [07:31:31.443] | : Chunk #2 of 2 ... DONE [07:31:31.445] | : Launching 2 futures (chunks) ... DONE [07:31:31.446] | : Resolving 2 futures (chunks) ... [07:31:31.448] | : - Number of value chunks collected: 2 [07:31:31.449] | : Resolving 2 futures (chunks) ... DONE [07:31:31.450] | : Reducing values from 2 chunks ... [07:31:31.451] | : - Number of values collected after concatenation: 10 [07:31:31.452] | : - Number of values expected: 10 [07:31:31.453] | : Reducing values from 2 chunks ... DONE [07:31:31.454] | future_lapply() -> future_xapply() ... done [07:31:31.455] future_lapply() ... done List of 10 $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL $ : NULL - approximately invariant to chunk size ... [07:31:31.474] future_lapply() ... [07:31:31.476] | Globals in FUN(): [n=2] '{', 'getOption' [07:31:31.477] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.478] | future_lapply() -> future_xapply() ... [07:31:31.480] | : Number of chunks: 10 [07:31:31.481] | : getGlobalsAndPackagesXApply() ... [07:31:31.482] | : . future.globals: TRUE [07:31:31.495] | : . globals found/used: [n=1] 'FUN' [07:31:31.496] | : . needed namespaces: [n=0] [07:31:31.497] | : . use_args: TRUE [07:31:31.498] | : . Getting '...' globals ... [07:31:31.500] | : . ' '...' content: [n=0] [07:31:31.501] | : . ' List of 1 [07:31:31.501] | : . ' $ ...: list() [07:31:31.501] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.501] | : . ' - attr(*, "where")=List of 1 [07:31:31.501] | : . ' ..$ ...: [07:31:31.501] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.501] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.501] | : . ' - attr(*, "total_size")= num NA [07:31:31.507] | : . Getting '...' globals ... done [07:31:31.508] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:31.510] | : . List of 2 [07:31:31.510] | : . $ ...future.FUN:function (x) [07:31:31.510] | : . $ ... : list() [07:31:31.510] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.510] | : . - attr(*, "where")=List of 2 [07:31:31.510] | : . ..$ ...future.FUN: [07:31:31.510] | : . ..$ ... : [07:31:31.510] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.510] | : . - attr(*, "resolved")= logi FALSE [07:31:31.510] | : . - attr(*, "total_size")= num 4690 [07:31:31.516] | : . Packages to be attached in all futures: [n=0] [07:31:31.517] | : getGlobalsAndPackagesXApply() ... done [07:31:31.518] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.519] | : List of 5 [07:31:31.519] | : $ ...future.FUN :function (x) [07:31:31.519] | : $ ... : list() [07:31:31.519] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.519] | : $ ...future.elements_ii : NULL [07:31:31.519] | : $ ...future.seeds_ii : NULL [07:31:31.519] | : $ ...future.globals.maxSize: NULL [07:31:31.519] | : - attr(*, "where")=List of 5 [07:31:31.519] | : ..$ ...future.FUN : [07:31:31.519] | : ..$ ... : [07:31:31.519] | : ..$ ...future.elements_ii : [07:31:31.519] | : ..$ ...future.seeds_ii : [07:31:31.519] | : ..$ ...future.globals.maxSize: [07:31:31.519] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.519] | : - attr(*, "resolved")= logi FALSE [07:31:31.519] | : - attr(*, "total_size")= num 4690 [07:31:31.527] | : Number of futures (= number of chunks): 10 [07:31:31.529] | : Launching 10 futures (chunks) ... [07:31:31.530] | : Chunk #1 of 10 ... [07:31:31.531] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.532] | : + additional globals found: [n=0] [07:31:31.533] | : + additional namespaces needed: [n=0] [07:31:31.534] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.535] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.536] | : - seeds: [07:31:31.537] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.545] | : Created future: [07:31:31.545] | : MultisessionFuture: [07:31:31.545] | : Label: 'fz:base::lapply-1' [07:31:31.545] | : Expression: [07:31:31.545] | : { [07:31:31.545] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.545] | : "# expression in do.call(), because function called uses '...' " [07:31:31.545] | : "# as a global variable " [07:31:31.545] | : do.call(function(...) { [07:31:31.545] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.545] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.545] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.545] | : "# anonymous function. " [07:31:31.545] | : "# " [07:31:31.545] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.545] | : "# function environment of FUN() to the calling environment. " [07:31:31.545] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.545] | : "# global environment, which is where globals are written. " [07:31:31.545] | : penv <- env <- environment(...future.FUN) [07:31:31.545] | : repeat { [07:31:31.545] | : if (identical(env, globalenv()) || identical(env, [07:31:31.545] | : emptyenv())) [07:31:31.545] | : break [07:31:31.545] | : penv <- env [07:31:31.545] | : env <- parent.env(env) [07:31:31.545] | : } [07:31:31.545] | : if (identical(penv, globalenv())) { [07:31:31.545] | : environment(...future.FUN) <- environment() [07:31:31.545] | : } [07:31:31.545] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.545] | : !isNamespace(penv)) { [07:31:31.545] | : parent.env(penv) <- environment() [07:31:31.545] | : } [07:31:31.545] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.545] | : { [07:31:31.545] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.545] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.545] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.545] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.545] | : on.exit(options(oopts), add = TRUE) [07:31:31.545] | : } [07:31:31.545] | : { [07:31:31.545] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.545] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.545] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.545] | : { [07:31:31.545] | : ...future.FUN(...future.X_jj, ...) [07:31:31.545] | : } [07:31:31.545] | : }) [07:31:31.545] | : } [07:31:31.545] | : } [07:31:31.545] | : }, args = future.call.arguments) [07:31:31.545] | : } [07:31:31.545] | : Globals: 5 objects totaling 4.93 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) [07:31:31.545] | : Packages: [07:31:31.545] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.545] | : Capture standard output: TRUE [07:31:31.545] | : Capture condition classes: 'condition' (excluding '') [07:31:31.545] | : Immediate condition classes: 'immediateCondition' [07:31:31.545] | : Lazy evaluation: FALSE [07:31:31.545] | : Local evaluation: TRUE [07:31:31.545] | : Early signaling: FALSE [07:31:31.545] | : Actions: [n=1] 'run' [07:31:31.545] | : State: 'running' ("Future is being evaluated") [07:31:31.545] | : Resolved: TRUE [07:31:31.545] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-35 [07:31:31.545] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.545] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.545] | : Value: [07:31:31.545] | : Conditions captured: [07:31:31.554] | : Chunk #1 of 10 ... DONE [07:31:31.555] | : Chunk #2 of 10 ... [07:31:31.556] | : - Finding globals in 'X' for chunk #2 ... [07:31:31.557] | : + additional globals found: [n=0] [07:31:31.558] | : + additional namespaces needed: [n=0] [07:31:31.559] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:31.560] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.561] | : - seeds: [07:31:31.562] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.566] | : Created future: [07:31:31.567] | : MultisessionFuture: [07:31:31.567] | : Label: 'fz:base::lapply-2' [07:31:31.567] | : Expression: [07:31:31.567] | : { [07:31:31.567] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.567] | : "# expression in do.call(), because function called uses '...' " [07:31:31.567] | : "# as a global variable " [07:31:31.567] | : do.call(function(...) { [07:31:31.567] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.567] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.567] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.567] | : "# anonymous function. " [07:31:31.567] | : "# " [07:31:31.567] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.567] | : "# function environment of FUN() to the calling environment. " [07:31:31.567] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.567] | : "# global environment, which is where globals are written. " [07:31:31.567] | : penv <- env <- environment(...future.FUN) [07:31:31.567] | : repeat { [07:31:31.567] | : if (identical(env, globalenv()) || identical(env, [07:31:31.567] | : emptyenv())) [07:31:31.567] | : break [07:31:31.567] | : penv <- env [07:31:31.567] | : env <- parent.env(env) [07:31:31.567] | : } [07:31:31.567] | : if (identical(penv, globalenv())) { [07:31:31.567] | : environment(...future.FUN) <- environment() [07:31:31.567] | : } [07:31:31.567] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.567] | : !isNamespace(penv)) { [07:31:31.567] | : parent.env(penv) <- environment() [07:31:31.567] | : } [07:31:31.567] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.567] | : { [07:31:31.567] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.567] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.567] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.567] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.567] | : on.exit(options(oopts), add = TRUE) [07:31:31.567] | : } [07:31:31.567] | : { [07:31:31.567] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.567] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.567] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.567] | : { [07:31:31.567] | : ...future.FUN(...future.X_jj, ...) [07:31:31.567] | : } [07:31:31.567] | : }) [07:31:31.567] | : } [07:31:31.567] | : } [07:31:31.567] | : }, args = future.call.arguments) [07:31:31.567] | : } [07:31:31.567] | : Globals: 5 objects totaling 4.93 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) [07:31:31.567] | : Packages: [07:31:31.567] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.567] | : Capture standard output: TRUE [07:31:31.567] | : Capture condition classes: 'condition' (excluding '') [07:31:31.567] | : Immediate condition classes: 'immediateCondition' [07:31:31.567] | : Lazy evaluation: FALSE [07:31:31.567] | : Local evaluation: TRUE [07:31:31.567] | : Early signaling: FALSE [07:31:31.567] | : Actions: [n=1] 'run' [07:31:31.567] | : State: 'running' ("Future is being evaluated") [07:31:31.567] | : Resolved: TRUE [07:31:31.567] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-36 [07:31:31.567] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.567] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.567] | : Value: [07:31:31.567] | : Conditions captured: [07:31:31.575] | : Chunk #2 of 10 ... DONE [07:31:31.575] | : Chunk #3 of 10 ... [07:31:31.576] | : - Finding globals in 'X' for chunk #3 ... [07:31:31.577] | : + additional globals found: [n=0] [07:31:31.578] | : + additional namespaces needed: [n=0] [07:31:31.579] | : - Finding globals in 'X' for chunk #3 ... DONE [07:31:31.580] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.581] | : - seeds: [07:31:31.582] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.587] | : Created future: [07:31:31.588] | : MultisessionFuture: [07:31:31.588] | : Label: 'fz:base::lapply-3' [07:31:31.588] | : Expression: [07:31:31.588] | : { [07:31:31.588] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.588] | : "# expression in do.call(), because function called uses '...' " [07:31:31.588] | : "# as a global variable " [07:31:31.588] | : do.call(function(...) { [07:31:31.588] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.588] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.588] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.588] | : "# anonymous function. " [07:31:31.588] | : "# " [07:31:31.588] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.588] | : "# function environment of FUN() to the calling environment. " [07:31:31.588] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.588] | : "# global environment, which is where globals are written. " [07:31:31.588] | : penv <- env <- environment(...future.FUN) [07:31:31.588] | : repeat { [07:31:31.588] | : if (identical(env, globalenv()) || identical(env, [07:31:31.588] | : emptyenv())) [07:31:31.588] | : break [07:31:31.588] | : penv <- env [07:31:31.588] | : env <- parent.env(env) [07:31:31.588] | : } [07:31:31.588] | : if (identical(penv, globalenv())) { [07:31:31.588] | : environment(...future.FUN) <- environment() [07:31:31.588] | : } [07:31:31.588] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.588] | : !isNamespace(penv)) { [07:31:31.588] | : parent.env(penv) <- environment() [07:31:31.588] | : } [07:31:31.588] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.588] | : { [07:31:31.588] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.588] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.588] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.588] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.588] | : on.exit(options(oopts), add = TRUE) [07:31:31.588] | : } [07:31:31.588] | : { [07:31:31.588] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.588] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.588] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.588] | : { [07:31:31.588] | : ...future.FUN(...future.X_jj, ...) [07:31:31.588] | : } [07:31:31.588] | : }) [07:31:31.588] | : } [07:31:31.588] | : } [07:31:31.588] | : }, args = future.call.arguments) [07:31:31.588] | : } [07:31:31.588] | : Globals: 5 objects totaling 4.93 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) [07:31:31.588] | : Packages: [07:31:31.588] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.588] | : Capture standard output: TRUE [07:31:31.588] | : Capture condition classes: 'condition' (excluding '') [07:31:31.588] | : Immediate condition classes: 'immediateCondition' [07:31:31.588] | : Lazy evaluation: FALSE [07:31:31.588] | : Local evaluation: TRUE [07:31:31.588] | : Early signaling: FALSE [07:31:31.588] | : Actions: [n=1] 'run' [07:31:31.588] | : State: 'running' ("Future is being evaluated") [07:31:31.588] | : Resolved: TRUE [07:31:31.588] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-37 [07:31:31.588] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.588] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.588] | : Value: [07:31:31.588] | : Conditions captured: [07:31:31.599] | : Chunk #3 of 10 ... DONE [07:31:31.600] | : Chunk #4 of 10 ... [07:31:31.601] | : - Finding globals in 'X' for chunk #4 ... [07:31:31.603] | : + additional globals found: [n=0] [07:31:31.604] | : + additional namespaces needed: [n=0] [07:31:31.605] | : - Finding globals in 'X' for chunk #4 ... DONE [07:31:31.606] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.607] | : - seeds: [07:31:31.608] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.616] | : Created future: [07:31:31.617] | : MultisessionFuture: [07:31:31.617] | : Label: 'fz:base::lapply-4' [07:31:31.617] | : Expression: [07:31:31.617] | : { [07:31:31.617] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.617] | : "# expression in do.call(), because function called uses '...' " [07:31:31.617] | : "# as a global variable " [07:31:31.617] | : do.call(function(...) { [07:31:31.617] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.617] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.617] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.617] | : "# anonymous function. " [07:31:31.617] | : "# " [07:31:31.617] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.617] | : "# function environment of FUN() to the calling environment. " [07:31:31.617] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.617] | : "# global environment, which is where globals are written. " [07:31:31.617] | : penv <- env <- environment(...future.FUN) [07:31:31.617] | : repeat { [07:31:31.617] | : if (identical(env, globalenv()) || identical(env, [07:31:31.617] | : emptyenv())) [07:31:31.617] | : break [07:31:31.617] | : penv <- env [07:31:31.617] | : env <- parent.env(env) [07:31:31.617] | : } [07:31:31.617] | : if (identical(penv, globalenv())) { [07:31:31.617] | : environment(...future.FUN) <- environment() [07:31:31.617] | : } [07:31:31.617] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.617] | : !isNamespace(penv)) { [07:31:31.617] | : parent.env(penv) <- environment() [07:31:31.617] | : } [07:31:31.617] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.617] | : { [07:31:31.617] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.617] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.617] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.617] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.617] | : on.exit(options(oopts), add = TRUE) [07:31:31.617] | : } [07:31:31.617] | : { [07:31:31.617] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.617] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.617] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.617] | : { [07:31:31.617] | : ...future.FUN(...future.X_jj, ...) [07:31:31.617] | : } [07:31:31.617] | : }) [07:31:31.617] | : } [07:31:31.617] | : } [07:31:31.617] | : }, args = future.call.arguments) [07:31:31.617] | : } [07:31:31.617] | : Globals: 5 objects totaling 4.93 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) [07:31:31.617] | : Packages: [07:31:31.617] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.617] | : Capture standard output: TRUE [07:31:31.617] | : Capture condition classes: 'condition' (excluding '') [07:31:31.617] | : Immediate condition classes: 'immediateCondition' [07:31:31.617] | : Lazy evaluation: FALSE [07:31:31.617] | : Local evaluation: TRUE [07:31:31.617] | : Early signaling: FALSE [07:31:31.617] | : Actions: [n=1] 'run' [07:31:31.617] | : State: 'running' ("Future is being evaluated") [07:31:31.617] | : Resolved: TRUE [07:31:31.617] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-38 [07:31:31.617] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.617] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.617] | : Value: [07:31:31.617] | : Conditions captured: [07:31:31.624] | : Chunk #4 of 10 ... DONE [07:31:31.625] | : Chunk #5 of 10 ... [07:31:31.626] | : - Finding globals in 'X' for chunk #5 ... [07:31:31.627] | : + additional globals found: [n=0] [07:31:31.627] | : + additional namespaces needed: [n=0] [07:31:31.628] | : - Finding globals in 'X' for chunk #5 ... DONE [07:31:31.629] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.629] | : - seeds: [07:31:31.630] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.633] | : Created future: [07:31:31.634] | : MultisessionFuture: [07:31:31.634] | : Label: 'fz:base::lapply-5' [07:31:31.634] | : Expression: [07:31:31.634] | : { [07:31:31.634] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.634] | : "# expression in do.call(), because function called uses '...' " [07:31:31.634] | : "# as a global variable " [07:31:31.634] | : do.call(function(...) { [07:31:31.634] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.634] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.634] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.634] | : "# anonymous function. " [07:31:31.634] | : "# " [07:31:31.634] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.634] | : "# function environment of FUN() to the calling environment. " [07:31:31.634] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.634] | : "# global environment, which is where globals are written. " [07:31:31.634] | : penv <- env <- environment(...future.FUN) [07:31:31.634] | : repeat { [07:31:31.634] | : if (identical(env, globalenv()) || identical(env, [07:31:31.634] | : emptyenv())) [07:31:31.634] | : break [07:31:31.634] | : penv <- env [07:31:31.634] | : env <- parent.env(env) [07:31:31.634] | : } [07:31:31.634] | : if (identical(penv, globalenv())) { [07:31:31.634] | : environment(...future.FUN) <- environment() [07:31:31.634] | : } [07:31:31.634] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.634] | : !isNamespace(penv)) { [07:31:31.634] | : parent.env(penv) <- environment() [07:31:31.634] | : } [07:31:31.634] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.634] | : { [07:31:31.634] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.634] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.634] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.634] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.634] | : on.exit(options(oopts), add = TRUE) [07:31:31.634] | : } [07:31:31.634] | : { [07:31:31.634] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.634] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.634] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.634] | : { [07:31:31.634] | : ...future.FUN(...future.X_jj, ...) [07:31:31.634] | : } [07:31:31.634] | : }) [07:31:31.634] | : } [07:31:31.634] | : } [07:31:31.634] | : }, args = future.call.arguments) [07:31:31.634] | : } [07:31:31.634] | : Globals: 5 objects totaling 4.93 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) [07:31:31.634] | : Packages: [07:31:31.634] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.634] | : Capture standard output: TRUE [07:31:31.634] | : Capture condition classes: 'condition' (excluding '') [07:31:31.634] | : Immediate condition classes: 'immediateCondition' [07:31:31.634] | : Lazy evaluation: FALSE [07:31:31.634] | : Local evaluation: TRUE [07:31:31.634] | : Early signaling: FALSE [07:31:31.634] | : Actions: [n=1] 'run' [07:31:31.634] | : State: 'running' ("Future is being evaluated") [07:31:31.634] | : Resolved: TRUE [07:31:31.634] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-39 [07:31:31.634] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.634] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.634] | : Value: [07:31:31.634] | : Conditions captured: [07:31:31.639] | : Chunk #5 of 10 ... DONE [07:31:31.640] | : Chunk #6 of 10 ... [07:31:31.640] | : - Finding globals in 'X' for chunk #6 ... [07:31:31.641] | : + additional globals found: [n=0] [07:31:31.642] | : + additional namespaces needed: [n=0] [07:31:31.643] | : - Finding globals in 'X' for chunk #6 ... DONE [07:31:31.643] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.644] | : - seeds: [07:31:31.644] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.647] | : Created future: [07:31:31.648] | : MultisessionFuture: [07:31:31.648] | : Label: 'fz:base::lapply-6' [07:31:31.648] | : Expression: [07:31:31.648] | : { [07:31:31.648] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.648] | : "# expression in do.call(), because function called uses '...' " [07:31:31.648] | : "# as a global variable " [07:31:31.648] | : do.call(function(...) { [07:31:31.648] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.648] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.648] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.648] | : "# anonymous function. " [07:31:31.648] | : "# " [07:31:31.648] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.648] | : "# function environment of FUN() to the calling environment. " [07:31:31.648] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.648] | : "# global environment, which is where globals are written. " [07:31:31.648] | : penv <- env <- environment(...future.FUN) [07:31:31.648] | : repeat { [07:31:31.648] | : if (identical(env, globalenv()) || identical(env, [07:31:31.648] | : emptyenv())) [07:31:31.648] | : break [07:31:31.648] | : penv <- env [07:31:31.648] | : env <- parent.env(env) [07:31:31.648] | : } [07:31:31.648] | : if (identical(penv, globalenv())) { [07:31:31.648] | : environment(...future.FUN) <- environment() [07:31:31.648] | : } [07:31:31.648] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.648] | : !isNamespace(penv)) { [07:31:31.648] | : parent.env(penv) <- environment() [07:31:31.648] | : } [07:31:31.648] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.648] | : { [07:31:31.648] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.648] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.648] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.648] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.648] | : on.exit(options(oopts), add = TRUE) [07:31:31.648] | : } [07:31:31.648] | : { [07:31:31.648] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.648] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.648] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.648] | : { [07:31:31.648] | : ...future.FUN(...future.X_jj, ...) [07:31:31.648] | : } [07:31:31.648] | : }) [07:31:31.648] | : } [07:31:31.648] | : } [07:31:31.648] | : }, args = future.call.arguments) [07:31:31.648] | : } [07:31:31.648] | : Globals: 5 objects totaling 4.93 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) [07:31:31.648] | : Packages: [07:31:31.648] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.648] | : Capture standard output: TRUE [07:31:31.648] | : Capture condition classes: 'condition' (excluding '') [07:31:31.648] | : Immediate condition classes: 'immediateCondition' [07:31:31.648] | : Lazy evaluation: FALSE [07:31:31.648] | : Local evaluation: TRUE [07:31:31.648] | : Early signaling: FALSE [07:31:31.648] | : Actions: [n=1] 'run' [07:31:31.648] | : State: 'running' ("Future is being evaluated") [07:31:31.648] | : Resolved: TRUE [07:31:31.648] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-40 [07:31:31.648] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.648] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.648] | : Value: [07:31:31.648] | : Conditions captured: [07:31:31.655] | : Chunk #6 of 10 ... DONE [07:31:31.656] | : Chunk #7 of 10 ... [07:31:31.656] | : - Finding globals in 'X' for chunk #7 ... [07:31:31.657] | : + additional globals found: [n=0] [07:31:31.658] | : + additional namespaces needed: [n=0] [07:31:31.658] | : - Finding globals in 'X' for chunk #7 ... DONE [07:31:31.659] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.659] | : - seeds: [07:31:31.660] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.663] | : Created future: [07:31:31.664] | : MultisessionFuture: [07:31:31.664] | : Label: 'fz:base::lapply-7' [07:31:31.664] | : Expression: [07:31:31.664] | : { [07:31:31.664] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.664] | : "# expression in do.call(), because function called uses '...' " [07:31:31.664] | : "# as a global variable " [07:31:31.664] | : do.call(function(...) { [07:31:31.664] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.664] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.664] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.664] | : "# anonymous function. " [07:31:31.664] | : "# " [07:31:31.664] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.664] | : "# function environment of FUN() to the calling environment. " [07:31:31.664] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.664] | : "# global environment, which is where globals are written. " [07:31:31.664] | : penv <- env <- environment(...future.FUN) [07:31:31.664] | : repeat { [07:31:31.664] | : if (identical(env, globalenv()) || identical(env, [07:31:31.664] | : emptyenv())) [07:31:31.664] | : break [07:31:31.664] | : penv <- env [07:31:31.664] | : env <- parent.env(env) [07:31:31.664] | : } [07:31:31.664] | : if (identical(penv, globalenv())) { [07:31:31.664] | : environment(...future.FUN) <- environment() [07:31:31.664] | : } [07:31:31.664] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.664] | : !isNamespace(penv)) { [07:31:31.664] | : parent.env(penv) <- environment() [07:31:31.664] | : } [07:31:31.664] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.664] | : { [07:31:31.664] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.664] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.664] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.664] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.664] | : on.exit(options(oopts), add = TRUE) [07:31:31.664] | : } [07:31:31.664] | : { [07:31:31.664] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.664] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.664] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.664] | : { [07:31:31.664] | : ...future.FUN(...future.X_jj, ...) [07:31:31.664] | : } [07:31:31.664] | : }) [07:31:31.664] | : } [07:31:31.664] | : } [07:31:31.664] | : }, args = future.call.arguments) [07:31:31.664] | : } [07:31:31.664] | : Globals: 5 objects totaling 4.93 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) [07:31:31.664] | : Packages: [07:31:31.664] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.664] | : Capture standard output: TRUE [07:31:31.664] | : Capture condition classes: 'condition' (excluding '') [07:31:31.664] | : Immediate condition classes: 'immediateCondition' [07:31:31.664] | : Lazy evaluation: FALSE [07:31:31.664] | : Local evaluation: TRUE [07:31:31.664] | : Early signaling: FALSE [07:31:31.664] | : Actions: [n=1] 'run' [07:31:31.664] | : State: 'running' ("Future is being evaluated") [07:31:31.664] | : Resolved: TRUE [07:31:31.664] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-41 [07:31:31.664] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.664] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.664] | : Value: [07:31:31.664] | : Conditions captured: [07:31:31.672] | : Chunk #7 of 10 ... DONE [07:31:31.673] | : Chunk #8 of 10 ... [07:31:31.674] | : - Finding globals in 'X' for chunk #8 ... [07:31:31.676] | : + additional globals found: [n=0] [07:31:31.677] | : + additional namespaces needed: [n=0] [07:31:31.678] | : - Finding globals in 'X' for chunk #8 ... DONE [07:31:31.679] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.680] | : - seeds: [07:31:31.681] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.685] | : Created future: [07:31:31.686] | : MultisessionFuture: [07:31:31.686] | : Label: 'fz:base::lapply-8' [07:31:31.686] | : Expression: [07:31:31.686] | : { [07:31:31.686] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.686] | : "# expression in do.call(), because function called uses '...' " [07:31:31.686] | : "# as a global variable " [07:31:31.686] | : do.call(function(...) { [07:31:31.686] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.686] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.686] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.686] | : "# anonymous function. " [07:31:31.686] | : "# " [07:31:31.686] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.686] | : "# function environment of FUN() to the calling environment. " [07:31:31.686] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.686] | : "# global environment, which is where globals are written. " [07:31:31.686] | : penv <- env <- environment(...future.FUN) [07:31:31.686] | : repeat { [07:31:31.686] | : if (identical(env, globalenv()) || identical(env, [07:31:31.686] | : emptyenv())) [07:31:31.686] | : break [07:31:31.686] | : penv <- env [07:31:31.686] | : env <- parent.env(env) [07:31:31.686] | : } [07:31:31.686] | : if (identical(penv, globalenv())) { [07:31:31.686] | : environment(...future.FUN) <- environment() [07:31:31.686] | : } [07:31:31.686] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.686] | : !isNamespace(penv)) { [07:31:31.686] | : parent.env(penv) <- environment() [07:31:31.686] | : } [07:31:31.686] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.686] | : { [07:31:31.686] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.686] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.686] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.686] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.686] | : on.exit(options(oopts), add = TRUE) [07:31:31.686] | : } [07:31:31.686] | : { [07:31:31.686] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.686] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.686] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.686] | : { [07:31:31.686] | : ...future.FUN(...future.X_jj, ...) [07:31:31.686] | : } [07:31:31.686] | : }) [07:31:31.686] | : } [07:31:31.686] | : } [07:31:31.686] | : }, args = future.call.arguments) [07:31:31.686] | : } [07:31:31.686] | : Globals: 5 objects totaling 4.93 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) [07:31:31.686] | : Packages: [07:31:31.686] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.686] | : Capture standard output: TRUE [07:31:31.686] | : Capture condition classes: 'condition' (excluding '') [07:31:31.686] | : Immediate condition classes: 'immediateCondition' [07:31:31.686] | : Lazy evaluation: FALSE [07:31:31.686] | : Local evaluation: TRUE [07:31:31.686] | : Early signaling: FALSE [07:31:31.686] | : Actions: [n=1] 'run' [07:31:31.686] | : State: 'running' ("Future is being evaluated") [07:31:31.686] | : Resolved: TRUE [07:31:31.686] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-42 [07:31:31.686] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.686] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.686] | : Value: [07:31:31.686] | : Conditions captured: [07:31:31.694] | : Chunk #8 of 10 ... DONE [07:31:31.694] | : Chunk #9 of 10 ... [07:31:31.696] | : - Finding globals in 'X' for chunk #9 ... [07:31:31.697] | : + additional globals found: [n=0] [07:31:31.698] | : + additional namespaces needed: [n=0] [07:31:31.699] | : - Finding globals in 'X' for chunk #9 ... DONE [07:31:31.700] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.701] | : - seeds: [07:31:31.702] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.706] | : Created future: [07:31:31.707] | : MultisessionFuture: [07:31:31.707] | : Label: 'fz:base::lapply-9' [07:31:31.707] | : Expression: [07:31:31.707] | : { [07:31:31.707] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.707] | : "# expression in do.call(), because function called uses '...' " [07:31:31.707] | : "# as a global variable " [07:31:31.707] | : do.call(function(...) { [07:31:31.707] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.707] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.707] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.707] | : "# anonymous function. " [07:31:31.707] | : "# " [07:31:31.707] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.707] | : "# function environment of FUN() to the calling environment. " [07:31:31.707] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.707] | : "# global environment, which is where globals are written. " [07:31:31.707] | : penv <- env <- environment(...future.FUN) [07:31:31.707] | : repeat { [07:31:31.707] | : if (identical(env, globalenv()) || identical(env, [07:31:31.707] | : emptyenv())) [07:31:31.707] | : break [07:31:31.707] | : penv <- env [07:31:31.707] | : env <- parent.env(env) [07:31:31.707] | : } [07:31:31.707] | : if (identical(penv, globalenv())) { [07:31:31.707] | : environment(...future.FUN) <- environment() [07:31:31.707] | : } [07:31:31.707] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.707] | : !isNamespace(penv)) { [07:31:31.707] | : parent.env(penv) <- environment() [07:31:31.707] | : } [07:31:31.707] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.707] | : { [07:31:31.707] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.707] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.707] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.707] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.707] | : on.exit(options(oopts), add = TRUE) [07:31:31.707] | : } [07:31:31.707] | : { [07:31:31.707] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.707] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.707] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.707] | : { [07:31:31.707] | : ...future.FUN(...future.X_jj, ...) [07:31:31.707] | : } [07:31:31.707] | : }) [07:31:31.707] | : } [07:31:31.707] | : } [07:31:31.707] | : }, args = future.call.arguments) [07:31:31.707] | : } [07:31:31.707] | : Globals: 5 objects totaling 4.93 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) [07:31:31.707] | : Packages: [07:31:31.707] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.707] | : Capture standard output: TRUE [07:31:31.707] | : Capture condition classes: 'condition' (excluding '') [07:31:31.707] | : Immediate condition classes: 'immediateCondition' [07:31:31.707] | : Lazy evaluation: FALSE [07:31:31.707] | : Local evaluation: TRUE [07:31:31.707] | : Early signaling: FALSE [07:31:31.707] | : Actions: [n=1] 'run' [07:31:31.707] | : State: 'running' ("Future is being evaluated") [07:31:31.707] | : Resolved: TRUE [07:31:31.707] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-43 [07:31:31.707] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.707] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.707] | : Value: [07:31:31.707] | : Conditions captured: [07:31:31.717] | : Chunk #9 of 10 ... DONE [07:31:31.718] | : Chunk #10 of 10 ... [07:31:31.719] | : - Finding globals in 'X' for chunk #10 ... [07:31:31.721] | : + additional globals found: [n=0] [07:31:31.722] | : + additional namespaces needed: [n=0] [07:31:31.723] | : - Finding globals in 'X' for chunk #10 ... DONE [07:31:31.724] | : - Adjusted option 'future.globals.maxSize': 2306 -> 10 * 2306 = 23056 (bytes) [07:31:31.725] | : - seeds: [07:31:31.726] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.731] | : Created future: [07:31:31.732] | : MultisessionFuture: [07:31:31.732] | : Label: 'fz:base::lapply-10' [07:31:31.732] | : Expression: [07:31:31.732] | : { [07:31:31.732] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.732] | : "# expression in do.call(), because function called uses '...' " [07:31:31.732] | : "# as a global variable " [07:31:31.732] | : do.call(function(...) { [07:31:31.732] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.732] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.732] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.732] | : "# anonymous function. " [07:31:31.732] | : "# " [07:31:31.732] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.732] | : "# function environment of FUN() to the calling environment. " [07:31:31.732] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.732] | : "# global environment, which is where globals are written. " [07:31:31.732] | : penv <- env <- environment(...future.FUN) [07:31:31.732] | : repeat { [07:31:31.732] | : if (identical(env, globalenv()) || identical(env, [07:31:31.732] | : emptyenv())) [07:31:31.732] | : break [07:31:31.732] | : penv <- env [07:31:31.732] | : env <- parent.env(env) [07:31:31.732] | : } [07:31:31.732] | : if (identical(penv, globalenv())) { [07:31:31.732] | : environment(...future.FUN) <- environment() [07:31:31.732] | : } [07:31:31.732] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.732] | : !isNamespace(penv)) { [07:31:31.732] | : parent.env(penv) <- environment() [07:31:31.732] | : } [07:31:31.732] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.732] | : { [07:31:31.732] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.732] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.732] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.732] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.732] | : on.exit(options(oopts), add = TRUE) [07:31:31.732] | : } [07:31:31.732] | : { [07:31:31.732] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.732] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.732] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.732] | : { [07:31:31.732] | : ...future.FUN(...future.X_jj, ...) [07:31:31.732] | : } [07:31:31.732] | : }) [07:31:31.732] | : } [07:31:31.732] | : } [07:31:31.732] | : }, args = future.call.arguments) [07:31:31.732] | : } [07:31:31.732] | : Globals: 5 objects totaling 4.93 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) [07:31:31.732] | : Packages: [07:31:31.732] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.732] | : Capture standard output: TRUE [07:31:31.732] | : Capture condition classes: 'condition' (excluding '') [07:31:31.732] | : Immediate condition classes: 'immediateCondition' [07:31:31.732] | : Lazy evaluation: FALSE [07:31:31.732] | : Local evaluation: TRUE [07:31:31.732] | : Early signaling: FALSE [07:31:31.732] | : Actions: [n=1] 'run' [07:31:31.732] | : State: 'running' ("Future is being evaluated") [07:31:31.732] | : Resolved: TRUE [07:31:31.732] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-44 [07:31:31.732] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.732] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.732] | : Value: [07:31:31.732] | : Conditions captured: [07:31:31.738] | : Chunk #10 of 10 ... DONE [07:31:31.739] | : Launching 10 futures (chunks) ... DONE [07:31:31.740] | : Resolving 10 futures (chunks) ... [07:31:31.747] | : - Number of value chunks collected: 10 [07:31:31.748] | : Resolving 10 futures (chunks) ... DONE [07:31:31.749] | : Reducing values from 10 chunks ... [07:31:31.750] | : - Number of values collected after concatenation: 10 [07:31:31.751] | : - Number of values expected: 10 [07:31:31.752] | : Reducing values from 10 chunks ... DONE [07:31:31.752] | future_lapply() -> future_xapply() ... done [07:31:31.753] 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 [07:31:31.762] future_lapply() ... [07:31:31.764] | Globals in FUN(): [n=2] '{', 'getOption' [07:31:31.765] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.765] | future_lapply() -> future_xapply() ... [07:31:31.766] | : Number of chunks: 5 [07:31:31.767] | : getGlobalsAndPackagesXApply() ... [07:31:31.768] | : . future.globals: TRUE [07:31:31.775] | : . globals found/used: [n=1] 'FUN' [07:31:31.776] | : . needed namespaces: [n=0] [07:31:31.777] | : . use_args: TRUE [07:31:31.777] | : . Getting '...' globals ... [07:31:31.778] | : . ' '...' content: [n=0] [07:31:31.779] | : . ' List of 1 [07:31:31.779] | : . ' $ ...: list() [07:31:31.779] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.779] | : . ' - attr(*, "where")=List of 1 [07:31:31.779] | : . ' ..$ ...: [07:31:31.779] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.779] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.779] | : . ' - attr(*, "total_size")= num NA [07:31:31.783] | : . Getting '...' globals ... done [07:31:31.784] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:31.784] | : . List of 2 [07:31:31.784] | : . $ ...future.FUN:function (x) [07:31:31.784] | : . $ ... : list() [07:31:31.784] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.784] | : . - attr(*, "where")=List of 2 [07:31:31.784] | : . ..$ ...future.FUN: [07:31:31.784] | : . ..$ ... : [07:31:31.784] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.784] | : . - attr(*, "resolved")= logi FALSE [07:31:31.784] | : . - attr(*, "total_size")= num 4690 [07:31:31.792] | : . Packages to be attached in all futures: [n=0] [07:31:31.793] | : getGlobalsAndPackagesXApply() ... done [07:31:31.794] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.795] | : List of 5 [07:31:31.795] | : $ ...future.FUN :function (x) [07:31:31.795] | : $ ... : list() [07:31:31.795] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.795] | : $ ...future.elements_ii : NULL [07:31:31.795] | : $ ...future.seeds_ii : NULL [07:31:31.795] | : $ ...future.globals.maxSize: NULL [07:31:31.795] | : - attr(*, "where")=List of 5 [07:31:31.795] | : ..$ ...future.FUN : [07:31:31.795] | : ..$ ... : [07:31:31.795] | : ..$ ...future.elements_ii : [07:31:31.795] | : ..$ ...future.seeds_ii : [07:31:31.795] | : ..$ ...future.globals.maxSize: [07:31:31.795] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.795] | : - attr(*, "resolved")= logi FALSE [07:31:31.795] | : - attr(*, "total_size")= num 4690 [07:31:31.804] | : Number of futures (= number of chunks): 5 [07:31:31.805] | : Launching 5 futures (chunks) ... [07:31:31.806] | : Chunk #1 of 5 ... [07:31:31.807] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.808] | : + additional globals found: [n=0] [07:31:31.809] | : + additional namespaces needed: [n=0] [07:31:31.810] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.811] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [07:31:31.812] | : - seeds: [07:31:31.813] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.817] | : Created future: [07:31:31.818] | : MultisessionFuture: [07:31:31.818] | : Label: 'fz:base::lapply-1' [07:31:31.818] | : Expression: [07:31:31.818] | : { [07:31:31.818] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.818] | : "# expression in do.call(), because function called uses '...' " [07:31:31.818] | : "# as a global variable " [07:31:31.818] | : do.call(function(...) { [07:31:31.818] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.818] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.818] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.818] | : "# anonymous function. " [07:31:31.818] | : "# " [07:31:31.818] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.818] | : "# function environment of FUN() to the calling environment. " [07:31:31.818] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.818] | : "# global environment, which is where globals are written. " [07:31:31.818] | : penv <- env <- environment(...future.FUN) [07:31:31.818] | : repeat { [07:31:31.818] | : if (identical(env, globalenv()) || identical(env, [07:31:31.818] | : emptyenv())) [07:31:31.818] | : break [07:31:31.818] | : penv <- env [07:31:31.818] | : env <- parent.env(env) [07:31:31.818] | : } [07:31:31.818] | : if (identical(penv, globalenv())) { [07:31:31.818] | : environment(...future.FUN) <- environment() [07:31:31.818] | : } [07:31:31.818] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.818] | : !isNamespace(penv)) { [07:31:31.818] | : parent.env(penv) <- environment() [07:31:31.818] | : } [07:31:31.818] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.818] | : { [07:31:31.818] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.818] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.818] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.818] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.818] | : on.exit(options(oopts), add = TRUE) [07:31:31.818] | : } [07:31:31.818] | : { [07:31:31.818] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.818] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.818] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.818] | : { [07:31:31.818] | : ...future.FUN(...future.X_jj, ...) [07:31:31.818] | : } [07:31:31.818] | : }) [07:31:31.818] | : } [07:31:31.818] | : } [07:31:31.818] | : }, args = future.call.arguments) [07:31:31.818] | : } [07:31:31.818] | : 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) [07:31:31.818] | : Packages: [07:31:31.818] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.818] | : Capture standard output: TRUE [07:31:31.818] | : Capture condition classes: 'condition' (excluding '') [07:31:31.818] | : Immediate condition classes: 'immediateCondition' [07:31:31.818] | : Lazy evaluation: FALSE [07:31:31.818] | : Local evaluation: TRUE [07:31:31.818] | : Early signaling: FALSE [07:31:31.818] | : Actions: [n=1] 'run' [07:31:31.818] | : State: 'running' ("Future is being evaluated") [07:31:31.818] | : Resolved: TRUE [07:31:31.818] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-45 [07:31:31.818] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.818] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.818] | : Value: [07:31:31.818] | : Conditions captured: [07:31:31.826] | : Chunk #1 of 5 ... DONE [07:31:31.827] | : Chunk #2 of 5 ... [07:31:31.828] | : - Finding globals in 'X' for chunk #2 ... [07:31:31.829] | : + additional globals found: [n=0] [07:31:31.830] | : + additional namespaces needed: [n=0] [07:31:31.830] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:31.831] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [07:31:31.832] | : - seeds: [07:31:31.833] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.837] | : Created future: [07:31:31.837] | : MultisessionFuture: [07:31:31.837] | : Label: 'fz:base::lapply-2' [07:31:31.837] | : Expression: [07:31:31.837] | : { [07:31:31.837] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.837] | : "# expression in do.call(), because function called uses '...' " [07:31:31.837] | : "# as a global variable " [07:31:31.837] | : do.call(function(...) { [07:31:31.837] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.837] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.837] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.837] | : "# anonymous function. " [07:31:31.837] | : "# " [07:31:31.837] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.837] | : "# function environment of FUN() to the calling environment. " [07:31:31.837] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.837] | : "# global environment, which is where globals are written. " [07:31:31.837] | : penv <- env <- environment(...future.FUN) [07:31:31.837] | : repeat { [07:31:31.837] | : if (identical(env, globalenv()) || identical(env, [07:31:31.837] | : emptyenv())) [07:31:31.837] | : break [07:31:31.837] | : penv <- env [07:31:31.837] | : env <- parent.env(env) [07:31:31.837] | : } [07:31:31.837] | : if (identical(penv, globalenv())) { [07:31:31.837] | : environment(...future.FUN) <- environment() [07:31:31.837] | : } [07:31:31.837] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.837] | : !isNamespace(penv)) { [07:31:31.837] | : parent.env(penv) <- environment() [07:31:31.837] | : } [07:31:31.837] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.837] | : { [07:31:31.837] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.837] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.837] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.837] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.837] | : on.exit(options(oopts), add = TRUE) [07:31:31.837] | : } [07:31:31.837] | : { [07:31:31.837] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.837] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.837] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.837] | : { [07:31:31.837] | : ...future.FUN(...future.X_jj, ...) [07:31:31.837] | : } [07:31:31.837] | : }) [07:31:31.837] | : } [07:31:31.837] | : } [07:31:31.837] | : }, args = future.call.arguments) [07:31:31.837] | : } [07:31:31.837] | : 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) [07:31:31.837] | : Packages: [07:31:31.837] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.837] | : Capture standard output: TRUE [07:31:31.837] | : Capture condition classes: 'condition' (excluding '') [07:31:31.837] | : Immediate condition classes: 'immediateCondition' [07:31:31.837] | : Lazy evaluation: FALSE [07:31:31.837] | : Local evaluation: TRUE [07:31:31.837] | : Early signaling: FALSE [07:31:31.837] | : Actions: [n=1] 'run' [07:31:31.837] | : State: 'running' ("Future is being evaluated") [07:31:31.837] | : Resolved: TRUE [07:31:31.837] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-46 [07:31:31.837] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.837] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.837] | : Value: [07:31:31.837] | : Conditions captured: [07:31:31.843] | : Chunk #2 of 5 ... DONE [07:31:31.844] | : Chunk #3 of 5 ... [07:31:31.844] | : - Finding globals in 'X' for chunk #3 ... [07:31:31.845] | : + additional globals found: [n=0] [07:31:31.846] | : + additional namespaces needed: [n=0] [07:31:31.847] | : - Finding globals in 'X' for chunk #3 ... DONE [07:31:31.847] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [07:31:31.848] | : - seeds: [07:31:31.848] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.851] | : Created future: [07:31:31.852] | : MultisessionFuture: [07:31:31.852] | : Label: 'fz:base::lapply-3' [07:31:31.852] | : Expression: [07:31:31.852] | : { [07:31:31.852] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.852] | : "# expression in do.call(), because function called uses '...' " [07:31:31.852] | : "# as a global variable " [07:31:31.852] | : do.call(function(...) { [07:31:31.852] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.852] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.852] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.852] | : "# anonymous function. " [07:31:31.852] | : "# " [07:31:31.852] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.852] | : "# function environment of FUN() to the calling environment. " [07:31:31.852] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.852] | : "# global environment, which is where globals are written. " [07:31:31.852] | : penv <- env <- environment(...future.FUN) [07:31:31.852] | : repeat { [07:31:31.852] | : if (identical(env, globalenv()) || identical(env, [07:31:31.852] | : emptyenv())) [07:31:31.852] | : break [07:31:31.852] | : penv <- env [07:31:31.852] | : env <- parent.env(env) [07:31:31.852] | : } [07:31:31.852] | : if (identical(penv, globalenv())) { [07:31:31.852] | : environment(...future.FUN) <- environment() [07:31:31.852] | : } [07:31:31.852] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.852] | : !isNamespace(penv)) { [07:31:31.852] | : parent.env(penv) <- environment() [07:31:31.852] | : } [07:31:31.852] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.852] | : { [07:31:31.852] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.852] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.852] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.852] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.852] | : on.exit(options(oopts), add = TRUE) [07:31:31.852] | : } [07:31:31.852] | : { [07:31:31.852] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.852] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.852] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.852] | : { [07:31:31.852] | : ...future.FUN(...future.X_jj, ...) [07:31:31.852] | : } [07:31:31.852] | : }) [07:31:31.852] | : } [07:31:31.852] | : } [07:31:31.852] | : }, args = future.call.arguments) [07:31:31.852] | : } [07:31:31.852] | : 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) [07:31:31.852] | : Packages: [07:31:31.852] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.852] | : Capture standard output: TRUE [07:31:31.852] | : Capture condition classes: 'condition' (excluding '') [07:31:31.852] | : Immediate condition classes: 'immediateCondition' [07:31:31.852] | : Lazy evaluation: FALSE [07:31:31.852] | : Local evaluation: TRUE [07:31:31.852] | : Early signaling: FALSE [07:31:31.852] | : Actions: [n=1] 'run' [07:31:31.852] | : State: 'running' ("Future is being evaluated") [07:31:31.852] | : Resolved: TRUE [07:31:31.852] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-47 [07:31:31.852] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.852] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.852] | : Value: [07:31:31.852] | : Conditions captured: [07:31:31.859] | : Chunk #3 of 5 ... DONE [07:31:31.859] | : Chunk #4 of 5 ... [07:31:31.860] | : - Finding globals in 'X' for chunk #4 ... [07:31:31.861] | : + additional globals found: [n=0] [07:31:31.861] | : + additional namespaces needed: [n=0] [07:31:31.862] | : - Finding globals in 'X' for chunk #4 ... DONE [07:31:31.863] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [07:31:31.863] | : - seeds: [07:31:31.864] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.867] | : Created future: [07:31:31.868] | : MultisessionFuture: [07:31:31.868] | : Label: 'fz:base::lapply-4' [07:31:31.868] | : Expression: [07:31:31.868] | : { [07:31:31.868] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.868] | : "# expression in do.call(), because function called uses '...' " [07:31:31.868] | : "# as a global variable " [07:31:31.868] | : do.call(function(...) { [07:31:31.868] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.868] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.868] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.868] | : "# anonymous function. " [07:31:31.868] | : "# " [07:31:31.868] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.868] | : "# function environment of FUN() to the calling environment. " [07:31:31.868] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.868] | : "# global environment, which is where globals are written. " [07:31:31.868] | : penv <- env <- environment(...future.FUN) [07:31:31.868] | : repeat { [07:31:31.868] | : if (identical(env, globalenv()) || identical(env, [07:31:31.868] | : emptyenv())) [07:31:31.868] | : break [07:31:31.868] | : penv <- env [07:31:31.868] | : env <- parent.env(env) [07:31:31.868] | : } [07:31:31.868] | : if (identical(penv, globalenv())) { [07:31:31.868] | : environment(...future.FUN) <- environment() [07:31:31.868] | : } [07:31:31.868] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.868] | : !isNamespace(penv)) { [07:31:31.868] | : parent.env(penv) <- environment() [07:31:31.868] | : } [07:31:31.868] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.868] | : { [07:31:31.868] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.868] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.868] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.868] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.868] | : on.exit(options(oopts), add = TRUE) [07:31:31.868] | : } [07:31:31.868] | : { [07:31:31.868] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.868] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.868] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.868] | : { [07:31:31.868] | : ...future.FUN(...future.X_jj, ...) [07:31:31.868] | : } [07:31:31.868] | : }) [07:31:31.868] | : } [07:31:31.868] | : } [07:31:31.868] | : }, args = future.call.arguments) [07:31:31.868] | : } [07:31:31.868] | : 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) [07:31:31.868] | : Packages: [07:31:31.868] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.868] | : Capture standard output: TRUE [07:31:31.868] | : Capture condition classes: 'condition' (excluding '') [07:31:31.868] | : Immediate condition classes: 'immediateCondition' [07:31:31.868] | : Lazy evaluation: FALSE [07:31:31.868] | : Local evaluation: TRUE [07:31:31.868] | : Early signaling: FALSE [07:31:31.868] | : Actions: [n=1] 'run' [07:31:31.868] | : State: 'running' ("Future is being evaluated") [07:31:31.868] | : Resolved: TRUE [07:31:31.868] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-48 [07:31:31.868] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.868] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.868] | : Value: [07:31:31.868] | : Conditions captured: [07:31:31.873] | : Chunk #4 of 5 ... DONE [07:31:31.873] | : Chunk #5 of 5 ... [07:31:31.874] | : - Finding globals in 'X' for chunk #5 ... [07:31:31.875] | : + additional globals found: [n=0] [07:31:31.875] | : + additional namespaces needed: [n=0] [07:31:31.876] | : - Finding globals in 'X' for chunk #5 ... DONE [07:31:31.877] | : - Adjusted option 'future.globals.maxSize': 2306 -> 5 * 2306 = 11528 (bytes) [07:31:31.877] | : - seeds: [07:31:31.878] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.880] | : Created future: [07:31:31.881] | : MultisessionFuture: [07:31:31.881] | : Label: 'fz:base::lapply-5' [07:31:31.881] | : Expression: [07:31:31.881] | : { [07:31:31.881] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.881] | : "# expression in do.call(), because function called uses '...' " [07:31:31.881] | : "# as a global variable " [07:31:31.881] | : do.call(function(...) { [07:31:31.881] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.881] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.881] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.881] | : "# anonymous function. " [07:31:31.881] | : "# " [07:31:31.881] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.881] | : "# function environment of FUN() to the calling environment. " [07:31:31.881] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.881] | : "# global environment, which is where globals are written. " [07:31:31.881] | : penv <- env <- environment(...future.FUN) [07:31:31.881] | : repeat { [07:31:31.881] | : if (identical(env, globalenv()) || identical(env, [07:31:31.881] | : emptyenv())) [07:31:31.881] | : break [07:31:31.881] | : penv <- env [07:31:31.881] | : env <- parent.env(env) [07:31:31.881] | : } [07:31:31.881] | : if (identical(penv, globalenv())) { [07:31:31.881] | : environment(...future.FUN) <- environment() [07:31:31.881] | : } [07:31:31.881] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.881] | : !isNamespace(penv)) { [07:31:31.881] | : parent.env(penv) <- environment() [07:31:31.881] | : } [07:31:31.881] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.881] | : { [07:31:31.881] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.881] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.881] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.881] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.881] | : on.exit(options(oopts), add = TRUE) [07:31:31.881] | : } [07:31:31.881] | : { [07:31:31.881] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.881] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.881] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.881] | : { [07:31:31.881] | : ...future.FUN(...future.X_jj, ...) [07:31:31.881] | : } [07:31:31.881] | : }) [07:31:31.881] | : } [07:31:31.881] | : } [07:31:31.881] | : }, args = future.call.arguments) [07:31:31.881] | : } [07:31:31.881] | : 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) [07:31:31.881] | : Packages: [07:31:31.881] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.881] | : Capture standard output: TRUE [07:31:31.881] | : Capture condition classes: 'condition' (excluding '') [07:31:31.881] | : Immediate condition classes: 'immediateCondition' [07:31:31.881] | : Lazy evaluation: FALSE [07:31:31.881] | : Local evaluation: TRUE [07:31:31.881] | : Early signaling: FALSE [07:31:31.881] | : Actions: [n=1] 'run' [07:31:31.881] | : State: 'running' ("Future is being evaluated") [07:31:31.881] | : Resolved: TRUE [07:31:31.881] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-49 [07:31:31.881] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.881] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.881] | : Value: [07:31:31.881] | : Conditions captured: [07:31:31.889] | : Chunk #5 of 5 ... DONE [07:31:31.890] | : Launching 5 futures (chunks) ... DONE [07:31:31.891] | : Resolving 5 futures (chunks) ... [07:31:31.893] | : - Number of value chunks collected: 5 [07:31:31.894] | : Resolving 5 futures (chunks) ... DONE [07:31:31.894] | : Reducing values from 5 chunks ... [07:31:31.895] | : - Number of values collected after concatenation: 10 [07:31:31.895] | : - Number of values expected: 10 [07:31:31.896] | : Reducing values from 5 chunks ... DONE [07:31:31.896] | future_lapply() -> future_xapply() ... done [07:31:31.897] 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 [07:31:31.905] future_lapply() ... [07:31:31.907] | Globals in FUN(): [n=2] '{', 'getOption' [07:31:31.908] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:31.909] | future_lapply() -> future_xapply() ... [07:31:31.911] | : Number of chunks: 2 [07:31:31.912] | : getGlobalsAndPackagesXApply() ... [07:31:31.913] | : . future.globals: TRUE [07:31:31.924] | : . globals found/used: [n=1] 'FUN' [07:31:31.925] | : . needed namespaces: [n=0] [07:31:31.926] | : . use_args: TRUE [07:31:31.927] | : . Getting '...' globals ... [07:31:31.929] | : . ' '...' content: [n=0] [07:31:31.930] | : . ' List of 1 [07:31:31.930] | : . ' $ ...: list() [07:31:31.930] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.930] | : . ' - attr(*, "where")=List of 1 [07:31:31.930] | : . ' ..$ ...: [07:31:31.930] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.930] | : . ' - attr(*, "resolved")= logi TRUE [07:31:31.930] | : . ' - attr(*, "total_size")= num NA [07:31:31.935] | : . Getting '...' globals ... done [07:31:31.936] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:31.937] | : . List of 2 [07:31:31.937] | : . $ ...future.FUN:function (x) [07:31:31.937] | : . $ ... : list() [07:31:31.937] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.937] | : . - attr(*, "where")=List of 2 [07:31:31.937] | : . ..$ ...future.FUN: [07:31:31.937] | : . ..$ ... : [07:31:31.937] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.937] | : . - attr(*, "resolved")= logi FALSE [07:31:31.937] | : . - attr(*, "total_size")= num 4690 [07:31:31.943] | : . Packages to be attached in all futures: [n=0] [07:31:31.944] | : getGlobalsAndPackagesXApply() ... done [07:31:31.945] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.946] | : List of 5 [07:31:31.946] | : $ ...future.FUN :function (x) [07:31:31.946] | : $ ... : list() [07:31:31.946] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:31.946] | : $ ...future.elements_ii : NULL [07:31:31.946] | : $ ...future.seeds_ii : NULL [07:31:31.946] | : $ ...future.globals.maxSize: NULL [07:31:31.946] | : - attr(*, "where")=List of 5 [07:31:31.946] | : ..$ ...future.FUN : [07:31:31.946] | : ..$ ... : [07:31:31.946] | : ..$ ...future.elements_ii : [07:31:31.946] | : ..$ ...future.seeds_ii : [07:31:31.946] | : ..$ ...future.globals.maxSize: [07:31:31.946] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:31.946] | : - attr(*, "resolved")= logi FALSE [07:31:31.946] | : - attr(*, "total_size")= num 4690 [07:31:31.954] | : Number of futures (= number of chunks): 2 [07:31:31.955] | : Launching 2 futures (chunks) ... [07:31:31.956] | : Chunk #1 of 2 ... [07:31:31.957] | : - Finding globals in 'X' for chunk #1 ... [07:31:31.958] | : + additional globals found: [n=0] [07:31:31.959] | : + additional namespaces needed: [n=0] [07:31:31.959] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:31.960] | : - Adjusted option 'future.globals.maxSize': 2306 -> 2 * 2306 = 4611 (bytes) [07:31:31.960] | : - seeds: [07:31:31.961] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.965] | : Created future: [07:31:31.965] | : MultisessionFuture: [07:31:31.965] | : Label: 'fz:base::lapply-1' [07:31:31.965] | : Expression: [07:31:31.965] | : { [07:31:31.965] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.965] | : "# expression in do.call(), because function called uses '...' " [07:31:31.965] | : "# as a global variable " [07:31:31.965] | : do.call(function(...) { [07:31:31.965] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.965] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.965] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.965] | : "# anonymous function. " [07:31:31.965] | : "# " [07:31:31.965] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.965] | : "# function environment of FUN() to the calling environment. " [07:31:31.965] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.965] | : "# global environment, which is where globals are written. " [07:31:31.965] | : penv <- env <- environment(...future.FUN) [07:31:31.965] | : repeat { [07:31:31.965] | : if (identical(env, globalenv()) || identical(env, [07:31:31.965] | : emptyenv())) [07:31:31.965] | : break [07:31:31.965] | : penv <- env [07:31:31.965] | : env <- parent.env(env) [07:31:31.965] | : } [07:31:31.965] | : if (identical(penv, globalenv())) { [07:31:31.965] | : environment(...future.FUN) <- environment() [07:31:31.965] | : } [07:31:31.965] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.965] | : !isNamespace(penv)) { [07:31:31.965] | : parent.env(penv) <- environment() [07:31:31.965] | : } [07:31:31.965] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.965] | : { [07:31:31.965] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.965] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.965] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.965] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.965] | : on.exit(options(oopts), add = TRUE) [07:31:31.965] | : } [07:31:31.965] | : { [07:31:31.965] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.965] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.965] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.965] | : { [07:31:31.965] | : ...future.FUN(...future.X_jj, ...) [07:31:31.965] | : } [07:31:31.965] | : }) [07:31:31.965] | : } [07:31:31.965] | : } [07:31:31.965] | : }, args = future.call.arguments) [07:31:31.965] | : } [07:31:31.965] | : 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) [07:31:31.965] | : Packages: [07:31:31.965] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.965] | : Capture standard output: TRUE [07:31:31.965] | : Capture condition classes: 'condition' (excluding '') [07:31:31.965] | : Immediate condition classes: 'immediateCondition' [07:31:31.965] | : Lazy evaluation: FALSE [07:31:31.965] | : Local evaluation: TRUE [07:31:31.965] | : Early signaling: FALSE [07:31:31.965] | : Actions: [n=1] 'run' [07:31:31.965] | : State: 'running' ("Future is being evaluated") [07:31:31.965] | : Resolved: TRUE [07:31:31.965] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-50 [07:31:31.965] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.965] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.965] | : Value: [07:31:31.965] | : Conditions captured: [07:31:31.973] | : Chunk #1 of 2 ... DONE [07:31:31.977] | : Chunk #2 of 2 ... [07:31:31.978] | : - Finding globals in 'X' for chunk #2 ... [07:31:31.979] | : + additional globals found: [n=0] [07:31:31.980] | : + additional namespaces needed: [n=0] [07:31:31.981] | : - Finding globals in 'X' for chunk #2 ... DONE [07:31:31.981] | : - Adjusted option 'future.globals.maxSize': 2306 -> 2 * 2306 = 4611 (bytes) [07:31:31.982] | : - seeds: [07:31:31.982] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:31.986] | : Created future: [07:31:31.986] | : MultisessionFuture: [07:31:31.986] | : Label: 'fz:base::lapply-2' [07:31:31.986] | : Expression: [07:31:31.986] | : { [07:31:31.986] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:31.986] | : "# expression in do.call(), because function called uses '...' " [07:31:31.986] | : "# as a global variable " [07:31:31.986] | : do.call(function(...) { [07:31:31.986] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:31.986] | : "# without having an '...' argument. This means '...' is treated" [07:31:31.986] | : "# as a global variable. This may happen when FUN() is an " [07:31:31.986] | : "# anonymous function. " [07:31:31.986] | : "# " [07:31:31.986] | : "# If an anonymous function, we will make sure to restore the " [07:31:31.986] | : "# function environment of FUN() to the calling environment. " [07:31:31.986] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:31.986] | : "# global environment, which is where globals are written. " [07:31:31.986] | : penv <- env <- environment(...future.FUN) [07:31:31.986] | : repeat { [07:31:31.986] | : if (identical(env, globalenv()) || identical(env, [07:31:31.986] | : emptyenv())) [07:31:31.986] | : break [07:31:31.986] | : penv <- env [07:31:31.986] | : env <- parent.env(env) [07:31:31.986] | : } [07:31:31.986] | : if (identical(penv, globalenv())) { [07:31:31.986] | : environment(...future.FUN) <- environment() [07:31:31.986] | : } [07:31:31.986] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:31.986] | : !isNamespace(penv)) { [07:31:31.986] | : parent.env(penv) <- environment() [07:31:31.986] | : } [07:31:31.986] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:31.986] | : { [07:31:31.986] | : "# future.apply:::future_xapply(): preserve future option" [07:31:31.986] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:31.986] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:31.986] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:31.986] | : on.exit(options(oopts), add = TRUE) [07:31:31.986] | : } [07:31:31.986] | : { [07:31:31.986] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:31.986] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:31.986] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:31.986] | : { [07:31:31.986] | : ...future.FUN(...future.X_jj, ...) [07:31:31.986] | : } [07:31:31.986] | : }) [07:31:31.986] | : } [07:31:31.986] | : } [07:31:31.986] | : }, args = future.call.arguments) [07:31:31.986] | : } [07:31:31.986] | : 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) [07:31:31.986] | : Packages: [07:31:31.986] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:31.986] | : Capture standard output: TRUE [07:31:31.986] | : Capture condition classes: 'condition' (excluding '') [07:31:31.986] | : Immediate condition classes: 'immediateCondition' [07:31:31.986] | : Lazy evaluation: FALSE [07:31:31.986] | : Local evaluation: TRUE [07:31:31.986] | : Early signaling: FALSE [07:31:31.986] | : Actions: [n=1] 'run' [07:31:31.986] | : State: 'running' ("Future is being evaluated") [07:31:31.986] | : Resolved: TRUE [07:31:31.986] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-51 [07:31:31.986] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:31.986] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:31.986] | : Value: [07:31:31.986] | : Conditions captured: [07:31:31.993] | : Chunk #2 of 2 ... DONE [07:31:31.994] | : Launching 2 futures (chunks) ... DONE [07:31:31.994] | : Resolving 2 futures (chunks) ... [07:31:31.996] | : - Number of value chunks collected: 2 [07:31:31.996] | : Resolving 2 futures (chunks) ... DONE [07:31:31.997] | : Reducing values from 2 chunks ... [07:31:31.997] | : - Number of values collected after concatenation: 10 [07:31:31.998] | : - Number of values expected: 10 [07:31:31.998] | : Reducing values from 2 chunks ... DONE [07:31:31.999] | future_lapply() -> future_xapply() ... done [07:31:32.000] 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 [07:31:32.005] future_lapply() ... [07:31:32.006] | Globals in FUN(): [n=2] '{', 'getOption' [07:31:32.007] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:32.008] | future_lapply() -> future_xapply() ... [07:31:32.008] | : Number of chunks: 1 [07:31:32.009] | : getGlobalsAndPackagesXApply() ... [07:31:32.009] | : . future.globals: TRUE [07:31:32.020] | : . globals found/used: [n=1] 'FUN' [07:31:32.021] | : . needed namespaces: [n=0] [07:31:32.022] | : . use_args: TRUE [07:31:32.023] | : . Getting '...' globals ... [07:31:32.024] | : . ' '...' content: [n=0] [07:31:32.025] | : . ' List of 1 [07:31:32.025] | : . ' $ ...: list() [07:31:32.025] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:32.025] | : . ' - attr(*, "where")=List of 1 [07:31:32.025] | : . ' ..$ ...: [07:31:32.025] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:32.025] | : . ' - attr(*, "resolved")= logi TRUE [07:31:32.025] | : . ' - attr(*, "total_size")= num NA [07:31:32.031] | : . Getting '...' globals ... done [07:31:32.032] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:32.033] | : . List of 2 [07:31:32.033] | : . $ ...future.FUN:function (x) [07:31:32.033] | : . $ ... : list() [07:31:32.033] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:32.033] | : . - attr(*, "where")=List of 2 [07:31:32.033] | : . ..$ ...future.FUN: [07:31:32.033] | : . ..$ ... : [07:31:32.033] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:32.033] | : . - attr(*, "resolved")= logi FALSE [07:31:32.033] | : . - attr(*, "total_size")= num 4690 [07:31:32.039] | : . Packages to be attached in all futures: [n=0] [07:31:32.040] | : getGlobalsAndPackagesXApply() ... done [07:31:32.041] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:32.042] | : List of 5 [07:31:32.042] | : $ ...future.FUN :function (x) [07:31:32.042] | : $ ... : list() [07:31:32.042] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:32.042] | : $ ...future.elements_ii : NULL [07:31:32.042] | : $ ...future.seeds_ii : NULL [07:31:32.042] | : $ ...future.globals.maxSize: NULL [07:31:32.042] | : - attr(*, "where")=List of 5 [07:31:32.042] | : ..$ ...future.FUN : [07:31:32.042] | : ..$ ... : [07:31:32.042] | : ..$ ...future.elements_ii : [07:31:32.042] | : ..$ ...future.seeds_ii : [07:31:32.042] | : ..$ ...future.globals.maxSize: [07:31:32.042] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:32.042] | : - attr(*, "resolved")= logi FALSE [07:31:32.042] | : - attr(*, "total_size")= num 4690 [07:31:32.050] | : Number of futures (= number of chunks): 1 [07:31:32.050] | : Launching 1 futures (chunks) ... [07:31:32.051] | : Chunk #1 of 1 ... [07:31:32.052] | : - Finding globals in 'X' for chunk #1 ... [07:31:32.053] | : + additional globals found: [n=0] [07:31:32.054] | : + additional namespaces needed: [n=0] [07:31:32.055] | : - Finding globals in 'X' for chunk #1 ... DONE [07:31:32.056] | : - seeds: [07:31:32.057] | : - All globals exported: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:32.061] | : Created future: [07:31:32.062] | : MultisessionFuture: [07:31:32.062] | : Label: 'fz:base::lapply-1' [07:31:32.062] | : Expression: [07:31:32.062] | : { [07:31:32.062] | : "# future::getGlobalsAndPackages(): wrapping the original future" [07:31:32.062] | : "# expression in do.call(), because function called uses '...' " [07:31:32.062] | : "# as a global variable " [07:31:32.062] | : do.call(function(...) { [07:31:32.062] | : "# future::getGlobalsAndPackages(): FUN() uses '...' internally " [07:31:32.062] | : "# without having an '...' argument. This means '...' is treated" [07:31:32.062] | : "# as a global variable. This may happen when FUN() is an " [07:31:32.062] | : "# anonymous function. " [07:31:32.062] | : "# " [07:31:32.062] | : "# If an anonymous function, we will make sure to restore the " [07:31:32.062] | : "# function environment of FUN() to the calling environment. " [07:31:32.062] | : "# We assume FUN() an anonymous function if it lives in the " [07:31:32.062] | : "# global environment, which is where globals are written. " [07:31:32.062] | : penv <- env <- environment(...future.FUN) [07:31:32.062] | : repeat { [07:31:32.062] | : if (identical(env, globalenv()) || identical(env, [07:31:32.062] | : emptyenv())) [07:31:32.062] | : break [07:31:32.062] | : penv <- env [07:31:32.062] | : env <- parent.env(env) [07:31:32.062] | : } [07:31:32.062] | : if (identical(penv, globalenv())) { [07:31:32.062] | : environment(...future.FUN) <- environment() [07:31:32.062] | : } [07:31:32.062] | : else if (!identical(penv, emptyenv()) && !is.null(penv) && [07:31:32.062] | : !isNamespace(penv)) { [07:31:32.062] | : parent.env(penv) <- environment() [07:31:32.062] | : } [07:31:32.062] | : rm(list = c("env", "penv"), inherits = FALSE) [07:31:32.062] | : { [07:31:32.062] | : "# future.apply:::future_xapply(): preserve future option" [07:31:32.062] | : ...future.globals.maxSize.org <- getOption("future.globals.maxSize") [07:31:32.062] | : if (!identical(...future.globals.maxSize.org, ...future.globals.maxSize)) { [07:31:32.062] | : oopts <- options(future.globals.maxSize = ...future.globals.maxSize) [07:31:32.062] | : on.exit(options(oopts), add = TRUE) [07:31:32.062] | : } [07:31:32.062] | : { [07:31:32.062] | : "# future.apply::future_lapply(): process chunk of elements" [07:31:32.062] | : lapply(seq_along(...future.elements_ii), FUN = function(jj) { [07:31:32.062] | : ...future.X_jj <- ...future.elements_ii[[jj]] [07:31:32.062] | : { [07:31:32.062] | : ...future.FUN(...future.X_jj, ...) [07:31:32.062] | : } [07:31:32.062] | : }) [07:31:32.062] | : } [07:31:32.062] | : } [07:31:32.062] | : }, args = future.call.arguments) [07:31:32.062] | : } [07:31:32.062] | : Globals: 5 objects totaling 5.60 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) [07:31:32.062] | : Packages: [07:31:32.062] | : L'Ecuyer-CMRG RNG seed: (seed = FALSE) [07:31:32.062] | : Capture standard output: TRUE [07:31:32.062] | : Capture condition classes: 'condition' (excluding '') [07:31:32.062] | : Immediate condition classes: 'immediateCondition' [07:31:32.062] | : Lazy evaluation: FALSE [07:31:32.062] | : Local evaluation: TRUE [07:31:32.062] | : Early signaling: FALSE [07:31:32.062] | : Actions: [n=1] 'run' [07:31:32.062] | : State: 'running' ("Future is being evaluated") [07:31:32.062] | : Resolved: TRUE [07:31:32.062] | : Unique identifier: ad03221f1d0dc9e8c09c0445cbec2bc5-52 [07:31:32.062] | : Owner process: ad03221f1d0dc9e8c09c0445cbec2bc5 [07:31:32.062] | : Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future' [07:31:32.062] | : Value: [07:31:32.062] | : Conditions captured: [07:31:32.068] | : Chunk #1 of 1 ... DONE [07:31:32.069] | : Launching 1 futures (chunks) ... DONE [07:31:32.069] | : Resolving 1 futures (chunks) ... [07:31:32.071] | : - Number of value chunks collected: 1 [07:31:32.071] | : Resolving 1 futures (chunks) ... DONE [07:31:32.072] | : Reducing values from 1 chunks ... [07:31:32.073] | : - Number of values collected after concatenation: 10 [07:31:32.073] | : - Number of values expected: 10 [07:31:32.074] | : Reducing values from 1 chunks ... DONE [07:31:32.075] | future_lapply() -> future_xapply() ... done [07:31:32.075] 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 ... [07:31:32.082] future_lapply() ... [07:31:32.083] | Globals in FUN(): [n=0] [07:31:32.084] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:32.085] | future_lapply() -> future_xapply() ... [07:31:32.086] | : Number of chunks: 1 [07:31:32.086] | : getGlobalsAndPackagesXApply() ... [07:31:32.087] | : getGlobalsAndPackagesXApply() ... done [07:31:32.088] | future_lapply() -> future_xapply() ... done [07:31:32.088] future_lapply() ... done [07:31:32.090] future_lapply() ... [07:31:32.091] | Globals in FUN(): [n=0] [07:31:32.091] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:32.092] | future_lapply() -> future_xapply() ... [07:31:32.093] | : Number of chunks: 1 [07:31:32.094] | : getGlobalsAndPackagesXApply() ... [07:31:32.094] | : . future.globals: with names [07:31:32.095] | : getGlobalsAndPackagesXApply() ... done [07:31:32.096] | future_lapply() -> future_xapply() ... done [07:31:32.096] future_lapply() ... done [07:31:32.097] future_lapply() ... [07:31:32.099] | Globals in FUN(): [n=0] [07:31:32.099] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:32.100] | future_lapply() -> future_xapply() ... [07:31:32.101] | : Number of chunks: 1 [07:31:32.101] | : getGlobalsAndPackagesXApply() ... [07:31:32.102] | : . future.globals: '...future.FUN' [07:31:32.103] | : . use_args: TRUE [07:31:32.104] | : getGlobalsAndPackagesXApply() ... done [07:31:32.105] | future_lapply() -> future_xapply() ... done [07:31:32.105] future_lapply() ... done [07:31:32.106] future_lapply() ... [07:31:32.108] | Globals in FUN(): [n=0] [07:31:32.108] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:32.109] | future_lapply() -> future_xapply() ... [07:31:32.110] | : Number of chunks: 1 [07:31:32.111] | : getGlobalsAndPackagesXApply() ... [07:31:32.111] | : . future.globals: '...future.FUN' [07:31:32.112] | : . use_args: TRUE [07:31:32.113] | : getGlobalsAndPackagesXApply() ... done [07:31:32.114] | future_lapply() -> future_xapply() ... done [07:31:32.114] future_lapply() ... done [07:31:32.116] future_lapply() ... [07:31:32.117] | Globals in FUN(): [n=0] [07:31:32.118] | => Will pass '...' to FUN(): '{', ' ...future.FUN(...future.X_jj, ...)', '}' [07:31:32.119] | future_lapply() -> future_xapply() ... [07:31:32.119] | : Number of chunks: 1 [07:31:32.121] | : getGlobalsAndPackagesXApply() ... [07:31:32.122] | : . future.globals: TRUE [07:31:32.130] | : . globals found/used: [n=1] 'FUN' [07:31:32.131] | : . needed namespaces: [n=0] [07:31:32.132] | : . use_args: TRUE [07:31:32.133] | : . Getting '...' globals ... [07:31:32.135] | : . ' '...' content: [n=0] [07:31:32.136] | : . ' List of 1 [07:31:32.136] | : . ' $ ...: list() [07:31:32.136] | : . ' ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:32.136] | : . ' - attr(*, "where")=List of 1 [07:31:32.136] | : . ' ..$ ...: [07:31:32.136] | : . ' - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:32.136] | : . ' - attr(*, "resolved")= logi TRUE [07:31:32.136] | : . ' - attr(*, "total_size")= num NA [07:31:32.142] | : . Getting '...' globals ... done [07:31:32.146] | : . Globals to be used in all futures (chunks): [n=2] '...future.FUN', '...' [07:31:32.147] | : . List of 2 [07:31:32.147] | : . $ ...future.FUN:function (f) [07:31:32.147] | : . $ ... : list() [07:31:32.147] | : . ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:32.147] | : . - attr(*, "where")=List of 2 [07:31:32.147] | : . ..$ ...future.FUN: [07:31:32.147] | : . ..$ ... : [07:31:32.147] | : . - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:32.147] | : . - attr(*, "resolved")= logi FALSE [07:31:32.147] | : . - attr(*, "total_size")= num 3259 [07:31:32.154] | : . Packages to be attached in all futures: [n=0] [07:31:32.155] | : getGlobalsAndPackagesXApply() ... done [07:31:32.156] | : Globals pass to each chunk: [n=5] '...future.FUN', '...', '...future.elements_ii', '...future.seeds_ii', '...future.globals.maxSize' [07:31:32.157] | : List of 5 [07:31:32.157] | : $ ...future.FUN :function (f) [07:31:32.157] | : $ ... : list() [07:31:32.157] | : ..- attr(*, "class")= chr [1:2] "DotDotDotList" "list" [07:31:32.157] | : $ ...future.elements_ii : NULL [07:31:32.157] | : $ ...future.seeds_ii : NULL [07:31:32.157] | : $ ...future.globals.maxSize: NULL [07:31:32.157] | : - attr(*, "where")=List of 5 [07:31:32.157] | : ..$ ...future.FUN : [07:31:32.157] | : ..$ ... : [07:31:32.157] | : ..$ ...future.elements_ii : [07:31:32.157] | : ..$ ...future.seeds_ii : [07:31:32.157] | : ..$ ...future.globals.maxSize: [07:31:32.157] | : - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [07:31:32.157] | : - attr(*, "resolved")= logi FALSE [07:31:32.157] | : - attr(*, "total_size")= num 3259 [07:31:32.165] | : Number of futures (= number of chunks): 1 [07:31:32.167] | : Launching 1 futures (chunks) ... [07:31:32.167] | : Chunk #1 of 1 ... [07:31:32.168] | : - Finding globals in 'X' for chunk #1 ... [07:31:32.181] | : + additional globals found: [n=1] '...future.elements_ii' [07:31:32.182] | : + additional namespaces needed: [n=0] [07:31:32.183] | : onError() ... [07:31:32.184] | : . Received Warning: Caught simpleError. Canceling all iterations ... [07:31:32.186] | : . Signaling: [07:31:32.187] | : onError() ... done [07:31:32.188] | future_lapply() -> future_xapply() ... done [07:31:32.189] future_lapply() ... done *** future_lapply() - globals exceptions ... DONE Failed to undo environment variables: - Expected environment variables: [n=219] '!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_BIBTOOLS_CACHE_BIBENTRIES_', '_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_04_01_06_55_16_3646' Test time: user.self=4s, sys.self=0.3s, elapsed=7s, user.child=NAs, sys.child=NAs Test 'future.apply-future_lapply,globals' ... success > > proc.time() user system elapsed 4.87 0.50 7.07