R Under development (unstable) (2024-03-25 r86192 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > source("incl/start.R") [17:26:32.734] plan(): Setting new future strategy stack: [17:26:32.735] List of future strategies: [17:26:32.735] 1. sequential: [17:26:32.735] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.735] - tweaked: FALSE [17:26:32.735] - call: future::plan("sequential") [17:26:32.751] plan(): nbrOfWorkers() = 1 > > message("*** futureAssign() ...") *** futureAssign() ... > > message("*** futureAssign() - sequential w/ lazy evaluation ...") *** futureAssign() - sequential w/ lazy evaluation ... > > delayedAssign("a", { + cat("Delayed assignment evaluated\n") + 1 + }) > > futureAssign("b", { + cat("Future assignment evaluated\n") + 2 + }, lazy = TRUE) [17:26:32.758] getGlobalsAndPackages() ... [17:26:32.758] Searching for globals... [17:26:32.765] - globals found: [2] '{', 'cat' [17:26:32.765] Searching for globals ... DONE [17:26:32.766] Resolving globals: FALSE [17:26:32.766] [17:26:32.766] [17:26:32.767] getGlobalsAndPackages() ... DONE > > ## Because "lazy future" is used, the expression/value > ## for 'b' will not be resolved at the point. For other > ## types of futures, it may already have been resolved > cat(sprintf("b = %s\n", b)) [17:26:32.768] run() for 'Future' ... [17:26:32.768] - state: 'created' [17:26:32.768] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.769] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.769] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.769] - Field: 'label' [17:26:32.769] - Field: 'local' [17:26:32.769] - Field: 'owner' [17:26:32.770] - Field: 'envir' [17:26:32.770] - Field: 'packages' [17:26:32.770] - Field: 'gc' [17:26:32.770] - Field: 'conditions' [17:26:32.770] - Field: 'expr' [17:26:32.770] - Field: 'uuid' [17:26:32.771] - Field: 'seed' [17:26:32.771] - Field: 'version' [17:26:32.771] - Field: 'result' [17:26:32.771] - Field: 'asynchronous' [17:26:32.771] - Field: 'calls' [17:26:32.771] - Field: 'globals' [17:26:32.772] - Field: 'stdout' [17:26:32.772] - Field: 'earlySignal' [17:26:32.772] - Field: 'lazy' [17:26:32.772] - Field: 'state' [17:26:32.772] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.773] - Launch lazy future ... [17:26:32.773] Packages needed by the future expression (n = 0): [17:26:32.774] Packages needed by future strategies (n = 0): [17:26:32.775] { [17:26:32.775] { [17:26:32.775] { [17:26:32.775] ...future.startTime <- base::Sys.time() [17:26:32.775] { [17:26:32.775] { [17:26:32.775] { [17:26:32.775] base::local({ [17:26:32.775] has_future <- base::requireNamespace("future", [17:26:32.775] quietly = TRUE) [17:26:32.775] if (has_future) { [17:26:32.775] ns <- base::getNamespace("future") [17:26:32.775] version <- ns[[".package"]][["version"]] [17:26:32.775] if (is.null(version)) [17:26:32.775] version <- utils::packageVersion("future") [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] version <- NULL [17:26:32.775] } [17:26:32.775] if (!has_future || version < "1.8.0") { [17:26:32.775] info <- base::c(r_version = base::gsub("R version ", [17:26:32.775] "", base::R.version$version.string), [17:26:32.775] platform = base::sprintf("%s (%s-bit)", [17:26:32.775] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.775] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.775] "release", "version")], collapse = " "), [17:26:32.775] hostname = base::Sys.info()[["nodename"]]) [17:26:32.775] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.775] info) [17:26:32.775] info <- base::paste(info, collapse = "; ") [17:26:32.775] if (!has_future) { [17:26:32.775] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.775] info) [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.775] info, version) [17:26:32.775] } [17:26:32.775] base::stop(msg) [17:26:32.775] } [17:26:32.775] }) [17:26:32.775] } [17:26:32.775] ...future.strategy.old <- future::plan("list") [17:26:32.775] options(future.plan = NULL) [17:26:32.775] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.775] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.775] } [17:26:32.775] ...future.workdir <- getwd() [17:26:32.775] } [17:26:32.775] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.775] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.775] } [17:26:32.775] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.775] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.775] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.775] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.775] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.775] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.775] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.775] base::names(...future.oldOptions)) [17:26:32.775] } [17:26:32.775] if (FALSE) { [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] if (TRUE) { [17:26:32.775] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.775] open = "w") [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.775] windows = "NUL", "/dev/null"), open = "w") [17:26:32.775] } [17:26:32.775] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.775] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.775] base::sink(type = "output", split = FALSE) [17:26:32.775] base::close(...future.stdout) [17:26:32.775] }, add = TRUE) [17:26:32.775] } [17:26:32.775] ...future.frame <- base::sys.nframe() [17:26:32.775] ...future.conditions <- base::list() [17:26:32.775] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.775] if (FALSE) { [17:26:32.775] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.775] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.775] } [17:26:32.775] ...future.result <- base::tryCatch({ [17:26:32.775] base::withCallingHandlers({ [17:26:32.775] ...future.value <- base::withVisible(base::local({ [17:26:32.775] cat("Future assignment evaluated\n") [17:26:32.775] 2 [17:26:32.775] })) [17:26:32.775] future::FutureResult(value = ...future.value$value, [17:26:32.775] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.775] ...future.rng), globalenv = if (FALSE) [17:26:32.775] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.775] ...future.globalenv.names)) [17:26:32.775] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.775] }, condition = base::local({ [17:26:32.775] c <- base::c [17:26:32.775] inherits <- base::inherits [17:26:32.775] invokeRestart <- base::invokeRestart [17:26:32.775] length <- base::length [17:26:32.775] list <- base::list [17:26:32.775] seq.int <- base::seq.int [17:26:32.775] signalCondition <- base::signalCondition [17:26:32.775] sys.calls <- base::sys.calls [17:26:32.775] `[[` <- base::`[[` [17:26:32.775] `+` <- base::`+` [17:26:32.775] `<<-` <- base::`<<-` [17:26:32.775] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.775] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.775] 3L)] [17:26:32.775] } [17:26:32.775] function(cond) { [17:26:32.775] is_error <- inherits(cond, "error") [17:26:32.775] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.775] NULL) [17:26:32.775] if (is_error) { [17:26:32.775] sessionInformation <- function() { [17:26:32.775] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.775] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.775] search = base::search(), system = base::Sys.info()) [17:26:32.775] } [17:26:32.775] ...future.conditions[[length(...future.conditions) + [17:26:32.775] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.775] cond$call), session = sessionInformation(), [17:26:32.775] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.775] signalCondition(cond) [17:26:32.775] } [17:26:32.775] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.775] "immediateCondition"))) { [17:26:32.775] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.775] ...future.conditions[[length(...future.conditions) + [17:26:32.775] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.775] if (TRUE && !signal) { [17:26:32.775] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.775] { [17:26:32.775] inherits <- base::inherits [17:26:32.775] invokeRestart <- base::invokeRestart [17:26:32.775] is.null <- base::is.null [17:26:32.775] muffled <- FALSE [17:26:32.775] if (inherits(cond, "message")) { [17:26:32.775] muffled <- grepl(pattern, "muffleMessage") [17:26:32.775] if (muffled) [17:26:32.775] invokeRestart("muffleMessage") [17:26:32.775] } [17:26:32.775] else if (inherits(cond, "warning")) { [17:26:32.775] muffled <- grepl(pattern, "muffleWarning") [17:26:32.775] if (muffled) [17:26:32.775] invokeRestart("muffleWarning") [17:26:32.775] } [17:26:32.775] else if (inherits(cond, "condition")) { [17:26:32.775] if (!is.null(pattern)) { [17:26:32.775] computeRestarts <- base::computeRestarts [17:26:32.775] grepl <- base::grepl [17:26:32.775] restarts <- computeRestarts(cond) [17:26:32.775] for (restart in restarts) { [17:26:32.775] name <- restart$name [17:26:32.775] if (is.null(name)) [17:26:32.775] next [17:26:32.775] if (!grepl(pattern, name)) [17:26:32.775] next [17:26:32.775] invokeRestart(restart) [17:26:32.775] muffled <- TRUE [17:26:32.775] break [17:26:32.775] } [17:26:32.775] } [17:26:32.775] } [17:26:32.775] invisible(muffled) [17:26:32.775] } [17:26:32.775] muffleCondition(cond, pattern = "^muffle") [17:26:32.775] } [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] if (TRUE) { [17:26:32.775] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.775] { [17:26:32.775] inherits <- base::inherits [17:26:32.775] invokeRestart <- base::invokeRestart [17:26:32.775] is.null <- base::is.null [17:26:32.775] muffled <- FALSE [17:26:32.775] if (inherits(cond, "message")) { [17:26:32.775] muffled <- grepl(pattern, "muffleMessage") [17:26:32.775] if (muffled) [17:26:32.775] invokeRestart("muffleMessage") [17:26:32.775] } [17:26:32.775] else if (inherits(cond, "warning")) { [17:26:32.775] muffled <- grepl(pattern, "muffleWarning") [17:26:32.775] if (muffled) [17:26:32.775] invokeRestart("muffleWarning") [17:26:32.775] } [17:26:32.775] else if (inherits(cond, "condition")) { [17:26:32.775] if (!is.null(pattern)) { [17:26:32.775] computeRestarts <- base::computeRestarts [17:26:32.775] grepl <- base::grepl [17:26:32.775] restarts <- computeRestarts(cond) [17:26:32.775] for (restart in restarts) { [17:26:32.775] name <- restart$name [17:26:32.775] if (is.null(name)) [17:26:32.775] next [17:26:32.775] if (!grepl(pattern, name)) [17:26:32.775] next [17:26:32.775] invokeRestart(restart) [17:26:32.775] muffled <- TRUE [17:26:32.775] break [17:26:32.775] } [17:26:32.775] } [17:26:32.775] } [17:26:32.775] invisible(muffled) [17:26:32.775] } [17:26:32.775] muffleCondition(cond, pattern = "^muffle") [17:26:32.775] } [17:26:32.775] } [17:26:32.775] } [17:26:32.775] })) [17:26:32.775] }, error = function(ex) { [17:26:32.775] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.775] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.775] ...future.rng), started = ...future.startTime, [17:26:32.775] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.775] version = "1.8"), class = "FutureResult") [17:26:32.775] }, finally = { [17:26:32.775] if (!identical(...future.workdir, getwd())) [17:26:32.775] setwd(...future.workdir) [17:26:32.775] { [17:26:32.775] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.775] ...future.oldOptions$nwarnings <- NULL [17:26:32.775] } [17:26:32.775] base::options(...future.oldOptions) [17:26:32.775] if (.Platform$OS.type == "windows") { [17:26:32.775] old_names <- names(...future.oldEnvVars) [17:26:32.775] envs <- base::Sys.getenv() [17:26:32.775] names <- names(envs) [17:26:32.775] common <- intersect(names, old_names) [17:26:32.775] added <- setdiff(names, old_names) [17:26:32.775] removed <- setdiff(old_names, names) [17:26:32.775] changed <- common[...future.oldEnvVars[common] != [17:26:32.775] envs[common]] [17:26:32.775] NAMES <- toupper(changed) [17:26:32.775] args <- list() [17:26:32.775] for (kk in seq_along(NAMES)) { [17:26:32.775] name <- changed[[kk]] [17:26:32.775] NAME <- NAMES[[kk]] [17:26:32.775] if (name != NAME && is.element(NAME, old_names)) [17:26:32.775] next [17:26:32.775] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.775] } [17:26:32.775] NAMES <- toupper(added) [17:26:32.775] for (kk in seq_along(NAMES)) { [17:26:32.775] name <- added[[kk]] [17:26:32.775] NAME <- NAMES[[kk]] [17:26:32.775] if (name != NAME && is.element(NAME, old_names)) [17:26:32.775] next [17:26:32.775] args[[name]] <- "" [17:26:32.775] } [17:26:32.775] NAMES <- toupper(removed) [17:26:32.775] for (kk in seq_along(NAMES)) { [17:26:32.775] name <- removed[[kk]] [17:26:32.775] NAME <- NAMES[[kk]] [17:26:32.775] if (name != NAME && is.element(NAME, old_names)) [17:26:32.775] next [17:26:32.775] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.775] } [17:26:32.775] if (length(args) > 0) [17:26:32.775] base::do.call(base::Sys.setenv, args = args) [17:26:32.775] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.775] } [17:26:32.775] { [17:26:32.775] if (base::length(...future.futureOptionsAdded) > [17:26:32.775] 0L) { [17:26:32.775] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.775] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.775] base::options(opts) [17:26:32.775] } [17:26:32.775] { [17:26:32.775] { [17:26:32.775] NULL [17:26:32.775] RNGkind("Mersenne-Twister") [17:26:32.775] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.775] inherits = FALSE) [17:26:32.775] } [17:26:32.775] options(future.plan = NULL) [17:26:32.775] if (is.na(NA_character_)) [17:26:32.775] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.775] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.775] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.775] .init = FALSE) [17:26:32.775] } [17:26:32.775] } [17:26:32.775] } [17:26:32.775] }) [17:26:32.775] if (TRUE) { [17:26:32.775] base::sink(type = "output", split = FALSE) [17:26:32.775] if (TRUE) { [17:26:32.775] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.775] } [17:26:32.775] else { [17:26:32.775] ...future.result["stdout"] <- base::list(NULL) [17:26:32.775] } [17:26:32.775] base::close(...future.stdout) [17:26:32.775] ...future.stdout <- NULL [17:26:32.775] } [17:26:32.775] ...future.result$conditions <- ...future.conditions [17:26:32.775] ...future.result$finished <- base::Sys.time() [17:26:32.775] ...future.result [17:26:32.775] } [17:26:32.779] plan(): Setting new future strategy stack: [17:26:32.779] List of future strategies: [17:26:32.779] 1. sequential: [17:26:32.779] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.779] - tweaked: FALSE [17:26:32.779] - call: NULL [17:26:32.780] plan(): nbrOfWorkers() = 1 [17:26:32.782] plan(): Setting new future strategy stack: [17:26:32.782] List of future strategies: [17:26:32.782] 1. sequential: [17:26:32.782] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.782] - tweaked: FALSE [17:26:32.782] - call: future::plan("sequential") [17:26:32.783] plan(): nbrOfWorkers() = 1 [17:26:32.783] SequentialFuture started (and completed) [17:26:32.784] - Launch lazy future ... done [17:26:32.784] run() for 'SequentialFuture' ... done Future assignment evaluated b = 2 > > ## The expression/value of 'a' is resolved at this point, > ## because a delayed assignment (promise) was used. > cat(sprintf("a = %s\n", a)) Delayed assignment evaluated a = 1 > > stopifnot(identical(a, 1)) > stopifnot(identical(b, 2)) > > message("*** futureAssign() - sequential w/ lazy evaluation ... DONE") *** futureAssign() - sequential w/ lazy evaluation ... DONE > > > message("*** futureAssign() - lazy = TRUE / FALSE ...") *** futureAssign() - lazy = TRUE / FALSE ... > > for (cores in 1:availCores) { + ## Speed up CRAN checks: Skip on CRAN Windows 32-bit + if (!fullTest && isWin32) next + + message(sprintf("Testing with %d cores ...", cores)) + options(mc.cores = cores) + + for (strategy in supportedStrategies(cores)) { + message(sprintf("*** futureAssign() with %s futures ...", sQuote(strategy))) + plan(strategy) + + ## Potential task name clashes + u <- new.env() + v <- new.env() + futureAssign("a", { 2 }, assign.env = u) + futureAssign("a", { 4 }, assign.env = v) + + cat(sprintf("u$a = %s\n", u$a)) + cat(sprintf("v$a = %s\n", v$a)) + + stopifnot(identical(u$a, 2)) + stopifnot(identical(v$a, 4)) + + + ## Global variables + a <- 1 + futureAssign("b", { 2 * a }) + a <- 2 + stopifnot(b == 2) + + ## Explicit lazy evaluation + for (lazy in c(FALSE, TRUE)) { + a <- 1 + f <- futureAssign("b", { 2 * a }, lazy = lazy) + a <- 2 + stopifnot(b == 2) + stopifnot(f$lazy == lazy || (strategy %in% c("multisession", "multicore") && cores == 1L)) + + ## Set 'lazy' via disposable option + options(future.disposable = list(lazy = lazy)) + a <- 1 + f <- futureAssign("b", { 2 * a }) + a <- 2 + stopifnot(b == 2) + stopifnot(f$lazy == lazy || (strategy %in% c("multisession", "multicore") && cores == 1L)) + } + + message(sprintf("*** futureAssign() with %s futures ... DONE", sQuote(strategy))) + } # for (strategy in ...) + + message(sprintf("Testing with %d cores ... DONE", cores)) + } ## for (cores ...) Testing with 1 cores ... *** futureAssign() with 'sequential' futures ... [17:26:32.816] plan(): Setting new future strategy stack: [17:26:32.816] List of future strategies: [17:26:32.816] 1. sequential: [17:26:32.816] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.816] - tweaked: FALSE [17:26:32.816] - call: plan(strategy) [17:26:32.830] plan(): nbrOfWorkers() = 1 [17:26:32.830] getGlobalsAndPackages() ... [17:26:32.830] Searching for globals... [17:26:32.831] - globals found: [1] '{' [17:26:32.831] Searching for globals ... DONE [17:26:32.831] Resolving globals: FALSE [17:26:32.831] [17:26:32.832] [17:26:32.832] getGlobalsAndPackages() ... DONE [17:26:32.832] run() for 'Future' ... [17:26:32.832] - state: 'created' [17:26:32.832] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.833] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.833] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.833] - Field: 'label' [17:26:32.833] - Field: 'local' [17:26:32.833] - Field: 'owner' [17:26:32.834] - Field: 'envir' [17:26:32.834] - Field: 'packages' [17:26:32.834] - Field: 'gc' [17:26:32.834] - Field: 'conditions' [17:26:32.834] - Field: 'expr' [17:26:32.834] - Field: 'uuid' [17:26:32.835] - Field: 'seed' [17:26:32.835] - Field: 'version' [17:26:32.835] - Field: 'result' [17:26:32.835] - Field: 'asynchronous' [17:26:32.835] - Field: 'calls' [17:26:32.836] - Field: 'globals' [17:26:32.836] - Field: 'stdout' [17:26:32.836] - Field: 'earlySignal' [17:26:32.836] - Field: 'lazy' [17:26:32.836] - Field: 'state' [17:26:32.836] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.837] - Launch lazy future ... [17:26:32.837] Packages needed by the future expression (n = 0): [17:26:32.837] Packages needed by future strategies (n = 0): [17:26:32.837] { [17:26:32.837] { [17:26:32.837] { [17:26:32.837] ...future.startTime <- base::Sys.time() [17:26:32.837] { [17:26:32.837] { [17:26:32.837] { [17:26:32.837] base::local({ [17:26:32.837] has_future <- base::requireNamespace("future", [17:26:32.837] quietly = TRUE) [17:26:32.837] if (has_future) { [17:26:32.837] ns <- base::getNamespace("future") [17:26:32.837] version <- ns[[".package"]][["version"]] [17:26:32.837] if (is.null(version)) [17:26:32.837] version <- utils::packageVersion("future") [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] version <- NULL [17:26:32.837] } [17:26:32.837] if (!has_future || version < "1.8.0") { [17:26:32.837] info <- base::c(r_version = base::gsub("R version ", [17:26:32.837] "", base::R.version$version.string), [17:26:32.837] platform = base::sprintf("%s (%s-bit)", [17:26:32.837] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.837] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.837] "release", "version")], collapse = " "), [17:26:32.837] hostname = base::Sys.info()[["nodename"]]) [17:26:32.837] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.837] info) [17:26:32.837] info <- base::paste(info, collapse = "; ") [17:26:32.837] if (!has_future) { [17:26:32.837] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.837] info) [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.837] info, version) [17:26:32.837] } [17:26:32.837] base::stop(msg) [17:26:32.837] } [17:26:32.837] }) [17:26:32.837] } [17:26:32.837] ...future.strategy.old <- future::plan("list") [17:26:32.837] options(future.plan = NULL) [17:26:32.837] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.837] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.837] } [17:26:32.837] ...future.workdir <- getwd() [17:26:32.837] } [17:26:32.837] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.837] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.837] } [17:26:32.837] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.837] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.837] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.837] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.837] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.837] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.837] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.837] base::names(...future.oldOptions)) [17:26:32.837] } [17:26:32.837] if (FALSE) { [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] if (TRUE) { [17:26:32.837] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.837] open = "w") [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.837] windows = "NUL", "/dev/null"), open = "w") [17:26:32.837] } [17:26:32.837] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.837] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.837] base::sink(type = "output", split = FALSE) [17:26:32.837] base::close(...future.stdout) [17:26:32.837] }, add = TRUE) [17:26:32.837] } [17:26:32.837] ...future.frame <- base::sys.nframe() [17:26:32.837] ...future.conditions <- base::list() [17:26:32.837] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.837] if (FALSE) { [17:26:32.837] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.837] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.837] } [17:26:32.837] ...future.result <- base::tryCatch({ [17:26:32.837] base::withCallingHandlers({ [17:26:32.837] ...future.value <- base::withVisible(base::local({ [17:26:32.837] 2 [17:26:32.837] })) [17:26:32.837] future::FutureResult(value = ...future.value$value, [17:26:32.837] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.837] ...future.rng), globalenv = if (FALSE) [17:26:32.837] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.837] ...future.globalenv.names)) [17:26:32.837] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.837] }, condition = base::local({ [17:26:32.837] c <- base::c [17:26:32.837] inherits <- base::inherits [17:26:32.837] invokeRestart <- base::invokeRestart [17:26:32.837] length <- base::length [17:26:32.837] list <- base::list [17:26:32.837] seq.int <- base::seq.int [17:26:32.837] signalCondition <- base::signalCondition [17:26:32.837] sys.calls <- base::sys.calls [17:26:32.837] `[[` <- base::`[[` [17:26:32.837] `+` <- base::`+` [17:26:32.837] `<<-` <- base::`<<-` [17:26:32.837] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.837] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.837] 3L)] [17:26:32.837] } [17:26:32.837] function(cond) { [17:26:32.837] is_error <- inherits(cond, "error") [17:26:32.837] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.837] NULL) [17:26:32.837] if (is_error) { [17:26:32.837] sessionInformation <- function() { [17:26:32.837] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.837] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.837] search = base::search(), system = base::Sys.info()) [17:26:32.837] } [17:26:32.837] ...future.conditions[[length(...future.conditions) + [17:26:32.837] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.837] cond$call), session = sessionInformation(), [17:26:32.837] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.837] signalCondition(cond) [17:26:32.837] } [17:26:32.837] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.837] "immediateCondition"))) { [17:26:32.837] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.837] ...future.conditions[[length(...future.conditions) + [17:26:32.837] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.837] if (TRUE && !signal) { [17:26:32.837] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.837] { [17:26:32.837] inherits <- base::inherits [17:26:32.837] invokeRestart <- base::invokeRestart [17:26:32.837] is.null <- base::is.null [17:26:32.837] muffled <- FALSE [17:26:32.837] if (inherits(cond, "message")) { [17:26:32.837] muffled <- grepl(pattern, "muffleMessage") [17:26:32.837] if (muffled) [17:26:32.837] invokeRestart("muffleMessage") [17:26:32.837] } [17:26:32.837] else if (inherits(cond, "warning")) { [17:26:32.837] muffled <- grepl(pattern, "muffleWarning") [17:26:32.837] if (muffled) [17:26:32.837] invokeRestart("muffleWarning") [17:26:32.837] } [17:26:32.837] else if (inherits(cond, "condition")) { [17:26:32.837] if (!is.null(pattern)) { [17:26:32.837] computeRestarts <- base::computeRestarts [17:26:32.837] grepl <- base::grepl [17:26:32.837] restarts <- computeRestarts(cond) [17:26:32.837] for (restart in restarts) { [17:26:32.837] name <- restart$name [17:26:32.837] if (is.null(name)) [17:26:32.837] next [17:26:32.837] if (!grepl(pattern, name)) [17:26:32.837] next [17:26:32.837] invokeRestart(restart) [17:26:32.837] muffled <- TRUE [17:26:32.837] break [17:26:32.837] } [17:26:32.837] } [17:26:32.837] } [17:26:32.837] invisible(muffled) [17:26:32.837] } [17:26:32.837] muffleCondition(cond, pattern = "^muffle") [17:26:32.837] } [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] if (TRUE) { [17:26:32.837] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.837] { [17:26:32.837] inherits <- base::inherits [17:26:32.837] invokeRestart <- base::invokeRestart [17:26:32.837] is.null <- base::is.null [17:26:32.837] muffled <- FALSE [17:26:32.837] if (inherits(cond, "message")) { [17:26:32.837] muffled <- grepl(pattern, "muffleMessage") [17:26:32.837] if (muffled) [17:26:32.837] invokeRestart("muffleMessage") [17:26:32.837] } [17:26:32.837] else if (inherits(cond, "warning")) { [17:26:32.837] muffled <- grepl(pattern, "muffleWarning") [17:26:32.837] if (muffled) [17:26:32.837] invokeRestart("muffleWarning") [17:26:32.837] } [17:26:32.837] else if (inherits(cond, "condition")) { [17:26:32.837] if (!is.null(pattern)) { [17:26:32.837] computeRestarts <- base::computeRestarts [17:26:32.837] grepl <- base::grepl [17:26:32.837] restarts <- computeRestarts(cond) [17:26:32.837] for (restart in restarts) { [17:26:32.837] name <- restart$name [17:26:32.837] if (is.null(name)) [17:26:32.837] next [17:26:32.837] if (!grepl(pattern, name)) [17:26:32.837] next [17:26:32.837] invokeRestart(restart) [17:26:32.837] muffled <- TRUE [17:26:32.837] break [17:26:32.837] } [17:26:32.837] } [17:26:32.837] } [17:26:32.837] invisible(muffled) [17:26:32.837] } [17:26:32.837] muffleCondition(cond, pattern = "^muffle") [17:26:32.837] } [17:26:32.837] } [17:26:32.837] } [17:26:32.837] })) [17:26:32.837] }, error = function(ex) { [17:26:32.837] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.837] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.837] ...future.rng), started = ...future.startTime, [17:26:32.837] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.837] version = "1.8"), class = "FutureResult") [17:26:32.837] }, finally = { [17:26:32.837] if (!identical(...future.workdir, getwd())) [17:26:32.837] setwd(...future.workdir) [17:26:32.837] { [17:26:32.837] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.837] ...future.oldOptions$nwarnings <- NULL [17:26:32.837] } [17:26:32.837] base::options(...future.oldOptions) [17:26:32.837] if (.Platform$OS.type == "windows") { [17:26:32.837] old_names <- names(...future.oldEnvVars) [17:26:32.837] envs <- base::Sys.getenv() [17:26:32.837] names <- names(envs) [17:26:32.837] common <- intersect(names, old_names) [17:26:32.837] added <- setdiff(names, old_names) [17:26:32.837] removed <- setdiff(old_names, names) [17:26:32.837] changed <- common[...future.oldEnvVars[common] != [17:26:32.837] envs[common]] [17:26:32.837] NAMES <- toupper(changed) [17:26:32.837] args <- list() [17:26:32.837] for (kk in seq_along(NAMES)) { [17:26:32.837] name <- changed[[kk]] [17:26:32.837] NAME <- NAMES[[kk]] [17:26:32.837] if (name != NAME && is.element(NAME, old_names)) [17:26:32.837] next [17:26:32.837] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.837] } [17:26:32.837] NAMES <- toupper(added) [17:26:32.837] for (kk in seq_along(NAMES)) { [17:26:32.837] name <- added[[kk]] [17:26:32.837] NAME <- NAMES[[kk]] [17:26:32.837] if (name != NAME && is.element(NAME, old_names)) [17:26:32.837] next [17:26:32.837] args[[name]] <- "" [17:26:32.837] } [17:26:32.837] NAMES <- toupper(removed) [17:26:32.837] for (kk in seq_along(NAMES)) { [17:26:32.837] name <- removed[[kk]] [17:26:32.837] NAME <- NAMES[[kk]] [17:26:32.837] if (name != NAME && is.element(NAME, old_names)) [17:26:32.837] next [17:26:32.837] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.837] } [17:26:32.837] if (length(args) > 0) [17:26:32.837] base::do.call(base::Sys.setenv, args = args) [17:26:32.837] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.837] } [17:26:32.837] { [17:26:32.837] if (base::length(...future.futureOptionsAdded) > [17:26:32.837] 0L) { [17:26:32.837] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.837] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.837] base::options(opts) [17:26:32.837] } [17:26:32.837] { [17:26:32.837] { [17:26:32.837] NULL [17:26:32.837] RNGkind("Mersenne-Twister") [17:26:32.837] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.837] inherits = FALSE) [17:26:32.837] } [17:26:32.837] options(future.plan = NULL) [17:26:32.837] if (is.na(NA_character_)) [17:26:32.837] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.837] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.837] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.837] .init = FALSE) [17:26:32.837] } [17:26:32.837] } [17:26:32.837] } [17:26:32.837] }) [17:26:32.837] if (TRUE) { [17:26:32.837] base::sink(type = "output", split = FALSE) [17:26:32.837] if (TRUE) { [17:26:32.837] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.837] } [17:26:32.837] else { [17:26:32.837] ...future.result["stdout"] <- base::list(NULL) [17:26:32.837] } [17:26:32.837] base::close(...future.stdout) [17:26:32.837] ...future.stdout <- NULL [17:26:32.837] } [17:26:32.837] ...future.result$conditions <- ...future.conditions [17:26:32.837] ...future.result$finished <- base::Sys.time() [17:26:32.837] ...future.result [17:26:32.837] } [17:26:32.841] plan(): Setting new future strategy stack: [17:26:32.842] List of future strategies: [17:26:32.842] 1. sequential: [17:26:32.842] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.842] - tweaked: FALSE [17:26:32.842] - call: NULL [17:26:32.842] plan(): nbrOfWorkers() = 1 [17:26:32.843] plan(): Setting new future strategy stack: [17:26:32.843] List of future strategies: [17:26:32.843] 1. sequential: [17:26:32.843] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.843] - tweaked: FALSE [17:26:32.843] - call: plan(strategy) [17:26:32.844] plan(): nbrOfWorkers() = 1 [17:26:32.844] SequentialFuture started (and completed) [17:26:32.845] - Launch lazy future ... done [17:26:32.845] run() for 'SequentialFuture' ... done [17:26:32.845] getGlobalsAndPackages() ... [17:26:32.845] Searching for globals... [17:26:32.846] - globals found: [1] '{' [17:26:32.846] Searching for globals ... DONE [17:26:32.846] Resolving globals: FALSE [17:26:32.846] [17:26:32.847] [17:26:32.847] getGlobalsAndPackages() ... DONE [17:26:32.847] run() for 'Future' ... [17:26:32.847] - state: 'created' [17:26:32.847] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.848] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.848] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.848] - Field: 'label' [17:26:32.848] - Field: 'local' [17:26:32.849] - Field: 'owner' [17:26:32.849] - Field: 'envir' [17:26:32.849] - Field: 'packages' [17:26:32.849] - Field: 'gc' [17:26:32.849] - Field: 'conditions' [17:26:32.849] - Field: 'expr' [17:26:32.850] - Field: 'uuid' [17:26:32.850] - Field: 'seed' [17:26:32.850] - Field: 'version' [17:26:32.850] - Field: 'result' [17:26:32.850] - Field: 'asynchronous' [17:26:32.850] - Field: 'calls' [17:26:32.851] - Field: 'globals' [17:26:32.851] - Field: 'stdout' [17:26:32.851] - Field: 'earlySignal' [17:26:32.851] - Field: 'lazy' [17:26:32.851] - Field: 'state' [17:26:32.851] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.852] - Launch lazy future ... [17:26:32.852] Packages needed by the future expression (n = 0): [17:26:32.852] Packages needed by future strategies (n = 0): [17:26:32.853] { [17:26:32.853] { [17:26:32.853] { [17:26:32.853] ...future.startTime <- base::Sys.time() [17:26:32.853] { [17:26:32.853] { [17:26:32.853] { [17:26:32.853] base::local({ [17:26:32.853] has_future <- base::requireNamespace("future", [17:26:32.853] quietly = TRUE) [17:26:32.853] if (has_future) { [17:26:32.853] ns <- base::getNamespace("future") [17:26:32.853] version <- ns[[".package"]][["version"]] [17:26:32.853] if (is.null(version)) [17:26:32.853] version <- utils::packageVersion("future") [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] version <- NULL [17:26:32.853] } [17:26:32.853] if (!has_future || version < "1.8.0") { [17:26:32.853] info <- base::c(r_version = base::gsub("R version ", [17:26:32.853] "", base::R.version$version.string), [17:26:32.853] platform = base::sprintf("%s (%s-bit)", [17:26:32.853] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.853] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.853] "release", "version")], collapse = " "), [17:26:32.853] hostname = base::Sys.info()[["nodename"]]) [17:26:32.853] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.853] info) [17:26:32.853] info <- base::paste(info, collapse = "; ") [17:26:32.853] if (!has_future) { [17:26:32.853] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.853] info) [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.853] info, version) [17:26:32.853] } [17:26:32.853] base::stop(msg) [17:26:32.853] } [17:26:32.853] }) [17:26:32.853] } [17:26:32.853] ...future.strategy.old <- future::plan("list") [17:26:32.853] options(future.plan = NULL) [17:26:32.853] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.853] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.853] } [17:26:32.853] ...future.workdir <- getwd() [17:26:32.853] } [17:26:32.853] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.853] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.853] } [17:26:32.853] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.853] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.853] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.853] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.853] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.853] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.853] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.853] base::names(...future.oldOptions)) [17:26:32.853] } [17:26:32.853] if (FALSE) { [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] if (TRUE) { [17:26:32.853] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.853] open = "w") [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.853] windows = "NUL", "/dev/null"), open = "w") [17:26:32.853] } [17:26:32.853] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.853] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.853] base::sink(type = "output", split = FALSE) [17:26:32.853] base::close(...future.stdout) [17:26:32.853] }, add = TRUE) [17:26:32.853] } [17:26:32.853] ...future.frame <- base::sys.nframe() [17:26:32.853] ...future.conditions <- base::list() [17:26:32.853] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.853] if (FALSE) { [17:26:32.853] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.853] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.853] } [17:26:32.853] ...future.result <- base::tryCatch({ [17:26:32.853] base::withCallingHandlers({ [17:26:32.853] ...future.value <- base::withVisible(base::local({ [17:26:32.853] 4 [17:26:32.853] })) [17:26:32.853] future::FutureResult(value = ...future.value$value, [17:26:32.853] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.853] ...future.rng), globalenv = if (FALSE) [17:26:32.853] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.853] ...future.globalenv.names)) [17:26:32.853] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.853] }, condition = base::local({ [17:26:32.853] c <- base::c [17:26:32.853] inherits <- base::inherits [17:26:32.853] invokeRestart <- base::invokeRestart [17:26:32.853] length <- base::length [17:26:32.853] list <- base::list [17:26:32.853] seq.int <- base::seq.int [17:26:32.853] signalCondition <- base::signalCondition [17:26:32.853] sys.calls <- base::sys.calls [17:26:32.853] `[[` <- base::`[[` [17:26:32.853] `+` <- base::`+` [17:26:32.853] `<<-` <- base::`<<-` [17:26:32.853] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.853] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.853] 3L)] [17:26:32.853] } [17:26:32.853] function(cond) { [17:26:32.853] is_error <- inherits(cond, "error") [17:26:32.853] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.853] NULL) [17:26:32.853] if (is_error) { [17:26:32.853] sessionInformation <- function() { [17:26:32.853] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.853] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.853] search = base::search(), system = base::Sys.info()) [17:26:32.853] } [17:26:32.853] ...future.conditions[[length(...future.conditions) + [17:26:32.853] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.853] cond$call), session = sessionInformation(), [17:26:32.853] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.853] signalCondition(cond) [17:26:32.853] } [17:26:32.853] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.853] "immediateCondition"))) { [17:26:32.853] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.853] ...future.conditions[[length(...future.conditions) + [17:26:32.853] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.853] if (TRUE && !signal) { [17:26:32.853] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.853] { [17:26:32.853] inherits <- base::inherits [17:26:32.853] invokeRestart <- base::invokeRestart [17:26:32.853] is.null <- base::is.null [17:26:32.853] muffled <- FALSE [17:26:32.853] if (inherits(cond, "message")) { [17:26:32.853] muffled <- grepl(pattern, "muffleMessage") [17:26:32.853] if (muffled) [17:26:32.853] invokeRestart("muffleMessage") [17:26:32.853] } [17:26:32.853] else if (inherits(cond, "warning")) { [17:26:32.853] muffled <- grepl(pattern, "muffleWarning") [17:26:32.853] if (muffled) [17:26:32.853] invokeRestart("muffleWarning") [17:26:32.853] } [17:26:32.853] else if (inherits(cond, "condition")) { [17:26:32.853] if (!is.null(pattern)) { [17:26:32.853] computeRestarts <- base::computeRestarts [17:26:32.853] grepl <- base::grepl [17:26:32.853] restarts <- computeRestarts(cond) [17:26:32.853] for (restart in restarts) { [17:26:32.853] name <- restart$name [17:26:32.853] if (is.null(name)) [17:26:32.853] next [17:26:32.853] if (!grepl(pattern, name)) [17:26:32.853] next [17:26:32.853] invokeRestart(restart) [17:26:32.853] muffled <- TRUE [17:26:32.853] break [17:26:32.853] } [17:26:32.853] } [17:26:32.853] } [17:26:32.853] invisible(muffled) [17:26:32.853] } [17:26:32.853] muffleCondition(cond, pattern = "^muffle") [17:26:32.853] } [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] if (TRUE) { [17:26:32.853] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.853] { [17:26:32.853] inherits <- base::inherits [17:26:32.853] invokeRestart <- base::invokeRestart [17:26:32.853] is.null <- base::is.null [17:26:32.853] muffled <- FALSE [17:26:32.853] if (inherits(cond, "message")) { [17:26:32.853] muffled <- grepl(pattern, "muffleMessage") [17:26:32.853] if (muffled) [17:26:32.853] invokeRestart("muffleMessage") [17:26:32.853] } [17:26:32.853] else if (inherits(cond, "warning")) { [17:26:32.853] muffled <- grepl(pattern, "muffleWarning") [17:26:32.853] if (muffled) [17:26:32.853] invokeRestart("muffleWarning") [17:26:32.853] } [17:26:32.853] else if (inherits(cond, "condition")) { [17:26:32.853] if (!is.null(pattern)) { [17:26:32.853] computeRestarts <- base::computeRestarts [17:26:32.853] grepl <- base::grepl [17:26:32.853] restarts <- computeRestarts(cond) [17:26:32.853] for (restart in restarts) { [17:26:32.853] name <- restart$name [17:26:32.853] if (is.null(name)) [17:26:32.853] next [17:26:32.853] if (!grepl(pattern, name)) [17:26:32.853] next [17:26:32.853] invokeRestart(restart) [17:26:32.853] muffled <- TRUE [17:26:32.853] break [17:26:32.853] } [17:26:32.853] } [17:26:32.853] } [17:26:32.853] invisible(muffled) [17:26:32.853] } [17:26:32.853] muffleCondition(cond, pattern = "^muffle") [17:26:32.853] } [17:26:32.853] } [17:26:32.853] } [17:26:32.853] })) [17:26:32.853] }, error = function(ex) { [17:26:32.853] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.853] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.853] ...future.rng), started = ...future.startTime, [17:26:32.853] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.853] version = "1.8"), class = "FutureResult") [17:26:32.853] }, finally = { [17:26:32.853] if (!identical(...future.workdir, getwd())) [17:26:32.853] setwd(...future.workdir) [17:26:32.853] { [17:26:32.853] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.853] ...future.oldOptions$nwarnings <- NULL [17:26:32.853] } [17:26:32.853] base::options(...future.oldOptions) [17:26:32.853] if (.Platform$OS.type == "windows") { [17:26:32.853] old_names <- names(...future.oldEnvVars) [17:26:32.853] envs <- base::Sys.getenv() [17:26:32.853] names <- names(envs) [17:26:32.853] common <- intersect(names, old_names) [17:26:32.853] added <- setdiff(names, old_names) [17:26:32.853] removed <- setdiff(old_names, names) [17:26:32.853] changed <- common[...future.oldEnvVars[common] != [17:26:32.853] envs[common]] [17:26:32.853] NAMES <- toupper(changed) [17:26:32.853] args <- list() [17:26:32.853] for (kk in seq_along(NAMES)) { [17:26:32.853] name <- changed[[kk]] [17:26:32.853] NAME <- NAMES[[kk]] [17:26:32.853] if (name != NAME && is.element(NAME, old_names)) [17:26:32.853] next [17:26:32.853] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.853] } [17:26:32.853] NAMES <- toupper(added) [17:26:32.853] for (kk in seq_along(NAMES)) { [17:26:32.853] name <- added[[kk]] [17:26:32.853] NAME <- NAMES[[kk]] [17:26:32.853] if (name != NAME && is.element(NAME, old_names)) [17:26:32.853] next [17:26:32.853] args[[name]] <- "" [17:26:32.853] } [17:26:32.853] NAMES <- toupper(removed) [17:26:32.853] for (kk in seq_along(NAMES)) { [17:26:32.853] name <- removed[[kk]] [17:26:32.853] NAME <- NAMES[[kk]] [17:26:32.853] if (name != NAME && is.element(NAME, old_names)) [17:26:32.853] next [17:26:32.853] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.853] } [17:26:32.853] if (length(args) > 0) [17:26:32.853] base::do.call(base::Sys.setenv, args = args) [17:26:32.853] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.853] } [17:26:32.853] { [17:26:32.853] if (base::length(...future.futureOptionsAdded) > [17:26:32.853] 0L) { [17:26:32.853] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.853] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.853] base::options(opts) [17:26:32.853] } [17:26:32.853] { [17:26:32.853] { [17:26:32.853] NULL [17:26:32.853] RNGkind("Mersenne-Twister") [17:26:32.853] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.853] inherits = FALSE) [17:26:32.853] } [17:26:32.853] options(future.plan = NULL) [17:26:32.853] if (is.na(NA_character_)) [17:26:32.853] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.853] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.853] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.853] .init = FALSE) [17:26:32.853] } [17:26:32.853] } [17:26:32.853] } [17:26:32.853] }) [17:26:32.853] if (TRUE) { [17:26:32.853] base::sink(type = "output", split = FALSE) [17:26:32.853] if (TRUE) { [17:26:32.853] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.853] } [17:26:32.853] else { [17:26:32.853] ...future.result["stdout"] <- base::list(NULL) [17:26:32.853] } [17:26:32.853] base::close(...future.stdout) [17:26:32.853] ...future.stdout <- NULL [17:26:32.853] } [17:26:32.853] ...future.result$conditions <- ...future.conditions [17:26:32.853] ...future.result$finished <- base::Sys.time() [17:26:32.853] ...future.result [17:26:32.853] } [17:26:32.857] plan(): Setting new future strategy stack: [17:26:32.857] List of future strategies: [17:26:32.857] 1. sequential: [17:26:32.857] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.857] - tweaked: FALSE [17:26:32.857] - call: NULL [17:26:32.857] plan(): nbrOfWorkers() = 1 [17:26:32.859] plan(): Setting new future strategy stack: [17:26:32.859] List of future strategies: [17:26:32.859] 1. sequential: [17:26:32.859] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.859] - tweaked: FALSE [17:26:32.859] - call: plan(strategy) [17:26:32.859] plan(): nbrOfWorkers() = 1 [17:26:32.860] SequentialFuture started (and completed) [17:26:32.860] - Launch lazy future ... done [17:26:32.860] run() for 'SequentialFuture' ... done u$a = 2 v$a = 4 [17:26:32.860] getGlobalsAndPackages() ... [17:26:32.861] Searching for globals... [17:26:32.862] - globals found: [3] '{', '*', 'a' [17:26:32.862] Searching for globals ... DONE [17:26:32.862] Resolving globals: FALSE [17:26:32.863] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:32.863] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:32.863] - globals: [1] 'a' [17:26:32.864] [17:26:32.864] getGlobalsAndPackages() ... DONE [17:26:32.864] run() for 'Future' ... [17:26:32.864] - state: 'created' [17:26:32.865] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.865] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.865] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.865] - Field: 'label' [17:26:32.865] - Field: 'local' [17:26:32.866] - Field: 'owner' [17:26:32.866] - Field: 'envir' [17:26:32.866] - Field: 'packages' [17:26:32.866] - Field: 'gc' [17:26:32.866] - Field: 'conditions' [17:26:32.866] - Field: 'expr' [17:26:32.867] - Field: 'uuid' [17:26:32.867] - Field: 'seed' [17:26:32.867] - Field: 'version' [17:26:32.867] - Field: 'result' [17:26:32.867] - Field: 'asynchronous' [17:26:32.868] - Field: 'calls' [17:26:32.868] - Field: 'globals' [17:26:32.868] - Field: 'stdout' [17:26:32.868] - Field: 'earlySignal' [17:26:32.868] - Field: 'lazy' [17:26:32.868] - Field: 'state' [17:26:32.869] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.869] - Launch lazy future ... [17:26:32.869] Packages needed by the future expression (n = 0): [17:26:32.869] Packages needed by future strategies (n = 0): [17:26:32.870] { [17:26:32.870] { [17:26:32.870] { [17:26:32.870] ...future.startTime <- base::Sys.time() [17:26:32.870] { [17:26:32.870] { [17:26:32.870] { [17:26:32.870] base::local({ [17:26:32.870] has_future <- base::requireNamespace("future", [17:26:32.870] quietly = TRUE) [17:26:32.870] if (has_future) { [17:26:32.870] ns <- base::getNamespace("future") [17:26:32.870] version <- ns[[".package"]][["version"]] [17:26:32.870] if (is.null(version)) [17:26:32.870] version <- utils::packageVersion("future") [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] version <- NULL [17:26:32.870] } [17:26:32.870] if (!has_future || version < "1.8.0") { [17:26:32.870] info <- base::c(r_version = base::gsub("R version ", [17:26:32.870] "", base::R.version$version.string), [17:26:32.870] platform = base::sprintf("%s (%s-bit)", [17:26:32.870] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.870] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.870] "release", "version")], collapse = " "), [17:26:32.870] hostname = base::Sys.info()[["nodename"]]) [17:26:32.870] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.870] info) [17:26:32.870] info <- base::paste(info, collapse = "; ") [17:26:32.870] if (!has_future) { [17:26:32.870] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.870] info) [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.870] info, version) [17:26:32.870] } [17:26:32.870] base::stop(msg) [17:26:32.870] } [17:26:32.870] }) [17:26:32.870] } [17:26:32.870] ...future.strategy.old <- future::plan("list") [17:26:32.870] options(future.plan = NULL) [17:26:32.870] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.870] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.870] } [17:26:32.870] ...future.workdir <- getwd() [17:26:32.870] } [17:26:32.870] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.870] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.870] } [17:26:32.870] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.870] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.870] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.870] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.870] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.870] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.870] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.870] base::names(...future.oldOptions)) [17:26:32.870] } [17:26:32.870] if (FALSE) { [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] if (TRUE) { [17:26:32.870] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.870] open = "w") [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.870] windows = "NUL", "/dev/null"), open = "w") [17:26:32.870] } [17:26:32.870] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.870] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.870] base::sink(type = "output", split = FALSE) [17:26:32.870] base::close(...future.stdout) [17:26:32.870] }, add = TRUE) [17:26:32.870] } [17:26:32.870] ...future.frame <- base::sys.nframe() [17:26:32.870] ...future.conditions <- base::list() [17:26:32.870] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.870] if (FALSE) { [17:26:32.870] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.870] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.870] } [17:26:32.870] ...future.result <- base::tryCatch({ [17:26:32.870] base::withCallingHandlers({ [17:26:32.870] ...future.value <- base::withVisible(base::local({ [17:26:32.870] 2 * a [17:26:32.870] })) [17:26:32.870] future::FutureResult(value = ...future.value$value, [17:26:32.870] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.870] ...future.rng), globalenv = if (FALSE) [17:26:32.870] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.870] ...future.globalenv.names)) [17:26:32.870] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.870] }, condition = base::local({ [17:26:32.870] c <- base::c [17:26:32.870] inherits <- base::inherits [17:26:32.870] invokeRestart <- base::invokeRestart [17:26:32.870] length <- base::length [17:26:32.870] list <- base::list [17:26:32.870] seq.int <- base::seq.int [17:26:32.870] signalCondition <- base::signalCondition [17:26:32.870] sys.calls <- base::sys.calls [17:26:32.870] `[[` <- base::`[[` [17:26:32.870] `+` <- base::`+` [17:26:32.870] `<<-` <- base::`<<-` [17:26:32.870] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.870] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.870] 3L)] [17:26:32.870] } [17:26:32.870] function(cond) { [17:26:32.870] is_error <- inherits(cond, "error") [17:26:32.870] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.870] NULL) [17:26:32.870] if (is_error) { [17:26:32.870] sessionInformation <- function() { [17:26:32.870] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.870] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.870] search = base::search(), system = base::Sys.info()) [17:26:32.870] } [17:26:32.870] ...future.conditions[[length(...future.conditions) + [17:26:32.870] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.870] cond$call), session = sessionInformation(), [17:26:32.870] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.870] signalCondition(cond) [17:26:32.870] } [17:26:32.870] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.870] "immediateCondition"))) { [17:26:32.870] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.870] ...future.conditions[[length(...future.conditions) + [17:26:32.870] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.870] if (TRUE && !signal) { [17:26:32.870] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.870] { [17:26:32.870] inherits <- base::inherits [17:26:32.870] invokeRestart <- base::invokeRestart [17:26:32.870] is.null <- base::is.null [17:26:32.870] muffled <- FALSE [17:26:32.870] if (inherits(cond, "message")) { [17:26:32.870] muffled <- grepl(pattern, "muffleMessage") [17:26:32.870] if (muffled) [17:26:32.870] invokeRestart("muffleMessage") [17:26:32.870] } [17:26:32.870] else if (inherits(cond, "warning")) { [17:26:32.870] muffled <- grepl(pattern, "muffleWarning") [17:26:32.870] if (muffled) [17:26:32.870] invokeRestart("muffleWarning") [17:26:32.870] } [17:26:32.870] else if (inherits(cond, "condition")) { [17:26:32.870] if (!is.null(pattern)) { [17:26:32.870] computeRestarts <- base::computeRestarts [17:26:32.870] grepl <- base::grepl [17:26:32.870] restarts <- computeRestarts(cond) [17:26:32.870] for (restart in restarts) { [17:26:32.870] name <- restart$name [17:26:32.870] if (is.null(name)) [17:26:32.870] next [17:26:32.870] if (!grepl(pattern, name)) [17:26:32.870] next [17:26:32.870] invokeRestart(restart) [17:26:32.870] muffled <- TRUE [17:26:32.870] break [17:26:32.870] } [17:26:32.870] } [17:26:32.870] } [17:26:32.870] invisible(muffled) [17:26:32.870] } [17:26:32.870] muffleCondition(cond, pattern = "^muffle") [17:26:32.870] } [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] if (TRUE) { [17:26:32.870] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.870] { [17:26:32.870] inherits <- base::inherits [17:26:32.870] invokeRestart <- base::invokeRestart [17:26:32.870] is.null <- base::is.null [17:26:32.870] muffled <- FALSE [17:26:32.870] if (inherits(cond, "message")) { [17:26:32.870] muffled <- grepl(pattern, "muffleMessage") [17:26:32.870] if (muffled) [17:26:32.870] invokeRestart("muffleMessage") [17:26:32.870] } [17:26:32.870] else if (inherits(cond, "warning")) { [17:26:32.870] muffled <- grepl(pattern, "muffleWarning") [17:26:32.870] if (muffled) [17:26:32.870] invokeRestart("muffleWarning") [17:26:32.870] } [17:26:32.870] else if (inherits(cond, "condition")) { [17:26:32.870] if (!is.null(pattern)) { [17:26:32.870] computeRestarts <- base::computeRestarts [17:26:32.870] grepl <- base::grepl [17:26:32.870] restarts <- computeRestarts(cond) [17:26:32.870] for (restart in restarts) { [17:26:32.870] name <- restart$name [17:26:32.870] if (is.null(name)) [17:26:32.870] next [17:26:32.870] if (!grepl(pattern, name)) [17:26:32.870] next [17:26:32.870] invokeRestart(restart) [17:26:32.870] muffled <- TRUE [17:26:32.870] break [17:26:32.870] } [17:26:32.870] } [17:26:32.870] } [17:26:32.870] invisible(muffled) [17:26:32.870] } [17:26:32.870] muffleCondition(cond, pattern = "^muffle") [17:26:32.870] } [17:26:32.870] } [17:26:32.870] } [17:26:32.870] })) [17:26:32.870] }, error = function(ex) { [17:26:32.870] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.870] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.870] ...future.rng), started = ...future.startTime, [17:26:32.870] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.870] version = "1.8"), class = "FutureResult") [17:26:32.870] }, finally = { [17:26:32.870] if (!identical(...future.workdir, getwd())) [17:26:32.870] setwd(...future.workdir) [17:26:32.870] { [17:26:32.870] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.870] ...future.oldOptions$nwarnings <- NULL [17:26:32.870] } [17:26:32.870] base::options(...future.oldOptions) [17:26:32.870] if (.Platform$OS.type == "windows") { [17:26:32.870] old_names <- names(...future.oldEnvVars) [17:26:32.870] envs <- base::Sys.getenv() [17:26:32.870] names <- names(envs) [17:26:32.870] common <- intersect(names, old_names) [17:26:32.870] added <- setdiff(names, old_names) [17:26:32.870] removed <- setdiff(old_names, names) [17:26:32.870] changed <- common[...future.oldEnvVars[common] != [17:26:32.870] envs[common]] [17:26:32.870] NAMES <- toupper(changed) [17:26:32.870] args <- list() [17:26:32.870] for (kk in seq_along(NAMES)) { [17:26:32.870] name <- changed[[kk]] [17:26:32.870] NAME <- NAMES[[kk]] [17:26:32.870] if (name != NAME && is.element(NAME, old_names)) [17:26:32.870] next [17:26:32.870] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.870] } [17:26:32.870] NAMES <- toupper(added) [17:26:32.870] for (kk in seq_along(NAMES)) { [17:26:32.870] name <- added[[kk]] [17:26:32.870] NAME <- NAMES[[kk]] [17:26:32.870] if (name != NAME && is.element(NAME, old_names)) [17:26:32.870] next [17:26:32.870] args[[name]] <- "" [17:26:32.870] } [17:26:32.870] NAMES <- toupper(removed) [17:26:32.870] for (kk in seq_along(NAMES)) { [17:26:32.870] name <- removed[[kk]] [17:26:32.870] NAME <- NAMES[[kk]] [17:26:32.870] if (name != NAME && is.element(NAME, old_names)) [17:26:32.870] next [17:26:32.870] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.870] } [17:26:32.870] if (length(args) > 0) [17:26:32.870] base::do.call(base::Sys.setenv, args = args) [17:26:32.870] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.870] } [17:26:32.870] { [17:26:32.870] if (base::length(...future.futureOptionsAdded) > [17:26:32.870] 0L) { [17:26:32.870] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.870] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.870] base::options(opts) [17:26:32.870] } [17:26:32.870] { [17:26:32.870] { [17:26:32.870] NULL [17:26:32.870] RNGkind("Mersenne-Twister") [17:26:32.870] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.870] inherits = FALSE) [17:26:32.870] } [17:26:32.870] options(future.plan = NULL) [17:26:32.870] if (is.na(NA_character_)) [17:26:32.870] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.870] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.870] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.870] .init = FALSE) [17:26:32.870] } [17:26:32.870] } [17:26:32.870] } [17:26:32.870] }) [17:26:32.870] if (TRUE) { [17:26:32.870] base::sink(type = "output", split = FALSE) [17:26:32.870] if (TRUE) { [17:26:32.870] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.870] } [17:26:32.870] else { [17:26:32.870] ...future.result["stdout"] <- base::list(NULL) [17:26:32.870] } [17:26:32.870] base::close(...future.stdout) [17:26:32.870] ...future.stdout <- NULL [17:26:32.870] } [17:26:32.870] ...future.result$conditions <- ...future.conditions [17:26:32.870] ...future.result$finished <- base::Sys.time() [17:26:32.870] ...future.result [17:26:32.870] } [17:26:32.875] assign_globals() ... [17:26:32.875] List of 1 [17:26:32.875] $ a: num 1 [17:26:32.875] - attr(*, "where")=List of 1 [17:26:32.875] ..$ a: [17:26:32.875] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:26:32.875] - attr(*, "resolved")= logi FALSE [17:26:32.875] - attr(*, "total_size")= num 56 [17:26:32.875] - attr(*, "already-done")= logi TRUE [17:26:32.880] - copied 'a' to environment [17:26:32.880] assign_globals() ... done [17:26:32.880] plan(): Setting new future strategy stack: [17:26:32.881] List of future strategies: [17:26:32.881] 1. sequential: [17:26:32.881] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.881] - tweaked: FALSE [17:26:32.881] - call: NULL [17:26:32.881] plan(): nbrOfWorkers() = 1 [17:26:32.882] plan(): Setting new future strategy stack: [17:26:32.882] List of future strategies: [17:26:32.882] 1. sequential: [17:26:32.882] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.882] - tweaked: FALSE [17:26:32.882] - call: plan(strategy) [17:26:32.883] plan(): nbrOfWorkers() = 1 [17:26:32.883] SequentialFuture started (and completed) [17:26:32.883] - Launch lazy future ... done [17:26:32.884] run() for 'SequentialFuture' ... done [17:26:32.884] getGlobalsAndPackages() ... [17:26:32.884] Searching for globals... [17:26:32.885] - globals found: [3] '{', '*', 'a' [17:26:32.885] Searching for globals ... DONE [17:26:32.886] Resolving globals: FALSE [17:26:32.886] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:32.886] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:32.887] - globals: [1] 'a' [17:26:32.887] [17:26:32.887] getGlobalsAndPackages() ... DONE [17:26:32.887] run() for 'Future' ... [17:26:32.887] - state: 'created' [17:26:32.888] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.888] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.888] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.888] - Field: 'label' [17:26:32.889] - Field: 'local' [17:26:32.889] - Field: 'owner' [17:26:32.889] - Field: 'envir' [17:26:32.889] - Field: 'packages' [17:26:32.889] - Field: 'gc' [17:26:32.889] - Field: 'conditions' [17:26:32.890] - Field: 'expr' [17:26:32.890] - Field: 'uuid' [17:26:32.890] - Field: 'seed' [17:26:32.890] - Field: 'version' [17:26:32.890] - Field: 'result' [17:26:32.891] - Field: 'asynchronous' [17:26:32.891] - Field: 'calls' [17:26:32.891] - Field: 'globals' [17:26:32.891] - Field: 'stdout' [17:26:32.891] - Field: 'earlySignal' [17:26:32.891] - Field: 'lazy' [17:26:32.892] - Field: 'state' [17:26:32.892] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.892] - Launch lazy future ... [17:26:32.892] Packages needed by the future expression (n = 0): [17:26:32.892] Packages needed by future strategies (n = 0): [17:26:32.893] { [17:26:32.893] { [17:26:32.893] { [17:26:32.893] ...future.startTime <- base::Sys.time() [17:26:32.893] { [17:26:32.893] { [17:26:32.893] { [17:26:32.893] base::local({ [17:26:32.893] has_future <- base::requireNamespace("future", [17:26:32.893] quietly = TRUE) [17:26:32.893] if (has_future) { [17:26:32.893] ns <- base::getNamespace("future") [17:26:32.893] version <- ns[[".package"]][["version"]] [17:26:32.893] if (is.null(version)) [17:26:32.893] version <- utils::packageVersion("future") [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] version <- NULL [17:26:32.893] } [17:26:32.893] if (!has_future || version < "1.8.0") { [17:26:32.893] info <- base::c(r_version = base::gsub("R version ", [17:26:32.893] "", base::R.version$version.string), [17:26:32.893] platform = base::sprintf("%s (%s-bit)", [17:26:32.893] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.893] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.893] "release", "version")], collapse = " "), [17:26:32.893] hostname = base::Sys.info()[["nodename"]]) [17:26:32.893] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.893] info) [17:26:32.893] info <- base::paste(info, collapse = "; ") [17:26:32.893] if (!has_future) { [17:26:32.893] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.893] info) [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.893] info, version) [17:26:32.893] } [17:26:32.893] base::stop(msg) [17:26:32.893] } [17:26:32.893] }) [17:26:32.893] } [17:26:32.893] ...future.strategy.old <- future::plan("list") [17:26:32.893] options(future.plan = NULL) [17:26:32.893] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.893] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.893] } [17:26:32.893] ...future.workdir <- getwd() [17:26:32.893] } [17:26:32.893] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.893] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.893] } [17:26:32.893] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.893] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.893] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.893] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.893] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.893] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.893] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.893] base::names(...future.oldOptions)) [17:26:32.893] } [17:26:32.893] if (FALSE) { [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] if (TRUE) { [17:26:32.893] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.893] open = "w") [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.893] windows = "NUL", "/dev/null"), open = "w") [17:26:32.893] } [17:26:32.893] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.893] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.893] base::sink(type = "output", split = FALSE) [17:26:32.893] base::close(...future.stdout) [17:26:32.893] }, add = TRUE) [17:26:32.893] } [17:26:32.893] ...future.frame <- base::sys.nframe() [17:26:32.893] ...future.conditions <- base::list() [17:26:32.893] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.893] if (FALSE) { [17:26:32.893] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.893] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.893] } [17:26:32.893] ...future.result <- base::tryCatch({ [17:26:32.893] base::withCallingHandlers({ [17:26:32.893] ...future.value <- base::withVisible(base::local({ [17:26:32.893] 2 * a [17:26:32.893] })) [17:26:32.893] future::FutureResult(value = ...future.value$value, [17:26:32.893] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.893] ...future.rng), globalenv = if (FALSE) [17:26:32.893] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.893] ...future.globalenv.names)) [17:26:32.893] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.893] }, condition = base::local({ [17:26:32.893] c <- base::c [17:26:32.893] inherits <- base::inherits [17:26:32.893] invokeRestart <- base::invokeRestart [17:26:32.893] length <- base::length [17:26:32.893] list <- base::list [17:26:32.893] seq.int <- base::seq.int [17:26:32.893] signalCondition <- base::signalCondition [17:26:32.893] sys.calls <- base::sys.calls [17:26:32.893] `[[` <- base::`[[` [17:26:32.893] `+` <- base::`+` [17:26:32.893] `<<-` <- base::`<<-` [17:26:32.893] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.893] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.893] 3L)] [17:26:32.893] } [17:26:32.893] function(cond) { [17:26:32.893] is_error <- inherits(cond, "error") [17:26:32.893] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.893] NULL) [17:26:32.893] if (is_error) { [17:26:32.893] sessionInformation <- function() { [17:26:32.893] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.893] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.893] search = base::search(), system = base::Sys.info()) [17:26:32.893] } [17:26:32.893] ...future.conditions[[length(...future.conditions) + [17:26:32.893] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.893] cond$call), session = sessionInformation(), [17:26:32.893] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.893] signalCondition(cond) [17:26:32.893] } [17:26:32.893] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.893] "immediateCondition"))) { [17:26:32.893] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.893] ...future.conditions[[length(...future.conditions) + [17:26:32.893] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.893] if (TRUE && !signal) { [17:26:32.893] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.893] { [17:26:32.893] inherits <- base::inherits [17:26:32.893] invokeRestart <- base::invokeRestart [17:26:32.893] is.null <- base::is.null [17:26:32.893] muffled <- FALSE [17:26:32.893] if (inherits(cond, "message")) { [17:26:32.893] muffled <- grepl(pattern, "muffleMessage") [17:26:32.893] if (muffled) [17:26:32.893] invokeRestart("muffleMessage") [17:26:32.893] } [17:26:32.893] else if (inherits(cond, "warning")) { [17:26:32.893] muffled <- grepl(pattern, "muffleWarning") [17:26:32.893] if (muffled) [17:26:32.893] invokeRestart("muffleWarning") [17:26:32.893] } [17:26:32.893] else if (inherits(cond, "condition")) { [17:26:32.893] if (!is.null(pattern)) { [17:26:32.893] computeRestarts <- base::computeRestarts [17:26:32.893] grepl <- base::grepl [17:26:32.893] restarts <- computeRestarts(cond) [17:26:32.893] for (restart in restarts) { [17:26:32.893] name <- restart$name [17:26:32.893] if (is.null(name)) [17:26:32.893] next [17:26:32.893] if (!grepl(pattern, name)) [17:26:32.893] next [17:26:32.893] invokeRestart(restart) [17:26:32.893] muffled <- TRUE [17:26:32.893] break [17:26:32.893] } [17:26:32.893] } [17:26:32.893] } [17:26:32.893] invisible(muffled) [17:26:32.893] } [17:26:32.893] muffleCondition(cond, pattern = "^muffle") [17:26:32.893] } [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] if (TRUE) { [17:26:32.893] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.893] { [17:26:32.893] inherits <- base::inherits [17:26:32.893] invokeRestart <- base::invokeRestart [17:26:32.893] is.null <- base::is.null [17:26:32.893] muffled <- FALSE [17:26:32.893] if (inherits(cond, "message")) { [17:26:32.893] muffled <- grepl(pattern, "muffleMessage") [17:26:32.893] if (muffled) [17:26:32.893] invokeRestart("muffleMessage") [17:26:32.893] } [17:26:32.893] else if (inherits(cond, "warning")) { [17:26:32.893] muffled <- grepl(pattern, "muffleWarning") [17:26:32.893] if (muffled) [17:26:32.893] invokeRestart("muffleWarning") [17:26:32.893] } [17:26:32.893] else if (inherits(cond, "condition")) { [17:26:32.893] if (!is.null(pattern)) { [17:26:32.893] computeRestarts <- base::computeRestarts [17:26:32.893] grepl <- base::grepl [17:26:32.893] restarts <- computeRestarts(cond) [17:26:32.893] for (restart in restarts) { [17:26:32.893] name <- restart$name [17:26:32.893] if (is.null(name)) [17:26:32.893] next [17:26:32.893] if (!grepl(pattern, name)) [17:26:32.893] next [17:26:32.893] invokeRestart(restart) [17:26:32.893] muffled <- TRUE [17:26:32.893] break [17:26:32.893] } [17:26:32.893] } [17:26:32.893] } [17:26:32.893] invisible(muffled) [17:26:32.893] } [17:26:32.893] muffleCondition(cond, pattern = "^muffle") [17:26:32.893] } [17:26:32.893] } [17:26:32.893] } [17:26:32.893] })) [17:26:32.893] }, error = function(ex) { [17:26:32.893] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.893] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.893] ...future.rng), started = ...future.startTime, [17:26:32.893] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.893] version = "1.8"), class = "FutureResult") [17:26:32.893] }, finally = { [17:26:32.893] if (!identical(...future.workdir, getwd())) [17:26:32.893] setwd(...future.workdir) [17:26:32.893] { [17:26:32.893] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.893] ...future.oldOptions$nwarnings <- NULL [17:26:32.893] } [17:26:32.893] base::options(...future.oldOptions) [17:26:32.893] if (.Platform$OS.type == "windows") { [17:26:32.893] old_names <- names(...future.oldEnvVars) [17:26:32.893] envs <- base::Sys.getenv() [17:26:32.893] names <- names(envs) [17:26:32.893] common <- intersect(names, old_names) [17:26:32.893] added <- setdiff(names, old_names) [17:26:32.893] removed <- setdiff(old_names, names) [17:26:32.893] changed <- common[...future.oldEnvVars[common] != [17:26:32.893] envs[common]] [17:26:32.893] NAMES <- toupper(changed) [17:26:32.893] args <- list() [17:26:32.893] for (kk in seq_along(NAMES)) { [17:26:32.893] name <- changed[[kk]] [17:26:32.893] NAME <- NAMES[[kk]] [17:26:32.893] if (name != NAME && is.element(NAME, old_names)) [17:26:32.893] next [17:26:32.893] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.893] } [17:26:32.893] NAMES <- toupper(added) [17:26:32.893] for (kk in seq_along(NAMES)) { [17:26:32.893] name <- added[[kk]] [17:26:32.893] NAME <- NAMES[[kk]] [17:26:32.893] if (name != NAME && is.element(NAME, old_names)) [17:26:32.893] next [17:26:32.893] args[[name]] <- "" [17:26:32.893] } [17:26:32.893] NAMES <- toupper(removed) [17:26:32.893] for (kk in seq_along(NAMES)) { [17:26:32.893] name <- removed[[kk]] [17:26:32.893] NAME <- NAMES[[kk]] [17:26:32.893] if (name != NAME && is.element(NAME, old_names)) [17:26:32.893] next [17:26:32.893] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.893] } [17:26:32.893] if (length(args) > 0) [17:26:32.893] base::do.call(base::Sys.setenv, args = args) [17:26:32.893] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.893] } [17:26:32.893] { [17:26:32.893] if (base::length(...future.futureOptionsAdded) > [17:26:32.893] 0L) { [17:26:32.893] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.893] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.893] base::options(opts) [17:26:32.893] } [17:26:32.893] { [17:26:32.893] { [17:26:32.893] NULL [17:26:32.893] RNGkind("Mersenne-Twister") [17:26:32.893] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.893] inherits = FALSE) [17:26:32.893] } [17:26:32.893] options(future.plan = NULL) [17:26:32.893] if (is.na(NA_character_)) [17:26:32.893] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.893] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.893] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.893] .init = FALSE) [17:26:32.893] } [17:26:32.893] } [17:26:32.893] } [17:26:32.893] }) [17:26:32.893] if (TRUE) { [17:26:32.893] base::sink(type = "output", split = FALSE) [17:26:32.893] if (TRUE) { [17:26:32.893] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.893] } [17:26:32.893] else { [17:26:32.893] ...future.result["stdout"] <- base::list(NULL) [17:26:32.893] } [17:26:32.893] base::close(...future.stdout) [17:26:32.893] ...future.stdout <- NULL [17:26:32.893] } [17:26:32.893] ...future.result$conditions <- ...future.conditions [17:26:32.893] ...future.result$finished <- base::Sys.time() [17:26:32.893] ...future.result [17:26:32.893] } [17:26:32.897] assign_globals() ... [17:26:32.897] List of 1 [17:26:32.897] $ a: num 1 [17:26:32.897] - attr(*, "where")=List of 1 [17:26:32.897] ..$ a: [17:26:32.897] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:26:32.897] - attr(*, "resolved")= logi FALSE [17:26:32.897] - attr(*, "total_size")= num 56 [17:26:32.897] - attr(*, "already-done")= logi TRUE [17:26:32.900] - copied 'a' to environment [17:26:32.900] assign_globals() ... done [17:26:32.900] plan(): Setting new future strategy stack: [17:26:32.900] List of future strategies: [17:26:32.900] 1. sequential: [17:26:32.900] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.900] - tweaked: FALSE [17:26:32.900] - call: NULL [17:26:32.901] plan(): nbrOfWorkers() = 1 [17:26:32.902] plan(): Setting new future strategy stack: [17:26:32.902] List of future strategies: [17:26:32.902] 1. sequential: [17:26:32.902] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.902] - tweaked: FALSE [17:26:32.902] - call: plan(strategy) [17:26:32.903] plan(): nbrOfWorkers() = 1 [17:26:32.903] SequentialFuture started (and completed) [17:26:32.903] - Launch lazy future ... done [17:26:32.904] run() for 'SequentialFuture' ... done [17:26:32.904] getGlobalsAndPackages() ... [17:26:32.904] Searching for globals... [17:26:32.905] - globals found: [3] '{', '*', 'a' [17:26:32.905] Searching for globals ... DONE [17:26:32.906] Resolving globals: FALSE [17:26:32.906] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:32.906] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:32.907] - globals: [1] 'a' [17:26:32.907] [17:26:32.907] getGlobalsAndPackages() ... DONE [17:26:32.907] run() for 'Future' ... [17:26:32.907] - state: 'created' [17:26:32.908] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.908] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.908] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.908] - Field: 'label' [17:26:32.909] - Field: 'local' [17:26:32.909] - Field: 'owner' [17:26:32.909] - Field: 'envir' [17:26:32.909] - Field: 'packages' [17:26:32.909] - Field: 'gc' [17:26:32.909] - Field: 'conditions' [17:26:32.911] - Field: 'expr' [17:26:32.911] - Field: 'uuid' [17:26:32.911] - Field: 'seed' [17:26:32.911] - Field: 'version' [17:26:32.911] - Field: 'result' [17:26:32.912] - Field: 'asynchronous' [17:26:32.912] - Field: 'calls' [17:26:32.912] - Field: 'globals' [17:26:32.912] - Field: 'stdout' [17:26:32.912] - Field: 'earlySignal' [17:26:32.912] - Field: 'lazy' [17:26:32.913] - Field: 'state' [17:26:32.913] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.913] - Launch lazy future ... [17:26:32.913] Packages needed by the future expression (n = 0): [17:26:32.913] Packages needed by future strategies (n = 0): [17:26:32.914] { [17:26:32.914] { [17:26:32.914] { [17:26:32.914] ...future.startTime <- base::Sys.time() [17:26:32.914] { [17:26:32.914] { [17:26:32.914] { [17:26:32.914] base::local({ [17:26:32.914] has_future <- base::requireNamespace("future", [17:26:32.914] quietly = TRUE) [17:26:32.914] if (has_future) { [17:26:32.914] ns <- base::getNamespace("future") [17:26:32.914] version <- ns[[".package"]][["version"]] [17:26:32.914] if (is.null(version)) [17:26:32.914] version <- utils::packageVersion("future") [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] version <- NULL [17:26:32.914] } [17:26:32.914] if (!has_future || version < "1.8.0") { [17:26:32.914] info <- base::c(r_version = base::gsub("R version ", [17:26:32.914] "", base::R.version$version.string), [17:26:32.914] platform = base::sprintf("%s (%s-bit)", [17:26:32.914] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.914] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.914] "release", "version")], collapse = " "), [17:26:32.914] hostname = base::Sys.info()[["nodename"]]) [17:26:32.914] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.914] info) [17:26:32.914] info <- base::paste(info, collapse = "; ") [17:26:32.914] if (!has_future) { [17:26:32.914] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.914] info) [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.914] info, version) [17:26:32.914] } [17:26:32.914] base::stop(msg) [17:26:32.914] } [17:26:32.914] }) [17:26:32.914] } [17:26:32.914] ...future.strategy.old <- future::plan("list") [17:26:32.914] options(future.plan = NULL) [17:26:32.914] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.914] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.914] } [17:26:32.914] ...future.workdir <- getwd() [17:26:32.914] } [17:26:32.914] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.914] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.914] } [17:26:32.914] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.914] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.914] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.914] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.914] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.914] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.914] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.914] base::names(...future.oldOptions)) [17:26:32.914] } [17:26:32.914] if (FALSE) { [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] if (TRUE) { [17:26:32.914] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.914] open = "w") [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.914] windows = "NUL", "/dev/null"), open = "w") [17:26:32.914] } [17:26:32.914] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.914] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.914] base::sink(type = "output", split = FALSE) [17:26:32.914] base::close(...future.stdout) [17:26:32.914] }, add = TRUE) [17:26:32.914] } [17:26:32.914] ...future.frame <- base::sys.nframe() [17:26:32.914] ...future.conditions <- base::list() [17:26:32.914] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.914] if (FALSE) { [17:26:32.914] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.914] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.914] } [17:26:32.914] ...future.result <- base::tryCatch({ [17:26:32.914] base::withCallingHandlers({ [17:26:32.914] ...future.value <- base::withVisible(base::local({ [17:26:32.914] 2 * a [17:26:32.914] })) [17:26:32.914] future::FutureResult(value = ...future.value$value, [17:26:32.914] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.914] ...future.rng), globalenv = if (FALSE) [17:26:32.914] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.914] ...future.globalenv.names)) [17:26:32.914] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.914] }, condition = base::local({ [17:26:32.914] c <- base::c [17:26:32.914] inherits <- base::inherits [17:26:32.914] invokeRestart <- base::invokeRestart [17:26:32.914] length <- base::length [17:26:32.914] list <- base::list [17:26:32.914] seq.int <- base::seq.int [17:26:32.914] signalCondition <- base::signalCondition [17:26:32.914] sys.calls <- base::sys.calls [17:26:32.914] `[[` <- base::`[[` [17:26:32.914] `+` <- base::`+` [17:26:32.914] `<<-` <- base::`<<-` [17:26:32.914] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.914] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.914] 3L)] [17:26:32.914] } [17:26:32.914] function(cond) { [17:26:32.914] is_error <- inherits(cond, "error") [17:26:32.914] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.914] NULL) [17:26:32.914] if (is_error) { [17:26:32.914] sessionInformation <- function() { [17:26:32.914] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.914] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.914] search = base::search(), system = base::Sys.info()) [17:26:32.914] } [17:26:32.914] ...future.conditions[[length(...future.conditions) + [17:26:32.914] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.914] cond$call), session = sessionInformation(), [17:26:32.914] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.914] signalCondition(cond) [17:26:32.914] } [17:26:32.914] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.914] "immediateCondition"))) { [17:26:32.914] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.914] ...future.conditions[[length(...future.conditions) + [17:26:32.914] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.914] if (TRUE && !signal) { [17:26:32.914] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.914] { [17:26:32.914] inherits <- base::inherits [17:26:32.914] invokeRestart <- base::invokeRestart [17:26:32.914] is.null <- base::is.null [17:26:32.914] muffled <- FALSE [17:26:32.914] if (inherits(cond, "message")) { [17:26:32.914] muffled <- grepl(pattern, "muffleMessage") [17:26:32.914] if (muffled) [17:26:32.914] invokeRestart("muffleMessage") [17:26:32.914] } [17:26:32.914] else if (inherits(cond, "warning")) { [17:26:32.914] muffled <- grepl(pattern, "muffleWarning") [17:26:32.914] if (muffled) [17:26:32.914] invokeRestart("muffleWarning") [17:26:32.914] } [17:26:32.914] else if (inherits(cond, "condition")) { [17:26:32.914] if (!is.null(pattern)) { [17:26:32.914] computeRestarts <- base::computeRestarts [17:26:32.914] grepl <- base::grepl [17:26:32.914] restarts <- computeRestarts(cond) [17:26:32.914] for (restart in restarts) { [17:26:32.914] name <- restart$name [17:26:32.914] if (is.null(name)) [17:26:32.914] next [17:26:32.914] if (!grepl(pattern, name)) [17:26:32.914] next [17:26:32.914] invokeRestart(restart) [17:26:32.914] muffled <- TRUE [17:26:32.914] break [17:26:32.914] } [17:26:32.914] } [17:26:32.914] } [17:26:32.914] invisible(muffled) [17:26:32.914] } [17:26:32.914] muffleCondition(cond, pattern = "^muffle") [17:26:32.914] } [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] if (TRUE) { [17:26:32.914] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.914] { [17:26:32.914] inherits <- base::inherits [17:26:32.914] invokeRestart <- base::invokeRestart [17:26:32.914] is.null <- base::is.null [17:26:32.914] muffled <- FALSE [17:26:32.914] if (inherits(cond, "message")) { [17:26:32.914] muffled <- grepl(pattern, "muffleMessage") [17:26:32.914] if (muffled) [17:26:32.914] invokeRestart("muffleMessage") [17:26:32.914] } [17:26:32.914] else if (inherits(cond, "warning")) { [17:26:32.914] muffled <- grepl(pattern, "muffleWarning") [17:26:32.914] if (muffled) [17:26:32.914] invokeRestart("muffleWarning") [17:26:32.914] } [17:26:32.914] else if (inherits(cond, "condition")) { [17:26:32.914] if (!is.null(pattern)) { [17:26:32.914] computeRestarts <- base::computeRestarts [17:26:32.914] grepl <- base::grepl [17:26:32.914] restarts <- computeRestarts(cond) [17:26:32.914] for (restart in restarts) { [17:26:32.914] name <- restart$name [17:26:32.914] if (is.null(name)) [17:26:32.914] next [17:26:32.914] if (!grepl(pattern, name)) [17:26:32.914] next [17:26:32.914] invokeRestart(restart) [17:26:32.914] muffled <- TRUE [17:26:32.914] break [17:26:32.914] } [17:26:32.914] } [17:26:32.914] } [17:26:32.914] invisible(muffled) [17:26:32.914] } [17:26:32.914] muffleCondition(cond, pattern = "^muffle") [17:26:32.914] } [17:26:32.914] } [17:26:32.914] } [17:26:32.914] })) [17:26:32.914] }, error = function(ex) { [17:26:32.914] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.914] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.914] ...future.rng), started = ...future.startTime, [17:26:32.914] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.914] version = "1.8"), class = "FutureResult") [17:26:32.914] }, finally = { [17:26:32.914] if (!identical(...future.workdir, getwd())) [17:26:32.914] setwd(...future.workdir) [17:26:32.914] { [17:26:32.914] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.914] ...future.oldOptions$nwarnings <- NULL [17:26:32.914] } [17:26:32.914] base::options(...future.oldOptions) [17:26:32.914] if (.Platform$OS.type == "windows") { [17:26:32.914] old_names <- names(...future.oldEnvVars) [17:26:32.914] envs <- base::Sys.getenv() [17:26:32.914] names <- names(envs) [17:26:32.914] common <- intersect(names, old_names) [17:26:32.914] added <- setdiff(names, old_names) [17:26:32.914] removed <- setdiff(old_names, names) [17:26:32.914] changed <- common[...future.oldEnvVars[common] != [17:26:32.914] envs[common]] [17:26:32.914] NAMES <- toupper(changed) [17:26:32.914] args <- list() [17:26:32.914] for (kk in seq_along(NAMES)) { [17:26:32.914] name <- changed[[kk]] [17:26:32.914] NAME <- NAMES[[kk]] [17:26:32.914] if (name != NAME && is.element(NAME, old_names)) [17:26:32.914] next [17:26:32.914] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.914] } [17:26:32.914] NAMES <- toupper(added) [17:26:32.914] for (kk in seq_along(NAMES)) { [17:26:32.914] name <- added[[kk]] [17:26:32.914] NAME <- NAMES[[kk]] [17:26:32.914] if (name != NAME && is.element(NAME, old_names)) [17:26:32.914] next [17:26:32.914] args[[name]] <- "" [17:26:32.914] } [17:26:32.914] NAMES <- toupper(removed) [17:26:32.914] for (kk in seq_along(NAMES)) { [17:26:32.914] name <- removed[[kk]] [17:26:32.914] NAME <- NAMES[[kk]] [17:26:32.914] if (name != NAME && is.element(NAME, old_names)) [17:26:32.914] next [17:26:32.914] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.914] } [17:26:32.914] if (length(args) > 0) [17:26:32.914] base::do.call(base::Sys.setenv, args = args) [17:26:32.914] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.914] } [17:26:32.914] { [17:26:32.914] if (base::length(...future.futureOptionsAdded) > [17:26:32.914] 0L) { [17:26:32.914] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.914] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.914] base::options(opts) [17:26:32.914] } [17:26:32.914] { [17:26:32.914] { [17:26:32.914] NULL [17:26:32.914] RNGkind("Mersenne-Twister") [17:26:32.914] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.914] inherits = FALSE) [17:26:32.914] } [17:26:32.914] options(future.plan = NULL) [17:26:32.914] if (is.na(NA_character_)) [17:26:32.914] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.914] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.914] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.914] .init = FALSE) [17:26:32.914] } [17:26:32.914] } [17:26:32.914] } [17:26:32.914] }) [17:26:32.914] if (TRUE) { [17:26:32.914] base::sink(type = "output", split = FALSE) [17:26:32.914] if (TRUE) { [17:26:32.914] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.914] } [17:26:32.914] else { [17:26:32.914] ...future.result["stdout"] <- base::list(NULL) [17:26:32.914] } [17:26:32.914] base::close(...future.stdout) [17:26:32.914] ...future.stdout <- NULL [17:26:32.914] } [17:26:32.914] ...future.result$conditions <- ...future.conditions [17:26:32.914] ...future.result$finished <- base::Sys.time() [17:26:32.914] ...future.result [17:26:32.914] } [17:26:32.918] assign_globals() ... [17:26:32.918] List of 1 [17:26:32.918] $ a: num 1 [17:26:32.918] - attr(*, "where")=List of 1 [17:26:32.918] ..$ a: [17:26:32.918] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:26:32.918] - attr(*, "resolved")= logi FALSE [17:26:32.918] - attr(*, "total_size")= num 56 [17:26:32.918] - attr(*, "already-done")= logi TRUE [17:26:32.921] - copied 'a' to environment [17:26:32.921] assign_globals() ... done [17:26:32.921] plan(): Setting new future strategy stack: [17:26:32.921] List of future strategies: [17:26:32.921] 1. sequential: [17:26:32.921] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.921] - tweaked: FALSE [17:26:32.921] - call: NULL [17:26:32.922] plan(): nbrOfWorkers() = 1 [17:26:32.923] plan(): Setting new future strategy stack: [17:26:32.923] List of future strategies: [17:26:32.923] 1. sequential: [17:26:32.923] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.923] - tweaked: FALSE [17:26:32.923] - call: plan(strategy) [17:26:32.924] plan(): nbrOfWorkers() = 1 [17:26:32.924] SequentialFuture started (and completed) [17:26:32.924] - Launch lazy future ... done [17:26:32.924] run() for 'SequentialFuture' ... done [17:26:32.925] getGlobalsAndPackages() ... [17:26:32.925] Searching for globals... [17:26:32.926] - globals found: [3] '{', '*', 'a' [17:26:32.926] Searching for globals ... DONE [17:26:32.926] Resolving globals: FALSE [17:26:32.927] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:32.927] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:32.927] - globals: [1] 'a' [17:26:32.927] [17:26:32.928] getGlobalsAndPackages() ... DONE [17:26:32.928] run() for 'Future' ... [17:26:32.928] - state: 'created' [17:26:32.928] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.929] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.929] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.929] - Field: 'label' [17:26:32.929] - Field: 'local' [17:26:32.929] - Field: 'owner' [17:26:32.930] - Field: 'envir' [17:26:32.930] - Field: 'packages' [17:26:32.930] - Field: 'gc' [17:26:32.930] - Field: 'conditions' [17:26:32.930] - Field: 'expr' [17:26:32.930] - Field: 'uuid' [17:26:32.931] - Field: 'seed' [17:26:32.931] - Field: 'version' [17:26:32.931] - Field: 'result' [17:26:32.931] - Field: 'asynchronous' [17:26:32.931] - Field: 'calls' [17:26:32.931] - Field: 'globals' [17:26:32.932] - Field: 'stdout' [17:26:32.932] - Field: 'earlySignal' [17:26:32.932] - Field: 'lazy' [17:26:32.932] - Field: 'state' [17:26:32.932] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.932] - Launch lazy future ... [17:26:32.933] Packages needed by the future expression (n = 0): [17:26:32.933] Packages needed by future strategies (n = 0): [17:26:32.933] { [17:26:32.933] { [17:26:32.933] { [17:26:32.933] ...future.startTime <- base::Sys.time() [17:26:32.933] { [17:26:32.933] { [17:26:32.933] { [17:26:32.933] base::local({ [17:26:32.933] has_future <- base::requireNamespace("future", [17:26:32.933] quietly = TRUE) [17:26:32.933] if (has_future) { [17:26:32.933] ns <- base::getNamespace("future") [17:26:32.933] version <- ns[[".package"]][["version"]] [17:26:32.933] if (is.null(version)) [17:26:32.933] version <- utils::packageVersion("future") [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] version <- NULL [17:26:32.933] } [17:26:32.933] if (!has_future || version < "1.8.0") { [17:26:32.933] info <- base::c(r_version = base::gsub("R version ", [17:26:32.933] "", base::R.version$version.string), [17:26:32.933] platform = base::sprintf("%s (%s-bit)", [17:26:32.933] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.933] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.933] "release", "version")], collapse = " "), [17:26:32.933] hostname = base::Sys.info()[["nodename"]]) [17:26:32.933] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.933] info) [17:26:32.933] info <- base::paste(info, collapse = "; ") [17:26:32.933] if (!has_future) { [17:26:32.933] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.933] info) [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.933] info, version) [17:26:32.933] } [17:26:32.933] base::stop(msg) [17:26:32.933] } [17:26:32.933] }) [17:26:32.933] } [17:26:32.933] ...future.strategy.old <- future::plan("list") [17:26:32.933] options(future.plan = NULL) [17:26:32.933] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.933] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.933] } [17:26:32.933] ...future.workdir <- getwd() [17:26:32.933] } [17:26:32.933] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.933] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.933] } [17:26:32.933] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.933] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.933] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.933] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.933] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.933] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.933] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.933] base::names(...future.oldOptions)) [17:26:32.933] } [17:26:32.933] if (FALSE) { [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] if (TRUE) { [17:26:32.933] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.933] open = "w") [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.933] windows = "NUL", "/dev/null"), open = "w") [17:26:32.933] } [17:26:32.933] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.933] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.933] base::sink(type = "output", split = FALSE) [17:26:32.933] base::close(...future.stdout) [17:26:32.933] }, add = TRUE) [17:26:32.933] } [17:26:32.933] ...future.frame <- base::sys.nframe() [17:26:32.933] ...future.conditions <- base::list() [17:26:32.933] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.933] if (FALSE) { [17:26:32.933] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.933] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.933] } [17:26:32.933] ...future.result <- base::tryCatch({ [17:26:32.933] base::withCallingHandlers({ [17:26:32.933] ...future.value <- base::withVisible(base::local({ [17:26:32.933] 2 * a [17:26:32.933] })) [17:26:32.933] future::FutureResult(value = ...future.value$value, [17:26:32.933] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.933] ...future.rng), globalenv = if (FALSE) [17:26:32.933] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.933] ...future.globalenv.names)) [17:26:32.933] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.933] }, condition = base::local({ [17:26:32.933] c <- base::c [17:26:32.933] inherits <- base::inherits [17:26:32.933] invokeRestart <- base::invokeRestart [17:26:32.933] length <- base::length [17:26:32.933] list <- base::list [17:26:32.933] seq.int <- base::seq.int [17:26:32.933] signalCondition <- base::signalCondition [17:26:32.933] sys.calls <- base::sys.calls [17:26:32.933] `[[` <- base::`[[` [17:26:32.933] `+` <- base::`+` [17:26:32.933] `<<-` <- base::`<<-` [17:26:32.933] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.933] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.933] 3L)] [17:26:32.933] } [17:26:32.933] function(cond) { [17:26:32.933] is_error <- inherits(cond, "error") [17:26:32.933] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.933] NULL) [17:26:32.933] if (is_error) { [17:26:32.933] sessionInformation <- function() { [17:26:32.933] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.933] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.933] search = base::search(), system = base::Sys.info()) [17:26:32.933] } [17:26:32.933] ...future.conditions[[length(...future.conditions) + [17:26:32.933] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.933] cond$call), session = sessionInformation(), [17:26:32.933] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.933] signalCondition(cond) [17:26:32.933] } [17:26:32.933] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.933] "immediateCondition"))) { [17:26:32.933] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.933] ...future.conditions[[length(...future.conditions) + [17:26:32.933] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.933] if (TRUE && !signal) { [17:26:32.933] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.933] { [17:26:32.933] inherits <- base::inherits [17:26:32.933] invokeRestart <- base::invokeRestart [17:26:32.933] is.null <- base::is.null [17:26:32.933] muffled <- FALSE [17:26:32.933] if (inherits(cond, "message")) { [17:26:32.933] muffled <- grepl(pattern, "muffleMessage") [17:26:32.933] if (muffled) [17:26:32.933] invokeRestart("muffleMessage") [17:26:32.933] } [17:26:32.933] else if (inherits(cond, "warning")) { [17:26:32.933] muffled <- grepl(pattern, "muffleWarning") [17:26:32.933] if (muffled) [17:26:32.933] invokeRestart("muffleWarning") [17:26:32.933] } [17:26:32.933] else if (inherits(cond, "condition")) { [17:26:32.933] if (!is.null(pattern)) { [17:26:32.933] computeRestarts <- base::computeRestarts [17:26:32.933] grepl <- base::grepl [17:26:32.933] restarts <- computeRestarts(cond) [17:26:32.933] for (restart in restarts) { [17:26:32.933] name <- restart$name [17:26:32.933] if (is.null(name)) [17:26:32.933] next [17:26:32.933] if (!grepl(pattern, name)) [17:26:32.933] next [17:26:32.933] invokeRestart(restart) [17:26:32.933] muffled <- TRUE [17:26:32.933] break [17:26:32.933] } [17:26:32.933] } [17:26:32.933] } [17:26:32.933] invisible(muffled) [17:26:32.933] } [17:26:32.933] muffleCondition(cond, pattern = "^muffle") [17:26:32.933] } [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] if (TRUE) { [17:26:32.933] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.933] { [17:26:32.933] inherits <- base::inherits [17:26:32.933] invokeRestart <- base::invokeRestart [17:26:32.933] is.null <- base::is.null [17:26:32.933] muffled <- FALSE [17:26:32.933] if (inherits(cond, "message")) { [17:26:32.933] muffled <- grepl(pattern, "muffleMessage") [17:26:32.933] if (muffled) [17:26:32.933] invokeRestart("muffleMessage") [17:26:32.933] } [17:26:32.933] else if (inherits(cond, "warning")) { [17:26:32.933] muffled <- grepl(pattern, "muffleWarning") [17:26:32.933] if (muffled) [17:26:32.933] invokeRestart("muffleWarning") [17:26:32.933] } [17:26:32.933] else if (inherits(cond, "condition")) { [17:26:32.933] if (!is.null(pattern)) { [17:26:32.933] computeRestarts <- base::computeRestarts [17:26:32.933] grepl <- base::grepl [17:26:32.933] restarts <- computeRestarts(cond) [17:26:32.933] for (restart in restarts) { [17:26:32.933] name <- restart$name [17:26:32.933] if (is.null(name)) [17:26:32.933] next [17:26:32.933] if (!grepl(pattern, name)) [17:26:32.933] next [17:26:32.933] invokeRestart(restart) [17:26:32.933] muffled <- TRUE [17:26:32.933] break [17:26:32.933] } [17:26:32.933] } [17:26:32.933] } [17:26:32.933] invisible(muffled) [17:26:32.933] } [17:26:32.933] muffleCondition(cond, pattern = "^muffle") [17:26:32.933] } [17:26:32.933] } [17:26:32.933] } [17:26:32.933] })) [17:26:32.933] }, error = function(ex) { [17:26:32.933] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.933] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.933] ...future.rng), started = ...future.startTime, [17:26:32.933] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.933] version = "1.8"), class = "FutureResult") [17:26:32.933] }, finally = { [17:26:32.933] if (!identical(...future.workdir, getwd())) [17:26:32.933] setwd(...future.workdir) [17:26:32.933] { [17:26:32.933] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.933] ...future.oldOptions$nwarnings <- NULL [17:26:32.933] } [17:26:32.933] base::options(...future.oldOptions) [17:26:32.933] if (.Platform$OS.type == "windows") { [17:26:32.933] old_names <- names(...future.oldEnvVars) [17:26:32.933] envs <- base::Sys.getenv() [17:26:32.933] names <- names(envs) [17:26:32.933] common <- intersect(names, old_names) [17:26:32.933] added <- setdiff(names, old_names) [17:26:32.933] removed <- setdiff(old_names, names) [17:26:32.933] changed <- common[...future.oldEnvVars[common] != [17:26:32.933] envs[common]] [17:26:32.933] NAMES <- toupper(changed) [17:26:32.933] args <- list() [17:26:32.933] for (kk in seq_along(NAMES)) { [17:26:32.933] name <- changed[[kk]] [17:26:32.933] NAME <- NAMES[[kk]] [17:26:32.933] if (name != NAME && is.element(NAME, old_names)) [17:26:32.933] next [17:26:32.933] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.933] } [17:26:32.933] NAMES <- toupper(added) [17:26:32.933] for (kk in seq_along(NAMES)) { [17:26:32.933] name <- added[[kk]] [17:26:32.933] NAME <- NAMES[[kk]] [17:26:32.933] if (name != NAME && is.element(NAME, old_names)) [17:26:32.933] next [17:26:32.933] args[[name]] <- "" [17:26:32.933] } [17:26:32.933] NAMES <- toupper(removed) [17:26:32.933] for (kk in seq_along(NAMES)) { [17:26:32.933] name <- removed[[kk]] [17:26:32.933] NAME <- NAMES[[kk]] [17:26:32.933] if (name != NAME && is.element(NAME, old_names)) [17:26:32.933] next [17:26:32.933] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.933] } [17:26:32.933] if (length(args) > 0) [17:26:32.933] base::do.call(base::Sys.setenv, args = args) [17:26:32.933] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.933] } [17:26:32.933] { [17:26:32.933] if (base::length(...future.futureOptionsAdded) > [17:26:32.933] 0L) { [17:26:32.933] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.933] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.933] base::options(opts) [17:26:32.933] } [17:26:32.933] { [17:26:32.933] { [17:26:32.933] NULL [17:26:32.933] RNGkind("Mersenne-Twister") [17:26:32.933] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.933] inherits = FALSE) [17:26:32.933] } [17:26:32.933] options(future.plan = NULL) [17:26:32.933] if (is.na(NA_character_)) [17:26:32.933] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.933] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.933] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.933] .init = FALSE) [17:26:32.933] } [17:26:32.933] } [17:26:32.933] } [17:26:32.933] }) [17:26:32.933] if (TRUE) { [17:26:32.933] base::sink(type = "output", split = FALSE) [17:26:32.933] if (TRUE) { [17:26:32.933] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.933] } [17:26:32.933] else { [17:26:32.933] ...future.result["stdout"] <- base::list(NULL) [17:26:32.933] } [17:26:32.933] base::close(...future.stdout) [17:26:32.933] ...future.stdout <- NULL [17:26:32.933] } [17:26:32.933] ...future.result$conditions <- ...future.conditions [17:26:32.933] ...future.result$finished <- base::Sys.time() [17:26:32.933] ...future.result [17:26:32.933] } [17:26:32.937] assign_globals() ... [17:26:32.937] List of 1 [17:26:32.937] $ a: num 1 [17:26:32.937] - attr(*, "where")=List of 1 [17:26:32.937] ..$ a: [17:26:32.937] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:26:32.937] - attr(*, "resolved")= logi FALSE [17:26:32.937] - attr(*, "total_size")= num 56 [17:26:32.937] - attr(*, "already-done")= logi TRUE [17:26:32.940] - copied 'a' to environment [17:26:32.940] assign_globals() ... done [17:26:32.941] plan(): Setting new future strategy stack: [17:26:32.941] List of future strategies: [17:26:32.941] 1. sequential: [17:26:32.941] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.941] - tweaked: FALSE [17:26:32.941] - call: NULL [17:26:32.942] plan(): nbrOfWorkers() = 1 [17:26:32.943] plan(): Setting new future strategy stack: [17:26:32.943] List of future strategies: [17:26:32.943] 1. sequential: [17:26:32.943] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.943] - tweaked: FALSE [17:26:32.943] - call: plan(strategy) [17:26:32.943] plan(): nbrOfWorkers() = 1 [17:26:32.944] SequentialFuture started (and completed) [17:26:32.944] - Launch lazy future ... done [17:26:32.944] run() for 'SequentialFuture' ... done [17:26:32.944] getGlobalsAndPackages() ... [17:26:32.945] Searching for globals... [17:26:32.946] - globals found: [3] '{', '*', 'a' [17:26:32.946] Searching for globals ... DONE [17:26:32.946] Resolving globals: FALSE [17:26:32.947] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:32.948] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:32.948] - globals: [1] 'a' [17:26:32.948] [17:26:32.948] getGlobalsAndPackages() ... DONE [17:26:32.948] run() for 'Future' ... [17:26:32.949] - state: 'created' [17:26:32.949] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:26:32.949] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:26:32.949] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:26:32.950] - Field: 'label' [17:26:32.950] - Field: 'local' [17:26:32.950] - Field: 'owner' [17:26:32.950] - Field: 'envir' [17:26:32.950] - Field: 'packages' [17:26:32.951] - Field: 'gc' [17:26:32.951] - Field: 'conditions' [17:26:32.951] - Field: 'expr' [17:26:32.951] - Field: 'uuid' [17:26:32.951] - Field: 'seed' [17:26:32.951] - Field: 'version' [17:26:32.952] - Field: 'result' [17:26:32.952] - Field: 'asynchronous' [17:26:32.952] - Field: 'calls' [17:26:32.952] - Field: 'globals' [17:26:32.952] - Field: 'stdout' [17:26:32.952] - Field: 'earlySignal' [17:26:32.953] - Field: 'lazy' [17:26:32.953] - Field: 'state' [17:26:32.953] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:26:32.953] - Launch lazy future ... [17:26:32.953] Packages needed by the future expression (n = 0): [17:26:32.953] Packages needed by future strategies (n = 0): [17:26:32.954] { [17:26:32.954] { [17:26:32.954] { [17:26:32.954] ...future.startTime <- base::Sys.time() [17:26:32.954] { [17:26:32.954] { [17:26:32.954] { [17:26:32.954] base::local({ [17:26:32.954] has_future <- base::requireNamespace("future", [17:26:32.954] quietly = TRUE) [17:26:32.954] if (has_future) { [17:26:32.954] ns <- base::getNamespace("future") [17:26:32.954] version <- ns[[".package"]][["version"]] [17:26:32.954] if (is.null(version)) [17:26:32.954] version <- utils::packageVersion("future") [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] version <- NULL [17:26:32.954] } [17:26:32.954] if (!has_future || version < "1.8.0") { [17:26:32.954] info <- base::c(r_version = base::gsub("R version ", [17:26:32.954] "", base::R.version$version.string), [17:26:32.954] platform = base::sprintf("%s (%s-bit)", [17:26:32.954] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:32.954] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:32.954] "release", "version")], collapse = " "), [17:26:32.954] hostname = base::Sys.info()[["nodename"]]) [17:26:32.954] info <- base::sprintf("%s: %s", base::names(info), [17:26:32.954] info) [17:26:32.954] info <- base::paste(info, collapse = "; ") [17:26:32.954] if (!has_future) { [17:26:32.954] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:32.954] info) [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:32.954] info, version) [17:26:32.954] } [17:26:32.954] base::stop(msg) [17:26:32.954] } [17:26:32.954] }) [17:26:32.954] } [17:26:32.954] ...future.strategy.old <- future::plan("list") [17:26:32.954] options(future.plan = NULL) [17:26:32.954] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.954] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:32.954] } [17:26:32.954] ...future.workdir <- getwd() [17:26:32.954] } [17:26:32.954] ...future.oldOptions <- base::as.list(base::.Options) [17:26:32.954] ...future.oldEnvVars <- base::Sys.getenv() [17:26:32.954] } [17:26:32.954] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:32.954] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:32.954] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:32.954] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:32.954] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:32.954] future.stdout.windows.reencode = NULL, width = 80L) [17:26:32.954] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:32.954] base::names(...future.oldOptions)) [17:26:32.954] } [17:26:32.954] if (FALSE) { [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] if (TRUE) { [17:26:32.954] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:32.954] open = "w") [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:32.954] windows = "NUL", "/dev/null"), open = "w") [17:26:32.954] } [17:26:32.954] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:32.954] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:32.954] base::sink(type = "output", split = FALSE) [17:26:32.954] base::close(...future.stdout) [17:26:32.954] }, add = TRUE) [17:26:32.954] } [17:26:32.954] ...future.frame <- base::sys.nframe() [17:26:32.954] ...future.conditions <- base::list() [17:26:32.954] ...future.rng <- base::globalenv()$.Random.seed [17:26:32.954] if (FALSE) { [17:26:32.954] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:32.954] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:32.954] } [17:26:32.954] ...future.result <- base::tryCatch({ [17:26:32.954] base::withCallingHandlers({ [17:26:32.954] ...future.value <- base::withVisible(base::local({ [17:26:32.954] 2 * a [17:26:32.954] })) [17:26:32.954] future::FutureResult(value = ...future.value$value, [17:26:32.954] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.954] ...future.rng), globalenv = if (FALSE) [17:26:32.954] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:32.954] ...future.globalenv.names)) [17:26:32.954] else NULL, started = ...future.startTime, version = "1.8") [17:26:32.954] }, condition = base::local({ [17:26:32.954] c <- base::c [17:26:32.954] inherits <- base::inherits [17:26:32.954] invokeRestart <- base::invokeRestart [17:26:32.954] length <- base::length [17:26:32.954] list <- base::list [17:26:32.954] seq.int <- base::seq.int [17:26:32.954] signalCondition <- base::signalCondition [17:26:32.954] sys.calls <- base::sys.calls [17:26:32.954] `[[` <- base::`[[` [17:26:32.954] `+` <- base::`+` [17:26:32.954] `<<-` <- base::`<<-` [17:26:32.954] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:32.954] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:32.954] 3L)] [17:26:32.954] } [17:26:32.954] function(cond) { [17:26:32.954] is_error <- inherits(cond, "error") [17:26:32.954] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:32.954] NULL) [17:26:32.954] if (is_error) { [17:26:32.954] sessionInformation <- function() { [17:26:32.954] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:32.954] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:32.954] search = base::search(), system = base::Sys.info()) [17:26:32.954] } [17:26:32.954] ...future.conditions[[length(...future.conditions) + [17:26:32.954] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:32.954] cond$call), session = sessionInformation(), [17:26:32.954] timestamp = base::Sys.time(), signaled = 0L) [17:26:32.954] signalCondition(cond) [17:26:32.954] } [17:26:32.954] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:32.954] "immediateCondition"))) { [17:26:32.954] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:32.954] ...future.conditions[[length(...future.conditions) + [17:26:32.954] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:32.954] if (TRUE && !signal) { [17:26:32.954] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.954] { [17:26:32.954] inherits <- base::inherits [17:26:32.954] invokeRestart <- base::invokeRestart [17:26:32.954] is.null <- base::is.null [17:26:32.954] muffled <- FALSE [17:26:32.954] if (inherits(cond, "message")) { [17:26:32.954] muffled <- grepl(pattern, "muffleMessage") [17:26:32.954] if (muffled) [17:26:32.954] invokeRestart("muffleMessage") [17:26:32.954] } [17:26:32.954] else if (inherits(cond, "warning")) { [17:26:32.954] muffled <- grepl(pattern, "muffleWarning") [17:26:32.954] if (muffled) [17:26:32.954] invokeRestart("muffleWarning") [17:26:32.954] } [17:26:32.954] else if (inherits(cond, "condition")) { [17:26:32.954] if (!is.null(pattern)) { [17:26:32.954] computeRestarts <- base::computeRestarts [17:26:32.954] grepl <- base::grepl [17:26:32.954] restarts <- computeRestarts(cond) [17:26:32.954] for (restart in restarts) { [17:26:32.954] name <- restart$name [17:26:32.954] if (is.null(name)) [17:26:32.954] next [17:26:32.954] if (!grepl(pattern, name)) [17:26:32.954] next [17:26:32.954] invokeRestart(restart) [17:26:32.954] muffled <- TRUE [17:26:32.954] break [17:26:32.954] } [17:26:32.954] } [17:26:32.954] } [17:26:32.954] invisible(muffled) [17:26:32.954] } [17:26:32.954] muffleCondition(cond, pattern = "^muffle") [17:26:32.954] } [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] if (TRUE) { [17:26:32.954] muffleCondition <- function (cond, pattern = "^muffle") [17:26:32.954] { [17:26:32.954] inherits <- base::inherits [17:26:32.954] invokeRestart <- base::invokeRestart [17:26:32.954] is.null <- base::is.null [17:26:32.954] muffled <- FALSE [17:26:32.954] if (inherits(cond, "message")) { [17:26:32.954] muffled <- grepl(pattern, "muffleMessage") [17:26:32.954] if (muffled) [17:26:32.954] invokeRestart("muffleMessage") [17:26:32.954] } [17:26:32.954] else if (inherits(cond, "warning")) { [17:26:32.954] muffled <- grepl(pattern, "muffleWarning") [17:26:32.954] if (muffled) [17:26:32.954] invokeRestart("muffleWarning") [17:26:32.954] } [17:26:32.954] else if (inherits(cond, "condition")) { [17:26:32.954] if (!is.null(pattern)) { [17:26:32.954] computeRestarts <- base::computeRestarts [17:26:32.954] grepl <- base::grepl [17:26:32.954] restarts <- computeRestarts(cond) [17:26:32.954] for (restart in restarts) { [17:26:32.954] name <- restart$name [17:26:32.954] if (is.null(name)) [17:26:32.954] next [17:26:32.954] if (!grepl(pattern, name)) [17:26:32.954] next [17:26:32.954] invokeRestart(restart) [17:26:32.954] muffled <- TRUE [17:26:32.954] break [17:26:32.954] } [17:26:32.954] } [17:26:32.954] } [17:26:32.954] invisible(muffled) [17:26:32.954] } [17:26:32.954] muffleCondition(cond, pattern = "^muffle") [17:26:32.954] } [17:26:32.954] } [17:26:32.954] } [17:26:32.954] })) [17:26:32.954] }, error = function(ex) { [17:26:32.954] base::structure(base::list(value = NULL, visible = NULL, [17:26:32.954] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:32.954] ...future.rng), started = ...future.startTime, [17:26:32.954] finished = Sys.time(), session_uuid = NA_character_, [17:26:32.954] version = "1.8"), class = "FutureResult") [17:26:32.954] }, finally = { [17:26:32.954] if (!identical(...future.workdir, getwd())) [17:26:32.954] setwd(...future.workdir) [17:26:32.954] { [17:26:32.954] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:32.954] ...future.oldOptions$nwarnings <- NULL [17:26:32.954] } [17:26:32.954] base::options(...future.oldOptions) [17:26:32.954] if (.Platform$OS.type == "windows") { [17:26:32.954] old_names <- names(...future.oldEnvVars) [17:26:32.954] envs <- base::Sys.getenv() [17:26:32.954] names <- names(envs) [17:26:32.954] common <- intersect(names, old_names) [17:26:32.954] added <- setdiff(names, old_names) [17:26:32.954] removed <- setdiff(old_names, names) [17:26:32.954] changed <- common[...future.oldEnvVars[common] != [17:26:32.954] envs[common]] [17:26:32.954] NAMES <- toupper(changed) [17:26:32.954] args <- list() [17:26:32.954] for (kk in seq_along(NAMES)) { [17:26:32.954] name <- changed[[kk]] [17:26:32.954] NAME <- NAMES[[kk]] [17:26:32.954] if (name != NAME && is.element(NAME, old_names)) [17:26:32.954] next [17:26:32.954] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.954] } [17:26:32.954] NAMES <- toupper(added) [17:26:32.954] for (kk in seq_along(NAMES)) { [17:26:32.954] name <- added[[kk]] [17:26:32.954] NAME <- NAMES[[kk]] [17:26:32.954] if (name != NAME && is.element(NAME, old_names)) [17:26:32.954] next [17:26:32.954] args[[name]] <- "" [17:26:32.954] } [17:26:32.954] NAMES <- toupper(removed) [17:26:32.954] for (kk in seq_along(NAMES)) { [17:26:32.954] name <- removed[[kk]] [17:26:32.954] NAME <- NAMES[[kk]] [17:26:32.954] if (name != NAME && is.element(NAME, old_names)) [17:26:32.954] next [17:26:32.954] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:32.954] } [17:26:32.954] if (length(args) > 0) [17:26:32.954] base::do.call(base::Sys.setenv, args = args) [17:26:32.954] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:32.954] } [17:26:32.954] { [17:26:32.954] if (base::length(...future.futureOptionsAdded) > [17:26:32.954] 0L) { [17:26:32.954] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:32.954] base::names(opts) <- ...future.futureOptionsAdded [17:26:32.954] base::options(opts) [17:26:32.954] } [17:26:32.954] { [17:26:32.954] { [17:26:32.954] NULL [17:26:32.954] RNGkind("Mersenne-Twister") [17:26:32.954] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:26:32.954] inherits = FALSE) [17:26:32.954] } [17:26:32.954] options(future.plan = NULL) [17:26:32.954] if (is.na(NA_character_)) [17:26:32.954] Sys.unsetenv("R_FUTURE_PLAN") [17:26:32.954] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:32.954] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:32.954] .init = FALSE) [17:26:32.954] } [17:26:32.954] } [17:26:32.954] } [17:26:32.954] }) [17:26:32.954] if (TRUE) { [17:26:32.954] base::sink(type = "output", split = FALSE) [17:26:32.954] if (TRUE) { [17:26:32.954] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:32.954] } [17:26:32.954] else { [17:26:32.954] ...future.result["stdout"] <- base::list(NULL) [17:26:32.954] } [17:26:32.954] base::close(...future.stdout) [17:26:32.954] ...future.stdout <- NULL [17:26:32.954] } [17:26:32.954] ...future.result$conditions <- ...future.conditions [17:26:32.954] ...future.result$finished <- base::Sys.time() [17:26:32.954] ...future.result [17:26:32.954] } [17:26:32.958] assign_globals() ... [17:26:32.958] List of 1 [17:26:32.958] $ a: num 1 [17:26:32.958] - attr(*, "where")=List of 1 [17:26:32.958] ..$ a: [17:26:32.958] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:26:32.958] - attr(*, "resolved")= logi FALSE [17:26:32.958] - attr(*, "total_size")= num 56 [17:26:32.958] - attr(*, "already-done")= logi TRUE [17:26:32.961] - copied 'a' to environment [17:26:32.961] assign_globals() ... done [17:26:32.961] plan(): Setting new future strategy stack: [17:26:32.961] List of future strategies: [17:26:32.961] 1. sequential: [17:26:32.961] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.961] - tweaked: FALSE [17:26:32.961] - call: NULL [17:26:32.962] plan(): nbrOfWorkers() = 1 [17:26:32.963] plan(): Setting new future strategy stack: [17:26:32.963] List of future strategies: [17:26:32.963] 1. sequential: [17:26:32.963] - args: function (..., envir = parent.frame(), workers = "") [17:26:32.963] - tweaked: FALSE [17:26:32.963] - call: plan(strategy) [17:26:32.964] plan(): nbrOfWorkers() = 1 [17:26:32.964] SequentialFuture started (and completed) [17:26:32.964] - Launch lazy future ... done [17:26:32.964] run() for 'SequentialFuture' ... done *** futureAssign() with 'sequential' futures ... DONE Testing with 1 cores ... DONE Testing with 2 cores ... *** futureAssign() with 'multisession' futures ... [17:26:32.970] plan(): Setting new future strategy stack: [17:26:32.971] List of future strategies: [17:26:32.971] 1. multisession: [17:26:32.971] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:26:32.971] - tweaked: FALSE [17:26:32.971] - call: plan(strategy) [17:26:32.971] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... [17:26:32.971] multisession: [17:26:32.971] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:26:32.971] - tweaked: FALSE [17:26:32.971] - call: plan(strategy) [17:26:32.975] getGlobalsAndPackages() ... [17:26:32.976] Not searching for globals [17:26:32.976] - globals: [0] [17:26:32.976] getGlobalsAndPackages() ... DONE [17:26:32.978] [local output] makeClusterPSOCK() ... [17:26:33.010] [local output] Workers: [n = 2] 'localhost', 'localhost' [17:26:33.016] [local output] Base port: 36844 [17:26:33.016] [local output] Getting setup options for 2 cluster nodes ... [17:26:33.017] [local output] - Node 1 of 2 ... [17:26:33.017] [local output] localMachine=TRUE => revtunnel=FALSE [17:26:33.018] Testing if worker's PID can be inferred: '"D:/RCompile/recent/R/bin/x64/Rscript" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/Rtmp6Le1L0/worker.rank=1.parallelly.parent=147176.23ee84f03561e.pid\")), silent = TRUE)" -e "file.exists(\"D:/temp/Rtmp6Le1L0/worker.rank=1.parallelly.parent=147176.23ee84f03561e.pid\")"' [17:26:33.449] - Possible to infer worker's PID: TRUE [17:26:33.450] [local output] Rscript port: 36844 [17:26:33.450] [local output] - Node 2 of 2 ... [17:26:33.451] [local output] localMachine=TRUE => revtunnel=FALSE [17:26:33.452] [local output] Rscript port: 36844 [17:26:33.453] [local output] Getting setup options for 2 cluster nodes ... done [17:26:33.453] [local output] - Parallel setup requested for some PSOCK nodes [17:26:33.454] [local output] Setting up PSOCK nodes in parallel [17:26:33.454] List of 36 [17:26:33.454] $ worker : chr "localhost" [17:26:33.454] ..- attr(*, "localhost")= logi TRUE [17:26:33.454] $ master : chr "localhost" [17:26:33.454] $ port : int 36844 [17:26:33.454] $ connectTimeout : num 120 [17:26:33.454] $ timeout : num 120 [17:26:33.454] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [17:26:33.454] $ homogeneous : logi TRUE [17:26:33.454] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=futureAssign.R:147176:CRANWIN3:C"| __truncated__ [17:26:33.454] $ rscript_envs : NULL [17:26:33.454] $ rscript_libs : chr [1:2] "D:/temp/RtmpAVtqMV/RLIBS_30708245f64e7" "D:/RCompile/recent/R/library" [17:26:33.454] $ rscript_startup : NULL [17:26:33.454] $ rscript_sh : chr "cmd" [17:26:33.454] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [17:26:33.454] $ methods : logi TRUE [17:26:33.454] $ socketOptions : chr "no-delay" [17:26:33.454] $ useXDR : logi FALSE [17:26:33.454] $ outfile : chr "/dev/null" [17:26:33.454] $ renice : int NA [17:26:33.454] $ rshcmd : NULL [17:26:33.454] $ user : chr(0) [17:26:33.454] $ revtunnel : logi FALSE [17:26:33.454] $ rshlogfile : NULL [17:26:33.454] $ rshopts : chr(0) [17:26:33.454] $ rank : int 1 [17:26:33.454] $ manual : logi FALSE [17:26:33.454] $ dryrun : logi FALSE [17:26:33.454] $ quiet : logi FALSE [17:26:33.454] $ setup_strategy : chr "parallel" [17:26:33.454] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [17:26:33.454] $ pidfile : chr "D:/temp/Rtmp6Le1L0/worker.rank=1.parallelly.parent=147176.23ee84f03561e.pid" [17:26:33.454] $ rshcmd_label : NULL [17:26:33.454] $ rsh_call : NULL [17:26:33.454] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [17:26:33.454] $ localMachine : logi TRUE [17:26:33.454] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [17:26:33.454] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [17:26:33.454] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [17:26:33.454] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [17:26:33.454] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [17:26:33.454] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [17:26:33.454] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [17:26:33.454] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [17:26:33.454] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [17:26:33.454] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [17:26:33.454] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [17:26:33.454] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [17:26:33.454] "parallel"), action = c("launch", "options"), verbose = FALSE) [17:26:33.454] $ arguments :List of 28 [17:26:33.454] ..$ worker : chr "localhost" [17:26:33.454] ..$ master : NULL [17:26:33.454] ..$ port : int 36844 [17:26:33.454] ..$ connectTimeout : num 120 [17:26:33.454] ..$ timeout : num 120 [17:26:33.454] ..$ rscript : NULL [17:26:33.454] ..$ homogeneous : NULL [17:26:33.454] ..$ rscript_args : NULL [17:26:33.454] ..$ rscript_envs : NULL [17:26:33.454] ..$ rscript_libs : chr [1:2] "D:/temp/RtmpAVtqMV/RLIBS_30708245f64e7" "D:/RCompile/recent/R/library" [17:26:33.454] ..$ rscript_startup : NULL [17:26:33.454] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [17:26:33.454] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [17:26:33.454] ..$ methods : logi TRUE [17:26:33.454] ..$ socketOptions : chr "no-delay" [17:26:33.454] ..$ useXDR : logi FALSE [17:26:33.454] ..$ outfile : chr "/dev/null" [17:26:33.454] ..$ renice : int NA [17:26:33.454] ..$ rshcmd : NULL [17:26:33.454] ..$ user : NULL [17:26:33.454] ..$ revtunnel : logi NA [17:26:33.454] ..$ rshlogfile : NULL [17:26:33.454] ..$ rshopts : NULL [17:26:33.454] ..$ rank : int 1 [17:26:33.454] ..$ manual : logi FALSE [17:26:33.454] ..$ dryrun : logi FALSE [17:26:33.454] ..$ quiet : logi FALSE [17:26:33.454] ..$ setup_strategy : chr "parallel" [17:26:33.454] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [17:26:33.476] [local output] System call to launch all workers: [17:26:33.476] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=futureAssign.R:147176:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/Rtmp6Le1L0/worker.rank=1.parallelly.parent=147176.23ee84f03561e.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e ".libPaths(c(\"D:/temp/RtmpAVtqMV/RLIBS_30708245f64e7\",\"D:/RCompile/recent/R/library\"))" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=36844 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [17:26:33.476] [local output] Starting PSOCK main server [17:26:33.482] [local output] Workers launched [17:26:33.483] [local output] Waiting for workers to connect back [17:26:33.483] - [local output] 0 workers out of 2 ready [17:26:33.644] - [local output] 0 workers out of 2 ready [17:26:33.645] - [local output] 1 workers out of 2 ready [17:26:33.645] - [local output] 2 workers out of 2 ready [17:26:33.646] [local output] Launching of workers completed [17:26:33.646] [local output] Collecting session information from workers [17:26:33.647] [local output] - Worker #1 of 2 [17:26:33.647] [local output] - Worker #2 of 2 [17:26:33.648] [local output] makeClusterPSOCK() ... done [17:26:33.660] Packages needed by the future expression (n = 0): [17:26:33.661] Packages needed by future strategies (n = 0): [17:26:33.661] { [17:26:33.661] { [17:26:33.661] { [17:26:33.661] ...future.startTime <- base::Sys.time() [17:26:33.661] { [17:26:33.661] { [17:26:33.661] { [17:26:33.661] { [17:26:33.661] base::local({ [17:26:33.661] has_future <- base::requireNamespace("future", [17:26:33.661] quietly = TRUE) [17:26:33.661] if (has_future) { [17:26:33.661] ns <- base::getNamespace("future") [17:26:33.661] version <- ns[[".package"]][["version"]] [17:26:33.661] if (is.null(version)) [17:26:33.661] version <- utils::packageVersion("future") [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] version <- NULL [17:26:33.661] } [17:26:33.661] if (!has_future || version < "1.8.0") { [17:26:33.661] info <- base::c(r_version = base::gsub("R version ", [17:26:33.661] "", base::R.version$version.string), [17:26:33.661] platform = base::sprintf("%s (%s-bit)", [17:26:33.661] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:33.661] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:33.661] "release", "version")], collapse = " "), [17:26:33.661] hostname = base::Sys.info()[["nodename"]]) [17:26:33.661] info <- base::sprintf("%s: %s", base::names(info), [17:26:33.661] info) [17:26:33.661] info <- base::paste(info, collapse = "; ") [17:26:33.661] if (!has_future) { [17:26:33.661] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:33.661] info) [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:33.661] info, version) [17:26:33.661] } [17:26:33.661] base::stop(msg) [17:26:33.661] } [17:26:33.661] }) [17:26:33.661] } [17:26:33.661] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:33.661] base::options(mc.cores = 1L) [17:26:33.661] } [17:26:33.661] ...future.strategy.old <- future::plan("list") [17:26:33.661] options(future.plan = NULL) [17:26:33.661] Sys.unsetenv("R_FUTURE_PLAN") [17:26:33.661] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:33.661] } [17:26:33.661] ...future.workdir <- getwd() [17:26:33.661] } [17:26:33.661] ...future.oldOptions <- base::as.list(base::.Options) [17:26:33.661] ...future.oldEnvVars <- base::Sys.getenv() [17:26:33.661] } [17:26:33.661] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:33.661] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:33.661] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:33.661] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:33.661] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:33.661] future.stdout.windows.reencode = NULL, width = 80L) [17:26:33.661] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:33.661] base::names(...future.oldOptions)) [17:26:33.661] } [17:26:33.661] if (FALSE) { [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] if (TRUE) { [17:26:33.661] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:33.661] open = "w") [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:33.661] windows = "NUL", "/dev/null"), open = "w") [17:26:33.661] } [17:26:33.661] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:33.661] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:33.661] base::sink(type = "output", split = FALSE) [17:26:33.661] base::close(...future.stdout) [17:26:33.661] }, add = TRUE) [17:26:33.661] } [17:26:33.661] ...future.frame <- base::sys.nframe() [17:26:33.661] ...future.conditions <- base::list() [17:26:33.661] ...future.rng <- base::globalenv()$.Random.seed [17:26:33.661] if (FALSE) { [17:26:33.661] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:33.661] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:33.661] } [17:26:33.661] ...future.result <- base::tryCatch({ [17:26:33.661] base::withCallingHandlers({ [17:26:33.661] ...future.value <- base::withVisible(base::local({ [17:26:33.661] ...future.makeSendCondition <- base::local({ [17:26:33.661] sendCondition <- NULL [17:26:33.661] function(frame = 1L) { [17:26:33.661] if (is.function(sendCondition)) [17:26:33.661] return(sendCondition) [17:26:33.661] ns <- getNamespace("parallel") [17:26:33.661] if (exists("sendData", mode = "function", [17:26:33.661] envir = ns)) { [17:26:33.661] parallel_sendData <- get("sendData", mode = "function", [17:26:33.661] envir = ns) [17:26:33.661] envir <- sys.frame(frame) [17:26:33.661] master <- NULL [17:26:33.661] while (!identical(envir, .GlobalEnv) && [17:26:33.661] !identical(envir, emptyenv())) { [17:26:33.661] if (exists("master", mode = "list", envir = envir, [17:26:33.661] inherits = FALSE)) { [17:26:33.661] master <- get("master", mode = "list", [17:26:33.661] envir = envir, inherits = FALSE) [17:26:33.661] if (inherits(master, c("SOCKnode", [17:26:33.661] "SOCK0node"))) { [17:26:33.661] sendCondition <<- function(cond) { [17:26:33.661] data <- list(type = "VALUE", value = cond, [17:26:33.661] success = TRUE) [17:26:33.661] parallel_sendData(master, data) [17:26:33.661] } [17:26:33.661] return(sendCondition) [17:26:33.661] } [17:26:33.661] } [17:26:33.661] frame <- frame + 1L [17:26:33.661] envir <- sys.frame(frame) [17:26:33.661] } [17:26:33.661] } [17:26:33.661] sendCondition <<- function(cond) NULL [17:26:33.661] } [17:26:33.661] }) [17:26:33.661] withCallingHandlers({ [17:26:33.661] NA [17:26:33.661] }, immediateCondition = function(cond) { [17:26:33.661] sendCondition <- ...future.makeSendCondition() [17:26:33.661] sendCondition(cond) [17:26:33.661] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.661] { [17:26:33.661] inherits <- base::inherits [17:26:33.661] invokeRestart <- base::invokeRestart [17:26:33.661] is.null <- base::is.null [17:26:33.661] muffled <- FALSE [17:26:33.661] if (inherits(cond, "message")) { [17:26:33.661] muffled <- grepl(pattern, "muffleMessage") [17:26:33.661] if (muffled) [17:26:33.661] invokeRestart("muffleMessage") [17:26:33.661] } [17:26:33.661] else if (inherits(cond, "warning")) { [17:26:33.661] muffled <- grepl(pattern, "muffleWarning") [17:26:33.661] if (muffled) [17:26:33.661] invokeRestart("muffleWarning") [17:26:33.661] } [17:26:33.661] else if (inherits(cond, "condition")) { [17:26:33.661] if (!is.null(pattern)) { [17:26:33.661] computeRestarts <- base::computeRestarts [17:26:33.661] grepl <- base::grepl [17:26:33.661] restarts <- computeRestarts(cond) [17:26:33.661] for (restart in restarts) { [17:26:33.661] name <- restart$name [17:26:33.661] if (is.null(name)) [17:26:33.661] next [17:26:33.661] if (!grepl(pattern, name)) [17:26:33.661] next [17:26:33.661] invokeRestart(restart) [17:26:33.661] muffled <- TRUE [17:26:33.661] break [17:26:33.661] } [17:26:33.661] } [17:26:33.661] } [17:26:33.661] invisible(muffled) [17:26:33.661] } [17:26:33.661] muffleCondition(cond) [17:26:33.661] }) [17:26:33.661] })) [17:26:33.661] future::FutureResult(value = ...future.value$value, [17:26:33.661] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:33.661] ...future.rng), globalenv = if (FALSE) [17:26:33.661] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:33.661] ...future.globalenv.names)) [17:26:33.661] else NULL, started = ...future.startTime, version = "1.8") [17:26:33.661] }, condition = base::local({ [17:26:33.661] c <- base::c [17:26:33.661] inherits <- base::inherits [17:26:33.661] invokeRestart <- base::invokeRestart [17:26:33.661] length <- base::length [17:26:33.661] list <- base::list [17:26:33.661] seq.int <- base::seq.int [17:26:33.661] signalCondition <- base::signalCondition [17:26:33.661] sys.calls <- base::sys.calls [17:26:33.661] `[[` <- base::`[[` [17:26:33.661] `+` <- base::`+` [17:26:33.661] `<<-` <- base::`<<-` [17:26:33.661] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:33.661] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:33.661] 3L)] [17:26:33.661] } [17:26:33.661] function(cond) { [17:26:33.661] is_error <- inherits(cond, "error") [17:26:33.661] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:33.661] NULL) [17:26:33.661] if (is_error) { [17:26:33.661] sessionInformation <- function() { [17:26:33.661] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:33.661] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:33.661] search = base::search(), system = base::Sys.info()) [17:26:33.661] } [17:26:33.661] ...future.conditions[[length(...future.conditions) + [17:26:33.661] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:33.661] cond$call), session = sessionInformation(), [17:26:33.661] timestamp = base::Sys.time(), signaled = 0L) [17:26:33.661] signalCondition(cond) [17:26:33.661] } [17:26:33.661] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:33.661] "immediateCondition"))) { [17:26:33.661] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:33.661] ...future.conditions[[length(...future.conditions) + [17:26:33.661] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:33.661] if (TRUE && !signal) { [17:26:33.661] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.661] { [17:26:33.661] inherits <- base::inherits [17:26:33.661] invokeRestart <- base::invokeRestart [17:26:33.661] is.null <- base::is.null [17:26:33.661] muffled <- FALSE [17:26:33.661] if (inherits(cond, "message")) { [17:26:33.661] muffled <- grepl(pattern, "muffleMessage") [17:26:33.661] if (muffled) [17:26:33.661] invokeRestart("muffleMessage") [17:26:33.661] } [17:26:33.661] else if (inherits(cond, "warning")) { [17:26:33.661] muffled <- grepl(pattern, "muffleWarning") [17:26:33.661] if (muffled) [17:26:33.661] invokeRestart("muffleWarning") [17:26:33.661] } [17:26:33.661] else if (inherits(cond, "condition")) { [17:26:33.661] if (!is.null(pattern)) { [17:26:33.661] computeRestarts <- base::computeRestarts [17:26:33.661] grepl <- base::grepl [17:26:33.661] restarts <- computeRestarts(cond) [17:26:33.661] for (restart in restarts) { [17:26:33.661] name <- restart$name [17:26:33.661] if (is.null(name)) [17:26:33.661] next [17:26:33.661] if (!grepl(pattern, name)) [17:26:33.661] next [17:26:33.661] invokeRestart(restart) [17:26:33.661] muffled <- TRUE [17:26:33.661] break [17:26:33.661] } [17:26:33.661] } [17:26:33.661] } [17:26:33.661] invisible(muffled) [17:26:33.661] } [17:26:33.661] muffleCondition(cond, pattern = "^muffle") [17:26:33.661] } [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] if (TRUE) { [17:26:33.661] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.661] { [17:26:33.661] inherits <- base::inherits [17:26:33.661] invokeRestart <- base::invokeRestart [17:26:33.661] is.null <- base::is.null [17:26:33.661] muffled <- FALSE [17:26:33.661] if (inherits(cond, "message")) { [17:26:33.661] muffled <- grepl(pattern, "muffleMessage") [17:26:33.661] if (muffled) [17:26:33.661] invokeRestart("muffleMessage") [17:26:33.661] } [17:26:33.661] else if (inherits(cond, "warning")) { [17:26:33.661] muffled <- grepl(pattern, "muffleWarning") [17:26:33.661] if (muffled) [17:26:33.661] invokeRestart("muffleWarning") [17:26:33.661] } [17:26:33.661] else if (inherits(cond, "condition")) { [17:26:33.661] if (!is.null(pattern)) { [17:26:33.661] computeRestarts <- base::computeRestarts [17:26:33.661] grepl <- base::grepl [17:26:33.661] restarts <- computeRestarts(cond) [17:26:33.661] for (restart in restarts) { [17:26:33.661] name <- restart$name [17:26:33.661] if (is.null(name)) [17:26:33.661] next [17:26:33.661] if (!grepl(pattern, name)) [17:26:33.661] next [17:26:33.661] invokeRestart(restart) [17:26:33.661] muffled <- TRUE [17:26:33.661] break [17:26:33.661] } [17:26:33.661] } [17:26:33.661] } [17:26:33.661] invisible(muffled) [17:26:33.661] } [17:26:33.661] muffleCondition(cond, pattern = "^muffle") [17:26:33.661] } [17:26:33.661] } [17:26:33.661] } [17:26:33.661] })) [17:26:33.661] }, error = function(ex) { [17:26:33.661] base::structure(base::list(value = NULL, visible = NULL, [17:26:33.661] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:33.661] ...future.rng), started = ...future.startTime, [17:26:33.661] finished = Sys.time(), session_uuid = NA_character_, [17:26:33.661] version = "1.8"), class = "FutureResult") [17:26:33.661] }, finally = { [17:26:33.661] if (!identical(...future.workdir, getwd())) [17:26:33.661] setwd(...future.workdir) [17:26:33.661] { [17:26:33.661] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:33.661] ...future.oldOptions$nwarnings <- NULL [17:26:33.661] } [17:26:33.661] base::options(...future.oldOptions) [17:26:33.661] if (.Platform$OS.type == "windows") { [17:26:33.661] old_names <- names(...future.oldEnvVars) [17:26:33.661] envs <- base::Sys.getenv() [17:26:33.661] names <- names(envs) [17:26:33.661] common <- intersect(names, old_names) [17:26:33.661] added <- setdiff(names, old_names) [17:26:33.661] removed <- setdiff(old_names, names) [17:26:33.661] changed <- common[...future.oldEnvVars[common] != [17:26:33.661] envs[common]] [17:26:33.661] NAMES <- toupper(changed) [17:26:33.661] args <- list() [17:26:33.661] for (kk in seq_along(NAMES)) { [17:26:33.661] name <- changed[[kk]] [17:26:33.661] NAME <- NAMES[[kk]] [17:26:33.661] if (name != NAME && is.element(NAME, old_names)) [17:26:33.661] next [17:26:33.661] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:33.661] } [17:26:33.661] NAMES <- toupper(added) [17:26:33.661] for (kk in seq_along(NAMES)) { [17:26:33.661] name <- added[[kk]] [17:26:33.661] NAME <- NAMES[[kk]] [17:26:33.661] if (name != NAME && is.element(NAME, old_names)) [17:26:33.661] next [17:26:33.661] args[[name]] <- "" [17:26:33.661] } [17:26:33.661] NAMES <- toupper(removed) [17:26:33.661] for (kk in seq_along(NAMES)) { [17:26:33.661] name <- removed[[kk]] [17:26:33.661] NAME <- NAMES[[kk]] [17:26:33.661] if (name != NAME && is.element(NAME, old_names)) [17:26:33.661] next [17:26:33.661] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:33.661] } [17:26:33.661] if (length(args) > 0) [17:26:33.661] base::do.call(base::Sys.setenv, args = args) [17:26:33.661] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:33.661] } [17:26:33.661] { [17:26:33.661] if (base::length(...future.futureOptionsAdded) > [17:26:33.661] 0L) { [17:26:33.661] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:33.661] base::names(opts) <- ...future.futureOptionsAdded [17:26:33.661] base::options(opts) [17:26:33.661] } [17:26:33.661] { [17:26:33.661] { [17:26:33.661] base::options(mc.cores = ...future.mc.cores.old) [17:26:33.661] NULL [17:26:33.661] } [17:26:33.661] options(future.plan = NULL) [17:26:33.661] if (is.na(NA_character_)) [17:26:33.661] Sys.unsetenv("R_FUTURE_PLAN") [17:26:33.661] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:33.661] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:33.661] .init = FALSE) [17:26:33.661] } [17:26:33.661] } [17:26:33.661] } [17:26:33.661] }) [17:26:33.661] if (TRUE) { [17:26:33.661] base::sink(type = "output", split = FALSE) [17:26:33.661] if (TRUE) { [17:26:33.661] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:33.661] } [17:26:33.661] else { [17:26:33.661] ...future.result["stdout"] <- base::list(NULL) [17:26:33.661] } [17:26:33.661] base::close(...future.stdout) [17:26:33.661] ...future.stdout <- NULL [17:26:33.661] } [17:26:33.661] ...future.result$conditions <- ...future.conditions [17:26:33.661] ...future.result$finished <- base::Sys.time() [17:26:33.661] ...future.result [17:26:33.661] } [17:26:33.743] MultisessionFuture started [17:26:33.744] result() for ClusterFuture ... [17:26:33.744] receiveMessageFromWorker() for ClusterFuture ... [17:26:33.744] - Validating connection of MultisessionFuture [17:26:33.796] - received message: FutureResult [17:26:33.796] - Received FutureResult [17:26:33.800] - Erased future from FutureRegistry [17:26:33.800] result() for ClusterFuture ... [17:26:33.800] - result already collected: FutureResult [17:26:33.801] result() for ClusterFuture ... done [17:26:33.801] receiveMessageFromWorker() for ClusterFuture ... done [17:26:33.801] result() for ClusterFuture ... done [17:26:33.801] result() for ClusterFuture ... [17:26:33.801] - result already collected: FutureResult [17:26:33.802] result() for ClusterFuture ... done [17:26:33.802] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE [17:26:33.805] plan(): nbrOfWorkers() = 2 [17:26:33.805] getGlobalsAndPackages() ... [17:26:33.805] Searching for globals... [17:26:33.806] - globals found: [1] '{' [17:26:33.806] Searching for globals ... DONE [17:26:33.807] Resolving globals: FALSE [17:26:33.807] [17:26:33.807] [17:26:33.807] getGlobalsAndPackages() ... DONE [17:26:33.808] run() for 'Future' ... [17:26:33.808] - state: 'created' [17:26:33.808] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:33.823] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:33.823] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:33.823] - Field: 'node' [17:26:33.823] - Field: 'label' [17:26:33.824] - Field: 'local' [17:26:33.824] - Field: 'owner' [17:26:33.824] - Field: 'envir' [17:26:33.824] - Field: 'workers' [17:26:33.824] - Field: 'packages' [17:26:33.824] - Field: 'gc' [17:26:33.825] - Field: 'conditions' [17:26:33.825] - Field: 'persistent' [17:26:33.825] - Field: 'expr' [17:26:33.825] - Field: 'uuid' [17:26:33.825] - Field: 'seed' [17:26:33.826] - Field: 'version' [17:26:33.826] - Field: 'result' [17:26:33.826] - Field: 'asynchronous' [17:26:33.826] - Field: 'calls' [17:26:33.826] - Field: 'globals' [17:26:33.827] - Field: 'stdout' [17:26:33.827] - Field: 'earlySignal' [17:26:33.827] - Field: 'lazy' [17:26:33.827] - Field: 'state' [17:26:33.827] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:33.828] - Launch lazy future ... [17:26:33.828] Packages needed by the future expression (n = 0): [17:26:33.828] Packages needed by future strategies (n = 0): [17:26:33.829] { [17:26:33.829] { [17:26:33.829] { [17:26:33.829] ...future.startTime <- base::Sys.time() [17:26:33.829] { [17:26:33.829] { [17:26:33.829] { [17:26:33.829] { [17:26:33.829] base::local({ [17:26:33.829] has_future <- base::requireNamespace("future", [17:26:33.829] quietly = TRUE) [17:26:33.829] if (has_future) { [17:26:33.829] ns <- base::getNamespace("future") [17:26:33.829] version <- ns[[".package"]][["version"]] [17:26:33.829] if (is.null(version)) [17:26:33.829] version <- utils::packageVersion("future") [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] version <- NULL [17:26:33.829] } [17:26:33.829] if (!has_future || version < "1.8.0") { [17:26:33.829] info <- base::c(r_version = base::gsub("R version ", [17:26:33.829] "", base::R.version$version.string), [17:26:33.829] platform = base::sprintf("%s (%s-bit)", [17:26:33.829] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:33.829] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:33.829] "release", "version")], collapse = " "), [17:26:33.829] hostname = base::Sys.info()[["nodename"]]) [17:26:33.829] info <- base::sprintf("%s: %s", base::names(info), [17:26:33.829] info) [17:26:33.829] info <- base::paste(info, collapse = "; ") [17:26:33.829] if (!has_future) { [17:26:33.829] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:33.829] info) [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:33.829] info, version) [17:26:33.829] } [17:26:33.829] base::stop(msg) [17:26:33.829] } [17:26:33.829] }) [17:26:33.829] } [17:26:33.829] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:33.829] base::options(mc.cores = 1L) [17:26:33.829] } [17:26:33.829] ...future.strategy.old <- future::plan("list") [17:26:33.829] options(future.plan = NULL) [17:26:33.829] Sys.unsetenv("R_FUTURE_PLAN") [17:26:33.829] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:33.829] } [17:26:33.829] ...future.workdir <- getwd() [17:26:33.829] } [17:26:33.829] ...future.oldOptions <- base::as.list(base::.Options) [17:26:33.829] ...future.oldEnvVars <- base::Sys.getenv() [17:26:33.829] } [17:26:33.829] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:33.829] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:33.829] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:33.829] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:33.829] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:33.829] future.stdout.windows.reencode = NULL, width = 80L) [17:26:33.829] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:33.829] base::names(...future.oldOptions)) [17:26:33.829] } [17:26:33.829] if (FALSE) { [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] if (TRUE) { [17:26:33.829] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:33.829] open = "w") [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:33.829] windows = "NUL", "/dev/null"), open = "w") [17:26:33.829] } [17:26:33.829] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:33.829] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:33.829] base::sink(type = "output", split = FALSE) [17:26:33.829] base::close(...future.stdout) [17:26:33.829] }, add = TRUE) [17:26:33.829] } [17:26:33.829] ...future.frame <- base::sys.nframe() [17:26:33.829] ...future.conditions <- base::list() [17:26:33.829] ...future.rng <- base::globalenv()$.Random.seed [17:26:33.829] if (FALSE) { [17:26:33.829] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:33.829] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:33.829] } [17:26:33.829] ...future.result <- base::tryCatch({ [17:26:33.829] base::withCallingHandlers({ [17:26:33.829] ...future.value <- base::withVisible(base::local({ [17:26:33.829] ...future.makeSendCondition <- base::local({ [17:26:33.829] sendCondition <- NULL [17:26:33.829] function(frame = 1L) { [17:26:33.829] if (is.function(sendCondition)) [17:26:33.829] return(sendCondition) [17:26:33.829] ns <- getNamespace("parallel") [17:26:33.829] if (exists("sendData", mode = "function", [17:26:33.829] envir = ns)) { [17:26:33.829] parallel_sendData <- get("sendData", mode = "function", [17:26:33.829] envir = ns) [17:26:33.829] envir <- sys.frame(frame) [17:26:33.829] master <- NULL [17:26:33.829] while (!identical(envir, .GlobalEnv) && [17:26:33.829] !identical(envir, emptyenv())) { [17:26:33.829] if (exists("master", mode = "list", envir = envir, [17:26:33.829] inherits = FALSE)) { [17:26:33.829] master <- get("master", mode = "list", [17:26:33.829] envir = envir, inherits = FALSE) [17:26:33.829] if (inherits(master, c("SOCKnode", [17:26:33.829] "SOCK0node"))) { [17:26:33.829] sendCondition <<- function(cond) { [17:26:33.829] data <- list(type = "VALUE", value = cond, [17:26:33.829] success = TRUE) [17:26:33.829] parallel_sendData(master, data) [17:26:33.829] } [17:26:33.829] return(sendCondition) [17:26:33.829] } [17:26:33.829] } [17:26:33.829] frame <- frame + 1L [17:26:33.829] envir <- sys.frame(frame) [17:26:33.829] } [17:26:33.829] } [17:26:33.829] sendCondition <<- function(cond) NULL [17:26:33.829] } [17:26:33.829] }) [17:26:33.829] withCallingHandlers({ [17:26:33.829] { [17:26:33.829] 2 [17:26:33.829] } [17:26:33.829] }, immediateCondition = function(cond) { [17:26:33.829] sendCondition <- ...future.makeSendCondition() [17:26:33.829] sendCondition(cond) [17:26:33.829] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.829] { [17:26:33.829] inherits <- base::inherits [17:26:33.829] invokeRestart <- base::invokeRestart [17:26:33.829] is.null <- base::is.null [17:26:33.829] muffled <- FALSE [17:26:33.829] if (inherits(cond, "message")) { [17:26:33.829] muffled <- grepl(pattern, "muffleMessage") [17:26:33.829] if (muffled) [17:26:33.829] invokeRestart("muffleMessage") [17:26:33.829] } [17:26:33.829] else if (inherits(cond, "warning")) { [17:26:33.829] muffled <- grepl(pattern, "muffleWarning") [17:26:33.829] if (muffled) [17:26:33.829] invokeRestart("muffleWarning") [17:26:33.829] } [17:26:33.829] else if (inherits(cond, "condition")) { [17:26:33.829] if (!is.null(pattern)) { [17:26:33.829] computeRestarts <- base::computeRestarts [17:26:33.829] grepl <- base::grepl [17:26:33.829] restarts <- computeRestarts(cond) [17:26:33.829] for (restart in restarts) { [17:26:33.829] name <- restart$name [17:26:33.829] if (is.null(name)) [17:26:33.829] next [17:26:33.829] if (!grepl(pattern, name)) [17:26:33.829] next [17:26:33.829] invokeRestart(restart) [17:26:33.829] muffled <- TRUE [17:26:33.829] break [17:26:33.829] } [17:26:33.829] } [17:26:33.829] } [17:26:33.829] invisible(muffled) [17:26:33.829] } [17:26:33.829] muffleCondition(cond) [17:26:33.829] }) [17:26:33.829] })) [17:26:33.829] future::FutureResult(value = ...future.value$value, [17:26:33.829] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:33.829] ...future.rng), globalenv = if (FALSE) [17:26:33.829] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:33.829] ...future.globalenv.names)) [17:26:33.829] else NULL, started = ...future.startTime, version = "1.8") [17:26:33.829] }, condition = base::local({ [17:26:33.829] c <- base::c [17:26:33.829] inherits <- base::inherits [17:26:33.829] invokeRestart <- base::invokeRestart [17:26:33.829] length <- base::length [17:26:33.829] list <- base::list [17:26:33.829] seq.int <- base::seq.int [17:26:33.829] signalCondition <- base::signalCondition [17:26:33.829] sys.calls <- base::sys.calls [17:26:33.829] `[[` <- base::`[[` [17:26:33.829] `+` <- base::`+` [17:26:33.829] `<<-` <- base::`<<-` [17:26:33.829] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:33.829] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:33.829] 3L)] [17:26:33.829] } [17:26:33.829] function(cond) { [17:26:33.829] is_error <- inherits(cond, "error") [17:26:33.829] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:33.829] NULL) [17:26:33.829] if (is_error) { [17:26:33.829] sessionInformation <- function() { [17:26:33.829] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:33.829] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:33.829] search = base::search(), system = base::Sys.info()) [17:26:33.829] } [17:26:33.829] ...future.conditions[[length(...future.conditions) + [17:26:33.829] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:33.829] cond$call), session = sessionInformation(), [17:26:33.829] timestamp = base::Sys.time(), signaled = 0L) [17:26:33.829] signalCondition(cond) [17:26:33.829] } [17:26:33.829] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:33.829] "immediateCondition"))) { [17:26:33.829] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:33.829] ...future.conditions[[length(...future.conditions) + [17:26:33.829] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:33.829] if (TRUE && !signal) { [17:26:33.829] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.829] { [17:26:33.829] inherits <- base::inherits [17:26:33.829] invokeRestart <- base::invokeRestart [17:26:33.829] is.null <- base::is.null [17:26:33.829] muffled <- FALSE [17:26:33.829] if (inherits(cond, "message")) { [17:26:33.829] muffled <- grepl(pattern, "muffleMessage") [17:26:33.829] if (muffled) [17:26:33.829] invokeRestart("muffleMessage") [17:26:33.829] } [17:26:33.829] else if (inherits(cond, "warning")) { [17:26:33.829] muffled <- grepl(pattern, "muffleWarning") [17:26:33.829] if (muffled) [17:26:33.829] invokeRestart("muffleWarning") [17:26:33.829] } [17:26:33.829] else if (inherits(cond, "condition")) { [17:26:33.829] if (!is.null(pattern)) { [17:26:33.829] computeRestarts <- base::computeRestarts [17:26:33.829] grepl <- base::grepl [17:26:33.829] restarts <- computeRestarts(cond) [17:26:33.829] for (restart in restarts) { [17:26:33.829] name <- restart$name [17:26:33.829] if (is.null(name)) [17:26:33.829] next [17:26:33.829] if (!grepl(pattern, name)) [17:26:33.829] next [17:26:33.829] invokeRestart(restart) [17:26:33.829] muffled <- TRUE [17:26:33.829] break [17:26:33.829] } [17:26:33.829] } [17:26:33.829] } [17:26:33.829] invisible(muffled) [17:26:33.829] } [17:26:33.829] muffleCondition(cond, pattern = "^muffle") [17:26:33.829] } [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] if (TRUE) { [17:26:33.829] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.829] { [17:26:33.829] inherits <- base::inherits [17:26:33.829] invokeRestart <- base::invokeRestart [17:26:33.829] is.null <- base::is.null [17:26:33.829] muffled <- FALSE [17:26:33.829] if (inherits(cond, "message")) { [17:26:33.829] muffled <- grepl(pattern, "muffleMessage") [17:26:33.829] if (muffled) [17:26:33.829] invokeRestart("muffleMessage") [17:26:33.829] } [17:26:33.829] else if (inherits(cond, "warning")) { [17:26:33.829] muffled <- grepl(pattern, "muffleWarning") [17:26:33.829] if (muffled) [17:26:33.829] invokeRestart("muffleWarning") [17:26:33.829] } [17:26:33.829] else if (inherits(cond, "condition")) { [17:26:33.829] if (!is.null(pattern)) { [17:26:33.829] computeRestarts <- base::computeRestarts [17:26:33.829] grepl <- base::grepl [17:26:33.829] restarts <- computeRestarts(cond) [17:26:33.829] for (restart in restarts) { [17:26:33.829] name <- restart$name [17:26:33.829] if (is.null(name)) [17:26:33.829] next [17:26:33.829] if (!grepl(pattern, name)) [17:26:33.829] next [17:26:33.829] invokeRestart(restart) [17:26:33.829] muffled <- TRUE [17:26:33.829] break [17:26:33.829] } [17:26:33.829] } [17:26:33.829] } [17:26:33.829] invisible(muffled) [17:26:33.829] } [17:26:33.829] muffleCondition(cond, pattern = "^muffle") [17:26:33.829] } [17:26:33.829] } [17:26:33.829] } [17:26:33.829] })) [17:26:33.829] }, error = function(ex) { [17:26:33.829] base::structure(base::list(value = NULL, visible = NULL, [17:26:33.829] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:33.829] ...future.rng), started = ...future.startTime, [17:26:33.829] finished = Sys.time(), session_uuid = NA_character_, [17:26:33.829] version = "1.8"), class = "FutureResult") [17:26:33.829] }, finally = { [17:26:33.829] if (!identical(...future.workdir, getwd())) [17:26:33.829] setwd(...future.workdir) [17:26:33.829] { [17:26:33.829] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:33.829] ...future.oldOptions$nwarnings <- NULL [17:26:33.829] } [17:26:33.829] base::options(...future.oldOptions) [17:26:33.829] if (.Platform$OS.type == "windows") { [17:26:33.829] old_names <- names(...future.oldEnvVars) [17:26:33.829] envs <- base::Sys.getenv() [17:26:33.829] names <- names(envs) [17:26:33.829] common <- intersect(names, old_names) [17:26:33.829] added <- setdiff(names, old_names) [17:26:33.829] removed <- setdiff(old_names, names) [17:26:33.829] changed <- common[...future.oldEnvVars[common] != [17:26:33.829] envs[common]] [17:26:33.829] NAMES <- toupper(changed) [17:26:33.829] args <- list() [17:26:33.829] for (kk in seq_along(NAMES)) { [17:26:33.829] name <- changed[[kk]] [17:26:33.829] NAME <- NAMES[[kk]] [17:26:33.829] if (name != NAME && is.element(NAME, old_names)) [17:26:33.829] next [17:26:33.829] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:33.829] } [17:26:33.829] NAMES <- toupper(added) [17:26:33.829] for (kk in seq_along(NAMES)) { [17:26:33.829] name <- added[[kk]] [17:26:33.829] NAME <- NAMES[[kk]] [17:26:33.829] if (name != NAME && is.element(NAME, old_names)) [17:26:33.829] next [17:26:33.829] args[[name]] <- "" [17:26:33.829] } [17:26:33.829] NAMES <- toupper(removed) [17:26:33.829] for (kk in seq_along(NAMES)) { [17:26:33.829] name <- removed[[kk]] [17:26:33.829] NAME <- NAMES[[kk]] [17:26:33.829] if (name != NAME && is.element(NAME, old_names)) [17:26:33.829] next [17:26:33.829] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:33.829] } [17:26:33.829] if (length(args) > 0) [17:26:33.829] base::do.call(base::Sys.setenv, args = args) [17:26:33.829] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:33.829] } [17:26:33.829] { [17:26:33.829] if (base::length(...future.futureOptionsAdded) > [17:26:33.829] 0L) { [17:26:33.829] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:33.829] base::names(opts) <- ...future.futureOptionsAdded [17:26:33.829] base::options(opts) [17:26:33.829] } [17:26:33.829] { [17:26:33.829] { [17:26:33.829] base::options(mc.cores = ...future.mc.cores.old) [17:26:33.829] NULL [17:26:33.829] } [17:26:33.829] options(future.plan = NULL) [17:26:33.829] if (is.na(NA_character_)) [17:26:33.829] Sys.unsetenv("R_FUTURE_PLAN") [17:26:33.829] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:33.829] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:33.829] .init = FALSE) [17:26:33.829] } [17:26:33.829] } [17:26:33.829] } [17:26:33.829] }) [17:26:33.829] if (TRUE) { [17:26:33.829] base::sink(type = "output", split = FALSE) [17:26:33.829] if (TRUE) { [17:26:33.829] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:33.829] } [17:26:33.829] else { [17:26:33.829] ...future.result["stdout"] <- base::list(NULL) [17:26:33.829] } [17:26:33.829] base::close(...future.stdout) [17:26:33.829] ...future.stdout <- NULL [17:26:33.829] } [17:26:33.829] ...future.result$conditions <- ...future.conditions [17:26:33.829] ...future.result$finished <- base::Sys.time() [17:26:33.829] ...future.result [17:26:33.829] } [17:26:33.835] MultisessionFuture started [17:26:33.835] - Launch lazy future ... done [17:26:33.835] run() for 'MultisessionFuture' ... done [17:26:33.835] getGlobalsAndPackages() ... [17:26:33.836] Searching for globals... [17:26:33.837] - globals found: [1] '{' [17:26:33.837] Searching for globals ... DONE [17:26:33.837] Resolving globals: FALSE [17:26:33.837] [17:26:33.838] [17:26:33.838] getGlobalsAndPackages() ... DONE [17:26:33.838] run() for 'Future' ... [17:26:33.838] - state: 'created' [17:26:33.839] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:33.853] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:33.853] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:33.853] - Field: 'node' [17:26:33.854] - Field: 'label' [17:26:33.854] - Field: 'local' [17:26:33.854] - Field: 'owner' [17:26:33.854] - Field: 'envir' [17:26:33.854] - Field: 'workers' [17:26:33.854] - Field: 'packages' [17:26:33.855] - Field: 'gc' [17:26:33.855] - Field: 'conditions' [17:26:33.855] - Field: 'persistent' [17:26:33.855] - Field: 'expr' [17:26:33.855] - Field: 'uuid' [17:26:33.856] - Field: 'seed' [17:26:33.856] - Field: 'version' [17:26:33.856] - Field: 'result' [17:26:33.856] - Field: 'asynchronous' [17:26:33.856] - Field: 'calls' [17:26:33.857] - Field: 'globals' [17:26:33.857] - Field: 'stdout' [17:26:33.857] - Field: 'earlySignal' [17:26:33.857] - Field: 'lazy' [17:26:33.857] - Field: 'state' [17:26:33.858] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:33.858] - Launch lazy future ... [17:26:33.858] Packages needed by the future expression (n = 0): [17:26:33.858] Packages needed by future strategies (n = 0): [17:26:33.859] { [17:26:33.859] { [17:26:33.859] { [17:26:33.859] ...future.startTime <- base::Sys.time() [17:26:33.859] { [17:26:33.859] { [17:26:33.859] { [17:26:33.859] { [17:26:33.859] base::local({ [17:26:33.859] has_future <- base::requireNamespace("future", [17:26:33.859] quietly = TRUE) [17:26:33.859] if (has_future) { [17:26:33.859] ns <- base::getNamespace("future") [17:26:33.859] version <- ns[[".package"]][["version"]] [17:26:33.859] if (is.null(version)) [17:26:33.859] version <- utils::packageVersion("future") [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] version <- NULL [17:26:33.859] } [17:26:33.859] if (!has_future || version < "1.8.0") { [17:26:33.859] info <- base::c(r_version = base::gsub("R version ", [17:26:33.859] "", base::R.version$version.string), [17:26:33.859] platform = base::sprintf("%s (%s-bit)", [17:26:33.859] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:33.859] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:33.859] "release", "version")], collapse = " "), [17:26:33.859] hostname = base::Sys.info()[["nodename"]]) [17:26:33.859] info <- base::sprintf("%s: %s", base::names(info), [17:26:33.859] info) [17:26:33.859] info <- base::paste(info, collapse = "; ") [17:26:33.859] if (!has_future) { [17:26:33.859] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:33.859] info) [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:33.859] info, version) [17:26:33.859] } [17:26:33.859] base::stop(msg) [17:26:33.859] } [17:26:33.859] }) [17:26:33.859] } [17:26:33.859] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:33.859] base::options(mc.cores = 1L) [17:26:33.859] } [17:26:33.859] ...future.strategy.old <- future::plan("list") [17:26:33.859] options(future.plan = NULL) [17:26:33.859] Sys.unsetenv("R_FUTURE_PLAN") [17:26:33.859] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:33.859] } [17:26:33.859] ...future.workdir <- getwd() [17:26:33.859] } [17:26:33.859] ...future.oldOptions <- base::as.list(base::.Options) [17:26:33.859] ...future.oldEnvVars <- base::Sys.getenv() [17:26:33.859] } [17:26:33.859] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:33.859] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:33.859] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:33.859] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:33.859] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:33.859] future.stdout.windows.reencode = NULL, width = 80L) [17:26:33.859] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:33.859] base::names(...future.oldOptions)) [17:26:33.859] } [17:26:33.859] if (FALSE) { [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] if (TRUE) { [17:26:33.859] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:33.859] open = "w") [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:33.859] windows = "NUL", "/dev/null"), open = "w") [17:26:33.859] } [17:26:33.859] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:33.859] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:33.859] base::sink(type = "output", split = FALSE) [17:26:33.859] base::close(...future.stdout) [17:26:33.859] }, add = TRUE) [17:26:33.859] } [17:26:33.859] ...future.frame <- base::sys.nframe() [17:26:33.859] ...future.conditions <- base::list() [17:26:33.859] ...future.rng <- base::globalenv()$.Random.seed [17:26:33.859] if (FALSE) { [17:26:33.859] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:33.859] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:33.859] } [17:26:33.859] ...future.result <- base::tryCatch({ [17:26:33.859] base::withCallingHandlers({ [17:26:33.859] ...future.value <- base::withVisible(base::local({ [17:26:33.859] ...future.makeSendCondition <- base::local({ [17:26:33.859] sendCondition <- NULL [17:26:33.859] function(frame = 1L) { [17:26:33.859] if (is.function(sendCondition)) [17:26:33.859] return(sendCondition) [17:26:33.859] ns <- getNamespace("parallel") [17:26:33.859] if (exists("sendData", mode = "function", [17:26:33.859] envir = ns)) { [17:26:33.859] parallel_sendData <- get("sendData", mode = "function", [17:26:33.859] envir = ns) [17:26:33.859] envir <- sys.frame(frame) [17:26:33.859] master <- NULL [17:26:33.859] while (!identical(envir, .GlobalEnv) && [17:26:33.859] !identical(envir, emptyenv())) { [17:26:33.859] if (exists("master", mode = "list", envir = envir, [17:26:33.859] inherits = FALSE)) { [17:26:33.859] master <- get("master", mode = "list", [17:26:33.859] envir = envir, inherits = FALSE) [17:26:33.859] if (inherits(master, c("SOCKnode", [17:26:33.859] "SOCK0node"))) { [17:26:33.859] sendCondition <<- function(cond) { [17:26:33.859] data <- list(type = "VALUE", value = cond, [17:26:33.859] success = TRUE) [17:26:33.859] parallel_sendData(master, data) [17:26:33.859] } [17:26:33.859] return(sendCondition) [17:26:33.859] } [17:26:33.859] } [17:26:33.859] frame <- frame + 1L [17:26:33.859] envir <- sys.frame(frame) [17:26:33.859] } [17:26:33.859] } [17:26:33.859] sendCondition <<- function(cond) NULL [17:26:33.859] } [17:26:33.859] }) [17:26:33.859] withCallingHandlers({ [17:26:33.859] { [17:26:33.859] 4 [17:26:33.859] } [17:26:33.859] }, immediateCondition = function(cond) { [17:26:33.859] sendCondition <- ...future.makeSendCondition() [17:26:33.859] sendCondition(cond) [17:26:33.859] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.859] { [17:26:33.859] inherits <- base::inherits [17:26:33.859] invokeRestart <- base::invokeRestart [17:26:33.859] is.null <- base::is.null [17:26:33.859] muffled <- FALSE [17:26:33.859] if (inherits(cond, "message")) { [17:26:33.859] muffled <- grepl(pattern, "muffleMessage") [17:26:33.859] if (muffled) [17:26:33.859] invokeRestart("muffleMessage") [17:26:33.859] } [17:26:33.859] else if (inherits(cond, "warning")) { [17:26:33.859] muffled <- grepl(pattern, "muffleWarning") [17:26:33.859] if (muffled) [17:26:33.859] invokeRestart("muffleWarning") [17:26:33.859] } [17:26:33.859] else if (inherits(cond, "condition")) { [17:26:33.859] if (!is.null(pattern)) { [17:26:33.859] computeRestarts <- base::computeRestarts [17:26:33.859] grepl <- base::grepl [17:26:33.859] restarts <- computeRestarts(cond) [17:26:33.859] for (restart in restarts) { [17:26:33.859] name <- restart$name [17:26:33.859] if (is.null(name)) [17:26:33.859] next [17:26:33.859] if (!grepl(pattern, name)) [17:26:33.859] next [17:26:33.859] invokeRestart(restart) [17:26:33.859] muffled <- TRUE [17:26:33.859] break [17:26:33.859] } [17:26:33.859] } [17:26:33.859] } [17:26:33.859] invisible(muffled) [17:26:33.859] } [17:26:33.859] muffleCondition(cond) [17:26:33.859] }) [17:26:33.859] })) [17:26:33.859] future::FutureResult(value = ...future.value$value, [17:26:33.859] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:33.859] ...future.rng), globalenv = if (FALSE) [17:26:33.859] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:33.859] ...future.globalenv.names)) [17:26:33.859] else NULL, started = ...future.startTime, version = "1.8") [17:26:33.859] }, condition = base::local({ [17:26:33.859] c <- base::c [17:26:33.859] inherits <- base::inherits [17:26:33.859] invokeRestart <- base::invokeRestart [17:26:33.859] length <- base::length [17:26:33.859] list <- base::list [17:26:33.859] seq.int <- base::seq.int [17:26:33.859] signalCondition <- base::signalCondition [17:26:33.859] sys.calls <- base::sys.calls [17:26:33.859] `[[` <- base::`[[` [17:26:33.859] `+` <- base::`+` [17:26:33.859] `<<-` <- base::`<<-` [17:26:33.859] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:33.859] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:33.859] 3L)] [17:26:33.859] } [17:26:33.859] function(cond) { [17:26:33.859] is_error <- inherits(cond, "error") [17:26:33.859] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:33.859] NULL) [17:26:33.859] if (is_error) { [17:26:33.859] sessionInformation <- function() { [17:26:33.859] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:33.859] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:33.859] search = base::search(), system = base::Sys.info()) [17:26:33.859] } [17:26:33.859] ...future.conditions[[length(...future.conditions) + [17:26:33.859] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:33.859] cond$call), session = sessionInformation(), [17:26:33.859] timestamp = base::Sys.time(), signaled = 0L) [17:26:33.859] signalCondition(cond) [17:26:33.859] } [17:26:33.859] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:33.859] "immediateCondition"))) { [17:26:33.859] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:33.859] ...future.conditions[[length(...future.conditions) + [17:26:33.859] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:33.859] if (TRUE && !signal) { [17:26:33.859] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.859] { [17:26:33.859] inherits <- base::inherits [17:26:33.859] invokeRestart <- base::invokeRestart [17:26:33.859] is.null <- base::is.null [17:26:33.859] muffled <- FALSE [17:26:33.859] if (inherits(cond, "message")) { [17:26:33.859] muffled <- grepl(pattern, "muffleMessage") [17:26:33.859] if (muffled) [17:26:33.859] invokeRestart("muffleMessage") [17:26:33.859] } [17:26:33.859] else if (inherits(cond, "warning")) { [17:26:33.859] muffled <- grepl(pattern, "muffleWarning") [17:26:33.859] if (muffled) [17:26:33.859] invokeRestart("muffleWarning") [17:26:33.859] } [17:26:33.859] else if (inherits(cond, "condition")) { [17:26:33.859] if (!is.null(pattern)) { [17:26:33.859] computeRestarts <- base::computeRestarts [17:26:33.859] grepl <- base::grepl [17:26:33.859] restarts <- computeRestarts(cond) [17:26:33.859] for (restart in restarts) { [17:26:33.859] name <- restart$name [17:26:33.859] if (is.null(name)) [17:26:33.859] next [17:26:33.859] if (!grepl(pattern, name)) [17:26:33.859] next [17:26:33.859] invokeRestart(restart) [17:26:33.859] muffled <- TRUE [17:26:33.859] break [17:26:33.859] } [17:26:33.859] } [17:26:33.859] } [17:26:33.859] invisible(muffled) [17:26:33.859] } [17:26:33.859] muffleCondition(cond, pattern = "^muffle") [17:26:33.859] } [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] if (TRUE) { [17:26:33.859] muffleCondition <- function (cond, pattern = "^muffle") [17:26:33.859] { [17:26:33.859] inherits <- base::inherits [17:26:33.859] invokeRestart <- base::invokeRestart [17:26:33.859] is.null <- base::is.null [17:26:33.859] muffled <- FALSE [17:26:33.859] if (inherits(cond, "message")) { [17:26:33.859] muffled <- grepl(pattern, "muffleMessage") [17:26:33.859] if (muffled) [17:26:33.859] invokeRestart("muffleMessage") [17:26:33.859] } [17:26:33.859] else if (inherits(cond, "warning")) { [17:26:33.859] muffled <- grepl(pattern, "muffleWarning") [17:26:33.859] if (muffled) [17:26:33.859] invokeRestart("muffleWarning") [17:26:33.859] } [17:26:33.859] else if (inherits(cond, "condition")) { [17:26:33.859] if (!is.null(pattern)) { [17:26:33.859] computeRestarts <- base::computeRestarts [17:26:33.859] grepl <- base::grepl [17:26:33.859] restarts <- computeRestarts(cond) [17:26:33.859] for (restart in restarts) { [17:26:33.859] name <- restart$name [17:26:33.859] if (is.null(name)) [17:26:33.859] next [17:26:33.859] if (!grepl(pattern, name)) [17:26:33.859] next [17:26:33.859] invokeRestart(restart) [17:26:33.859] muffled <- TRUE [17:26:33.859] break [17:26:33.859] } [17:26:33.859] } [17:26:33.859] } [17:26:33.859] invisible(muffled) [17:26:33.859] } [17:26:33.859] muffleCondition(cond, pattern = "^muffle") [17:26:33.859] } [17:26:33.859] } [17:26:33.859] } [17:26:33.859] })) [17:26:33.859] }, error = function(ex) { [17:26:33.859] base::structure(base::list(value = NULL, visible = NULL, [17:26:33.859] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:33.859] ...future.rng), started = ...future.startTime, [17:26:33.859] finished = Sys.time(), session_uuid = NA_character_, [17:26:33.859] version = "1.8"), class = "FutureResult") [17:26:33.859] }, finally = { [17:26:33.859] if (!identical(...future.workdir, getwd())) [17:26:33.859] setwd(...future.workdir) [17:26:33.859] { [17:26:33.859] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:33.859] ...future.oldOptions$nwarnings <- NULL [17:26:33.859] } [17:26:33.859] base::options(...future.oldOptions) [17:26:33.859] if (.Platform$OS.type == "windows") { [17:26:33.859] old_names <- names(...future.oldEnvVars) [17:26:33.859] envs <- base::Sys.getenv() [17:26:33.859] names <- names(envs) [17:26:33.859] common <- intersect(names, old_names) [17:26:33.859] added <- setdiff(names, old_names) [17:26:33.859] removed <- setdiff(old_names, names) [17:26:33.859] changed <- common[...future.oldEnvVars[common] != [17:26:33.859] envs[common]] [17:26:33.859] NAMES <- toupper(changed) [17:26:33.859] args <- list() [17:26:33.859] for (kk in seq_along(NAMES)) { [17:26:33.859] name <- changed[[kk]] [17:26:33.859] NAME <- NAMES[[kk]] [17:26:33.859] if (name != NAME && is.element(NAME, old_names)) [17:26:33.859] next [17:26:33.859] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:33.859] } [17:26:33.859] NAMES <- toupper(added) [17:26:33.859] for (kk in seq_along(NAMES)) { [17:26:33.859] name <- added[[kk]] [17:26:33.859] NAME <- NAMES[[kk]] [17:26:33.859] if (name != NAME && is.element(NAME, old_names)) [17:26:33.859] next [17:26:33.859] args[[name]] <- "" [17:26:33.859] } [17:26:33.859] NAMES <- toupper(removed) [17:26:33.859] for (kk in seq_along(NAMES)) { [17:26:33.859] name <- removed[[kk]] [17:26:33.859] NAME <- NAMES[[kk]] [17:26:33.859] if (name != NAME && is.element(NAME, old_names)) [17:26:33.859] next [17:26:33.859] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:33.859] } [17:26:33.859] if (length(args) > 0) [17:26:33.859] base::do.call(base::Sys.setenv, args = args) [17:26:33.859] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:33.859] } [17:26:33.859] { [17:26:33.859] if (base::length(...future.futureOptionsAdded) > [17:26:33.859] 0L) { [17:26:33.859] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:33.859] base::names(opts) <- ...future.futureOptionsAdded [17:26:33.859] base::options(opts) [17:26:33.859] } [17:26:33.859] { [17:26:33.859] { [17:26:33.859] base::options(mc.cores = ...future.mc.cores.old) [17:26:33.859] NULL [17:26:33.859] } [17:26:33.859] options(future.plan = NULL) [17:26:33.859] if (is.na(NA_character_)) [17:26:33.859] Sys.unsetenv("R_FUTURE_PLAN") [17:26:33.859] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:33.859] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:33.859] .init = FALSE) [17:26:33.859] } [17:26:33.859] } [17:26:33.859] } [17:26:33.859] }) [17:26:33.859] if (TRUE) { [17:26:33.859] base::sink(type = "output", split = FALSE) [17:26:33.859] if (TRUE) { [17:26:33.859] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:33.859] } [17:26:33.859] else { [17:26:33.859] ...future.result["stdout"] <- base::list(NULL) [17:26:33.859] } [17:26:33.859] base::close(...future.stdout) [17:26:33.859] ...future.stdout <- NULL [17:26:33.859] } [17:26:33.859] ...future.result$conditions <- ...future.conditions [17:26:33.859] ...future.result$finished <- base::Sys.time() [17:26:33.859] ...future.result [17:26:33.859] } [17:26:33.944] MultisessionFuture started [17:26:33.945] - Launch lazy future ... done [17:26:33.945] run() for 'MultisessionFuture' ... done [17:26:33.945] result() for ClusterFuture ... [17:26:33.945] receiveMessageFromWorker() for ClusterFuture ... [17:26:33.946] - Validating connection of MultisessionFuture [17:26:33.946] - received message: FutureResult [17:26:33.946] - Received FutureResult [17:26:33.946] - Erased future from FutureRegistry [17:26:33.947] result() for ClusterFuture ... [17:26:33.947] - result already collected: FutureResult [17:26:33.947] result() for ClusterFuture ... done [17:26:33.947] receiveMessageFromWorker() for ClusterFuture ... done [17:26:33.947] result() for ClusterFuture ... done [17:26:33.947] result() for ClusterFuture ... [17:26:33.948] - result already collected: FutureResult [17:26:33.948] result() for ClusterFuture ... done u$a = 2 [17:26:33.948] result() for ClusterFuture ... [17:26:33.948] receiveMessageFromWorker() for ClusterFuture ... [17:26:33.949] - Validating connection of MultisessionFuture [17:26:33.996] - received message: FutureResult [17:26:33.997] - Received FutureResult [17:26:33.997] - Erased future from FutureRegistry [17:26:33.997] result() for ClusterFuture ... [17:26:33.997] - result already collected: FutureResult [17:26:33.998] result() for ClusterFuture ... done [17:26:33.998] receiveMessageFromWorker() for ClusterFuture ... done [17:26:33.998] result() for ClusterFuture ... done [17:26:33.998] result() for ClusterFuture ... [17:26:33.998] - result already collected: FutureResult [17:26:33.999] result() for ClusterFuture ... done v$a = 4 [17:26:33.999] getGlobalsAndPackages() ... [17:26:33.999] Searching for globals... [17:26:34.001] - globals found: [3] '{', '*', 'a' [17:26:34.001] Searching for globals ... DONE [17:26:34.001] Resolving globals: FALSE [17:26:34.002] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:34.002] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:34.002] - globals: [1] 'a' [17:26:34.003] [17:26:34.003] getGlobalsAndPackages() ... DONE [17:26:34.003] run() for 'Future' ... [17:26:34.003] - state: 'created' [17:26:34.004] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:34.018] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:34.018] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:34.019] - Field: 'node' [17:26:34.019] - Field: 'label' [17:26:34.019] - Field: 'local' [17:26:34.019] - Field: 'owner' [17:26:34.019] - Field: 'envir' [17:26:34.019] - Field: 'workers' [17:26:34.020] - Field: 'packages' [17:26:34.020] - Field: 'gc' [17:26:34.020] - Field: 'conditions' [17:26:34.020] - Field: 'persistent' [17:26:34.021] - Field: 'expr' [17:26:34.021] - Field: 'uuid' [17:26:34.021] - Field: 'seed' [17:26:34.021] - Field: 'version' [17:26:34.021] - Field: 'result' [17:26:34.022] - Field: 'asynchronous' [17:26:34.022] - Field: 'calls' [17:26:34.022] - Field: 'globals' [17:26:34.022] - Field: 'stdout' [17:26:34.022] - Field: 'earlySignal' [17:26:34.023] - Field: 'lazy' [17:26:34.023] - Field: 'state' [17:26:34.023] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:34.023] - Launch lazy future ... [17:26:34.024] Packages needed by the future expression (n = 0): [17:26:34.024] Packages needed by future strategies (n = 0): [17:26:34.025] { [17:26:34.025] { [17:26:34.025] { [17:26:34.025] ...future.startTime <- base::Sys.time() [17:26:34.025] { [17:26:34.025] { [17:26:34.025] { [17:26:34.025] { [17:26:34.025] base::local({ [17:26:34.025] has_future <- base::requireNamespace("future", [17:26:34.025] quietly = TRUE) [17:26:34.025] if (has_future) { [17:26:34.025] ns <- base::getNamespace("future") [17:26:34.025] version <- ns[[".package"]][["version"]] [17:26:34.025] if (is.null(version)) [17:26:34.025] version <- utils::packageVersion("future") [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] version <- NULL [17:26:34.025] } [17:26:34.025] if (!has_future || version < "1.8.0") { [17:26:34.025] info <- base::c(r_version = base::gsub("R version ", [17:26:34.025] "", base::R.version$version.string), [17:26:34.025] platform = base::sprintf("%s (%s-bit)", [17:26:34.025] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:34.025] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:34.025] "release", "version")], collapse = " "), [17:26:34.025] hostname = base::Sys.info()[["nodename"]]) [17:26:34.025] info <- base::sprintf("%s: %s", base::names(info), [17:26:34.025] info) [17:26:34.025] info <- base::paste(info, collapse = "; ") [17:26:34.025] if (!has_future) { [17:26:34.025] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:34.025] info) [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:34.025] info, version) [17:26:34.025] } [17:26:34.025] base::stop(msg) [17:26:34.025] } [17:26:34.025] }) [17:26:34.025] } [17:26:34.025] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:34.025] base::options(mc.cores = 1L) [17:26:34.025] } [17:26:34.025] ...future.strategy.old <- future::plan("list") [17:26:34.025] options(future.plan = NULL) [17:26:34.025] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.025] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:34.025] } [17:26:34.025] ...future.workdir <- getwd() [17:26:34.025] } [17:26:34.025] ...future.oldOptions <- base::as.list(base::.Options) [17:26:34.025] ...future.oldEnvVars <- base::Sys.getenv() [17:26:34.025] } [17:26:34.025] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:34.025] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:34.025] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:34.025] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:34.025] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:34.025] future.stdout.windows.reencode = NULL, width = 80L) [17:26:34.025] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:34.025] base::names(...future.oldOptions)) [17:26:34.025] } [17:26:34.025] if (FALSE) { [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] if (TRUE) { [17:26:34.025] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:34.025] open = "w") [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:34.025] windows = "NUL", "/dev/null"), open = "w") [17:26:34.025] } [17:26:34.025] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:34.025] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:34.025] base::sink(type = "output", split = FALSE) [17:26:34.025] base::close(...future.stdout) [17:26:34.025] }, add = TRUE) [17:26:34.025] } [17:26:34.025] ...future.frame <- base::sys.nframe() [17:26:34.025] ...future.conditions <- base::list() [17:26:34.025] ...future.rng <- base::globalenv()$.Random.seed [17:26:34.025] if (FALSE) { [17:26:34.025] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:34.025] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:34.025] } [17:26:34.025] ...future.result <- base::tryCatch({ [17:26:34.025] base::withCallingHandlers({ [17:26:34.025] ...future.value <- base::withVisible(base::local({ [17:26:34.025] ...future.makeSendCondition <- base::local({ [17:26:34.025] sendCondition <- NULL [17:26:34.025] function(frame = 1L) { [17:26:34.025] if (is.function(sendCondition)) [17:26:34.025] return(sendCondition) [17:26:34.025] ns <- getNamespace("parallel") [17:26:34.025] if (exists("sendData", mode = "function", [17:26:34.025] envir = ns)) { [17:26:34.025] parallel_sendData <- get("sendData", mode = "function", [17:26:34.025] envir = ns) [17:26:34.025] envir <- sys.frame(frame) [17:26:34.025] master <- NULL [17:26:34.025] while (!identical(envir, .GlobalEnv) && [17:26:34.025] !identical(envir, emptyenv())) { [17:26:34.025] if (exists("master", mode = "list", envir = envir, [17:26:34.025] inherits = FALSE)) { [17:26:34.025] master <- get("master", mode = "list", [17:26:34.025] envir = envir, inherits = FALSE) [17:26:34.025] if (inherits(master, c("SOCKnode", [17:26:34.025] "SOCK0node"))) { [17:26:34.025] sendCondition <<- function(cond) { [17:26:34.025] data <- list(type = "VALUE", value = cond, [17:26:34.025] success = TRUE) [17:26:34.025] parallel_sendData(master, data) [17:26:34.025] } [17:26:34.025] return(sendCondition) [17:26:34.025] } [17:26:34.025] } [17:26:34.025] frame <- frame + 1L [17:26:34.025] envir <- sys.frame(frame) [17:26:34.025] } [17:26:34.025] } [17:26:34.025] sendCondition <<- function(cond) NULL [17:26:34.025] } [17:26:34.025] }) [17:26:34.025] withCallingHandlers({ [17:26:34.025] { [17:26:34.025] 2 * a [17:26:34.025] } [17:26:34.025] }, immediateCondition = function(cond) { [17:26:34.025] sendCondition <- ...future.makeSendCondition() [17:26:34.025] sendCondition(cond) [17:26:34.025] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.025] { [17:26:34.025] inherits <- base::inherits [17:26:34.025] invokeRestart <- base::invokeRestart [17:26:34.025] is.null <- base::is.null [17:26:34.025] muffled <- FALSE [17:26:34.025] if (inherits(cond, "message")) { [17:26:34.025] muffled <- grepl(pattern, "muffleMessage") [17:26:34.025] if (muffled) [17:26:34.025] invokeRestart("muffleMessage") [17:26:34.025] } [17:26:34.025] else if (inherits(cond, "warning")) { [17:26:34.025] muffled <- grepl(pattern, "muffleWarning") [17:26:34.025] if (muffled) [17:26:34.025] invokeRestart("muffleWarning") [17:26:34.025] } [17:26:34.025] else if (inherits(cond, "condition")) { [17:26:34.025] if (!is.null(pattern)) { [17:26:34.025] computeRestarts <- base::computeRestarts [17:26:34.025] grepl <- base::grepl [17:26:34.025] restarts <- computeRestarts(cond) [17:26:34.025] for (restart in restarts) { [17:26:34.025] name <- restart$name [17:26:34.025] if (is.null(name)) [17:26:34.025] next [17:26:34.025] if (!grepl(pattern, name)) [17:26:34.025] next [17:26:34.025] invokeRestart(restart) [17:26:34.025] muffled <- TRUE [17:26:34.025] break [17:26:34.025] } [17:26:34.025] } [17:26:34.025] } [17:26:34.025] invisible(muffled) [17:26:34.025] } [17:26:34.025] muffleCondition(cond) [17:26:34.025] }) [17:26:34.025] })) [17:26:34.025] future::FutureResult(value = ...future.value$value, [17:26:34.025] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.025] ...future.rng), globalenv = if (FALSE) [17:26:34.025] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:34.025] ...future.globalenv.names)) [17:26:34.025] else NULL, started = ...future.startTime, version = "1.8") [17:26:34.025] }, condition = base::local({ [17:26:34.025] c <- base::c [17:26:34.025] inherits <- base::inherits [17:26:34.025] invokeRestart <- base::invokeRestart [17:26:34.025] length <- base::length [17:26:34.025] list <- base::list [17:26:34.025] seq.int <- base::seq.int [17:26:34.025] signalCondition <- base::signalCondition [17:26:34.025] sys.calls <- base::sys.calls [17:26:34.025] `[[` <- base::`[[` [17:26:34.025] `+` <- base::`+` [17:26:34.025] `<<-` <- base::`<<-` [17:26:34.025] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:34.025] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:34.025] 3L)] [17:26:34.025] } [17:26:34.025] function(cond) { [17:26:34.025] is_error <- inherits(cond, "error") [17:26:34.025] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:34.025] NULL) [17:26:34.025] if (is_error) { [17:26:34.025] sessionInformation <- function() { [17:26:34.025] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:34.025] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:34.025] search = base::search(), system = base::Sys.info()) [17:26:34.025] } [17:26:34.025] ...future.conditions[[length(...future.conditions) + [17:26:34.025] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:34.025] cond$call), session = sessionInformation(), [17:26:34.025] timestamp = base::Sys.time(), signaled = 0L) [17:26:34.025] signalCondition(cond) [17:26:34.025] } [17:26:34.025] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:34.025] "immediateCondition"))) { [17:26:34.025] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:34.025] ...future.conditions[[length(...future.conditions) + [17:26:34.025] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:34.025] if (TRUE && !signal) { [17:26:34.025] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.025] { [17:26:34.025] inherits <- base::inherits [17:26:34.025] invokeRestart <- base::invokeRestart [17:26:34.025] is.null <- base::is.null [17:26:34.025] muffled <- FALSE [17:26:34.025] if (inherits(cond, "message")) { [17:26:34.025] muffled <- grepl(pattern, "muffleMessage") [17:26:34.025] if (muffled) [17:26:34.025] invokeRestart("muffleMessage") [17:26:34.025] } [17:26:34.025] else if (inherits(cond, "warning")) { [17:26:34.025] muffled <- grepl(pattern, "muffleWarning") [17:26:34.025] if (muffled) [17:26:34.025] invokeRestart("muffleWarning") [17:26:34.025] } [17:26:34.025] else if (inherits(cond, "condition")) { [17:26:34.025] if (!is.null(pattern)) { [17:26:34.025] computeRestarts <- base::computeRestarts [17:26:34.025] grepl <- base::grepl [17:26:34.025] restarts <- computeRestarts(cond) [17:26:34.025] for (restart in restarts) { [17:26:34.025] name <- restart$name [17:26:34.025] if (is.null(name)) [17:26:34.025] next [17:26:34.025] if (!grepl(pattern, name)) [17:26:34.025] next [17:26:34.025] invokeRestart(restart) [17:26:34.025] muffled <- TRUE [17:26:34.025] break [17:26:34.025] } [17:26:34.025] } [17:26:34.025] } [17:26:34.025] invisible(muffled) [17:26:34.025] } [17:26:34.025] muffleCondition(cond, pattern = "^muffle") [17:26:34.025] } [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] if (TRUE) { [17:26:34.025] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.025] { [17:26:34.025] inherits <- base::inherits [17:26:34.025] invokeRestart <- base::invokeRestart [17:26:34.025] is.null <- base::is.null [17:26:34.025] muffled <- FALSE [17:26:34.025] if (inherits(cond, "message")) { [17:26:34.025] muffled <- grepl(pattern, "muffleMessage") [17:26:34.025] if (muffled) [17:26:34.025] invokeRestart("muffleMessage") [17:26:34.025] } [17:26:34.025] else if (inherits(cond, "warning")) { [17:26:34.025] muffled <- grepl(pattern, "muffleWarning") [17:26:34.025] if (muffled) [17:26:34.025] invokeRestart("muffleWarning") [17:26:34.025] } [17:26:34.025] else if (inherits(cond, "condition")) { [17:26:34.025] if (!is.null(pattern)) { [17:26:34.025] computeRestarts <- base::computeRestarts [17:26:34.025] grepl <- base::grepl [17:26:34.025] restarts <- computeRestarts(cond) [17:26:34.025] for (restart in restarts) { [17:26:34.025] name <- restart$name [17:26:34.025] if (is.null(name)) [17:26:34.025] next [17:26:34.025] if (!grepl(pattern, name)) [17:26:34.025] next [17:26:34.025] invokeRestart(restart) [17:26:34.025] muffled <- TRUE [17:26:34.025] break [17:26:34.025] } [17:26:34.025] } [17:26:34.025] } [17:26:34.025] invisible(muffled) [17:26:34.025] } [17:26:34.025] muffleCondition(cond, pattern = "^muffle") [17:26:34.025] } [17:26:34.025] } [17:26:34.025] } [17:26:34.025] })) [17:26:34.025] }, error = function(ex) { [17:26:34.025] base::structure(base::list(value = NULL, visible = NULL, [17:26:34.025] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.025] ...future.rng), started = ...future.startTime, [17:26:34.025] finished = Sys.time(), session_uuid = NA_character_, [17:26:34.025] version = "1.8"), class = "FutureResult") [17:26:34.025] }, finally = { [17:26:34.025] if (!identical(...future.workdir, getwd())) [17:26:34.025] setwd(...future.workdir) [17:26:34.025] { [17:26:34.025] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:34.025] ...future.oldOptions$nwarnings <- NULL [17:26:34.025] } [17:26:34.025] base::options(...future.oldOptions) [17:26:34.025] if (.Platform$OS.type == "windows") { [17:26:34.025] old_names <- names(...future.oldEnvVars) [17:26:34.025] envs <- base::Sys.getenv() [17:26:34.025] names <- names(envs) [17:26:34.025] common <- intersect(names, old_names) [17:26:34.025] added <- setdiff(names, old_names) [17:26:34.025] removed <- setdiff(old_names, names) [17:26:34.025] changed <- common[...future.oldEnvVars[common] != [17:26:34.025] envs[common]] [17:26:34.025] NAMES <- toupper(changed) [17:26:34.025] args <- list() [17:26:34.025] for (kk in seq_along(NAMES)) { [17:26:34.025] name <- changed[[kk]] [17:26:34.025] NAME <- NAMES[[kk]] [17:26:34.025] if (name != NAME && is.element(NAME, old_names)) [17:26:34.025] next [17:26:34.025] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.025] } [17:26:34.025] NAMES <- toupper(added) [17:26:34.025] for (kk in seq_along(NAMES)) { [17:26:34.025] name <- added[[kk]] [17:26:34.025] NAME <- NAMES[[kk]] [17:26:34.025] if (name != NAME && is.element(NAME, old_names)) [17:26:34.025] next [17:26:34.025] args[[name]] <- "" [17:26:34.025] } [17:26:34.025] NAMES <- toupper(removed) [17:26:34.025] for (kk in seq_along(NAMES)) { [17:26:34.025] name <- removed[[kk]] [17:26:34.025] NAME <- NAMES[[kk]] [17:26:34.025] if (name != NAME && is.element(NAME, old_names)) [17:26:34.025] next [17:26:34.025] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.025] } [17:26:34.025] if (length(args) > 0) [17:26:34.025] base::do.call(base::Sys.setenv, args = args) [17:26:34.025] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:34.025] } [17:26:34.025] { [17:26:34.025] if (base::length(...future.futureOptionsAdded) > [17:26:34.025] 0L) { [17:26:34.025] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:34.025] base::names(opts) <- ...future.futureOptionsAdded [17:26:34.025] base::options(opts) [17:26:34.025] } [17:26:34.025] { [17:26:34.025] { [17:26:34.025] base::options(mc.cores = ...future.mc.cores.old) [17:26:34.025] NULL [17:26:34.025] } [17:26:34.025] options(future.plan = NULL) [17:26:34.025] if (is.na(NA_character_)) [17:26:34.025] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.025] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:34.025] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:34.025] .init = FALSE) [17:26:34.025] } [17:26:34.025] } [17:26:34.025] } [17:26:34.025] }) [17:26:34.025] if (TRUE) { [17:26:34.025] base::sink(type = "output", split = FALSE) [17:26:34.025] if (TRUE) { [17:26:34.025] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:34.025] } [17:26:34.025] else { [17:26:34.025] ...future.result["stdout"] <- base::list(NULL) [17:26:34.025] } [17:26:34.025] base::close(...future.stdout) [17:26:34.025] ...future.stdout <- NULL [17:26:34.025] } [17:26:34.025] ...future.result$conditions <- ...future.conditions [17:26:34.025] ...future.result$finished <- base::Sys.time() [17:26:34.025] ...future.result [17:26:34.025] } [17:26:34.030] Exporting 1 global objects (56 bytes) to cluster node #1 ... [17:26:34.030] Exporting 'a' (56 bytes) to cluster node #1 ... [17:26:34.031] Exporting 'a' (56 bytes) to cluster node #1 ... DONE [17:26:34.031] Exporting 1 global objects (56 bytes) to cluster node #1 ... DONE [17:26:34.032] MultisessionFuture started [17:26:34.032] - Launch lazy future ... done [17:26:34.032] run() for 'MultisessionFuture' ... done [17:26:34.032] result() for ClusterFuture ... [17:26:34.033] receiveMessageFromWorker() for ClusterFuture ... [17:26:34.033] - Validating connection of MultisessionFuture [17:26:34.046] - received message: FutureResult [17:26:34.047] - Received FutureResult [17:26:34.047] - Erased future from FutureRegistry [17:26:34.047] result() for ClusterFuture ... [17:26:34.047] - result already collected: FutureResult [17:26:34.047] result() for ClusterFuture ... done [17:26:34.048] receiveMessageFromWorker() for ClusterFuture ... done [17:26:34.048] result() for ClusterFuture ... done [17:26:34.048] result() for ClusterFuture ... [17:26:34.048] - result already collected: FutureResult [17:26:34.048] result() for ClusterFuture ... done [17:26:34.049] getGlobalsAndPackages() ... [17:26:34.049] Searching for globals... [17:26:34.050] - globals found: [3] '{', '*', 'a' [17:26:34.050] Searching for globals ... DONE [17:26:34.051] Resolving globals: FALSE [17:26:34.051] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:34.052] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:34.052] - globals: [1] 'a' [17:26:34.055] [17:26:34.055] getGlobalsAndPackages() ... DONE [17:26:34.055] run() for 'Future' ... [17:26:34.055] - state: 'created' [17:26:34.055] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:34.069] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:34.069] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:34.070] - Field: 'node' [17:26:34.070] - Field: 'label' [17:26:34.070] - Field: 'local' [17:26:34.070] - Field: 'owner' [17:26:34.070] - Field: 'envir' [17:26:34.070] - Field: 'workers' [17:26:34.071] - Field: 'packages' [17:26:34.071] - Field: 'gc' [17:26:34.071] - Field: 'conditions' [17:26:34.071] - Field: 'persistent' [17:26:34.071] - Field: 'expr' [17:26:34.071] - Field: 'uuid' [17:26:34.072] - Field: 'seed' [17:26:34.072] - Field: 'version' [17:26:34.072] - Field: 'result' [17:26:34.072] - Field: 'asynchronous' [17:26:34.072] - Field: 'calls' [17:26:34.073] - Field: 'globals' [17:26:34.073] - Field: 'stdout' [17:26:34.073] - Field: 'earlySignal' [17:26:34.073] - Field: 'lazy' [17:26:34.073] - Field: 'state' [17:26:34.073] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:34.074] - Launch lazy future ... [17:26:34.074] Packages needed by the future expression (n = 0): [17:26:34.074] Packages needed by future strategies (n = 0): [17:26:34.075] { [17:26:34.075] { [17:26:34.075] { [17:26:34.075] ...future.startTime <- base::Sys.time() [17:26:34.075] { [17:26:34.075] { [17:26:34.075] { [17:26:34.075] { [17:26:34.075] base::local({ [17:26:34.075] has_future <- base::requireNamespace("future", [17:26:34.075] quietly = TRUE) [17:26:34.075] if (has_future) { [17:26:34.075] ns <- base::getNamespace("future") [17:26:34.075] version <- ns[[".package"]][["version"]] [17:26:34.075] if (is.null(version)) [17:26:34.075] version <- utils::packageVersion("future") [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] version <- NULL [17:26:34.075] } [17:26:34.075] if (!has_future || version < "1.8.0") { [17:26:34.075] info <- base::c(r_version = base::gsub("R version ", [17:26:34.075] "", base::R.version$version.string), [17:26:34.075] platform = base::sprintf("%s (%s-bit)", [17:26:34.075] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:34.075] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:34.075] "release", "version")], collapse = " "), [17:26:34.075] hostname = base::Sys.info()[["nodename"]]) [17:26:34.075] info <- base::sprintf("%s: %s", base::names(info), [17:26:34.075] info) [17:26:34.075] info <- base::paste(info, collapse = "; ") [17:26:34.075] if (!has_future) { [17:26:34.075] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:34.075] info) [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:34.075] info, version) [17:26:34.075] } [17:26:34.075] base::stop(msg) [17:26:34.075] } [17:26:34.075] }) [17:26:34.075] } [17:26:34.075] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:34.075] base::options(mc.cores = 1L) [17:26:34.075] } [17:26:34.075] ...future.strategy.old <- future::plan("list") [17:26:34.075] options(future.plan = NULL) [17:26:34.075] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.075] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:34.075] } [17:26:34.075] ...future.workdir <- getwd() [17:26:34.075] } [17:26:34.075] ...future.oldOptions <- base::as.list(base::.Options) [17:26:34.075] ...future.oldEnvVars <- base::Sys.getenv() [17:26:34.075] } [17:26:34.075] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:34.075] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:34.075] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:34.075] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:34.075] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:34.075] future.stdout.windows.reencode = NULL, width = 80L) [17:26:34.075] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:34.075] base::names(...future.oldOptions)) [17:26:34.075] } [17:26:34.075] if (FALSE) { [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] if (TRUE) { [17:26:34.075] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:34.075] open = "w") [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:34.075] windows = "NUL", "/dev/null"), open = "w") [17:26:34.075] } [17:26:34.075] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:34.075] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:34.075] base::sink(type = "output", split = FALSE) [17:26:34.075] base::close(...future.stdout) [17:26:34.075] }, add = TRUE) [17:26:34.075] } [17:26:34.075] ...future.frame <- base::sys.nframe() [17:26:34.075] ...future.conditions <- base::list() [17:26:34.075] ...future.rng <- base::globalenv()$.Random.seed [17:26:34.075] if (FALSE) { [17:26:34.075] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:34.075] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:34.075] } [17:26:34.075] ...future.result <- base::tryCatch({ [17:26:34.075] base::withCallingHandlers({ [17:26:34.075] ...future.value <- base::withVisible(base::local({ [17:26:34.075] ...future.makeSendCondition <- base::local({ [17:26:34.075] sendCondition <- NULL [17:26:34.075] function(frame = 1L) { [17:26:34.075] if (is.function(sendCondition)) [17:26:34.075] return(sendCondition) [17:26:34.075] ns <- getNamespace("parallel") [17:26:34.075] if (exists("sendData", mode = "function", [17:26:34.075] envir = ns)) { [17:26:34.075] parallel_sendData <- get("sendData", mode = "function", [17:26:34.075] envir = ns) [17:26:34.075] envir <- sys.frame(frame) [17:26:34.075] master <- NULL [17:26:34.075] while (!identical(envir, .GlobalEnv) && [17:26:34.075] !identical(envir, emptyenv())) { [17:26:34.075] if (exists("master", mode = "list", envir = envir, [17:26:34.075] inherits = FALSE)) { [17:26:34.075] master <- get("master", mode = "list", [17:26:34.075] envir = envir, inherits = FALSE) [17:26:34.075] if (inherits(master, c("SOCKnode", [17:26:34.075] "SOCK0node"))) { [17:26:34.075] sendCondition <<- function(cond) { [17:26:34.075] data <- list(type = "VALUE", value = cond, [17:26:34.075] success = TRUE) [17:26:34.075] parallel_sendData(master, data) [17:26:34.075] } [17:26:34.075] return(sendCondition) [17:26:34.075] } [17:26:34.075] } [17:26:34.075] frame <- frame + 1L [17:26:34.075] envir <- sys.frame(frame) [17:26:34.075] } [17:26:34.075] } [17:26:34.075] sendCondition <<- function(cond) NULL [17:26:34.075] } [17:26:34.075] }) [17:26:34.075] withCallingHandlers({ [17:26:34.075] { [17:26:34.075] 2 * a [17:26:34.075] } [17:26:34.075] }, immediateCondition = function(cond) { [17:26:34.075] sendCondition <- ...future.makeSendCondition() [17:26:34.075] sendCondition(cond) [17:26:34.075] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.075] { [17:26:34.075] inherits <- base::inherits [17:26:34.075] invokeRestart <- base::invokeRestart [17:26:34.075] is.null <- base::is.null [17:26:34.075] muffled <- FALSE [17:26:34.075] if (inherits(cond, "message")) { [17:26:34.075] muffled <- grepl(pattern, "muffleMessage") [17:26:34.075] if (muffled) [17:26:34.075] invokeRestart("muffleMessage") [17:26:34.075] } [17:26:34.075] else if (inherits(cond, "warning")) { [17:26:34.075] muffled <- grepl(pattern, "muffleWarning") [17:26:34.075] if (muffled) [17:26:34.075] invokeRestart("muffleWarning") [17:26:34.075] } [17:26:34.075] else if (inherits(cond, "condition")) { [17:26:34.075] if (!is.null(pattern)) { [17:26:34.075] computeRestarts <- base::computeRestarts [17:26:34.075] grepl <- base::grepl [17:26:34.075] restarts <- computeRestarts(cond) [17:26:34.075] for (restart in restarts) { [17:26:34.075] name <- restart$name [17:26:34.075] if (is.null(name)) [17:26:34.075] next [17:26:34.075] if (!grepl(pattern, name)) [17:26:34.075] next [17:26:34.075] invokeRestart(restart) [17:26:34.075] muffled <- TRUE [17:26:34.075] break [17:26:34.075] } [17:26:34.075] } [17:26:34.075] } [17:26:34.075] invisible(muffled) [17:26:34.075] } [17:26:34.075] muffleCondition(cond) [17:26:34.075] }) [17:26:34.075] })) [17:26:34.075] future::FutureResult(value = ...future.value$value, [17:26:34.075] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.075] ...future.rng), globalenv = if (FALSE) [17:26:34.075] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:34.075] ...future.globalenv.names)) [17:26:34.075] else NULL, started = ...future.startTime, version = "1.8") [17:26:34.075] }, condition = base::local({ [17:26:34.075] c <- base::c [17:26:34.075] inherits <- base::inherits [17:26:34.075] invokeRestart <- base::invokeRestart [17:26:34.075] length <- base::length [17:26:34.075] list <- base::list [17:26:34.075] seq.int <- base::seq.int [17:26:34.075] signalCondition <- base::signalCondition [17:26:34.075] sys.calls <- base::sys.calls [17:26:34.075] `[[` <- base::`[[` [17:26:34.075] `+` <- base::`+` [17:26:34.075] `<<-` <- base::`<<-` [17:26:34.075] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:34.075] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:34.075] 3L)] [17:26:34.075] } [17:26:34.075] function(cond) { [17:26:34.075] is_error <- inherits(cond, "error") [17:26:34.075] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:34.075] NULL) [17:26:34.075] if (is_error) { [17:26:34.075] sessionInformation <- function() { [17:26:34.075] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:34.075] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:34.075] search = base::search(), system = base::Sys.info()) [17:26:34.075] } [17:26:34.075] ...future.conditions[[length(...future.conditions) + [17:26:34.075] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:34.075] cond$call), session = sessionInformation(), [17:26:34.075] timestamp = base::Sys.time(), signaled = 0L) [17:26:34.075] signalCondition(cond) [17:26:34.075] } [17:26:34.075] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:34.075] "immediateCondition"))) { [17:26:34.075] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:34.075] ...future.conditions[[length(...future.conditions) + [17:26:34.075] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:34.075] if (TRUE && !signal) { [17:26:34.075] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.075] { [17:26:34.075] inherits <- base::inherits [17:26:34.075] invokeRestart <- base::invokeRestart [17:26:34.075] is.null <- base::is.null [17:26:34.075] muffled <- FALSE [17:26:34.075] if (inherits(cond, "message")) { [17:26:34.075] muffled <- grepl(pattern, "muffleMessage") [17:26:34.075] if (muffled) [17:26:34.075] invokeRestart("muffleMessage") [17:26:34.075] } [17:26:34.075] else if (inherits(cond, "warning")) { [17:26:34.075] muffled <- grepl(pattern, "muffleWarning") [17:26:34.075] if (muffled) [17:26:34.075] invokeRestart("muffleWarning") [17:26:34.075] } [17:26:34.075] else if (inherits(cond, "condition")) { [17:26:34.075] if (!is.null(pattern)) { [17:26:34.075] computeRestarts <- base::computeRestarts [17:26:34.075] grepl <- base::grepl [17:26:34.075] restarts <- computeRestarts(cond) [17:26:34.075] for (restart in restarts) { [17:26:34.075] name <- restart$name [17:26:34.075] if (is.null(name)) [17:26:34.075] next [17:26:34.075] if (!grepl(pattern, name)) [17:26:34.075] next [17:26:34.075] invokeRestart(restart) [17:26:34.075] muffled <- TRUE [17:26:34.075] break [17:26:34.075] } [17:26:34.075] } [17:26:34.075] } [17:26:34.075] invisible(muffled) [17:26:34.075] } [17:26:34.075] muffleCondition(cond, pattern = "^muffle") [17:26:34.075] } [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] if (TRUE) { [17:26:34.075] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.075] { [17:26:34.075] inherits <- base::inherits [17:26:34.075] invokeRestart <- base::invokeRestart [17:26:34.075] is.null <- base::is.null [17:26:34.075] muffled <- FALSE [17:26:34.075] if (inherits(cond, "message")) { [17:26:34.075] muffled <- grepl(pattern, "muffleMessage") [17:26:34.075] if (muffled) [17:26:34.075] invokeRestart("muffleMessage") [17:26:34.075] } [17:26:34.075] else if (inherits(cond, "warning")) { [17:26:34.075] muffled <- grepl(pattern, "muffleWarning") [17:26:34.075] if (muffled) [17:26:34.075] invokeRestart("muffleWarning") [17:26:34.075] } [17:26:34.075] else if (inherits(cond, "condition")) { [17:26:34.075] if (!is.null(pattern)) { [17:26:34.075] computeRestarts <- base::computeRestarts [17:26:34.075] grepl <- base::grepl [17:26:34.075] restarts <- computeRestarts(cond) [17:26:34.075] for (restart in restarts) { [17:26:34.075] name <- restart$name [17:26:34.075] if (is.null(name)) [17:26:34.075] next [17:26:34.075] if (!grepl(pattern, name)) [17:26:34.075] next [17:26:34.075] invokeRestart(restart) [17:26:34.075] muffled <- TRUE [17:26:34.075] break [17:26:34.075] } [17:26:34.075] } [17:26:34.075] } [17:26:34.075] invisible(muffled) [17:26:34.075] } [17:26:34.075] muffleCondition(cond, pattern = "^muffle") [17:26:34.075] } [17:26:34.075] } [17:26:34.075] } [17:26:34.075] })) [17:26:34.075] }, error = function(ex) { [17:26:34.075] base::structure(base::list(value = NULL, visible = NULL, [17:26:34.075] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.075] ...future.rng), started = ...future.startTime, [17:26:34.075] finished = Sys.time(), session_uuid = NA_character_, [17:26:34.075] version = "1.8"), class = "FutureResult") [17:26:34.075] }, finally = { [17:26:34.075] if (!identical(...future.workdir, getwd())) [17:26:34.075] setwd(...future.workdir) [17:26:34.075] { [17:26:34.075] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:34.075] ...future.oldOptions$nwarnings <- NULL [17:26:34.075] } [17:26:34.075] base::options(...future.oldOptions) [17:26:34.075] if (.Platform$OS.type == "windows") { [17:26:34.075] old_names <- names(...future.oldEnvVars) [17:26:34.075] envs <- base::Sys.getenv() [17:26:34.075] names <- names(envs) [17:26:34.075] common <- intersect(names, old_names) [17:26:34.075] added <- setdiff(names, old_names) [17:26:34.075] removed <- setdiff(old_names, names) [17:26:34.075] changed <- common[...future.oldEnvVars[common] != [17:26:34.075] envs[common]] [17:26:34.075] NAMES <- toupper(changed) [17:26:34.075] args <- list() [17:26:34.075] for (kk in seq_along(NAMES)) { [17:26:34.075] name <- changed[[kk]] [17:26:34.075] NAME <- NAMES[[kk]] [17:26:34.075] if (name != NAME && is.element(NAME, old_names)) [17:26:34.075] next [17:26:34.075] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.075] } [17:26:34.075] NAMES <- toupper(added) [17:26:34.075] for (kk in seq_along(NAMES)) { [17:26:34.075] name <- added[[kk]] [17:26:34.075] NAME <- NAMES[[kk]] [17:26:34.075] if (name != NAME && is.element(NAME, old_names)) [17:26:34.075] next [17:26:34.075] args[[name]] <- "" [17:26:34.075] } [17:26:34.075] NAMES <- toupper(removed) [17:26:34.075] for (kk in seq_along(NAMES)) { [17:26:34.075] name <- removed[[kk]] [17:26:34.075] NAME <- NAMES[[kk]] [17:26:34.075] if (name != NAME && is.element(NAME, old_names)) [17:26:34.075] next [17:26:34.075] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.075] } [17:26:34.075] if (length(args) > 0) [17:26:34.075] base::do.call(base::Sys.setenv, args = args) [17:26:34.075] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:34.075] } [17:26:34.075] { [17:26:34.075] if (base::length(...future.futureOptionsAdded) > [17:26:34.075] 0L) { [17:26:34.075] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:34.075] base::names(opts) <- ...future.futureOptionsAdded [17:26:34.075] base::options(opts) [17:26:34.075] } [17:26:34.075] { [17:26:34.075] { [17:26:34.075] base::options(mc.cores = ...future.mc.cores.old) [17:26:34.075] NULL [17:26:34.075] } [17:26:34.075] options(future.plan = NULL) [17:26:34.075] if (is.na(NA_character_)) [17:26:34.075] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.075] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:34.075] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:34.075] .init = FALSE) [17:26:34.075] } [17:26:34.075] } [17:26:34.075] } [17:26:34.075] }) [17:26:34.075] if (TRUE) { [17:26:34.075] base::sink(type = "output", split = FALSE) [17:26:34.075] if (TRUE) { [17:26:34.075] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:34.075] } [17:26:34.075] else { [17:26:34.075] ...future.result["stdout"] <- base::list(NULL) [17:26:34.075] } [17:26:34.075] base::close(...future.stdout) [17:26:34.075] ...future.stdout <- NULL [17:26:34.075] } [17:26:34.075] ...future.result$conditions <- ...future.conditions [17:26:34.075] ...future.result$finished <- base::Sys.time() [17:26:34.075] ...future.result [17:26:34.075] } [17:26:34.080] Exporting 1 global objects (56 bytes) to cluster node #1 ... [17:26:34.080] Exporting 'a' (56 bytes) to cluster node #1 ... [17:26:34.080] Exporting 'a' (56 bytes) to cluster node #1 ... DONE [17:26:34.080] Exporting 1 global objects (56 bytes) to cluster node #1 ... DONE [17:26:34.081] MultisessionFuture started [17:26:34.081] - Launch lazy future ... done [17:26:34.081] run() for 'MultisessionFuture' ... done [17:26:34.082] result() for ClusterFuture ... [17:26:34.082] receiveMessageFromWorker() for ClusterFuture ... [17:26:34.082] - Validating connection of MultisessionFuture [17:26:34.097] - received message: FutureResult [17:26:34.097] - Received FutureResult [17:26:34.097] - Erased future from FutureRegistry [17:26:34.097] result() for ClusterFuture ... [17:26:34.097] - result already collected: FutureResult [17:26:34.098] result() for ClusterFuture ... done [17:26:34.098] receiveMessageFromWorker() for ClusterFuture ... done [17:26:34.098] result() for ClusterFuture ... done [17:26:34.098] result() for ClusterFuture ... [17:26:34.098] - result already collected: FutureResult [17:26:34.098] result() for ClusterFuture ... done [17:26:34.099] getGlobalsAndPackages() ... [17:26:34.099] Searching for globals... [17:26:34.100] - globals found: [3] '{', '*', 'a' [17:26:34.100] Searching for globals ... DONE [17:26:34.100] Resolving globals: FALSE [17:26:34.101] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:34.101] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:34.101] - globals: [1] 'a' [17:26:34.102] [17:26:34.102] getGlobalsAndPackages() ... DONE [17:26:34.102] run() for 'Future' ... [17:26:34.102] - state: 'created' [17:26:34.102] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:34.116] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:34.116] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:34.116] - Field: 'node' [17:26:34.117] - Field: 'label' [17:26:34.117] - Field: 'local' [17:26:34.117] - Field: 'owner' [17:26:34.117] - Field: 'envir' [17:26:34.117] - Field: 'workers' [17:26:34.118] - Field: 'packages' [17:26:34.118] - Field: 'gc' [17:26:34.118] - Field: 'conditions' [17:26:34.118] - Field: 'persistent' [17:26:34.118] - Field: 'expr' [17:26:34.118] - Field: 'uuid' [17:26:34.119] - Field: 'seed' [17:26:34.119] - Field: 'version' [17:26:34.119] - Field: 'result' [17:26:34.119] - Field: 'asynchronous' [17:26:34.119] - Field: 'calls' [17:26:34.119] - Field: 'globals' [17:26:34.120] - Field: 'stdout' [17:26:34.120] - Field: 'earlySignal' [17:26:34.120] - Field: 'lazy' [17:26:34.120] - Field: 'state' [17:26:34.120] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:34.121] - Launch lazy future ... [17:26:34.121] Packages needed by the future expression (n = 0): [17:26:34.121] Packages needed by future strategies (n = 0): [17:26:34.122] { [17:26:34.122] { [17:26:34.122] { [17:26:34.122] ...future.startTime <- base::Sys.time() [17:26:34.122] { [17:26:34.122] { [17:26:34.122] { [17:26:34.122] { [17:26:34.122] base::local({ [17:26:34.122] has_future <- base::requireNamespace("future", [17:26:34.122] quietly = TRUE) [17:26:34.122] if (has_future) { [17:26:34.122] ns <- base::getNamespace("future") [17:26:34.122] version <- ns[[".package"]][["version"]] [17:26:34.122] if (is.null(version)) [17:26:34.122] version <- utils::packageVersion("future") [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] version <- NULL [17:26:34.122] } [17:26:34.122] if (!has_future || version < "1.8.0") { [17:26:34.122] info <- base::c(r_version = base::gsub("R version ", [17:26:34.122] "", base::R.version$version.string), [17:26:34.122] platform = base::sprintf("%s (%s-bit)", [17:26:34.122] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:34.122] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:34.122] "release", "version")], collapse = " "), [17:26:34.122] hostname = base::Sys.info()[["nodename"]]) [17:26:34.122] info <- base::sprintf("%s: %s", base::names(info), [17:26:34.122] info) [17:26:34.122] info <- base::paste(info, collapse = "; ") [17:26:34.122] if (!has_future) { [17:26:34.122] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:34.122] info) [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:34.122] info, version) [17:26:34.122] } [17:26:34.122] base::stop(msg) [17:26:34.122] } [17:26:34.122] }) [17:26:34.122] } [17:26:34.122] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:34.122] base::options(mc.cores = 1L) [17:26:34.122] } [17:26:34.122] ...future.strategy.old <- future::plan("list") [17:26:34.122] options(future.plan = NULL) [17:26:34.122] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.122] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:34.122] } [17:26:34.122] ...future.workdir <- getwd() [17:26:34.122] } [17:26:34.122] ...future.oldOptions <- base::as.list(base::.Options) [17:26:34.122] ...future.oldEnvVars <- base::Sys.getenv() [17:26:34.122] } [17:26:34.122] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:34.122] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:34.122] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:34.122] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:34.122] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:34.122] future.stdout.windows.reencode = NULL, width = 80L) [17:26:34.122] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:34.122] base::names(...future.oldOptions)) [17:26:34.122] } [17:26:34.122] if (FALSE) { [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] if (TRUE) { [17:26:34.122] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:34.122] open = "w") [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:34.122] windows = "NUL", "/dev/null"), open = "w") [17:26:34.122] } [17:26:34.122] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:34.122] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:34.122] base::sink(type = "output", split = FALSE) [17:26:34.122] base::close(...future.stdout) [17:26:34.122] }, add = TRUE) [17:26:34.122] } [17:26:34.122] ...future.frame <- base::sys.nframe() [17:26:34.122] ...future.conditions <- base::list() [17:26:34.122] ...future.rng <- base::globalenv()$.Random.seed [17:26:34.122] if (FALSE) { [17:26:34.122] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:34.122] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:34.122] } [17:26:34.122] ...future.result <- base::tryCatch({ [17:26:34.122] base::withCallingHandlers({ [17:26:34.122] ...future.value <- base::withVisible(base::local({ [17:26:34.122] ...future.makeSendCondition <- base::local({ [17:26:34.122] sendCondition <- NULL [17:26:34.122] function(frame = 1L) { [17:26:34.122] if (is.function(sendCondition)) [17:26:34.122] return(sendCondition) [17:26:34.122] ns <- getNamespace("parallel") [17:26:34.122] if (exists("sendData", mode = "function", [17:26:34.122] envir = ns)) { [17:26:34.122] parallel_sendData <- get("sendData", mode = "function", [17:26:34.122] envir = ns) [17:26:34.122] envir <- sys.frame(frame) [17:26:34.122] master <- NULL [17:26:34.122] while (!identical(envir, .GlobalEnv) && [17:26:34.122] !identical(envir, emptyenv())) { [17:26:34.122] if (exists("master", mode = "list", envir = envir, [17:26:34.122] inherits = FALSE)) { [17:26:34.122] master <- get("master", mode = "list", [17:26:34.122] envir = envir, inherits = FALSE) [17:26:34.122] if (inherits(master, c("SOCKnode", [17:26:34.122] "SOCK0node"))) { [17:26:34.122] sendCondition <<- function(cond) { [17:26:34.122] data <- list(type = "VALUE", value = cond, [17:26:34.122] success = TRUE) [17:26:34.122] parallel_sendData(master, data) [17:26:34.122] } [17:26:34.122] return(sendCondition) [17:26:34.122] } [17:26:34.122] } [17:26:34.122] frame <- frame + 1L [17:26:34.122] envir <- sys.frame(frame) [17:26:34.122] } [17:26:34.122] } [17:26:34.122] sendCondition <<- function(cond) NULL [17:26:34.122] } [17:26:34.122] }) [17:26:34.122] withCallingHandlers({ [17:26:34.122] { [17:26:34.122] 2 * a [17:26:34.122] } [17:26:34.122] }, immediateCondition = function(cond) { [17:26:34.122] sendCondition <- ...future.makeSendCondition() [17:26:34.122] sendCondition(cond) [17:26:34.122] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.122] { [17:26:34.122] inherits <- base::inherits [17:26:34.122] invokeRestart <- base::invokeRestart [17:26:34.122] is.null <- base::is.null [17:26:34.122] muffled <- FALSE [17:26:34.122] if (inherits(cond, "message")) { [17:26:34.122] muffled <- grepl(pattern, "muffleMessage") [17:26:34.122] if (muffled) [17:26:34.122] invokeRestart("muffleMessage") [17:26:34.122] } [17:26:34.122] else if (inherits(cond, "warning")) { [17:26:34.122] muffled <- grepl(pattern, "muffleWarning") [17:26:34.122] if (muffled) [17:26:34.122] invokeRestart("muffleWarning") [17:26:34.122] } [17:26:34.122] else if (inherits(cond, "condition")) { [17:26:34.122] if (!is.null(pattern)) { [17:26:34.122] computeRestarts <- base::computeRestarts [17:26:34.122] grepl <- base::grepl [17:26:34.122] restarts <- computeRestarts(cond) [17:26:34.122] for (restart in restarts) { [17:26:34.122] name <- restart$name [17:26:34.122] if (is.null(name)) [17:26:34.122] next [17:26:34.122] if (!grepl(pattern, name)) [17:26:34.122] next [17:26:34.122] invokeRestart(restart) [17:26:34.122] muffled <- TRUE [17:26:34.122] break [17:26:34.122] } [17:26:34.122] } [17:26:34.122] } [17:26:34.122] invisible(muffled) [17:26:34.122] } [17:26:34.122] muffleCondition(cond) [17:26:34.122] }) [17:26:34.122] })) [17:26:34.122] future::FutureResult(value = ...future.value$value, [17:26:34.122] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.122] ...future.rng), globalenv = if (FALSE) [17:26:34.122] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:34.122] ...future.globalenv.names)) [17:26:34.122] else NULL, started = ...future.startTime, version = "1.8") [17:26:34.122] }, condition = base::local({ [17:26:34.122] c <- base::c [17:26:34.122] inherits <- base::inherits [17:26:34.122] invokeRestart <- base::invokeRestart [17:26:34.122] length <- base::length [17:26:34.122] list <- base::list [17:26:34.122] seq.int <- base::seq.int [17:26:34.122] signalCondition <- base::signalCondition [17:26:34.122] sys.calls <- base::sys.calls [17:26:34.122] `[[` <- base::`[[` [17:26:34.122] `+` <- base::`+` [17:26:34.122] `<<-` <- base::`<<-` [17:26:34.122] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:34.122] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:34.122] 3L)] [17:26:34.122] } [17:26:34.122] function(cond) { [17:26:34.122] is_error <- inherits(cond, "error") [17:26:34.122] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:34.122] NULL) [17:26:34.122] if (is_error) { [17:26:34.122] sessionInformation <- function() { [17:26:34.122] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:34.122] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:34.122] search = base::search(), system = base::Sys.info()) [17:26:34.122] } [17:26:34.122] ...future.conditions[[length(...future.conditions) + [17:26:34.122] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:34.122] cond$call), session = sessionInformation(), [17:26:34.122] timestamp = base::Sys.time(), signaled = 0L) [17:26:34.122] signalCondition(cond) [17:26:34.122] } [17:26:34.122] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:34.122] "immediateCondition"))) { [17:26:34.122] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:34.122] ...future.conditions[[length(...future.conditions) + [17:26:34.122] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:34.122] if (TRUE && !signal) { [17:26:34.122] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.122] { [17:26:34.122] inherits <- base::inherits [17:26:34.122] invokeRestart <- base::invokeRestart [17:26:34.122] is.null <- base::is.null [17:26:34.122] muffled <- FALSE [17:26:34.122] if (inherits(cond, "message")) { [17:26:34.122] muffled <- grepl(pattern, "muffleMessage") [17:26:34.122] if (muffled) [17:26:34.122] invokeRestart("muffleMessage") [17:26:34.122] } [17:26:34.122] else if (inherits(cond, "warning")) { [17:26:34.122] muffled <- grepl(pattern, "muffleWarning") [17:26:34.122] if (muffled) [17:26:34.122] invokeRestart("muffleWarning") [17:26:34.122] } [17:26:34.122] else if (inherits(cond, "condition")) { [17:26:34.122] if (!is.null(pattern)) { [17:26:34.122] computeRestarts <- base::computeRestarts [17:26:34.122] grepl <- base::grepl [17:26:34.122] restarts <- computeRestarts(cond) [17:26:34.122] for (restart in restarts) { [17:26:34.122] name <- restart$name [17:26:34.122] if (is.null(name)) [17:26:34.122] next [17:26:34.122] if (!grepl(pattern, name)) [17:26:34.122] next [17:26:34.122] invokeRestart(restart) [17:26:34.122] muffled <- TRUE [17:26:34.122] break [17:26:34.122] } [17:26:34.122] } [17:26:34.122] } [17:26:34.122] invisible(muffled) [17:26:34.122] } [17:26:34.122] muffleCondition(cond, pattern = "^muffle") [17:26:34.122] } [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] if (TRUE) { [17:26:34.122] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.122] { [17:26:34.122] inherits <- base::inherits [17:26:34.122] invokeRestart <- base::invokeRestart [17:26:34.122] is.null <- base::is.null [17:26:34.122] muffled <- FALSE [17:26:34.122] if (inherits(cond, "message")) { [17:26:34.122] muffled <- grepl(pattern, "muffleMessage") [17:26:34.122] if (muffled) [17:26:34.122] invokeRestart("muffleMessage") [17:26:34.122] } [17:26:34.122] else if (inherits(cond, "warning")) { [17:26:34.122] muffled <- grepl(pattern, "muffleWarning") [17:26:34.122] if (muffled) [17:26:34.122] invokeRestart("muffleWarning") [17:26:34.122] } [17:26:34.122] else if (inherits(cond, "condition")) { [17:26:34.122] if (!is.null(pattern)) { [17:26:34.122] computeRestarts <- base::computeRestarts [17:26:34.122] grepl <- base::grepl [17:26:34.122] restarts <- computeRestarts(cond) [17:26:34.122] for (restart in restarts) { [17:26:34.122] name <- restart$name [17:26:34.122] if (is.null(name)) [17:26:34.122] next [17:26:34.122] if (!grepl(pattern, name)) [17:26:34.122] next [17:26:34.122] invokeRestart(restart) [17:26:34.122] muffled <- TRUE [17:26:34.122] break [17:26:34.122] } [17:26:34.122] } [17:26:34.122] } [17:26:34.122] invisible(muffled) [17:26:34.122] } [17:26:34.122] muffleCondition(cond, pattern = "^muffle") [17:26:34.122] } [17:26:34.122] } [17:26:34.122] } [17:26:34.122] })) [17:26:34.122] }, error = function(ex) { [17:26:34.122] base::structure(base::list(value = NULL, visible = NULL, [17:26:34.122] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.122] ...future.rng), started = ...future.startTime, [17:26:34.122] finished = Sys.time(), session_uuid = NA_character_, [17:26:34.122] version = "1.8"), class = "FutureResult") [17:26:34.122] }, finally = { [17:26:34.122] if (!identical(...future.workdir, getwd())) [17:26:34.122] setwd(...future.workdir) [17:26:34.122] { [17:26:34.122] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:34.122] ...future.oldOptions$nwarnings <- NULL [17:26:34.122] } [17:26:34.122] base::options(...future.oldOptions) [17:26:34.122] if (.Platform$OS.type == "windows") { [17:26:34.122] old_names <- names(...future.oldEnvVars) [17:26:34.122] envs <- base::Sys.getenv() [17:26:34.122] names <- names(envs) [17:26:34.122] common <- intersect(names, old_names) [17:26:34.122] added <- setdiff(names, old_names) [17:26:34.122] removed <- setdiff(old_names, names) [17:26:34.122] changed <- common[...future.oldEnvVars[common] != [17:26:34.122] envs[common]] [17:26:34.122] NAMES <- toupper(changed) [17:26:34.122] args <- list() [17:26:34.122] for (kk in seq_along(NAMES)) { [17:26:34.122] name <- changed[[kk]] [17:26:34.122] NAME <- NAMES[[kk]] [17:26:34.122] if (name != NAME && is.element(NAME, old_names)) [17:26:34.122] next [17:26:34.122] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.122] } [17:26:34.122] NAMES <- toupper(added) [17:26:34.122] for (kk in seq_along(NAMES)) { [17:26:34.122] name <- added[[kk]] [17:26:34.122] NAME <- NAMES[[kk]] [17:26:34.122] if (name != NAME && is.element(NAME, old_names)) [17:26:34.122] next [17:26:34.122] args[[name]] <- "" [17:26:34.122] } [17:26:34.122] NAMES <- toupper(removed) [17:26:34.122] for (kk in seq_along(NAMES)) { [17:26:34.122] name <- removed[[kk]] [17:26:34.122] NAME <- NAMES[[kk]] [17:26:34.122] if (name != NAME && is.element(NAME, old_names)) [17:26:34.122] next [17:26:34.122] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.122] } [17:26:34.122] if (length(args) > 0) [17:26:34.122] base::do.call(base::Sys.setenv, args = args) [17:26:34.122] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:34.122] } [17:26:34.122] { [17:26:34.122] if (base::length(...future.futureOptionsAdded) > [17:26:34.122] 0L) { [17:26:34.122] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:34.122] base::names(opts) <- ...future.futureOptionsAdded [17:26:34.122] base::options(opts) [17:26:34.122] } [17:26:34.122] { [17:26:34.122] { [17:26:34.122] base::options(mc.cores = ...future.mc.cores.old) [17:26:34.122] NULL [17:26:34.122] } [17:26:34.122] options(future.plan = NULL) [17:26:34.122] if (is.na(NA_character_)) [17:26:34.122] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.122] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:34.122] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:34.122] .init = FALSE) [17:26:34.122] } [17:26:34.122] } [17:26:34.122] } [17:26:34.122] }) [17:26:34.122] if (TRUE) { [17:26:34.122] base::sink(type = "output", split = FALSE) [17:26:34.122] if (TRUE) { [17:26:34.122] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:34.122] } [17:26:34.122] else { [17:26:34.122] ...future.result["stdout"] <- base::list(NULL) [17:26:34.122] } [17:26:34.122] base::close(...future.stdout) [17:26:34.122] ...future.stdout <- NULL [17:26:34.122] } [17:26:34.122] ...future.result$conditions <- ...future.conditions [17:26:34.122] ...future.result$finished <- base::Sys.time() [17:26:34.122] ...future.result [17:26:34.122] } [17:26:34.127] Exporting 1 global objects (56 bytes) to cluster node #1 ... [17:26:34.127] Exporting 'a' (56 bytes) to cluster node #1 ... [17:26:34.127] Exporting 'a' (56 bytes) to cluster node #1 ... DONE [17:26:34.127] Exporting 1 global objects (56 bytes) to cluster node #1 ... DONE [17:26:34.128] MultisessionFuture started [17:26:34.128] - Launch lazy future ... done [17:26:34.128] run() for 'MultisessionFuture' ... done [17:26:34.129] result() for ClusterFuture ... [17:26:34.129] receiveMessageFromWorker() for ClusterFuture ... [17:26:34.129] - Validating connection of MultisessionFuture [17:26:34.143] - received message: FutureResult [17:26:34.143] - Received FutureResult [17:26:34.143] - Erased future from FutureRegistry [17:26:34.144] result() for ClusterFuture ... [17:26:34.144] - result already collected: FutureResult [17:26:34.144] result() for ClusterFuture ... done [17:26:34.144] receiveMessageFromWorker() for ClusterFuture ... done [17:26:34.144] result() for ClusterFuture ... done [17:26:34.144] result() for ClusterFuture ... [17:26:34.145] - result already collected: FutureResult [17:26:34.145] result() for ClusterFuture ... done [17:26:34.145] getGlobalsAndPackages() ... [17:26:34.145] Searching for globals... [17:26:34.146] - globals found: [3] '{', '*', 'a' [17:26:34.146] Searching for globals ... DONE [17:26:34.147] Resolving globals: FALSE [17:26:34.147] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:34.148] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:34.148] - globals: [1] 'a' [17:26:34.148] [17:26:34.148] getGlobalsAndPackages() ... DONE [17:26:34.148] run() for 'Future' ... [17:26:34.149] - state: 'created' [17:26:34.149] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:34.162] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:34.162] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:34.163] - Field: 'node' [17:26:34.163] - Field: 'label' [17:26:34.163] - Field: 'local' [17:26:34.163] - Field: 'owner' [17:26:34.163] - Field: 'envir' [17:26:34.164] - Field: 'workers' [17:26:34.164] - Field: 'packages' [17:26:34.164] - Field: 'gc' [17:26:34.164] - Field: 'conditions' [17:26:34.164] - Field: 'persistent' [17:26:34.164] - Field: 'expr' [17:26:34.165] - Field: 'uuid' [17:26:34.165] - Field: 'seed' [17:26:34.165] - Field: 'version' [17:26:34.165] - Field: 'result' [17:26:34.165] - Field: 'asynchronous' [17:26:34.165] - Field: 'calls' [17:26:34.166] - Field: 'globals' [17:26:34.166] - Field: 'stdout' [17:26:34.166] - Field: 'earlySignal' [17:26:34.166] - Field: 'lazy' [17:26:34.166] - Field: 'state' [17:26:34.167] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:34.167] - Launch lazy future ... [17:26:34.167] Packages needed by the future expression (n = 0): [17:26:34.167] Packages needed by future strategies (n = 0): [17:26:34.168] { [17:26:34.168] { [17:26:34.168] { [17:26:34.168] ...future.startTime <- base::Sys.time() [17:26:34.168] { [17:26:34.168] { [17:26:34.168] { [17:26:34.168] { [17:26:34.168] base::local({ [17:26:34.168] has_future <- base::requireNamespace("future", [17:26:34.168] quietly = TRUE) [17:26:34.168] if (has_future) { [17:26:34.168] ns <- base::getNamespace("future") [17:26:34.168] version <- ns[[".package"]][["version"]] [17:26:34.168] if (is.null(version)) [17:26:34.168] version <- utils::packageVersion("future") [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] version <- NULL [17:26:34.168] } [17:26:34.168] if (!has_future || version < "1.8.0") { [17:26:34.168] info <- base::c(r_version = base::gsub("R version ", [17:26:34.168] "", base::R.version$version.string), [17:26:34.168] platform = base::sprintf("%s (%s-bit)", [17:26:34.168] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:34.168] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:34.168] "release", "version")], collapse = " "), [17:26:34.168] hostname = base::Sys.info()[["nodename"]]) [17:26:34.168] info <- base::sprintf("%s: %s", base::names(info), [17:26:34.168] info) [17:26:34.168] info <- base::paste(info, collapse = "; ") [17:26:34.168] if (!has_future) { [17:26:34.168] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:34.168] info) [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:34.168] info, version) [17:26:34.168] } [17:26:34.168] base::stop(msg) [17:26:34.168] } [17:26:34.168] }) [17:26:34.168] } [17:26:34.168] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:34.168] base::options(mc.cores = 1L) [17:26:34.168] } [17:26:34.168] ...future.strategy.old <- future::plan("list") [17:26:34.168] options(future.plan = NULL) [17:26:34.168] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.168] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:34.168] } [17:26:34.168] ...future.workdir <- getwd() [17:26:34.168] } [17:26:34.168] ...future.oldOptions <- base::as.list(base::.Options) [17:26:34.168] ...future.oldEnvVars <- base::Sys.getenv() [17:26:34.168] } [17:26:34.168] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:34.168] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:34.168] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:34.168] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:34.168] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:34.168] future.stdout.windows.reencode = NULL, width = 80L) [17:26:34.168] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:34.168] base::names(...future.oldOptions)) [17:26:34.168] } [17:26:34.168] if (FALSE) { [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] if (TRUE) { [17:26:34.168] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:34.168] open = "w") [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:34.168] windows = "NUL", "/dev/null"), open = "w") [17:26:34.168] } [17:26:34.168] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:34.168] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:34.168] base::sink(type = "output", split = FALSE) [17:26:34.168] base::close(...future.stdout) [17:26:34.168] }, add = TRUE) [17:26:34.168] } [17:26:34.168] ...future.frame <- base::sys.nframe() [17:26:34.168] ...future.conditions <- base::list() [17:26:34.168] ...future.rng <- base::globalenv()$.Random.seed [17:26:34.168] if (FALSE) { [17:26:34.168] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:34.168] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:34.168] } [17:26:34.168] ...future.result <- base::tryCatch({ [17:26:34.168] base::withCallingHandlers({ [17:26:34.168] ...future.value <- base::withVisible(base::local({ [17:26:34.168] ...future.makeSendCondition <- base::local({ [17:26:34.168] sendCondition <- NULL [17:26:34.168] function(frame = 1L) { [17:26:34.168] if (is.function(sendCondition)) [17:26:34.168] return(sendCondition) [17:26:34.168] ns <- getNamespace("parallel") [17:26:34.168] if (exists("sendData", mode = "function", [17:26:34.168] envir = ns)) { [17:26:34.168] parallel_sendData <- get("sendData", mode = "function", [17:26:34.168] envir = ns) [17:26:34.168] envir <- sys.frame(frame) [17:26:34.168] master <- NULL [17:26:34.168] while (!identical(envir, .GlobalEnv) && [17:26:34.168] !identical(envir, emptyenv())) { [17:26:34.168] if (exists("master", mode = "list", envir = envir, [17:26:34.168] inherits = FALSE)) { [17:26:34.168] master <- get("master", mode = "list", [17:26:34.168] envir = envir, inherits = FALSE) [17:26:34.168] if (inherits(master, c("SOCKnode", [17:26:34.168] "SOCK0node"))) { [17:26:34.168] sendCondition <<- function(cond) { [17:26:34.168] data <- list(type = "VALUE", value = cond, [17:26:34.168] success = TRUE) [17:26:34.168] parallel_sendData(master, data) [17:26:34.168] } [17:26:34.168] return(sendCondition) [17:26:34.168] } [17:26:34.168] } [17:26:34.168] frame <- frame + 1L [17:26:34.168] envir <- sys.frame(frame) [17:26:34.168] } [17:26:34.168] } [17:26:34.168] sendCondition <<- function(cond) NULL [17:26:34.168] } [17:26:34.168] }) [17:26:34.168] withCallingHandlers({ [17:26:34.168] { [17:26:34.168] 2 * a [17:26:34.168] } [17:26:34.168] }, immediateCondition = function(cond) { [17:26:34.168] sendCondition <- ...future.makeSendCondition() [17:26:34.168] sendCondition(cond) [17:26:34.168] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.168] { [17:26:34.168] inherits <- base::inherits [17:26:34.168] invokeRestart <- base::invokeRestart [17:26:34.168] is.null <- base::is.null [17:26:34.168] muffled <- FALSE [17:26:34.168] if (inherits(cond, "message")) { [17:26:34.168] muffled <- grepl(pattern, "muffleMessage") [17:26:34.168] if (muffled) [17:26:34.168] invokeRestart("muffleMessage") [17:26:34.168] } [17:26:34.168] else if (inherits(cond, "warning")) { [17:26:34.168] muffled <- grepl(pattern, "muffleWarning") [17:26:34.168] if (muffled) [17:26:34.168] invokeRestart("muffleWarning") [17:26:34.168] } [17:26:34.168] else if (inherits(cond, "condition")) { [17:26:34.168] if (!is.null(pattern)) { [17:26:34.168] computeRestarts <- base::computeRestarts [17:26:34.168] grepl <- base::grepl [17:26:34.168] restarts <- computeRestarts(cond) [17:26:34.168] for (restart in restarts) { [17:26:34.168] name <- restart$name [17:26:34.168] if (is.null(name)) [17:26:34.168] next [17:26:34.168] if (!grepl(pattern, name)) [17:26:34.168] next [17:26:34.168] invokeRestart(restart) [17:26:34.168] muffled <- TRUE [17:26:34.168] break [17:26:34.168] } [17:26:34.168] } [17:26:34.168] } [17:26:34.168] invisible(muffled) [17:26:34.168] } [17:26:34.168] muffleCondition(cond) [17:26:34.168] }) [17:26:34.168] })) [17:26:34.168] future::FutureResult(value = ...future.value$value, [17:26:34.168] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.168] ...future.rng), globalenv = if (FALSE) [17:26:34.168] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:34.168] ...future.globalenv.names)) [17:26:34.168] else NULL, started = ...future.startTime, version = "1.8") [17:26:34.168] }, condition = base::local({ [17:26:34.168] c <- base::c [17:26:34.168] inherits <- base::inherits [17:26:34.168] invokeRestart <- base::invokeRestart [17:26:34.168] length <- base::length [17:26:34.168] list <- base::list [17:26:34.168] seq.int <- base::seq.int [17:26:34.168] signalCondition <- base::signalCondition [17:26:34.168] sys.calls <- base::sys.calls [17:26:34.168] `[[` <- base::`[[` [17:26:34.168] `+` <- base::`+` [17:26:34.168] `<<-` <- base::`<<-` [17:26:34.168] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:34.168] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:34.168] 3L)] [17:26:34.168] } [17:26:34.168] function(cond) { [17:26:34.168] is_error <- inherits(cond, "error") [17:26:34.168] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:34.168] NULL) [17:26:34.168] if (is_error) { [17:26:34.168] sessionInformation <- function() { [17:26:34.168] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:34.168] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:34.168] search = base::search(), system = base::Sys.info()) [17:26:34.168] } [17:26:34.168] ...future.conditions[[length(...future.conditions) + [17:26:34.168] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:34.168] cond$call), session = sessionInformation(), [17:26:34.168] timestamp = base::Sys.time(), signaled = 0L) [17:26:34.168] signalCondition(cond) [17:26:34.168] } [17:26:34.168] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:34.168] "immediateCondition"))) { [17:26:34.168] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:34.168] ...future.conditions[[length(...future.conditions) + [17:26:34.168] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:34.168] if (TRUE && !signal) { [17:26:34.168] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.168] { [17:26:34.168] inherits <- base::inherits [17:26:34.168] invokeRestart <- base::invokeRestart [17:26:34.168] is.null <- base::is.null [17:26:34.168] muffled <- FALSE [17:26:34.168] if (inherits(cond, "message")) { [17:26:34.168] muffled <- grepl(pattern, "muffleMessage") [17:26:34.168] if (muffled) [17:26:34.168] invokeRestart("muffleMessage") [17:26:34.168] } [17:26:34.168] else if (inherits(cond, "warning")) { [17:26:34.168] muffled <- grepl(pattern, "muffleWarning") [17:26:34.168] if (muffled) [17:26:34.168] invokeRestart("muffleWarning") [17:26:34.168] } [17:26:34.168] else if (inherits(cond, "condition")) { [17:26:34.168] if (!is.null(pattern)) { [17:26:34.168] computeRestarts <- base::computeRestarts [17:26:34.168] grepl <- base::grepl [17:26:34.168] restarts <- computeRestarts(cond) [17:26:34.168] for (restart in restarts) { [17:26:34.168] name <- restart$name [17:26:34.168] if (is.null(name)) [17:26:34.168] next [17:26:34.168] if (!grepl(pattern, name)) [17:26:34.168] next [17:26:34.168] invokeRestart(restart) [17:26:34.168] muffled <- TRUE [17:26:34.168] break [17:26:34.168] } [17:26:34.168] } [17:26:34.168] } [17:26:34.168] invisible(muffled) [17:26:34.168] } [17:26:34.168] muffleCondition(cond, pattern = "^muffle") [17:26:34.168] } [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] if (TRUE) { [17:26:34.168] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.168] { [17:26:34.168] inherits <- base::inherits [17:26:34.168] invokeRestart <- base::invokeRestart [17:26:34.168] is.null <- base::is.null [17:26:34.168] muffled <- FALSE [17:26:34.168] if (inherits(cond, "message")) { [17:26:34.168] muffled <- grepl(pattern, "muffleMessage") [17:26:34.168] if (muffled) [17:26:34.168] invokeRestart("muffleMessage") [17:26:34.168] } [17:26:34.168] else if (inherits(cond, "warning")) { [17:26:34.168] muffled <- grepl(pattern, "muffleWarning") [17:26:34.168] if (muffled) [17:26:34.168] invokeRestart("muffleWarning") [17:26:34.168] } [17:26:34.168] else if (inherits(cond, "condition")) { [17:26:34.168] if (!is.null(pattern)) { [17:26:34.168] computeRestarts <- base::computeRestarts [17:26:34.168] grepl <- base::grepl [17:26:34.168] restarts <- computeRestarts(cond) [17:26:34.168] for (restart in restarts) { [17:26:34.168] name <- restart$name [17:26:34.168] if (is.null(name)) [17:26:34.168] next [17:26:34.168] if (!grepl(pattern, name)) [17:26:34.168] next [17:26:34.168] invokeRestart(restart) [17:26:34.168] muffled <- TRUE [17:26:34.168] break [17:26:34.168] } [17:26:34.168] } [17:26:34.168] } [17:26:34.168] invisible(muffled) [17:26:34.168] } [17:26:34.168] muffleCondition(cond, pattern = "^muffle") [17:26:34.168] } [17:26:34.168] } [17:26:34.168] } [17:26:34.168] })) [17:26:34.168] }, error = function(ex) { [17:26:34.168] base::structure(base::list(value = NULL, visible = NULL, [17:26:34.168] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.168] ...future.rng), started = ...future.startTime, [17:26:34.168] finished = Sys.time(), session_uuid = NA_character_, [17:26:34.168] version = "1.8"), class = "FutureResult") [17:26:34.168] }, finally = { [17:26:34.168] if (!identical(...future.workdir, getwd())) [17:26:34.168] setwd(...future.workdir) [17:26:34.168] { [17:26:34.168] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:34.168] ...future.oldOptions$nwarnings <- NULL [17:26:34.168] } [17:26:34.168] base::options(...future.oldOptions) [17:26:34.168] if (.Platform$OS.type == "windows") { [17:26:34.168] old_names <- names(...future.oldEnvVars) [17:26:34.168] envs <- base::Sys.getenv() [17:26:34.168] names <- names(envs) [17:26:34.168] common <- intersect(names, old_names) [17:26:34.168] added <- setdiff(names, old_names) [17:26:34.168] removed <- setdiff(old_names, names) [17:26:34.168] changed <- common[...future.oldEnvVars[common] != [17:26:34.168] envs[common]] [17:26:34.168] NAMES <- toupper(changed) [17:26:34.168] args <- list() [17:26:34.168] for (kk in seq_along(NAMES)) { [17:26:34.168] name <- changed[[kk]] [17:26:34.168] NAME <- NAMES[[kk]] [17:26:34.168] if (name != NAME && is.element(NAME, old_names)) [17:26:34.168] next [17:26:34.168] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.168] } [17:26:34.168] NAMES <- toupper(added) [17:26:34.168] for (kk in seq_along(NAMES)) { [17:26:34.168] name <- added[[kk]] [17:26:34.168] NAME <- NAMES[[kk]] [17:26:34.168] if (name != NAME && is.element(NAME, old_names)) [17:26:34.168] next [17:26:34.168] args[[name]] <- "" [17:26:34.168] } [17:26:34.168] NAMES <- toupper(removed) [17:26:34.168] for (kk in seq_along(NAMES)) { [17:26:34.168] name <- removed[[kk]] [17:26:34.168] NAME <- NAMES[[kk]] [17:26:34.168] if (name != NAME && is.element(NAME, old_names)) [17:26:34.168] next [17:26:34.168] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.168] } [17:26:34.168] if (length(args) > 0) [17:26:34.168] base::do.call(base::Sys.setenv, args = args) [17:26:34.168] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:34.168] } [17:26:34.168] { [17:26:34.168] if (base::length(...future.futureOptionsAdded) > [17:26:34.168] 0L) { [17:26:34.168] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:34.168] base::names(opts) <- ...future.futureOptionsAdded [17:26:34.168] base::options(opts) [17:26:34.168] } [17:26:34.168] { [17:26:34.168] { [17:26:34.168] base::options(mc.cores = ...future.mc.cores.old) [17:26:34.168] NULL [17:26:34.168] } [17:26:34.168] options(future.plan = NULL) [17:26:34.168] if (is.na(NA_character_)) [17:26:34.168] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.168] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:34.168] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:34.168] .init = FALSE) [17:26:34.168] } [17:26:34.168] } [17:26:34.168] } [17:26:34.168] }) [17:26:34.168] if (TRUE) { [17:26:34.168] base::sink(type = "output", split = FALSE) [17:26:34.168] if (TRUE) { [17:26:34.168] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:34.168] } [17:26:34.168] else { [17:26:34.168] ...future.result["stdout"] <- base::list(NULL) [17:26:34.168] } [17:26:34.168] base::close(...future.stdout) [17:26:34.168] ...future.stdout <- NULL [17:26:34.168] } [17:26:34.168] ...future.result$conditions <- ...future.conditions [17:26:34.168] ...future.result$finished <- base::Sys.time() [17:26:34.168] ...future.result [17:26:34.168] } [17:26:34.173] Exporting 1 global objects (56 bytes) to cluster node #1 ... [17:26:34.173] Exporting 'a' (56 bytes) to cluster node #1 ... [17:26:34.173] Exporting 'a' (56 bytes) to cluster node #1 ... DONE [17:26:34.174] Exporting 1 global objects (56 bytes) to cluster node #1 ... DONE [17:26:34.174] MultisessionFuture started [17:26:34.174] - Launch lazy future ... done [17:26:34.174] run() for 'MultisessionFuture' ... done [17:26:34.175] result() for ClusterFuture ... [17:26:34.175] receiveMessageFromWorker() for ClusterFuture ... [17:26:34.175] - Validating connection of MultisessionFuture [17:26:34.188] - received message: FutureResult [17:26:34.188] - Received FutureResult [17:26:34.188] - Erased future from FutureRegistry [17:26:34.189] result() for ClusterFuture ... [17:26:34.189] - result already collected: FutureResult [17:26:34.189] result() for ClusterFuture ... done [17:26:34.189] receiveMessageFromWorker() for ClusterFuture ... done [17:26:34.189] result() for ClusterFuture ... done [17:26:34.189] result() for ClusterFuture ... [17:26:34.190] - result already collected: FutureResult [17:26:34.190] result() for ClusterFuture ... done [17:26:34.190] getGlobalsAndPackages() ... [17:26:34.190] Searching for globals... [17:26:34.191] - globals found: [3] '{', '*', 'a' [17:26:34.191] Searching for globals ... DONE [17:26:34.192] Resolving globals: FALSE [17:26:34.192] The total size of the 1 globals is 56 bytes (56 bytes) [17:26:34.192] The total size of the 1 globals exported for future expression ('{; 2 * a; }') is 56 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'a' (56 bytes of class 'numeric') [17:26:34.193] - globals: [1] 'a' [17:26:34.193] [17:26:34.193] getGlobalsAndPackages() ... DONE [17:26:34.193] run() for 'Future' ... [17:26:34.194] - state: 'created' [17:26:34.194] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:26:34.207] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:26:34.208] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:26:34.208] - Field: 'node' [17:26:34.208] - Field: 'label' [17:26:34.208] - Field: 'local' [17:26:34.209] - Field: 'owner' [17:26:34.209] - Field: 'envir' [17:26:34.209] - Field: 'workers' [17:26:34.209] - Field: 'packages' [17:26:34.209] - Field: 'gc' [17:26:34.210] - Field: 'conditions' [17:26:34.210] - Field: 'persistent' [17:26:34.210] - Field: 'expr' [17:26:34.210] - Field: 'uuid' [17:26:34.210] - Field: 'seed' [17:26:34.211] - Field: 'version' [17:26:34.211] - Field: 'result' [17:26:34.211] - Field: 'asynchronous' [17:26:34.211] - Field: 'calls' [17:26:34.211] - Field: 'globals' [17:26:34.211] - Field: 'stdout' [17:26:34.212] - Field: 'earlySignal' [17:26:34.212] - Field: 'lazy' [17:26:34.212] - Field: 'state' [17:26:34.212] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:26:34.212] - Launch lazy future ... [17:26:34.213] Packages needed by the future expression (n = 0): [17:26:34.213] Packages needed by future strategies (n = 0): [17:26:34.214] { [17:26:34.214] { [17:26:34.214] { [17:26:34.214] ...future.startTime <- base::Sys.time() [17:26:34.214] { [17:26:34.214] { [17:26:34.214] { [17:26:34.214] { [17:26:34.214] base::local({ [17:26:34.214] has_future <- base::requireNamespace("future", [17:26:34.214] quietly = TRUE) [17:26:34.214] if (has_future) { [17:26:34.214] ns <- base::getNamespace("future") [17:26:34.214] version <- ns[[".package"]][["version"]] [17:26:34.214] if (is.null(version)) [17:26:34.214] version <- utils::packageVersion("future") [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] version <- NULL [17:26:34.214] } [17:26:34.214] if (!has_future || version < "1.8.0") { [17:26:34.214] info <- base::c(r_version = base::gsub("R version ", [17:26:34.214] "", base::R.version$version.string), [17:26:34.214] platform = base::sprintf("%s (%s-bit)", [17:26:34.214] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:26:34.214] os = base::paste(base::Sys.info()[base::c("sysname", [17:26:34.214] "release", "version")], collapse = " "), [17:26:34.214] hostname = base::Sys.info()[["nodename"]]) [17:26:34.214] info <- base::sprintf("%s: %s", base::names(info), [17:26:34.214] info) [17:26:34.214] info <- base::paste(info, collapse = "; ") [17:26:34.214] if (!has_future) { [17:26:34.214] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:26:34.214] info) [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:26:34.214] info, version) [17:26:34.214] } [17:26:34.214] base::stop(msg) [17:26:34.214] } [17:26:34.214] }) [17:26:34.214] } [17:26:34.214] ...future.mc.cores.old <- base::getOption("mc.cores") [17:26:34.214] base::options(mc.cores = 1L) [17:26:34.214] } [17:26:34.214] ...future.strategy.old <- future::plan("list") [17:26:34.214] options(future.plan = NULL) [17:26:34.214] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.214] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:26:34.214] } [17:26:34.214] ...future.workdir <- getwd() [17:26:34.214] } [17:26:34.214] ...future.oldOptions <- base::as.list(base::.Options) [17:26:34.214] ...future.oldEnvVars <- base::Sys.getenv() [17:26:34.214] } [17:26:34.214] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:26:34.214] future.globals.maxSize = NULL, future.globals.method = NULL, [17:26:34.214] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:26:34.214] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:26:34.214] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:26:34.214] future.stdout.windows.reencode = NULL, width = 80L) [17:26:34.214] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:26:34.214] base::names(...future.oldOptions)) [17:26:34.214] } [17:26:34.214] if (FALSE) { [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] if (TRUE) { [17:26:34.214] ...future.stdout <- base::rawConnection(base::raw(0L), [17:26:34.214] open = "w") [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:26:34.214] windows = "NUL", "/dev/null"), open = "w") [17:26:34.214] } [17:26:34.214] base::sink(...future.stdout, type = "output", split = FALSE) [17:26:34.214] base::on.exit(if (!base::is.null(...future.stdout)) { [17:26:34.214] base::sink(type = "output", split = FALSE) [17:26:34.214] base::close(...future.stdout) [17:26:34.214] }, add = TRUE) [17:26:34.214] } [17:26:34.214] ...future.frame <- base::sys.nframe() [17:26:34.214] ...future.conditions <- base::list() [17:26:34.214] ...future.rng <- base::globalenv()$.Random.seed [17:26:34.214] if (FALSE) { [17:26:34.214] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:26:34.214] "...future.value", "...future.globalenv.names", ".Random.seed") [17:26:34.214] } [17:26:34.214] ...future.result <- base::tryCatch({ [17:26:34.214] base::withCallingHandlers({ [17:26:34.214] ...future.value <- base::withVisible(base::local({ [17:26:34.214] ...future.makeSendCondition <- base::local({ [17:26:34.214] sendCondition <- NULL [17:26:34.214] function(frame = 1L) { [17:26:34.214] if (is.function(sendCondition)) [17:26:34.214] return(sendCondition) [17:26:34.214] ns <- getNamespace("parallel") [17:26:34.214] if (exists("sendData", mode = "function", [17:26:34.214] envir = ns)) { [17:26:34.214] parallel_sendData <- get("sendData", mode = "function", [17:26:34.214] envir = ns) [17:26:34.214] envir <- sys.frame(frame) [17:26:34.214] master <- NULL [17:26:34.214] while (!identical(envir, .GlobalEnv) && [17:26:34.214] !identical(envir, emptyenv())) { [17:26:34.214] if (exists("master", mode = "list", envir = envir, [17:26:34.214] inherits = FALSE)) { [17:26:34.214] master <- get("master", mode = "list", [17:26:34.214] envir = envir, inherits = FALSE) [17:26:34.214] if (inherits(master, c("SOCKnode", [17:26:34.214] "SOCK0node"))) { [17:26:34.214] sendCondition <<- function(cond) { [17:26:34.214] data <- list(type = "VALUE", value = cond, [17:26:34.214] success = TRUE) [17:26:34.214] parallel_sendData(master, data) [17:26:34.214] } [17:26:34.214] return(sendCondition) [17:26:34.214] } [17:26:34.214] } [17:26:34.214] frame <- frame + 1L [17:26:34.214] envir <- sys.frame(frame) [17:26:34.214] } [17:26:34.214] } [17:26:34.214] sendCondition <<- function(cond) NULL [17:26:34.214] } [17:26:34.214] }) [17:26:34.214] withCallingHandlers({ [17:26:34.214] { [17:26:34.214] 2 * a [17:26:34.214] } [17:26:34.214] }, immediateCondition = function(cond) { [17:26:34.214] sendCondition <- ...future.makeSendCondition() [17:26:34.214] sendCondition(cond) [17:26:34.214] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.214] { [17:26:34.214] inherits <- base::inherits [17:26:34.214] invokeRestart <- base::invokeRestart [17:26:34.214] is.null <- base::is.null [17:26:34.214] muffled <- FALSE [17:26:34.214] if (inherits(cond, "message")) { [17:26:34.214] muffled <- grepl(pattern, "muffleMessage") [17:26:34.214] if (muffled) [17:26:34.214] invokeRestart("muffleMessage") [17:26:34.214] } [17:26:34.214] else if (inherits(cond, "warning")) { [17:26:34.214] muffled <- grepl(pattern, "muffleWarning") [17:26:34.214] if (muffled) [17:26:34.214] invokeRestart("muffleWarning") [17:26:34.214] } [17:26:34.214] else if (inherits(cond, "condition")) { [17:26:34.214] if (!is.null(pattern)) { [17:26:34.214] computeRestarts <- base::computeRestarts [17:26:34.214] grepl <- base::grepl [17:26:34.214] restarts <- computeRestarts(cond) [17:26:34.214] for (restart in restarts) { [17:26:34.214] name <- restart$name [17:26:34.214] if (is.null(name)) [17:26:34.214] next [17:26:34.214] if (!grepl(pattern, name)) [17:26:34.214] next [17:26:34.214] invokeRestart(restart) [17:26:34.214] muffled <- TRUE [17:26:34.214] break [17:26:34.214] } [17:26:34.214] } [17:26:34.214] } [17:26:34.214] invisible(muffled) [17:26:34.214] } [17:26:34.214] muffleCondition(cond) [17:26:34.214] }) [17:26:34.214] })) [17:26:34.214] future::FutureResult(value = ...future.value$value, [17:26:34.214] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.214] ...future.rng), globalenv = if (FALSE) [17:26:34.214] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:26:34.214] ...future.globalenv.names)) [17:26:34.214] else NULL, started = ...future.startTime, version = "1.8") [17:26:34.214] }, condition = base::local({ [17:26:34.214] c <- base::c [17:26:34.214] inherits <- base::inherits [17:26:34.214] invokeRestart <- base::invokeRestart [17:26:34.214] length <- base::length [17:26:34.214] list <- base::list [17:26:34.214] seq.int <- base::seq.int [17:26:34.214] signalCondition <- base::signalCondition [17:26:34.214] sys.calls <- base::sys.calls [17:26:34.214] `[[` <- base::`[[` [17:26:34.214] `+` <- base::`+` [17:26:34.214] `<<-` <- base::`<<-` [17:26:34.214] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:26:34.214] calls[seq.int(from = from + 12L, to = length(calls) - [17:26:34.214] 3L)] [17:26:34.214] } [17:26:34.214] function(cond) { [17:26:34.214] is_error <- inherits(cond, "error") [17:26:34.214] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:26:34.214] NULL) [17:26:34.214] if (is_error) { [17:26:34.214] sessionInformation <- function() { [17:26:34.214] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:26:34.214] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:26:34.214] search = base::search(), system = base::Sys.info()) [17:26:34.214] } [17:26:34.214] ...future.conditions[[length(...future.conditions) + [17:26:34.214] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:26:34.214] cond$call), session = sessionInformation(), [17:26:34.214] timestamp = base::Sys.time(), signaled = 0L) [17:26:34.214] signalCondition(cond) [17:26:34.214] } [17:26:34.214] else if (!ignore && TRUE && inherits(cond, c("condition", [17:26:34.214] "immediateCondition"))) { [17:26:34.214] signal <- TRUE && inherits(cond, "immediateCondition") [17:26:34.214] ...future.conditions[[length(...future.conditions) + [17:26:34.214] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:26:34.214] if (TRUE && !signal) { [17:26:34.214] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.214] { [17:26:34.214] inherits <- base::inherits [17:26:34.214] invokeRestart <- base::invokeRestart [17:26:34.214] is.null <- base::is.null [17:26:34.214] muffled <- FALSE [17:26:34.214] if (inherits(cond, "message")) { [17:26:34.214] muffled <- grepl(pattern, "muffleMessage") [17:26:34.214] if (muffled) [17:26:34.214] invokeRestart("muffleMessage") [17:26:34.214] } [17:26:34.214] else if (inherits(cond, "warning")) { [17:26:34.214] muffled <- grepl(pattern, "muffleWarning") [17:26:34.214] if (muffled) [17:26:34.214] invokeRestart("muffleWarning") [17:26:34.214] } [17:26:34.214] else if (inherits(cond, "condition")) { [17:26:34.214] if (!is.null(pattern)) { [17:26:34.214] computeRestarts <- base::computeRestarts [17:26:34.214] grepl <- base::grepl [17:26:34.214] restarts <- computeRestarts(cond) [17:26:34.214] for (restart in restarts) { [17:26:34.214] name <- restart$name [17:26:34.214] if (is.null(name)) [17:26:34.214] next [17:26:34.214] if (!grepl(pattern, name)) [17:26:34.214] next [17:26:34.214] invokeRestart(restart) [17:26:34.214] muffled <- TRUE [17:26:34.214] break [17:26:34.214] } [17:26:34.214] } [17:26:34.214] } [17:26:34.214] invisible(muffled) [17:26:34.214] } [17:26:34.214] muffleCondition(cond, pattern = "^muffle") [17:26:34.214] } [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] if (TRUE) { [17:26:34.214] muffleCondition <- function (cond, pattern = "^muffle") [17:26:34.214] { [17:26:34.214] inherits <- base::inherits [17:26:34.214] invokeRestart <- base::invokeRestart [17:26:34.214] is.null <- base::is.null [17:26:34.214] muffled <- FALSE [17:26:34.214] if (inherits(cond, "message")) { [17:26:34.214] muffled <- grepl(pattern, "muffleMessage") [17:26:34.214] if (muffled) [17:26:34.214] invokeRestart("muffleMessage") [17:26:34.214] } [17:26:34.214] else if (inherits(cond, "warning")) { [17:26:34.214] muffled <- grepl(pattern, "muffleWarning") [17:26:34.214] if (muffled) [17:26:34.214] invokeRestart("muffleWarning") [17:26:34.214] } [17:26:34.214] else if (inherits(cond, "condition")) { [17:26:34.214] if (!is.null(pattern)) { [17:26:34.214] computeRestarts <- base::computeRestarts [17:26:34.214] grepl <- base::grepl [17:26:34.214] restarts <- computeRestarts(cond) [17:26:34.214] for (restart in restarts) { [17:26:34.214] name <- restart$name [17:26:34.214] if (is.null(name)) [17:26:34.214] next [17:26:34.214] if (!grepl(pattern, name)) [17:26:34.214] next [17:26:34.214] invokeRestart(restart) [17:26:34.214] muffled <- TRUE [17:26:34.214] break [17:26:34.214] } [17:26:34.214] } [17:26:34.214] } [17:26:34.214] invisible(muffled) [17:26:34.214] } [17:26:34.214] muffleCondition(cond, pattern = "^muffle") [17:26:34.214] } [17:26:34.214] } [17:26:34.214] } [17:26:34.214] })) [17:26:34.214] }, error = function(ex) { [17:26:34.214] base::structure(base::list(value = NULL, visible = NULL, [17:26:34.214] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:26:34.214] ...future.rng), started = ...future.startTime, [17:26:34.214] finished = Sys.time(), session_uuid = NA_character_, [17:26:34.214] version = "1.8"), class = "FutureResult") [17:26:34.214] }, finally = { [17:26:34.214] if (!identical(...future.workdir, getwd())) [17:26:34.214] setwd(...future.workdir) [17:26:34.214] { [17:26:34.214] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:26:34.214] ...future.oldOptions$nwarnings <- NULL [17:26:34.214] } [17:26:34.214] base::options(...future.oldOptions) [17:26:34.214] if (.Platform$OS.type == "windows") { [17:26:34.214] old_names <- names(...future.oldEnvVars) [17:26:34.214] envs <- base::Sys.getenv() [17:26:34.214] names <- names(envs) [17:26:34.214] common <- intersect(names, old_names) [17:26:34.214] added <- setdiff(names, old_names) [17:26:34.214] removed <- setdiff(old_names, names) [17:26:34.214] changed <- common[...future.oldEnvVars[common] != [17:26:34.214] envs[common]] [17:26:34.214] NAMES <- toupper(changed) [17:26:34.214] args <- list() [17:26:34.214] for (kk in seq_along(NAMES)) { [17:26:34.214] name <- changed[[kk]] [17:26:34.214] NAME <- NAMES[[kk]] [17:26:34.214] if (name != NAME && is.element(NAME, old_names)) [17:26:34.214] next [17:26:34.214] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.214] } [17:26:34.214] NAMES <- toupper(added) [17:26:34.214] for (kk in seq_along(NAMES)) { [17:26:34.214] name <- added[[kk]] [17:26:34.214] NAME <- NAMES[[kk]] [17:26:34.214] if (name != NAME && is.element(NAME, old_names)) [17:26:34.214] next [17:26:34.214] args[[name]] <- "" [17:26:34.214] } [17:26:34.214] NAMES <- toupper(removed) [17:26:34.214] for (kk in seq_along(NAMES)) { [17:26:34.214] name <- removed[[kk]] [17:26:34.214] NAME <- NAMES[[kk]] [17:26:34.214] if (name != NAME && is.element(NAME, old_names)) [17:26:34.214] next [17:26:34.214] args[[name]] <- ...future.oldEnvVars[[name]] [17:26:34.214] } [17:26:34.214] if (length(args) > 0) [17:26:34.214] base::do.call(base::Sys.setenv, args = args) [17:26:34.214] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:26:34.214] } [17:26:34.214] { [17:26:34.214] if (base::length(...future.futureOptionsAdded) > [17:26:34.214] 0L) { [17:26:34.214] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:26:34.214] base::names(opts) <- ...future.futureOptionsAdded [17:26:34.214] base::options(opts) [17:26:34.214] } [17:26:34.214] { [17:26:34.214] { [17:26:34.214] base::options(mc.cores = ...future.mc.cores.old) [17:26:34.214] NULL [17:26:34.214] } [17:26:34.214] options(future.plan = NULL) [17:26:34.214] if (is.na(NA_character_)) [17:26:34.214] Sys.unsetenv("R_FUTURE_PLAN") [17:26:34.214] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:26:34.214] future::plan(...future.strategy.old, .cleanup = FALSE, [17:26:34.214] .init = FALSE) [17:26:34.214] } [17:26:34.214] } [17:26:34.214] } [17:26:34.214] }) [17:26:34.214] if (TRUE) { [17:26:34.214] base::sink(type = "output", split = FALSE) [17:26:34.214] if (TRUE) { [17:26:34.214] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:26:34.214] } [17:26:34.214] else { [17:26:34.214] ...future.result["stdout"] <- base::list(NULL) [17:26:34.214] } [17:26:34.214] base::close(...future.stdout) [17:26:34.214] ...future.stdout <- NULL [17:26:34.214] } [17:26:34.214] ...future.result$conditions <- ...future.conditions [17:26:34.214] ...future.result$finished <- base::Sys.time() [17:26:34.214] ...future.result [17:26:34.214] } [17:26:34.219] Exporting 1 global objects (56 bytes) to cluster node #1 ... [17:26:34.219] Exporting 'a' (56 bytes) to cluster node #1 ... [17:26:34.220] Exporting 'a' (56 bytes) to cluster node #1 ... DONE [17:26:34.220] Exporting 1 global objects (56 bytes) to cluster node #1 ... DONE [17:26:34.220] MultisessionFuture started [17:26:34.221] - Launch lazy future ... done [17:26:34.221] run() for 'MultisessionFuture' ... done [17:26:34.221] result() for ClusterFuture ... [17:26:34.221] receiveMessageFromWorker() for ClusterFuture ... [17:26:34.221] - Validating connection of MultisessionFuture [17:26:34.235] - received message: FutureResult [17:26:34.236] - Received FutureResult [17:26:34.236] - Erased future from FutureRegistry [17:26:34.236] result() for ClusterFuture ... [17:26:34.236] - result already collected: FutureResult [17:26:34.236] result() for ClusterFuture ... done [17:26:34.236] receiveMessageFromWorker() for ClusterFuture ... done [17:26:34.237] result() for ClusterFuture ... done [17:26:34.237] result() for ClusterFuture ... [17:26:34.237] - result already collected: FutureResult [17:26:34.237] result() for ClusterFuture ... done *** futureAssign() with 'multisession' futures ... DONE Testing with 2 cores ... DONE > > message("*** futureAssign() - lazy = TRUE / FALSE ... DONE") *** futureAssign() - lazy = TRUE / FALSE ... DONE > > message("*** futureAssign() ... DONE") *** futureAssign() ... DONE > > source("incl/end.R") [17:26:34.238] plan(): Setting new future strategy stack: [17:26:34.239] List of future strategies: [17:26:34.239] 1. FutureStrategy: [17:26:34.239] - args: function (..., envir = parent.frame(), workers = "") [17:26:34.239] - tweaked: FALSE [17:26:34.239] - call: future::plan(oplan) [17:26:34.240] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=204] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS43_HOME', 'RTOOLS44_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_RTOOLS44_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_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_MATRIX_DATA_', '_R_CHECK_MBCS_CONVERSION_FAILURE_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_NOTE_LOST_BRACES_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_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_CHECK_DOC_FILES_NOTE_IF_ALL_SPECIAL__', 'maj.version', 'nextArg--timingsnextArg--install' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: List of 3 $ name : chr "MAKEFLAGS" $ expected: 'Dlist' chr "" $ actual : 'Dlist' chr NA > > proc.time() user system elapsed 0.75 0.09 1.76