R Under development (unstable) (2024-07-28 r86931 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:27:42.551] plan(): Setting new future strategy stack: [17:27:42.552] List of future strategies: [17:27:42.552] 1. sequential: [17:27:42.552] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.552] - tweaked: FALSE [17:27:42.552] - call: future::plan("sequential") [17:27:42.569] plan(): nbrOfWorkers() = 1 > library("listenv") > > message("*** Globals w/ non-standard evaluation (NSE) ...") *** Globals w/ non-standard evaluation (NSE) ... > > data <- data.frame(x = 1:5, y = 1:5) > v0 <- subset(data, x < 3)$y > > for (strategy in supportedStrategies()) { + ## Speed up CRAN checks: Skip on CRAN Windows 32-bit + if (!fullTest && isWin32) next + + message(sprintf("- Strategy: %s ...", strategy)) + + plan(strategy) + + ## Assert option is passed on to future + options(future.globals.onMissing = "error") + opt1 %<-% getOption("future.globals.onMissing") + stopifnot(identical(opt1, "error")) + + options(future.globals.onMissing = "ignore") + opt2 %<-% getOption("future.globals.onMissing") + stopifnot(identical(opt2, "ignore")) + + options(future.globals.onMissing = "error") + res <- try({ v1 %<-% subset(data, x < 3)$y }, silent = TRUE) + stopifnot(inherits(res, "try-error")) + + options(future.globals.onMissing = "ignore") + v2 %<-% subset(data, x < 3)$y + stopifnot(identical(v2, v0)) + + ## Nested futures (requires option is passed on to future) + plan(list(sequential, strategy)) + options(future.globals.onMissing = "ignore") + v3 %<-% { + a %<-% subset(data, x < 3)$y + a + } %lazy% TRUE + stopifnot(identical(v3, v0)) + + ## Make sure to shut down nested parallel workers + void %<-% { plan(sequential) } + print(void) + + message(sprintf("- Strategy: %s ... DONE", strategy)) + } - Strategy: sequential ... [17:27:42.613] plan(): Setting new future strategy stack: [17:27:42.613] List of future strategies: [17:27:42.613] 1. sequential: [17:27:42.613] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.613] - tweaked: FALSE [17:27:42.613] - call: plan(strategy) [17:27:42.636] plan(): nbrOfWorkers() = 1 [17:27:42.639] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'error' [17:27:42.640] Searching for globals... [17:27:42.646] - globals found: [1] 'getOption' [17:27:42.646] Searching for globals ... DONE [17:27:42.647] Resolving globals: FALSE [17:27:42.648] [17:27:42.648] [17:27:42.648] getGlobalsAndPackages() ... DONE [17:27:42.650] run() for 'Future' ... [17:27:42.650] - state: 'created' [17:27:42.650] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:42.651] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:42.652] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:42.652] - Field: 'label' [17:27:42.652] - Field: 'local' [17:27:42.653] - Field: 'owner' [17:27:42.653] - Field: 'envir' [17:27:42.653] - Field: 'packages' [17:27:42.654] - Field: 'gc' [17:27:42.654] - Field: 'conditions' [17:27:42.654] - Field: 'expr' [17:27:42.655] - Field: 'uuid' [17:27:42.655] - Field: 'seed' [17:27:42.655] - Field: 'version' [17:27:42.655] - Field: 'result' [17:27:42.656] - Field: 'asynchronous' [17:27:42.656] - Field: 'calls' [17:27:42.656] - Field: 'globals' [17:27:42.657] - Field: 'stdout' [17:27:42.657] - Field: 'earlySignal' [17:27:42.657] - Field: 'lazy' [17:27:42.658] - Field: 'state' [17:27:42.658] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:42.658] - Launch lazy future ... [17:27:42.660] Packages needed by the future expression (n = 0): [17:27:42.660] Packages needed by future strategies (n = 0): [17:27:42.662] { [17:27:42.662] { [17:27:42.662] { [17:27:42.662] ...future.startTime <- base::Sys.time() [17:27:42.662] { [17:27:42.662] { [17:27:42.662] { [17:27:42.662] base::local({ [17:27:42.662] has_future <- base::requireNamespace("future", [17:27:42.662] quietly = TRUE) [17:27:42.662] if (has_future) { [17:27:42.662] ns <- base::getNamespace("future") [17:27:42.662] version <- ns[[".package"]][["version"]] [17:27:42.662] if (is.null(version)) [17:27:42.662] version <- utils::packageVersion("future") [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] version <- NULL [17:27:42.662] } [17:27:42.662] if (!has_future || version < "1.8.0") { [17:27:42.662] info <- base::c(r_version = base::gsub("R version ", [17:27:42.662] "", base::R.version$version.string), [17:27:42.662] platform = base::sprintf("%s (%s-bit)", [17:27:42.662] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:42.662] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:42.662] "release", "version")], collapse = " "), [17:27:42.662] hostname = base::Sys.info()[["nodename"]]) [17:27:42.662] info <- base::sprintf("%s: %s", base::names(info), [17:27:42.662] info) [17:27:42.662] info <- base::paste(info, collapse = "; ") [17:27:42.662] if (!has_future) { [17:27:42.662] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:42.662] info) [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:42.662] info, version) [17:27:42.662] } [17:27:42.662] base::stop(msg) [17:27:42.662] } [17:27:42.662] }) [17:27:42.662] } [17:27:42.662] ...future.strategy.old <- future::plan("list") [17:27:42.662] options(future.plan = NULL) [17:27:42.662] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.662] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:42.662] } [17:27:42.662] ...future.workdir <- getwd() [17:27:42.662] } [17:27:42.662] ...future.oldOptions <- base::as.list(base::.Options) [17:27:42.662] ...future.oldEnvVars <- base::Sys.getenv() [17:27:42.662] } [17:27:42.662] base::options(future.startup.script = FALSE, future.globals.onMissing = "error", [17:27:42.662] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:42.662] future.globals.onMissing = "error", future.globals.onReference = NULL, [17:27:42.662] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:42.662] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:42.662] future.stdout.windows.reencode = NULL, width = 80L) [17:27:42.662] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:42.662] base::names(...future.oldOptions)) [17:27:42.662] } [17:27:42.662] if (FALSE) { [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] if (TRUE) { [17:27:42.662] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:42.662] open = "w") [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:42.662] windows = "NUL", "/dev/null"), open = "w") [17:27:42.662] } [17:27:42.662] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:42.662] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:42.662] base::sink(type = "output", split = FALSE) [17:27:42.662] base::close(...future.stdout) [17:27:42.662] }, add = TRUE) [17:27:42.662] } [17:27:42.662] ...future.frame <- base::sys.nframe() [17:27:42.662] ...future.conditions <- base::list() [17:27:42.662] ...future.rng <- base::globalenv()$.Random.seed [17:27:42.662] if (FALSE) { [17:27:42.662] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:42.662] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:42.662] } [17:27:42.662] ...future.result <- base::tryCatch({ [17:27:42.662] base::withCallingHandlers({ [17:27:42.662] ...future.value <- base::withVisible(base::local(getOption("future.globals.onMissing"))) [17:27:42.662] future::FutureResult(value = ...future.value$value, [17:27:42.662] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.662] ...future.rng), globalenv = if (FALSE) [17:27:42.662] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:42.662] ...future.globalenv.names)) [17:27:42.662] else NULL, started = ...future.startTime, version = "1.8") [17:27:42.662] }, condition = base::local({ [17:27:42.662] c <- base::c [17:27:42.662] inherits <- base::inherits [17:27:42.662] invokeRestart <- base::invokeRestart [17:27:42.662] length <- base::length [17:27:42.662] list <- base::list [17:27:42.662] seq.int <- base::seq.int [17:27:42.662] signalCondition <- base::signalCondition [17:27:42.662] sys.calls <- base::sys.calls [17:27:42.662] `[[` <- base::`[[` [17:27:42.662] `+` <- base::`+` [17:27:42.662] `<<-` <- base::`<<-` [17:27:42.662] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:42.662] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:42.662] 3L)] [17:27:42.662] } [17:27:42.662] function(cond) { [17:27:42.662] is_error <- inherits(cond, "error") [17:27:42.662] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:42.662] NULL) [17:27:42.662] if (is_error) { [17:27:42.662] sessionInformation <- function() { [17:27:42.662] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:42.662] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:42.662] search = base::search(), system = base::Sys.info()) [17:27:42.662] } [17:27:42.662] ...future.conditions[[length(...future.conditions) + [17:27:42.662] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:42.662] cond$call), session = sessionInformation(), [17:27:42.662] timestamp = base::Sys.time(), signaled = 0L) [17:27:42.662] signalCondition(cond) [17:27:42.662] } [17:27:42.662] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:42.662] "immediateCondition"))) { [17:27:42.662] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:42.662] ...future.conditions[[length(...future.conditions) + [17:27:42.662] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:42.662] if (TRUE && !signal) { [17:27:42.662] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.662] { [17:27:42.662] inherits <- base::inherits [17:27:42.662] invokeRestart <- base::invokeRestart [17:27:42.662] is.null <- base::is.null [17:27:42.662] muffled <- FALSE [17:27:42.662] if (inherits(cond, "message")) { [17:27:42.662] muffled <- grepl(pattern, "muffleMessage") [17:27:42.662] if (muffled) [17:27:42.662] invokeRestart("muffleMessage") [17:27:42.662] } [17:27:42.662] else if (inherits(cond, "warning")) { [17:27:42.662] muffled <- grepl(pattern, "muffleWarning") [17:27:42.662] if (muffled) [17:27:42.662] invokeRestart("muffleWarning") [17:27:42.662] } [17:27:42.662] else if (inherits(cond, "condition")) { [17:27:42.662] if (!is.null(pattern)) { [17:27:42.662] computeRestarts <- base::computeRestarts [17:27:42.662] grepl <- base::grepl [17:27:42.662] restarts <- computeRestarts(cond) [17:27:42.662] for (restart in restarts) { [17:27:42.662] name <- restart$name [17:27:42.662] if (is.null(name)) [17:27:42.662] next [17:27:42.662] if (!grepl(pattern, name)) [17:27:42.662] next [17:27:42.662] invokeRestart(restart) [17:27:42.662] muffled <- TRUE [17:27:42.662] break [17:27:42.662] } [17:27:42.662] } [17:27:42.662] } [17:27:42.662] invisible(muffled) [17:27:42.662] } [17:27:42.662] muffleCondition(cond, pattern = "^muffle") [17:27:42.662] } [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] if (TRUE) { [17:27:42.662] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.662] { [17:27:42.662] inherits <- base::inherits [17:27:42.662] invokeRestart <- base::invokeRestart [17:27:42.662] is.null <- base::is.null [17:27:42.662] muffled <- FALSE [17:27:42.662] if (inherits(cond, "message")) { [17:27:42.662] muffled <- grepl(pattern, "muffleMessage") [17:27:42.662] if (muffled) [17:27:42.662] invokeRestart("muffleMessage") [17:27:42.662] } [17:27:42.662] else if (inherits(cond, "warning")) { [17:27:42.662] muffled <- grepl(pattern, "muffleWarning") [17:27:42.662] if (muffled) [17:27:42.662] invokeRestart("muffleWarning") [17:27:42.662] } [17:27:42.662] else if (inherits(cond, "condition")) { [17:27:42.662] if (!is.null(pattern)) { [17:27:42.662] computeRestarts <- base::computeRestarts [17:27:42.662] grepl <- base::grepl [17:27:42.662] restarts <- computeRestarts(cond) [17:27:42.662] for (restart in restarts) { [17:27:42.662] name <- restart$name [17:27:42.662] if (is.null(name)) [17:27:42.662] next [17:27:42.662] if (!grepl(pattern, name)) [17:27:42.662] next [17:27:42.662] invokeRestart(restart) [17:27:42.662] muffled <- TRUE [17:27:42.662] break [17:27:42.662] } [17:27:42.662] } [17:27:42.662] } [17:27:42.662] invisible(muffled) [17:27:42.662] } [17:27:42.662] muffleCondition(cond, pattern = "^muffle") [17:27:42.662] } [17:27:42.662] } [17:27:42.662] } [17:27:42.662] })) [17:27:42.662] }, error = function(ex) { [17:27:42.662] base::structure(base::list(value = NULL, visible = NULL, [17:27:42.662] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.662] ...future.rng), started = ...future.startTime, [17:27:42.662] finished = Sys.time(), session_uuid = NA_character_, [17:27:42.662] version = "1.8"), class = "FutureResult") [17:27:42.662] }, finally = { [17:27:42.662] if (!identical(...future.workdir, getwd())) [17:27:42.662] setwd(...future.workdir) [17:27:42.662] { [17:27:42.662] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:42.662] ...future.oldOptions$nwarnings <- NULL [17:27:42.662] } [17:27:42.662] base::options(...future.oldOptions) [17:27:42.662] if (.Platform$OS.type == "windows") { [17:27:42.662] old_names <- names(...future.oldEnvVars) [17:27:42.662] envs <- base::Sys.getenv() [17:27:42.662] names <- names(envs) [17:27:42.662] common <- intersect(names, old_names) [17:27:42.662] added <- setdiff(names, old_names) [17:27:42.662] removed <- setdiff(old_names, names) [17:27:42.662] changed <- common[...future.oldEnvVars[common] != [17:27:42.662] envs[common]] [17:27:42.662] NAMES <- toupper(changed) [17:27:42.662] args <- list() [17:27:42.662] for (kk in seq_along(NAMES)) { [17:27:42.662] name <- changed[[kk]] [17:27:42.662] NAME <- NAMES[[kk]] [17:27:42.662] if (name != NAME && is.element(NAME, old_names)) [17:27:42.662] next [17:27:42.662] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.662] } [17:27:42.662] NAMES <- toupper(added) [17:27:42.662] for (kk in seq_along(NAMES)) { [17:27:42.662] name <- added[[kk]] [17:27:42.662] NAME <- NAMES[[kk]] [17:27:42.662] if (name != NAME && is.element(NAME, old_names)) [17:27:42.662] next [17:27:42.662] args[[name]] <- "" [17:27:42.662] } [17:27:42.662] NAMES <- toupper(removed) [17:27:42.662] for (kk in seq_along(NAMES)) { [17:27:42.662] name <- removed[[kk]] [17:27:42.662] NAME <- NAMES[[kk]] [17:27:42.662] if (name != NAME && is.element(NAME, old_names)) [17:27:42.662] next [17:27:42.662] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.662] } [17:27:42.662] if (length(args) > 0) [17:27:42.662] base::do.call(base::Sys.setenv, args = args) [17:27:42.662] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:42.662] } [17:27:42.662] { [17:27:42.662] if (base::length(...future.futureOptionsAdded) > [17:27:42.662] 0L) { [17:27:42.662] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:42.662] base::names(opts) <- ...future.futureOptionsAdded [17:27:42.662] base::options(opts) [17:27:42.662] } [17:27:42.662] { [17:27:42.662] { [17:27:42.662] NULL [17:27:42.662] RNGkind("Mersenne-Twister") [17:27:42.662] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:42.662] inherits = FALSE) [17:27:42.662] } [17:27:42.662] options(future.plan = NULL) [17:27:42.662] if (is.na(NA_character_)) [17:27:42.662] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.662] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:42.662] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:42.662] .init = FALSE) [17:27:42.662] } [17:27:42.662] } [17:27:42.662] } [17:27:42.662] }) [17:27:42.662] if (TRUE) { [17:27:42.662] base::sink(type = "output", split = FALSE) [17:27:42.662] if (TRUE) { [17:27:42.662] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:42.662] } [17:27:42.662] else { [17:27:42.662] ...future.result["stdout"] <- base::list(NULL) [17:27:42.662] } [17:27:42.662] base::close(...future.stdout) [17:27:42.662] ...future.stdout <- NULL [17:27:42.662] } [17:27:42.662] ...future.result$conditions <- ...future.conditions [17:27:42.662] ...future.result$finished <- base::Sys.time() [17:27:42.662] ...future.result [17:27:42.662] } [17:27:42.669] plan(): Setting new future strategy stack: [17:27:42.670] List of future strategies: [17:27:42.670] 1. sequential: [17:27:42.670] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.670] - tweaked: FALSE [17:27:42.670] - call: NULL [17:27:42.671] plan(): nbrOfWorkers() = 1 [17:27:42.674] plan(): Setting new future strategy stack: [17:27:42.674] List of future strategies: [17:27:42.674] 1. sequential: [17:27:42.674] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.674] - tweaked: FALSE [17:27:42.674] - call: plan(strategy) [17:27:42.675] plan(): nbrOfWorkers() = 1 [17:27:42.676] SequentialFuture started (and completed) [17:27:42.677] - Launch lazy future ... done [17:27:42.677] run() for 'SequentialFuture' ... done [17:27:42.678] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:42.679] Searching for globals... [17:27:42.680] - globals found: [1] 'getOption' [17:27:42.680] Searching for globals ... DONE [17:27:42.681] Resolving globals: FALSE [17:27:42.681] [17:27:42.682] [17:27:42.682] getGlobalsAndPackages() ... DONE [17:27:42.682] run() for 'Future' ... [17:27:42.683] - state: 'created' [17:27:42.683] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:42.684] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:42.684] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:42.684] - Field: 'label' [17:27:42.685] - Field: 'local' [17:27:42.685] - Field: 'owner' [17:27:42.685] - Field: 'envir' [17:27:42.686] - Field: 'packages' [17:27:42.686] - Field: 'gc' [17:27:42.686] - Field: 'conditions' [17:27:42.686] - Field: 'expr' [17:27:42.687] - Field: 'uuid' [17:27:42.687] - Field: 'seed' [17:27:42.687] - Field: 'version' [17:27:42.688] - Field: 'result' [17:27:42.688] - Field: 'asynchronous' [17:27:42.688] - Field: 'calls' [17:27:42.689] - Field: 'globals' [17:27:42.689] - Field: 'stdout' [17:27:42.689] - Field: 'earlySignal' [17:27:42.690] - Field: 'lazy' [17:27:42.690] - Field: 'state' [17:27:42.690] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:42.690] - Launch lazy future ... [17:27:42.691] Packages needed by the future expression (n = 0): [17:27:42.691] Packages needed by future strategies (n = 0): [17:27:42.692] { [17:27:42.692] { [17:27:42.692] { [17:27:42.692] ...future.startTime <- base::Sys.time() [17:27:42.692] { [17:27:42.692] { [17:27:42.692] { [17:27:42.692] base::local({ [17:27:42.692] has_future <- base::requireNamespace("future", [17:27:42.692] quietly = TRUE) [17:27:42.692] if (has_future) { [17:27:42.692] ns <- base::getNamespace("future") [17:27:42.692] version <- ns[[".package"]][["version"]] [17:27:42.692] if (is.null(version)) [17:27:42.692] version <- utils::packageVersion("future") [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] version <- NULL [17:27:42.692] } [17:27:42.692] if (!has_future || version < "1.8.0") { [17:27:42.692] info <- base::c(r_version = base::gsub("R version ", [17:27:42.692] "", base::R.version$version.string), [17:27:42.692] platform = base::sprintf("%s (%s-bit)", [17:27:42.692] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:42.692] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:42.692] "release", "version")], collapse = " "), [17:27:42.692] hostname = base::Sys.info()[["nodename"]]) [17:27:42.692] info <- base::sprintf("%s: %s", base::names(info), [17:27:42.692] info) [17:27:42.692] info <- base::paste(info, collapse = "; ") [17:27:42.692] if (!has_future) { [17:27:42.692] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:42.692] info) [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:42.692] info, version) [17:27:42.692] } [17:27:42.692] base::stop(msg) [17:27:42.692] } [17:27:42.692] }) [17:27:42.692] } [17:27:42.692] ...future.strategy.old <- future::plan("list") [17:27:42.692] options(future.plan = NULL) [17:27:42.692] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.692] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:42.692] } [17:27:42.692] ...future.workdir <- getwd() [17:27:42.692] } [17:27:42.692] ...future.oldOptions <- base::as.list(base::.Options) [17:27:42.692] ...future.oldEnvVars <- base::Sys.getenv() [17:27:42.692] } [17:27:42.692] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:42.692] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:42.692] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:42.692] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:42.692] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:42.692] future.stdout.windows.reencode = NULL, width = 80L) [17:27:42.692] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:42.692] base::names(...future.oldOptions)) [17:27:42.692] } [17:27:42.692] if (FALSE) { [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] if (TRUE) { [17:27:42.692] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:42.692] open = "w") [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:42.692] windows = "NUL", "/dev/null"), open = "w") [17:27:42.692] } [17:27:42.692] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:42.692] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:42.692] base::sink(type = "output", split = FALSE) [17:27:42.692] base::close(...future.stdout) [17:27:42.692] }, add = TRUE) [17:27:42.692] } [17:27:42.692] ...future.frame <- base::sys.nframe() [17:27:42.692] ...future.conditions <- base::list() [17:27:42.692] ...future.rng <- base::globalenv()$.Random.seed [17:27:42.692] if (FALSE) { [17:27:42.692] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:42.692] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:42.692] } [17:27:42.692] ...future.result <- base::tryCatch({ [17:27:42.692] base::withCallingHandlers({ [17:27:42.692] ...future.value <- base::withVisible(base::local(getOption("future.globals.onMissing"))) [17:27:42.692] future::FutureResult(value = ...future.value$value, [17:27:42.692] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.692] ...future.rng), globalenv = if (FALSE) [17:27:42.692] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:42.692] ...future.globalenv.names)) [17:27:42.692] else NULL, started = ...future.startTime, version = "1.8") [17:27:42.692] }, condition = base::local({ [17:27:42.692] c <- base::c [17:27:42.692] inherits <- base::inherits [17:27:42.692] invokeRestart <- base::invokeRestart [17:27:42.692] length <- base::length [17:27:42.692] list <- base::list [17:27:42.692] seq.int <- base::seq.int [17:27:42.692] signalCondition <- base::signalCondition [17:27:42.692] sys.calls <- base::sys.calls [17:27:42.692] `[[` <- base::`[[` [17:27:42.692] `+` <- base::`+` [17:27:42.692] `<<-` <- base::`<<-` [17:27:42.692] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:42.692] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:42.692] 3L)] [17:27:42.692] } [17:27:42.692] function(cond) { [17:27:42.692] is_error <- inherits(cond, "error") [17:27:42.692] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:42.692] NULL) [17:27:42.692] if (is_error) { [17:27:42.692] sessionInformation <- function() { [17:27:42.692] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:42.692] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:42.692] search = base::search(), system = base::Sys.info()) [17:27:42.692] } [17:27:42.692] ...future.conditions[[length(...future.conditions) + [17:27:42.692] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:42.692] cond$call), session = sessionInformation(), [17:27:42.692] timestamp = base::Sys.time(), signaled = 0L) [17:27:42.692] signalCondition(cond) [17:27:42.692] } [17:27:42.692] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:42.692] "immediateCondition"))) { [17:27:42.692] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:42.692] ...future.conditions[[length(...future.conditions) + [17:27:42.692] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:42.692] if (TRUE && !signal) { [17:27:42.692] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.692] { [17:27:42.692] inherits <- base::inherits [17:27:42.692] invokeRestart <- base::invokeRestart [17:27:42.692] is.null <- base::is.null [17:27:42.692] muffled <- FALSE [17:27:42.692] if (inherits(cond, "message")) { [17:27:42.692] muffled <- grepl(pattern, "muffleMessage") [17:27:42.692] if (muffled) [17:27:42.692] invokeRestart("muffleMessage") [17:27:42.692] } [17:27:42.692] else if (inherits(cond, "warning")) { [17:27:42.692] muffled <- grepl(pattern, "muffleWarning") [17:27:42.692] if (muffled) [17:27:42.692] invokeRestart("muffleWarning") [17:27:42.692] } [17:27:42.692] else if (inherits(cond, "condition")) { [17:27:42.692] if (!is.null(pattern)) { [17:27:42.692] computeRestarts <- base::computeRestarts [17:27:42.692] grepl <- base::grepl [17:27:42.692] restarts <- computeRestarts(cond) [17:27:42.692] for (restart in restarts) { [17:27:42.692] name <- restart$name [17:27:42.692] if (is.null(name)) [17:27:42.692] next [17:27:42.692] if (!grepl(pattern, name)) [17:27:42.692] next [17:27:42.692] invokeRestart(restart) [17:27:42.692] muffled <- TRUE [17:27:42.692] break [17:27:42.692] } [17:27:42.692] } [17:27:42.692] } [17:27:42.692] invisible(muffled) [17:27:42.692] } [17:27:42.692] muffleCondition(cond, pattern = "^muffle") [17:27:42.692] } [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] if (TRUE) { [17:27:42.692] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.692] { [17:27:42.692] inherits <- base::inherits [17:27:42.692] invokeRestart <- base::invokeRestart [17:27:42.692] is.null <- base::is.null [17:27:42.692] muffled <- FALSE [17:27:42.692] if (inherits(cond, "message")) { [17:27:42.692] muffled <- grepl(pattern, "muffleMessage") [17:27:42.692] if (muffled) [17:27:42.692] invokeRestart("muffleMessage") [17:27:42.692] } [17:27:42.692] else if (inherits(cond, "warning")) { [17:27:42.692] muffled <- grepl(pattern, "muffleWarning") [17:27:42.692] if (muffled) [17:27:42.692] invokeRestart("muffleWarning") [17:27:42.692] } [17:27:42.692] else if (inherits(cond, "condition")) { [17:27:42.692] if (!is.null(pattern)) { [17:27:42.692] computeRestarts <- base::computeRestarts [17:27:42.692] grepl <- base::grepl [17:27:42.692] restarts <- computeRestarts(cond) [17:27:42.692] for (restart in restarts) { [17:27:42.692] name <- restart$name [17:27:42.692] if (is.null(name)) [17:27:42.692] next [17:27:42.692] if (!grepl(pattern, name)) [17:27:42.692] next [17:27:42.692] invokeRestart(restart) [17:27:42.692] muffled <- TRUE [17:27:42.692] break [17:27:42.692] } [17:27:42.692] } [17:27:42.692] } [17:27:42.692] invisible(muffled) [17:27:42.692] } [17:27:42.692] muffleCondition(cond, pattern = "^muffle") [17:27:42.692] } [17:27:42.692] } [17:27:42.692] } [17:27:42.692] })) [17:27:42.692] }, error = function(ex) { [17:27:42.692] base::structure(base::list(value = NULL, visible = NULL, [17:27:42.692] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.692] ...future.rng), started = ...future.startTime, [17:27:42.692] finished = Sys.time(), session_uuid = NA_character_, [17:27:42.692] version = "1.8"), class = "FutureResult") [17:27:42.692] }, finally = { [17:27:42.692] if (!identical(...future.workdir, getwd())) [17:27:42.692] setwd(...future.workdir) [17:27:42.692] { [17:27:42.692] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:42.692] ...future.oldOptions$nwarnings <- NULL [17:27:42.692] } [17:27:42.692] base::options(...future.oldOptions) [17:27:42.692] if (.Platform$OS.type == "windows") { [17:27:42.692] old_names <- names(...future.oldEnvVars) [17:27:42.692] envs <- base::Sys.getenv() [17:27:42.692] names <- names(envs) [17:27:42.692] common <- intersect(names, old_names) [17:27:42.692] added <- setdiff(names, old_names) [17:27:42.692] removed <- setdiff(old_names, names) [17:27:42.692] changed <- common[...future.oldEnvVars[common] != [17:27:42.692] envs[common]] [17:27:42.692] NAMES <- toupper(changed) [17:27:42.692] args <- list() [17:27:42.692] for (kk in seq_along(NAMES)) { [17:27:42.692] name <- changed[[kk]] [17:27:42.692] NAME <- NAMES[[kk]] [17:27:42.692] if (name != NAME && is.element(NAME, old_names)) [17:27:42.692] next [17:27:42.692] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.692] } [17:27:42.692] NAMES <- toupper(added) [17:27:42.692] for (kk in seq_along(NAMES)) { [17:27:42.692] name <- added[[kk]] [17:27:42.692] NAME <- NAMES[[kk]] [17:27:42.692] if (name != NAME && is.element(NAME, old_names)) [17:27:42.692] next [17:27:42.692] args[[name]] <- "" [17:27:42.692] } [17:27:42.692] NAMES <- toupper(removed) [17:27:42.692] for (kk in seq_along(NAMES)) { [17:27:42.692] name <- removed[[kk]] [17:27:42.692] NAME <- NAMES[[kk]] [17:27:42.692] if (name != NAME && is.element(NAME, old_names)) [17:27:42.692] next [17:27:42.692] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.692] } [17:27:42.692] if (length(args) > 0) [17:27:42.692] base::do.call(base::Sys.setenv, args = args) [17:27:42.692] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:42.692] } [17:27:42.692] { [17:27:42.692] if (base::length(...future.futureOptionsAdded) > [17:27:42.692] 0L) { [17:27:42.692] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:42.692] base::names(opts) <- ...future.futureOptionsAdded [17:27:42.692] base::options(opts) [17:27:42.692] } [17:27:42.692] { [17:27:42.692] { [17:27:42.692] NULL [17:27:42.692] RNGkind("Mersenne-Twister") [17:27:42.692] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:42.692] inherits = FALSE) [17:27:42.692] } [17:27:42.692] options(future.plan = NULL) [17:27:42.692] if (is.na(NA_character_)) [17:27:42.692] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.692] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:42.692] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:42.692] .init = FALSE) [17:27:42.692] } [17:27:42.692] } [17:27:42.692] } [17:27:42.692] }) [17:27:42.692] if (TRUE) { [17:27:42.692] base::sink(type = "output", split = FALSE) [17:27:42.692] if (TRUE) { [17:27:42.692] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:42.692] } [17:27:42.692] else { [17:27:42.692] ...future.result["stdout"] <- base::list(NULL) [17:27:42.692] } [17:27:42.692] base::close(...future.stdout) [17:27:42.692] ...future.stdout <- NULL [17:27:42.692] } [17:27:42.692] ...future.result$conditions <- ...future.conditions [17:27:42.692] ...future.result$finished <- base::Sys.time() [17:27:42.692] ...future.result [17:27:42.692] } [17:27:42.699] plan(): Setting new future strategy stack: [17:27:42.700] List of future strategies: [17:27:42.700] 1. sequential: [17:27:42.700] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.700] - tweaked: FALSE [17:27:42.700] - call: NULL [17:27:42.701] plan(): nbrOfWorkers() = 1 [17:27:42.703] plan(): Setting new future strategy stack: [17:27:42.703] List of future strategies: [17:27:42.703] 1. sequential: [17:27:42.703] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.703] - tweaked: FALSE [17:27:42.703] - call: plan(strategy) [17:27:42.704] plan(): nbrOfWorkers() = 1 [17:27:42.705] SequentialFuture started (and completed) [17:27:42.705] - Launch lazy future ... done [17:27:42.705] run() for 'SequentialFuture' ... done [17:27:42.706] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'error' [17:27:42.707] Searching for globals... [17:27:42.714] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:42.715] Searching for globals... [17:27:42.716] - globals found: [5] '$', 'subset', 'data', '<', 'x' [17:27:42.717] Searching for globals ... DONE [17:27:42.717] Resolving globals: FALSE [17:27:42.718] The total size of the 1 globals is 356 bytes (356 bytes) [17:27:42.719] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 356 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (356 bytes of class 'list') [17:27:42.719] - globals: [1] 'data' [17:27:42.720] [17:27:42.720] getGlobalsAndPackages() ... DONE [17:27:42.720] run() for 'Future' ... [17:27:42.721] - state: 'created' [17:27:42.721] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:42.722] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:42.722] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:42.722] - Field: 'label' [17:27:42.723] - Field: 'local' [17:27:42.723] - Field: 'owner' [17:27:42.723] - Field: 'envir' [17:27:42.723] - Field: 'packages' [17:27:42.724] - Field: 'gc' [17:27:42.724] - Field: 'conditions' [17:27:42.724] - Field: 'expr' [17:27:42.724] - Field: 'uuid' [17:27:42.725] - Field: 'seed' [17:27:42.725] - Field: 'version' [17:27:42.725] - Field: 'result' [17:27:42.726] - Field: 'asynchronous' [17:27:42.726] - Field: 'calls' [17:27:42.726] - Field: 'globals' [17:27:42.726] - Field: 'stdout' [17:27:42.727] - Field: 'earlySignal' [17:27:42.727] - Field: 'lazy' [17:27:42.727] - Field: 'state' [17:27:42.727] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:42.728] - Launch lazy future ... [17:27:42.728] Packages needed by the future expression (n = 0): [17:27:42.728] Packages needed by future strategies (n = 0): [17:27:42.729] { [17:27:42.729] { [17:27:42.729] { [17:27:42.729] ...future.startTime <- base::Sys.time() [17:27:42.729] { [17:27:42.729] { [17:27:42.729] { [17:27:42.729] base::local({ [17:27:42.729] has_future <- base::requireNamespace("future", [17:27:42.729] quietly = TRUE) [17:27:42.729] if (has_future) { [17:27:42.729] ns <- base::getNamespace("future") [17:27:42.729] version <- ns[[".package"]][["version"]] [17:27:42.729] if (is.null(version)) [17:27:42.729] version <- utils::packageVersion("future") [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] version <- NULL [17:27:42.729] } [17:27:42.729] if (!has_future || version < "1.8.0") { [17:27:42.729] info <- base::c(r_version = base::gsub("R version ", [17:27:42.729] "", base::R.version$version.string), [17:27:42.729] platform = base::sprintf("%s (%s-bit)", [17:27:42.729] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:42.729] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:42.729] "release", "version")], collapse = " "), [17:27:42.729] hostname = base::Sys.info()[["nodename"]]) [17:27:42.729] info <- base::sprintf("%s: %s", base::names(info), [17:27:42.729] info) [17:27:42.729] info <- base::paste(info, collapse = "; ") [17:27:42.729] if (!has_future) { [17:27:42.729] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:42.729] info) [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:42.729] info, version) [17:27:42.729] } [17:27:42.729] base::stop(msg) [17:27:42.729] } [17:27:42.729] }) [17:27:42.729] } [17:27:42.729] ...future.strategy.old <- future::plan("list") [17:27:42.729] options(future.plan = NULL) [17:27:42.729] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.729] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:42.729] } [17:27:42.729] ...future.workdir <- getwd() [17:27:42.729] } [17:27:42.729] ...future.oldOptions <- base::as.list(base::.Options) [17:27:42.729] ...future.oldEnvVars <- base::Sys.getenv() [17:27:42.729] } [17:27:42.729] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:42.729] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:42.729] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:42.729] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:42.729] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:42.729] future.stdout.windows.reencode = NULL, width = 80L) [17:27:42.729] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:42.729] base::names(...future.oldOptions)) [17:27:42.729] } [17:27:42.729] if (FALSE) { [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] if (TRUE) { [17:27:42.729] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:42.729] open = "w") [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:42.729] windows = "NUL", "/dev/null"), open = "w") [17:27:42.729] } [17:27:42.729] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:42.729] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:42.729] base::sink(type = "output", split = FALSE) [17:27:42.729] base::close(...future.stdout) [17:27:42.729] }, add = TRUE) [17:27:42.729] } [17:27:42.729] ...future.frame <- base::sys.nframe() [17:27:42.729] ...future.conditions <- base::list() [17:27:42.729] ...future.rng <- base::globalenv()$.Random.seed [17:27:42.729] if (FALSE) { [17:27:42.729] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:42.729] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:42.729] } [17:27:42.729] ...future.result <- base::tryCatch({ [17:27:42.729] base::withCallingHandlers({ [17:27:42.729] ...future.value <- base::withVisible(base::local(subset(data, [17:27:42.729] x < 3)$y)) [17:27:42.729] future::FutureResult(value = ...future.value$value, [17:27:42.729] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.729] ...future.rng), globalenv = if (FALSE) [17:27:42.729] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:42.729] ...future.globalenv.names)) [17:27:42.729] else NULL, started = ...future.startTime, version = "1.8") [17:27:42.729] }, condition = base::local({ [17:27:42.729] c <- base::c [17:27:42.729] inherits <- base::inherits [17:27:42.729] invokeRestart <- base::invokeRestart [17:27:42.729] length <- base::length [17:27:42.729] list <- base::list [17:27:42.729] seq.int <- base::seq.int [17:27:42.729] signalCondition <- base::signalCondition [17:27:42.729] sys.calls <- base::sys.calls [17:27:42.729] `[[` <- base::`[[` [17:27:42.729] `+` <- base::`+` [17:27:42.729] `<<-` <- base::`<<-` [17:27:42.729] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:42.729] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:42.729] 3L)] [17:27:42.729] } [17:27:42.729] function(cond) { [17:27:42.729] is_error <- inherits(cond, "error") [17:27:42.729] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:42.729] NULL) [17:27:42.729] if (is_error) { [17:27:42.729] sessionInformation <- function() { [17:27:42.729] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:42.729] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:42.729] search = base::search(), system = base::Sys.info()) [17:27:42.729] } [17:27:42.729] ...future.conditions[[length(...future.conditions) + [17:27:42.729] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:42.729] cond$call), session = sessionInformation(), [17:27:42.729] timestamp = base::Sys.time(), signaled = 0L) [17:27:42.729] signalCondition(cond) [17:27:42.729] } [17:27:42.729] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:42.729] "immediateCondition"))) { [17:27:42.729] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:42.729] ...future.conditions[[length(...future.conditions) + [17:27:42.729] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:42.729] if (TRUE && !signal) { [17:27:42.729] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.729] { [17:27:42.729] inherits <- base::inherits [17:27:42.729] invokeRestart <- base::invokeRestart [17:27:42.729] is.null <- base::is.null [17:27:42.729] muffled <- FALSE [17:27:42.729] if (inherits(cond, "message")) { [17:27:42.729] muffled <- grepl(pattern, "muffleMessage") [17:27:42.729] if (muffled) [17:27:42.729] invokeRestart("muffleMessage") [17:27:42.729] } [17:27:42.729] else if (inherits(cond, "warning")) { [17:27:42.729] muffled <- grepl(pattern, "muffleWarning") [17:27:42.729] if (muffled) [17:27:42.729] invokeRestart("muffleWarning") [17:27:42.729] } [17:27:42.729] else if (inherits(cond, "condition")) { [17:27:42.729] if (!is.null(pattern)) { [17:27:42.729] computeRestarts <- base::computeRestarts [17:27:42.729] grepl <- base::grepl [17:27:42.729] restarts <- computeRestarts(cond) [17:27:42.729] for (restart in restarts) { [17:27:42.729] name <- restart$name [17:27:42.729] if (is.null(name)) [17:27:42.729] next [17:27:42.729] if (!grepl(pattern, name)) [17:27:42.729] next [17:27:42.729] invokeRestart(restart) [17:27:42.729] muffled <- TRUE [17:27:42.729] break [17:27:42.729] } [17:27:42.729] } [17:27:42.729] } [17:27:42.729] invisible(muffled) [17:27:42.729] } [17:27:42.729] muffleCondition(cond, pattern = "^muffle") [17:27:42.729] } [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] if (TRUE) { [17:27:42.729] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.729] { [17:27:42.729] inherits <- base::inherits [17:27:42.729] invokeRestart <- base::invokeRestart [17:27:42.729] is.null <- base::is.null [17:27:42.729] muffled <- FALSE [17:27:42.729] if (inherits(cond, "message")) { [17:27:42.729] muffled <- grepl(pattern, "muffleMessage") [17:27:42.729] if (muffled) [17:27:42.729] invokeRestart("muffleMessage") [17:27:42.729] } [17:27:42.729] else if (inherits(cond, "warning")) { [17:27:42.729] muffled <- grepl(pattern, "muffleWarning") [17:27:42.729] if (muffled) [17:27:42.729] invokeRestart("muffleWarning") [17:27:42.729] } [17:27:42.729] else if (inherits(cond, "condition")) { [17:27:42.729] if (!is.null(pattern)) { [17:27:42.729] computeRestarts <- base::computeRestarts [17:27:42.729] grepl <- base::grepl [17:27:42.729] restarts <- computeRestarts(cond) [17:27:42.729] for (restart in restarts) { [17:27:42.729] name <- restart$name [17:27:42.729] if (is.null(name)) [17:27:42.729] next [17:27:42.729] if (!grepl(pattern, name)) [17:27:42.729] next [17:27:42.729] invokeRestart(restart) [17:27:42.729] muffled <- TRUE [17:27:42.729] break [17:27:42.729] } [17:27:42.729] } [17:27:42.729] } [17:27:42.729] invisible(muffled) [17:27:42.729] } [17:27:42.729] muffleCondition(cond, pattern = "^muffle") [17:27:42.729] } [17:27:42.729] } [17:27:42.729] } [17:27:42.729] })) [17:27:42.729] }, error = function(ex) { [17:27:42.729] base::structure(base::list(value = NULL, visible = NULL, [17:27:42.729] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.729] ...future.rng), started = ...future.startTime, [17:27:42.729] finished = Sys.time(), session_uuid = NA_character_, [17:27:42.729] version = "1.8"), class = "FutureResult") [17:27:42.729] }, finally = { [17:27:42.729] if (!identical(...future.workdir, getwd())) [17:27:42.729] setwd(...future.workdir) [17:27:42.729] { [17:27:42.729] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:42.729] ...future.oldOptions$nwarnings <- NULL [17:27:42.729] } [17:27:42.729] base::options(...future.oldOptions) [17:27:42.729] if (.Platform$OS.type == "windows") { [17:27:42.729] old_names <- names(...future.oldEnvVars) [17:27:42.729] envs <- base::Sys.getenv() [17:27:42.729] names <- names(envs) [17:27:42.729] common <- intersect(names, old_names) [17:27:42.729] added <- setdiff(names, old_names) [17:27:42.729] removed <- setdiff(old_names, names) [17:27:42.729] changed <- common[...future.oldEnvVars[common] != [17:27:42.729] envs[common]] [17:27:42.729] NAMES <- toupper(changed) [17:27:42.729] args <- list() [17:27:42.729] for (kk in seq_along(NAMES)) { [17:27:42.729] name <- changed[[kk]] [17:27:42.729] NAME <- NAMES[[kk]] [17:27:42.729] if (name != NAME && is.element(NAME, old_names)) [17:27:42.729] next [17:27:42.729] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.729] } [17:27:42.729] NAMES <- toupper(added) [17:27:42.729] for (kk in seq_along(NAMES)) { [17:27:42.729] name <- added[[kk]] [17:27:42.729] NAME <- NAMES[[kk]] [17:27:42.729] if (name != NAME && is.element(NAME, old_names)) [17:27:42.729] next [17:27:42.729] args[[name]] <- "" [17:27:42.729] } [17:27:42.729] NAMES <- toupper(removed) [17:27:42.729] for (kk in seq_along(NAMES)) { [17:27:42.729] name <- removed[[kk]] [17:27:42.729] NAME <- NAMES[[kk]] [17:27:42.729] if (name != NAME && is.element(NAME, old_names)) [17:27:42.729] next [17:27:42.729] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.729] } [17:27:42.729] if (length(args) > 0) [17:27:42.729] base::do.call(base::Sys.setenv, args = args) [17:27:42.729] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:42.729] } [17:27:42.729] { [17:27:42.729] if (base::length(...future.futureOptionsAdded) > [17:27:42.729] 0L) { [17:27:42.729] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:42.729] base::names(opts) <- ...future.futureOptionsAdded [17:27:42.729] base::options(opts) [17:27:42.729] } [17:27:42.729] { [17:27:42.729] { [17:27:42.729] NULL [17:27:42.729] RNGkind("Mersenne-Twister") [17:27:42.729] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:42.729] inherits = FALSE) [17:27:42.729] } [17:27:42.729] options(future.plan = NULL) [17:27:42.729] if (is.na(NA_character_)) [17:27:42.729] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.729] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:42.729] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:42.729] .init = FALSE) [17:27:42.729] } [17:27:42.729] } [17:27:42.729] } [17:27:42.729] }) [17:27:42.729] if (TRUE) { [17:27:42.729] base::sink(type = "output", split = FALSE) [17:27:42.729] if (TRUE) { [17:27:42.729] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:42.729] } [17:27:42.729] else { [17:27:42.729] ...future.result["stdout"] <- base::list(NULL) [17:27:42.729] } [17:27:42.729] base::close(...future.stdout) [17:27:42.729] ...future.stdout <- NULL [17:27:42.729] } [17:27:42.729] ...future.result$conditions <- ...future.conditions [17:27:42.729] ...future.result$finished <- base::Sys.time() [17:27:42.729] ...future.result [17:27:42.729] } [17:27:42.735] assign_globals() ... [17:27:42.736] List of 1 [17:27:42.736] $ data:'data.frame': 5 obs. of 2 variables: [17:27:42.736] ..$ x: int [1:5] 1 2 3 4 5 [17:27:42.736] ..$ y: int [1:5] 1 2 3 4 5 [17:27:42.736] - attr(*, "where")=List of 1 [17:27:42.736] ..$ data: [17:27:42.736] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:27:42.736] - attr(*, "resolved")= logi FALSE [17:27:42.736] - attr(*, "total_size")= int 356 [17:27:42.736] - attr(*, "already-done")= logi TRUE [17:27:42.745] - copied 'data' to environment [17:27:42.745] assign_globals() ... done [17:27:42.746] plan(): Setting new future strategy stack: [17:27:42.746] List of future strategies: [17:27:42.746] 1. sequential: [17:27:42.746] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.746] - tweaked: FALSE [17:27:42.746] - call: NULL [17:27:42.747] plan(): nbrOfWorkers() = 1 [17:27:42.749] plan(): Setting new future strategy stack: [17:27:42.750] List of future strategies: [17:27:42.750] 1. sequential: [17:27:42.750] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.750] - tweaked: FALSE [17:27:42.750] - call: plan(strategy) [17:27:42.751] plan(): nbrOfWorkers() = 1 [17:27:42.751] SequentialFuture started (and completed) [17:27:42.751] - Launch lazy future ... done [17:27:42.752] run() for 'SequentialFuture' ... done [17:27:42.752] plan(): Setting new future strategy stack: [17:27:42.753] List of future strategies: [17:27:42.753] 1. sequential: [17:27:42.753] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.753] - tweaked: FALSE [17:27:42.753] - call: plan(list(sequential, strategy)) [17:27:42.753] 2. sequential: [17:27:42.753] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.753] - tweaked: FALSE [17:27:42.753] - call: plan(list(sequential, strategy)) [17:27:42.754] plan(): nbrOfWorkers() = 1 [17:27:42.755] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:42.755] Searching for globals... [17:27:42.769] - globals found: [8] '{', '<-', '$', 'subset', 'data', '<', 'x', '%<-%' [17:27:42.769] Searching for globals ... DONE [17:27:42.770] Resolving globals: FALSE [17:27:42.771] The total size of the 1 globals is 356 bytes (356 bytes) [17:27:42.771] The total size of the 1 globals exported for future expression ('{; a %<-% subset(data, x < 3)$y; a; }') is 356 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (356 bytes of class 'list') [17:27:42.772] - globals: [1] 'data' [17:27:42.772] - packages: [1] 'future' [17:27:42.772] getGlobalsAndPackages() ... DONE [17:27:42.773] run() for 'Future' ... [17:27:42.774] - state: 'created' [17:27:42.774] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:42.775] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:42.775] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:42.775] - Field: 'label' [17:27:42.776] - Field: 'local' [17:27:42.776] - Field: 'owner' [17:27:42.776] - Field: 'envir' [17:27:42.776] - Field: 'packages' [17:27:42.777] - Field: 'gc' [17:27:42.777] - Field: 'conditions' [17:27:42.777] - Field: 'expr' [17:27:42.778] - Field: 'uuid' [17:27:42.778] - Field: 'seed' [17:27:42.778] - Field: 'version' [17:27:42.778] - Field: 'result' [17:27:42.779] - Field: 'asynchronous' [17:27:42.779] - Field: 'calls' [17:27:42.779] - Field: 'globals' [17:27:42.780] - Field: 'stdout' [17:27:42.780] - Field: 'earlySignal' [17:27:42.780] - Field: 'lazy' [17:27:42.780] - Field: 'state' [17:27:42.781] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:42.781] - Launch lazy future ... [17:27:42.781] Packages needed by the future expression (n = 1): 'future' [17:27:42.782] Packages needed by future strategies (n = 1): 'future' [17:27:42.783] { [17:27:42.783] { [17:27:42.783] { [17:27:42.783] ...future.startTime <- base::Sys.time() [17:27:42.783] { [17:27:42.783] { [17:27:42.783] { [17:27:42.783] { [17:27:42.783] base::local({ [17:27:42.783] has_future <- base::requireNamespace("future", [17:27:42.783] quietly = TRUE) [17:27:42.783] if (has_future) { [17:27:42.783] ns <- base::getNamespace("future") [17:27:42.783] version <- ns[[".package"]][["version"]] [17:27:42.783] if (is.null(version)) [17:27:42.783] version <- utils::packageVersion("future") [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] version <- NULL [17:27:42.783] } [17:27:42.783] if (!has_future || version < "1.8.0") { [17:27:42.783] info <- base::c(r_version = base::gsub("R version ", [17:27:42.783] "", base::R.version$version.string), [17:27:42.783] platform = base::sprintf("%s (%s-bit)", [17:27:42.783] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:42.783] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:42.783] "release", "version")], collapse = " "), [17:27:42.783] hostname = base::Sys.info()[["nodename"]]) [17:27:42.783] info <- base::sprintf("%s: %s", base::names(info), [17:27:42.783] info) [17:27:42.783] info <- base::paste(info, collapse = "; ") [17:27:42.783] if (!has_future) { [17:27:42.783] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:42.783] info) [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:42.783] info, version) [17:27:42.783] } [17:27:42.783] base::stop(msg) [17:27:42.783] } [17:27:42.783] }) [17:27:42.783] } [17:27:42.783] base::local({ [17:27:42.783] for (pkg in "future") { [17:27:42.783] base::loadNamespace(pkg) [17:27:42.783] base::library(pkg, character.only = TRUE) [17:27:42.783] } [17:27:42.783] }) [17:27:42.783] } [17:27:42.783] ...future.strategy.old <- future::plan("list") [17:27:42.783] options(future.plan = NULL) [17:27:42.783] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.783] future::plan(list(function (..., envir = parent.frame()) [17:27:42.783] { [17:27:42.783] future <- SequentialFuture(..., envir = envir) [17:27:42.783] if (!future$lazy) [17:27:42.783] future <- run(future) [17:27:42.783] invisible(future) [17:27:42.783] }), .cleanup = FALSE, .init = FALSE) [17:27:42.783] } [17:27:42.783] ...future.workdir <- getwd() [17:27:42.783] } [17:27:42.783] ...future.oldOptions <- base::as.list(base::.Options) [17:27:42.783] ...future.oldEnvVars <- base::Sys.getenv() [17:27:42.783] } [17:27:42.783] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:42.783] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:42.783] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:42.783] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:42.783] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:42.783] future.stdout.windows.reencode = NULL, width = 80L) [17:27:42.783] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:42.783] base::names(...future.oldOptions)) [17:27:42.783] } [17:27:42.783] if (FALSE) { [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] if (TRUE) { [17:27:42.783] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:42.783] open = "w") [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:42.783] windows = "NUL", "/dev/null"), open = "w") [17:27:42.783] } [17:27:42.783] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:42.783] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:42.783] base::sink(type = "output", split = FALSE) [17:27:42.783] base::close(...future.stdout) [17:27:42.783] }, add = TRUE) [17:27:42.783] } [17:27:42.783] ...future.frame <- base::sys.nframe() [17:27:42.783] ...future.conditions <- base::list() [17:27:42.783] ...future.rng <- base::globalenv()$.Random.seed [17:27:42.783] if (FALSE) { [17:27:42.783] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:42.783] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:42.783] } [17:27:42.783] ...future.result <- base::tryCatch({ [17:27:42.783] base::withCallingHandlers({ [17:27:42.783] ...future.value <- base::withVisible(base::local({ [17:27:42.783] a %<-% subset(data, x < 3)$y [17:27:42.783] a [17:27:42.783] })) [17:27:42.783] future::FutureResult(value = ...future.value$value, [17:27:42.783] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.783] ...future.rng), globalenv = if (FALSE) [17:27:42.783] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:42.783] ...future.globalenv.names)) [17:27:42.783] else NULL, started = ...future.startTime, version = "1.8") [17:27:42.783] }, condition = base::local({ [17:27:42.783] c <- base::c [17:27:42.783] inherits <- base::inherits [17:27:42.783] invokeRestart <- base::invokeRestart [17:27:42.783] length <- base::length [17:27:42.783] list <- base::list [17:27:42.783] seq.int <- base::seq.int [17:27:42.783] signalCondition <- base::signalCondition [17:27:42.783] sys.calls <- base::sys.calls [17:27:42.783] `[[` <- base::`[[` [17:27:42.783] `+` <- base::`+` [17:27:42.783] `<<-` <- base::`<<-` [17:27:42.783] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:42.783] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:42.783] 3L)] [17:27:42.783] } [17:27:42.783] function(cond) { [17:27:42.783] is_error <- inherits(cond, "error") [17:27:42.783] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:42.783] NULL) [17:27:42.783] if (is_error) { [17:27:42.783] sessionInformation <- function() { [17:27:42.783] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:42.783] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:42.783] search = base::search(), system = base::Sys.info()) [17:27:42.783] } [17:27:42.783] ...future.conditions[[length(...future.conditions) + [17:27:42.783] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:42.783] cond$call), session = sessionInformation(), [17:27:42.783] timestamp = base::Sys.time(), signaled = 0L) [17:27:42.783] signalCondition(cond) [17:27:42.783] } [17:27:42.783] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:42.783] "immediateCondition"))) { [17:27:42.783] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:42.783] ...future.conditions[[length(...future.conditions) + [17:27:42.783] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:42.783] if (TRUE && !signal) { [17:27:42.783] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.783] { [17:27:42.783] inherits <- base::inherits [17:27:42.783] invokeRestart <- base::invokeRestart [17:27:42.783] is.null <- base::is.null [17:27:42.783] muffled <- FALSE [17:27:42.783] if (inherits(cond, "message")) { [17:27:42.783] muffled <- grepl(pattern, "muffleMessage") [17:27:42.783] if (muffled) [17:27:42.783] invokeRestart("muffleMessage") [17:27:42.783] } [17:27:42.783] else if (inherits(cond, "warning")) { [17:27:42.783] muffled <- grepl(pattern, "muffleWarning") [17:27:42.783] if (muffled) [17:27:42.783] invokeRestart("muffleWarning") [17:27:42.783] } [17:27:42.783] else if (inherits(cond, "condition")) { [17:27:42.783] if (!is.null(pattern)) { [17:27:42.783] computeRestarts <- base::computeRestarts [17:27:42.783] grepl <- base::grepl [17:27:42.783] restarts <- computeRestarts(cond) [17:27:42.783] for (restart in restarts) { [17:27:42.783] name <- restart$name [17:27:42.783] if (is.null(name)) [17:27:42.783] next [17:27:42.783] if (!grepl(pattern, name)) [17:27:42.783] next [17:27:42.783] invokeRestart(restart) [17:27:42.783] muffled <- TRUE [17:27:42.783] break [17:27:42.783] } [17:27:42.783] } [17:27:42.783] } [17:27:42.783] invisible(muffled) [17:27:42.783] } [17:27:42.783] muffleCondition(cond, pattern = "^muffle") [17:27:42.783] } [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] if (TRUE) { [17:27:42.783] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.783] { [17:27:42.783] inherits <- base::inherits [17:27:42.783] invokeRestart <- base::invokeRestart [17:27:42.783] is.null <- base::is.null [17:27:42.783] muffled <- FALSE [17:27:42.783] if (inherits(cond, "message")) { [17:27:42.783] muffled <- grepl(pattern, "muffleMessage") [17:27:42.783] if (muffled) [17:27:42.783] invokeRestart("muffleMessage") [17:27:42.783] } [17:27:42.783] else if (inherits(cond, "warning")) { [17:27:42.783] muffled <- grepl(pattern, "muffleWarning") [17:27:42.783] if (muffled) [17:27:42.783] invokeRestart("muffleWarning") [17:27:42.783] } [17:27:42.783] else if (inherits(cond, "condition")) { [17:27:42.783] if (!is.null(pattern)) { [17:27:42.783] computeRestarts <- base::computeRestarts [17:27:42.783] grepl <- base::grepl [17:27:42.783] restarts <- computeRestarts(cond) [17:27:42.783] for (restart in restarts) { [17:27:42.783] name <- restart$name [17:27:42.783] if (is.null(name)) [17:27:42.783] next [17:27:42.783] if (!grepl(pattern, name)) [17:27:42.783] next [17:27:42.783] invokeRestart(restart) [17:27:42.783] muffled <- TRUE [17:27:42.783] break [17:27:42.783] } [17:27:42.783] } [17:27:42.783] } [17:27:42.783] invisible(muffled) [17:27:42.783] } [17:27:42.783] muffleCondition(cond, pattern = "^muffle") [17:27:42.783] } [17:27:42.783] } [17:27:42.783] } [17:27:42.783] })) [17:27:42.783] }, error = function(ex) { [17:27:42.783] base::structure(base::list(value = NULL, visible = NULL, [17:27:42.783] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.783] ...future.rng), started = ...future.startTime, [17:27:42.783] finished = Sys.time(), session_uuid = NA_character_, [17:27:42.783] version = "1.8"), class = "FutureResult") [17:27:42.783] }, finally = { [17:27:42.783] if (!identical(...future.workdir, getwd())) [17:27:42.783] setwd(...future.workdir) [17:27:42.783] { [17:27:42.783] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:42.783] ...future.oldOptions$nwarnings <- NULL [17:27:42.783] } [17:27:42.783] base::options(...future.oldOptions) [17:27:42.783] if (.Platform$OS.type == "windows") { [17:27:42.783] old_names <- names(...future.oldEnvVars) [17:27:42.783] envs <- base::Sys.getenv() [17:27:42.783] names <- names(envs) [17:27:42.783] common <- intersect(names, old_names) [17:27:42.783] added <- setdiff(names, old_names) [17:27:42.783] removed <- setdiff(old_names, names) [17:27:42.783] changed <- common[...future.oldEnvVars[common] != [17:27:42.783] envs[common]] [17:27:42.783] NAMES <- toupper(changed) [17:27:42.783] args <- list() [17:27:42.783] for (kk in seq_along(NAMES)) { [17:27:42.783] name <- changed[[kk]] [17:27:42.783] NAME <- NAMES[[kk]] [17:27:42.783] if (name != NAME && is.element(NAME, old_names)) [17:27:42.783] next [17:27:42.783] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.783] } [17:27:42.783] NAMES <- toupper(added) [17:27:42.783] for (kk in seq_along(NAMES)) { [17:27:42.783] name <- added[[kk]] [17:27:42.783] NAME <- NAMES[[kk]] [17:27:42.783] if (name != NAME && is.element(NAME, old_names)) [17:27:42.783] next [17:27:42.783] args[[name]] <- "" [17:27:42.783] } [17:27:42.783] NAMES <- toupper(removed) [17:27:42.783] for (kk in seq_along(NAMES)) { [17:27:42.783] name <- removed[[kk]] [17:27:42.783] NAME <- NAMES[[kk]] [17:27:42.783] if (name != NAME && is.element(NAME, old_names)) [17:27:42.783] next [17:27:42.783] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.783] } [17:27:42.783] if (length(args) > 0) [17:27:42.783] base::do.call(base::Sys.setenv, args = args) [17:27:42.783] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:42.783] } [17:27:42.783] { [17:27:42.783] if (base::length(...future.futureOptionsAdded) > [17:27:42.783] 0L) { [17:27:42.783] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:42.783] base::names(opts) <- ...future.futureOptionsAdded [17:27:42.783] base::options(opts) [17:27:42.783] } [17:27:42.783] { [17:27:42.783] { [17:27:42.783] NULL [17:27:42.783] RNGkind("Mersenne-Twister") [17:27:42.783] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:42.783] inherits = FALSE) [17:27:42.783] } [17:27:42.783] options(future.plan = NULL) [17:27:42.783] if (is.na(NA_character_)) [17:27:42.783] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.783] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:42.783] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:42.783] .init = FALSE) [17:27:42.783] } [17:27:42.783] } [17:27:42.783] } [17:27:42.783] }) [17:27:42.783] if (TRUE) { [17:27:42.783] base::sink(type = "output", split = FALSE) [17:27:42.783] if (TRUE) { [17:27:42.783] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:42.783] } [17:27:42.783] else { [17:27:42.783] ...future.result["stdout"] <- base::list(NULL) [17:27:42.783] } [17:27:42.783] base::close(...future.stdout) [17:27:42.783] ...future.stdout <- NULL [17:27:42.783] } [17:27:42.783] ...future.result$conditions <- ...future.conditions [17:27:42.783] ...future.result$finished <- base::Sys.time() [17:27:42.783] ...future.result [17:27:42.783] } [17:27:42.789] assign_globals() ... [17:27:42.790] List of 1 [17:27:42.790] $ data:'data.frame': 5 obs. of 2 variables: [17:27:42.790] ..$ x: int [1:5] 1 2 3 4 5 [17:27:42.790] ..$ y: int [1:5] 1 2 3 4 5 [17:27:42.790] - attr(*, "where")=List of 1 [17:27:42.790] ..$ data: [17:27:42.790] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:27:42.790] - attr(*, "resolved")= logi FALSE [17:27:42.790] - attr(*, "total_size")= int 356 [17:27:42.790] - attr(*, "already-done")= logi TRUE [17:27:42.796] - copied 'data' to environment [17:27:42.796] assign_globals() ... done [17:27:42.797] plan(): Setting new future strategy stack: [17:27:42.797] List of future strategies: [17:27:42.797] 1. sequential: [17:27:42.797] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.797] - tweaked: FALSE [17:27:42.797] - call: plan(list(sequential, strategy)) [17:27:42.799] plan(): nbrOfWorkers() = 1 [17:27:42.869] plan(): Setting new future strategy stack: [17:27:42.869] List of future strategies: [17:27:42.869] 1. sequential: [17:27:42.869] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.869] - tweaked: FALSE [17:27:42.869] - call: plan(list(sequential, strategy)) [17:27:42.869] 2. sequential: [17:27:42.869] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.869] - tweaked: FALSE [17:27:42.869] - call: plan(list(sequential, strategy)) [17:27:42.871] plan(): nbrOfWorkers() = 1 [17:27:42.871] SequentialFuture started (and completed) [17:27:42.872] signalConditions() ... [17:27:42.872] - include = 'immediateCondition' [17:27:42.872] - exclude = [17:27:42.873] - resignal = FALSE [17:27:42.873] - Number of conditions: 53 [17:27:42.873] signalConditions() ... done [17:27:42.874] - Launch lazy future ... done [17:27:42.874] run() for 'SequentialFuture' ... done [17:27:42.875] signalConditions() ... [17:27:42.875] - include = 'immediateCondition' [17:27:42.875] - exclude = [17:27:42.875] - resignal = FALSE [17:27:42.876] - Number of conditions: 53 [17:27:42.877] signalConditions() ... done [17:27:42.877] Future state: 'finished' [17:27:42.878] signalConditions() ... [17:27:42.878] - include = 'condition' [17:27:42.878] - exclude = 'immediateCondition' [17:27:42.878] - resignal = TRUE [17:27:42.879] - Number of conditions: 53 [17:27:42.879] - Condition #1: 'simpleMessage', 'message', 'condition' [17:27:42.800] getGlobalsAndPackages() ... [17:27:42.880] - Condition #2: 'deprecatedWarning', 'warning', 'condition' Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:42.880] - Condition #3: 'simpleMessage', 'message', 'condition' [17:27:42.829] Searching for globals... [17:27:42.880] - Condition #4: 'simpleMessage', 'message', 'condition' [17:27:42.831] - globals found: [5] '$', 'subset', 'data', '<', 'x' [17:27:42.881] - Condition #5: 'simpleMessage', 'message', 'condition' [17:27:42.831] Searching for globals ... DONE [17:27:42.881] - Condition #6: 'simpleMessage', 'message', 'condition' [17:27:42.832] Resolving globals: FALSE [17:27:42.881] - Condition #7: 'simpleMessage', 'message', 'condition' [17:27:42.832] The total size of the 1 globals is 356 bytes (356 bytes) [17:27:42.882] - Condition #8: 'simpleMessage', 'message', 'condition' [17:27:42.833] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 356 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (356 bytes of class 'list') [17:27:42.882] - Condition #9: 'simpleMessage', 'message', 'condition' [17:27:42.833] - globals: [1] 'data' [17:27:42.883] - Condition #10: 'simpleMessage', 'message', 'condition' [17:27:42.833] [17:27:42.883] - Condition #11: 'simpleMessage', 'message', 'condition' [17:27:42.834] getGlobalsAndPackages() ... DONE [17:27:42.883] - Condition #12: 'simpleMessage', 'message', 'condition' [17:27:42.834] run() for 'Future' ... [17:27:42.884] - Condition #13: 'simpleMessage', 'message', 'condition' [17:27:42.834] - state: 'created' [17:27:42.884] - Condition #14: 'simpleMessage', 'message', 'condition' [17:27:42.834] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:42.884] - Condition #15: 'simpleMessage', 'message', 'condition' [17:27:42.835] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:42.885] - Condition #16: 'simpleMessage', 'message', 'condition' [17:27:42.835] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:42.885] - Condition #17: 'simpleMessage', 'message', 'condition' [17:27:42.835] - Field: 'label' [17:27:42.885] - Condition #18: 'simpleMessage', 'message', 'condition' [17:27:42.836] - Field: 'local' [17:27:42.886] - Condition #19: 'simpleMessage', 'message', 'condition' [17:27:42.836] - Field: 'owner' [17:27:42.886] - Condition #20: 'simpleMessage', 'message', 'condition' [17:27:42.836] - Field: 'envir' [17:27:42.887] - Condition #21: 'simpleMessage', 'message', 'condition' [17:27:42.836] - Field: 'packages' [17:27:42.887] - Condition #22: 'simpleMessage', 'message', 'condition' [17:27:42.836] - Field: 'gc' [17:27:42.887] - Condition #23: 'simpleMessage', 'message', 'condition' [17:27:42.836] - Field: 'conditions' [17:27:42.888] - Condition #24: 'simpleMessage', 'message', 'condition' [17:27:42.837] - Field: 'expr' [17:27:42.888] - Condition #25: 'simpleMessage', 'message', 'condition' [17:27:42.837] - Field: 'uuid' [17:27:42.888] - Condition #26: 'simpleMessage', 'message', 'condition' [17:27:42.837] - Field: 'seed' [17:27:42.889] - Condition #27: 'simpleMessage', 'message', 'condition' [17:27:42.837] - Field: 'version' [17:27:42.889] - Condition #28: 'simpleMessage', 'message', 'condition' [17:27:42.837] - Field: 'result' [17:27:42.889] - Condition #29: 'simpleMessage', 'message', 'condition' [17:27:42.838] - Field: 'asynchronous' [17:27:42.890] - Condition #30: 'simpleMessage', 'message', 'condition' [17:27:42.840] - Field: 'calls' [17:27:42.890] - Condition #31: 'simpleMessage', 'message', 'condition' [17:27:42.840] - Field: 'globals' [17:27:42.891] - Condition #32: 'simpleMessage', 'message', 'condition' [17:27:42.840] - Field: 'stdout' [17:27:42.891] - Condition #33: 'simpleMessage', 'message', 'condition' [17:27:42.841] - Field: 'earlySignal' [17:27:42.891] - Condition #34: 'simpleMessage', 'message', 'condition' [17:27:42.841] - Field: 'lazy' [17:27:42.892] - Condition #35: 'simpleMessage', 'message', 'condition' [17:27:42.841] - Field: 'state' [17:27:42.892] - Condition #36: 'simpleMessage', 'message', 'condition' [17:27:42.842] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:42.892] - Condition #37: 'simpleMessage', 'message', 'condition' [17:27:42.842] - Launch lazy future ... [17:27:42.893] - Condition #38: 'simpleMessage', 'message', 'condition' [17:27:42.843] Packages needed by the future expression (n = 0): [17:27:42.893] - Condition #39: 'simpleMessage', 'message', 'condition' [17:27:42.843] Packages needed by future strategies (n = 0): [17:27:42.894] - Condition #40: 'simpleMessage', 'message', 'condition' [17:27:42.844] { [17:27:42.844] { [17:27:42.844] { [17:27:42.844] ...future.startTime <- base::Sys.time() [17:27:42.844] { [17:27:42.844] { [17:27:42.844] { [17:27:42.844] base::local({ [17:27:42.844] has_future <- base::requireNamespace("future", [17:27:42.844] quietly = TRUE) [17:27:42.844] if (has_future) { [17:27:42.844] ns <- base::getNamespace("future") [17:27:42.844] version <- ns[[".package"]][["version"]] [17:27:42.844] if (is.null(version)) [17:27:42.844] version <- utils::packageVersion("future") [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] version <- NULL [17:27:42.844] } [17:27:42.844] if (!has_future || version < "1.8.0") { [17:27:42.844] info <- base::c(r_version = base::gsub("R version ", [17:27:42.844] "", base::R.version$version.string), [17:27:42.844] platform = base::sprintf("%s (%s-bit)", [17:27:42.844] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:42.844] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:42.844] "release", "version")], collapse = " "), [17:27:42.844] hostname = base::Sys.info()[["nodename"]]) [17:27:42.844] info <- base::sprintf("%s: %s", base::names(info), [17:27:42.844] info) [17:27:42.844] info <- base::paste(info, collapse = "; ") [17:27:42.844] if (!has_future) { [17:27:42.844] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:42.844] info) [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:42.844] info, version) [17:27:42.844] } [17:27:42.844] base::stop(msg) [17:27:42.844] } [17:27:42.844] }) [17:27:42.844] } [17:27:42.844] ...future.strategy.old <- future::plan("list") [17:27:42.844] options(future.plan = NULL) [17:27:42.844] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.844] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:42.844] } [17:27:42.844] ...future.workdir <- getwd() [17:27:42.844] } [17:27:42.844] ...future.oldOptions <- base::as.list(base::.Options) [17:27:42.844] ...future.oldEnvVars <- base::Sys.getenv() [17:27:42.844] } [17:27:42.844] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:42.844] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:42.844] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:42.844] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:42.844] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:42.844] future.stdout.windows.reencode = NULL, width = 80L) [17:27:42.844] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:42.844] base::names(...future.oldOptions)) [17:27:42.844] } [17:27:42.844] if (FALSE) { [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] if (TRUE) { [17:27:42.844] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:42.844] open = "w") [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:42.844] windows = "NUL", "/dev/null"), open = "w") [17:27:42.844] } [17:27:42.844] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:42.844] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:42.844] base::sink(type = "output", split = FALSE) [17:27:42.844] base::close(...future.stdout) [17:27:42.844] }, add = TRUE) [17:27:42.844] } [17:27:42.844] ...future.frame <- base::sys.nframe() [17:27:42.844] ...future.conditions <- base::list() [17:27:42.844] ...future.rng <- base::globalenv()$.Random.seed [17:27:42.844] if (FALSE) { [17:27:42.844] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:42.844] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:42.844] } [17:27:42.844] ...future.result <- base::tryCatch({ [17:27:42.844] base::withCallingHandlers({ [17:27:42.844] ...future.value <- base::withVisible(base::local(subset(data, [17:27:42.844] x < 3)$y)) [17:27:42.844] future::FutureResult(value = ...future.value$value, [17:27:42.844] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.844] ...future.rng), globalenv = if (FALSE) [17:27:42.844] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:42.844] ...future.globalenv.names)) [17:27:42.844] else NULL, started = ...future.startTime, version = "1.8") [17:27:42.844] }, condition = base::local({ [17:27:42.844] c <- base::c [17:27:42.844] inherits <- base::inherits [17:27:42.844] invokeRestart <- base::invokeRestart [17:27:42.844] length <- base::length [17:27:42.844] list <- base::list [17:27:42.844] seq.int <- base::seq.int [17:27:42.844] signalCondition <- base::signalCondition [17:27:42.844] sys.calls <- base::sys.calls [17:27:42.844] `[[` <- base::`[[` [17:27:42.844] `+` <- base::`+` [17:27:42.844] `<<-` <- base::`<<-` [17:27:42.844] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:42.844] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:42.844] 3L)] [17:27:42.844] } [17:27:42.844] function(cond) { [17:27:42.844] is_error <- inherits(cond, "error") [17:27:42.844] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:42.844] NULL) [17:27:42.844] if (is_error) { [17:27:42.844] sessionInformation <- function() { [17:27:42.844] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:42.844] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:42.844] search = base::search(), system = base::Sys.info()) [17:27:42.844] } [17:27:42.844] ...future.conditions[[length(...future.conditions) + [17:27:42.844] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:42.844] cond$call), session = sessionInformation(), [17:27:42.844] timestamp = base::Sys.time(), signaled = 0L) [17:27:42.844] signalCondition(cond) [17:27:42.844] } [17:27:42.844] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:42.844] "immediateCondition"))) { [17:27:42.844] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:42.844] ...future.conditions[[length(...future.conditions) + [17:27:42.844] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:42.844] if (TRUE && !signal) { [17:27:42.844] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.844] { [17:27:42.844] inherits <- base::inherits [17:27:42.844] invokeRestart <- base::invokeRestart [17:27:42.844] is.null <- base::is.null [17:27:42.844] muffled <- FALSE [17:27:42.844] if (inherits(cond, "message")) { [17:27:42.844] muffled <- grepl(pattern, "muffleMessage") [17:27:42.844] if (muffled) [17:27:42.844] invokeRestart("muffleMessage") [17:27:42.844] } [17:27:42.844] else if (inherits(cond, "warning")) { [17:27:42.844] muffled <- grepl(pattern, "muffleWarning") [17:27:42.844] if (muffled) [17:27:42.844] invokeRestart("muffleWarning") [17:27:42.844] } [17:27:42.844] else if (inherits(cond, "condition")) { [17:27:42.844] if (!is.null(pattern)) { [17:27:42.844] computeRestarts <- base::computeRestarts [17:27:42.844] grepl <- base::grepl [17:27:42.844] restarts <- computeRestarts(cond) [17:27:42.844] for (restart in restarts) { [17:27:42.844] name <- restart$name [17:27:42.844] if (is.null(name)) [17:27:42.844] next [17:27:42.844] if (!grepl(pattern, name)) [17:27:42.844] next [17:27:42.844] invokeRestart(restart) [17:27:42.844] muffled <- TRUE [17:27:42.844] break [17:27:42.844] } [17:27:42.844] } [17:27:42.844] } [17:27:42.844] invisible(muffled) [17:27:42.844] } [17:27:42.844] muffleCondition(cond, pattern = "^muffle") [17:27:42.844] } [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] if (TRUE) { [17:27:42.844] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.844] { [17:27:42.844] inherits <- base::inherits [17:27:42.844] invokeRestart <- base::invokeRestart [17:27:42.844] is.null <- base::is.null [17:27:42.844] muffled <- FALSE [17:27:42.844] if (inherits(cond, "message")) { [17:27:42.844] muffled <- grepl(pattern, "muffleMessage") [17:27:42.844] if (muffled) [17:27:42.844] invokeRestart("muffleMessage") [17:27:42.844] } [17:27:42.844] else if (inherits(cond, "warning")) { [17:27:42.844] muffled <- grepl(pattern, "muffleWarning") [17:27:42.844] if (muffled) [17:27:42.844] invokeRestart("muffleWarning") [17:27:42.844] } [17:27:42.844] else if (inherits(cond, "condition")) { [17:27:42.844] if (!is.null(pattern)) { [17:27:42.844] computeRestarts <- base::computeRestarts [17:27:42.844] grepl <- base::grepl [17:27:42.844] restarts <- computeRestarts(cond) [17:27:42.844] for (restart in restarts) { [17:27:42.844] name <- restart$name [17:27:42.844] if (is.null(name)) [17:27:42.844] next [17:27:42.844] if (!grepl(pattern, name)) [17:27:42.844] next [17:27:42.844] invokeRestart(restart) [17:27:42.844] muffled <- TRUE [17:27:42.844] break [17:27:42.844] } [17:27:42.844] } [17:27:42.844] } [17:27:42.844] invisible(muffled) [17:27:42.844] } [17:27:42.844] muffleCondition(cond, pattern = "^muffle") [17:27:42.844] } [17:27:42.844] } [17:27:42.844] } [17:27:42.844] })) [17:27:42.844] }, error = function(ex) { [17:27:42.844] base::structure(base::list(value = NULL, visible = NULL, [17:27:42.844] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.844] ...future.rng), started = ...future.startTime, [17:27:42.844] finished = Sys.time(), session_uuid = NA_character_, [17:27:42.844] version = "1.8"), class = "FutureResult") [17:27:42.844] }, finally = { [17:27:42.844] if (!identical(...future.workdir, getwd())) [17:27:42.844] setwd(...future.workdir) [17:27:42.844] { [17:27:42.844] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:42.844] ...future.oldOptions$nwarnings <- NULL [17:27:42.844] } [17:27:42.844] base::options(...future.oldOptions) [17:27:42.844] if (.Platform$OS.type == "windows") { [17:27:42.844] old_names <- names(...future.oldEnvVars) [17:27:42.844] envs <- base::Sys.getenv() [17:27:42.844] names <- names(envs) [17:27:42.844] common <- intersect(names, old_names) [17:27:42.844] added <- setdiff(names, old_names) [17:27:42.844] removed <- setdiff(old_names, names) [17:27:42.844] changed <- common[...future.oldEnvVars[common] != [17:27:42.844] envs[common]] [17:27:42.844] NAMES <- toupper(changed) [17:27:42.844] args <- list() [17:27:42.844] for (kk in seq_along(NAMES)) { [17:27:42.844] name <- changed[[kk]] [17:27:42.844] NAME <- NAMES[[kk]] [17:27:42.844] if (name != NAME && is.element(NAME, old_names)) [17:27:42.844] next [17:27:42.844] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.844] } [17:27:42.844] NAMES <- toupper(added) [17:27:42.844] for (kk in seq_along(NAMES)) { [17:27:42.844] name <- added[[kk]] [17:27:42.844] NAME <- NAMES[[kk]] [17:27:42.844] if (name != NAME && is.element(NAME, old_names)) [17:27:42.844] next [17:27:42.844] args[[name]] <- "" [17:27:42.844] } [17:27:42.844] NAMES <- toupper(removed) [17:27:42.844] for (kk in seq_along(NAMES)) { [17:27:42.844] name <- removed[[kk]] [17:27:42.844] NAME <- NAMES[[kk]] [17:27:42.844] if (name != NAME && is.element(NAME, old_names)) [17:27:42.844] next [17:27:42.844] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.844] } [17:27:42.844] if (length(args) > 0) [17:27:42.844] base::do.call(base::Sys.setenv, args = args) [17:27:42.844] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:42.844] } [17:27:42.844] { [17:27:42.844] if (base::length(...future.futureOptionsAdded) > [17:27:42.844] 0L) { [17:27:42.844] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:42.844] base::names(opts) <- ...future.futureOptionsAdded [17:27:42.844] base::options(opts) [17:27:42.844] } [17:27:42.844] { [17:27:42.844] { [17:27:42.844] NULL [17:27:42.844] RNGkind("Mersenne-Twister") [17:27:42.844] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:42.844] inherits = FALSE) [17:27:42.844] } [17:27:42.844] options(future.plan = NULL) [17:27:42.844] if (is.na(NA_character_)) [17:27:42.844] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.844] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:42.844] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:42.844] .init = FALSE) [17:27:42.844] } [17:27:42.844] } [17:27:42.844] } [17:27:42.844] }) [17:27:42.844] if (TRUE) { [17:27:42.844] base::sink(type = "output", split = FALSE) [17:27:42.844] if (TRUE) { [17:27:42.844] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:42.844] } [17:27:42.844] else { [17:27:42.844] ...future.result["stdout"] <- base::list(NULL) [17:27:42.844] } [17:27:42.844] base::close(...future.stdout) [17:27:42.844] ...future.stdout <- NULL [17:27:42.844] } [17:27:42.844] ...future.result$conditions <- ...future.conditions [17:27:42.844] ...future.result$finished <- base::Sys.time() [17:27:42.844] ...future.result [17:27:42.844] } [17:27:42.894] - Condition #41: 'simpleMessage', 'message', 'condition' [17:27:42.851] assign_globals() ... [17:27:42.899] - Condition #42: 'simpleMessage', 'message', 'condition' [17:27:42.851] List of 1 [17:27:42.851] $ data:'data.frame': 5 obs. of 2 variables: [17:27:42.851] ..$ x: int [1:5] 1 2 3 4 5 [17:27:42.851] ..$ y: int [1:5] 1 2 3 4 5 [17:27:42.851] - attr(*, "where")=List of 1 [17:27:42.851] ..$ data: [17:27:42.851] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:27:42.851] - attr(*, "resolved")= logi FALSE [17:27:42.851] - attr(*, "total_size")= int 356 [17:27:42.851] - attr(*, "already-done")= logi TRUE [17:27:42.900] - Condition #43: 'simpleMessage', 'message', 'condition' [17:27:42.859] - copied 'data' to environment [17:27:42.901] - Condition #44: 'simpleMessage', 'message', 'condition' [17:27:42.860] assign_globals() ... done [17:27:42.901] - Condition #45: 'simpleMessage', 'message', 'condition' [17:27:42.861] plan(): Setting new future strategy stack: [17:27:42.902] - Condition #46: 'simpleMessage', 'message', 'condition' [17:27:42.861] List of future strategies: [17:27:42.861] 1. sequential: [17:27:42.861] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.861] - tweaked: FALSE [17:27:42.861] - call: NULL [17:27:42.902] - Condition #47: 'simpleMessage', 'message', 'condition' [17:27:42.862] plan(): nbrOfWorkers() = 1 [17:27:42.903] - Condition #48: 'simpleMessage', 'message', 'condition' [17:27:42.864] plan(): Setting new future strategy stack: [17:27:42.903] - Condition #49: 'simpleMessage', 'message', 'condition' [17:27:42.865] List of future strategies: [17:27:42.865] 1. sequential: [17:27:42.865] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.865] - tweaked: FALSE [17:27:42.865] - call: plan(list(sequential, strategy)) [17:27:42.904] - Condition #50: 'simpleMessage', 'message', 'condition' [17:27:42.866] plan(): nbrOfWorkers() = 1 [17:27:42.904] - Condition #51: 'simpleMessage', 'message', 'condition' [17:27:42.866] SequentialFuture started (and completed) [17:27:42.904] - Condition #52: 'simpleMessage', 'message', 'condition' [17:27:42.867] - Launch lazy future ... done [17:27:42.905] - Condition #53: 'simpleMessage', 'message', 'condition' [17:27:42.867] run() for 'SequentialFuture' ... done [17:27:42.905] signalConditions() ... done [17:27:42.906] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:42.907] Searching for globals... [17:27:42.909] - globals found: [3] '{', 'plan', 'sequential' [17:27:42.910] Searching for globals ... DONE [17:27:42.910] Resolving globals: FALSE [17:27:42.911] [17:27:42.911] - packages: [1] 'future' [17:27:42.911] getGlobalsAndPackages() ... DONE [17:27:42.912] run() for 'Future' ... [17:27:42.913] - state: 'created' [17:27:42.913] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:42.914] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:42.914] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:42.914] - Field: 'label' [17:27:42.915] - Field: 'local' [17:27:42.915] - Field: 'owner' [17:27:42.915] - Field: 'envir' [17:27:42.916] - Field: 'packages' [17:27:42.916] - Field: 'gc' [17:27:42.916] - Field: 'conditions' [17:27:42.917] - Field: 'expr' [17:27:42.917] - Field: 'uuid' [17:27:42.917] - Field: 'seed' [17:27:42.918] - Field: 'version' [17:27:42.918] - Field: 'result' [17:27:42.918] - Field: 'asynchronous' [17:27:42.919] - Field: 'calls' [17:27:42.919] - Field: 'globals' [17:27:42.919] - Field: 'stdout' [17:27:42.920] - Field: 'earlySignal' [17:27:42.920] - Field: 'lazy' [17:27:42.920] - Field: 'state' [17:27:42.921] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:42.921] - Launch lazy future ... [17:27:42.921] Packages needed by the future expression (n = 1): 'future' [17:27:42.922] Packages needed by future strategies (n = 1): 'future' [17:27:42.923] { [17:27:42.923] { [17:27:42.923] { [17:27:42.923] ...future.startTime <- base::Sys.time() [17:27:42.923] { [17:27:42.923] { [17:27:42.923] { [17:27:42.923] { [17:27:42.923] base::local({ [17:27:42.923] has_future <- base::requireNamespace("future", [17:27:42.923] quietly = TRUE) [17:27:42.923] if (has_future) { [17:27:42.923] ns <- base::getNamespace("future") [17:27:42.923] version <- ns[[".package"]][["version"]] [17:27:42.923] if (is.null(version)) [17:27:42.923] version <- utils::packageVersion("future") [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] version <- NULL [17:27:42.923] } [17:27:42.923] if (!has_future || version < "1.8.0") { [17:27:42.923] info <- base::c(r_version = base::gsub("R version ", [17:27:42.923] "", base::R.version$version.string), [17:27:42.923] platform = base::sprintf("%s (%s-bit)", [17:27:42.923] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:42.923] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:42.923] "release", "version")], collapse = " "), [17:27:42.923] hostname = base::Sys.info()[["nodename"]]) [17:27:42.923] info <- base::sprintf("%s: %s", base::names(info), [17:27:42.923] info) [17:27:42.923] info <- base::paste(info, collapse = "; ") [17:27:42.923] if (!has_future) { [17:27:42.923] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:42.923] info) [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:42.923] info, version) [17:27:42.923] } [17:27:42.923] base::stop(msg) [17:27:42.923] } [17:27:42.923] }) [17:27:42.923] } [17:27:42.923] base::local({ [17:27:42.923] for (pkg in "future") { [17:27:42.923] base::loadNamespace(pkg) [17:27:42.923] base::library(pkg, character.only = TRUE) [17:27:42.923] } [17:27:42.923] }) [17:27:42.923] } [17:27:42.923] ...future.strategy.old <- future::plan("list") [17:27:42.923] options(future.plan = NULL) [17:27:42.923] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.923] future::plan(list(function (..., envir = parent.frame()) [17:27:42.923] { [17:27:42.923] future <- SequentialFuture(..., envir = envir) [17:27:42.923] if (!future$lazy) [17:27:42.923] future <- run(future) [17:27:42.923] invisible(future) [17:27:42.923] }), .cleanup = FALSE, .init = FALSE) [17:27:42.923] } [17:27:42.923] ...future.workdir <- getwd() [17:27:42.923] } [17:27:42.923] ...future.oldOptions <- base::as.list(base::.Options) [17:27:42.923] ...future.oldEnvVars <- base::Sys.getenv() [17:27:42.923] } [17:27:42.923] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:42.923] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:42.923] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:42.923] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:42.923] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:42.923] future.stdout.windows.reencode = NULL, width = 80L) [17:27:42.923] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:42.923] base::names(...future.oldOptions)) [17:27:42.923] } [17:27:42.923] if (FALSE) { [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] if (TRUE) { [17:27:42.923] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:42.923] open = "w") [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:42.923] windows = "NUL", "/dev/null"), open = "w") [17:27:42.923] } [17:27:42.923] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:42.923] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:42.923] base::sink(type = "output", split = FALSE) [17:27:42.923] base::close(...future.stdout) [17:27:42.923] }, add = TRUE) [17:27:42.923] } [17:27:42.923] ...future.frame <- base::sys.nframe() [17:27:42.923] ...future.conditions <- base::list() [17:27:42.923] ...future.rng <- base::globalenv()$.Random.seed [17:27:42.923] if (FALSE) { [17:27:42.923] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:42.923] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:42.923] } [17:27:42.923] ...future.result <- base::tryCatch({ [17:27:42.923] base::withCallingHandlers({ [17:27:42.923] ...future.value <- base::withVisible(base::local({ [17:27:42.923] plan(sequential) [17:27:42.923] })) [17:27:42.923] future::FutureResult(value = ...future.value$value, [17:27:42.923] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.923] ...future.rng), globalenv = if (FALSE) [17:27:42.923] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:42.923] ...future.globalenv.names)) [17:27:42.923] else NULL, started = ...future.startTime, version = "1.8") [17:27:42.923] }, condition = base::local({ [17:27:42.923] c <- base::c [17:27:42.923] inherits <- base::inherits [17:27:42.923] invokeRestart <- base::invokeRestart [17:27:42.923] length <- base::length [17:27:42.923] list <- base::list [17:27:42.923] seq.int <- base::seq.int [17:27:42.923] signalCondition <- base::signalCondition [17:27:42.923] sys.calls <- base::sys.calls [17:27:42.923] `[[` <- base::`[[` [17:27:42.923] `+` <- base::`+` [17:27:42.923] `<<-` <- base::`<<-` [17:27:42.923] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:42.923] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:42.923] 3L)] [17:27:42.923] } [17:27:42.923] function(cond) { [17:27:42.923] is_error <- inherits(cond, "error") [17:27:42.923] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:42.923] NULL) [17:27:42.923] if (is_error) { [17:27:42.923] sessionInformation <- function() { [17:27:42.923] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:42.923] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:42.923] search = base::search(), system = base::Sys.info()) [17:27:42.923] } [17:27:42.923] ...future.conditions[[length(...future.conditions) + [17:27:42.923] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:42.923] cond$call), session = sessionInformation(), [17:27:42.923] timestamp = base::Sys.time(), signaled = 0L) [17:27:42.923] signalCondition(cond) [17:27:42.923] } [17:27:42.923] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:42.923] "immediateCondition"))) { [17:27:42.923] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:42.923] ...future.conditions[[length(...future.conditions) + [17:27:42.923] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:42.923] if (TRUE && !signal) { [17:27:42.923] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.923] { [17:27:42.923] inherits <- base::inherits [17:27:42.923] invokeRestart <- base::invokeRestart [17:27:42.923] is.null <- base::is.null [17:27:42.923] muffled <- FALSE [17:27:42.923] if (inherits(cond, "message")) { [17:27:42.923] muffled <- grepl(pattern, "muffleMessage") [17:27:42.923] if (muffled) [17:27:42.923] invokeRestart("muffleMessage") [17:27:42.923] } [17:27:42.923] else if (inherits(cond, "warning")) { [17:27:42.923] muffled <- grepl(pattern, "muffleWarning") [17:27:42.923] if (muffled) [17:27:42.923] invokeRestart("muffleWarning") [17:27:42.923] } [17:27:42.923] else if (inherits(cond, "condition")) { [17:27:42.923] if (!is.null(pattern)) { [17:27:42.923] computeRestarts <- base::computeRestarts [17:27:42.923] grepl <- base::grepl [17:27:42.923] restarts <- computeRestarts(cond) [17:27:42.923] for (restart in restarts) { [17:27:42.923] name <- restart$name [17:27:42.923] if (is.null(name)) [17:27:42.923] next [17:27:42.923] if (!grepl(pattern, name)) [17:27:42.923] next [17:27:42.923] invokeRestart(restart) [17:27:42.923] muffled <- TRUE [17:27:42.923] break [17:27:42.923] } [17:27:42.923] } [17:27:42.923] } [17:27:42.923] invisible(muffled) [17:27:42.923] } [17:27:42.923] muffleCondition(cond, pattern = "^muffle") [17:27:42.923] } [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] if (TRUE) { [17:27:42.923] muffleCondition <- function (cond, pattern = "^muffle") [17:27:42.923] { [17:27:42.923] inherits <- base::inherits [17:27:42.923] invokeRestart <- base::invokeRestart [17:27:42.923] is.null <- base::is.null [17:27:42.923] muffled <- FALSE [17:27:42.923] if (inherits(cond, "message")) { [17:27:42.923] muffled <- grepl(pattern, "muffleMessage") [17:27:42.923] if (muffled) [17:27:42.923] invokeRestart("muffleMessage") [17:27:42.923] } [17:27:42.923] else if (inherits(cond, "warning")) { [17:27:42.923] muffled <- grepl(pattern, "muffleWarning") [17:27:42.923] if (muffled) [17:27:42.923] invokeRestart("muffleWarning") [17:27:42.923] } [17:27:42.923] else if (inherits(cond, "condition")) { [17:27:42.923] if (!is.null(pattern)) { [17:27:42.923] computeRestarts <- base::computeRestarts [17:27:42.923] grepl <- base::grepl [17:27:42.923] restarts <- computeRestarts(cond) [17:27:42.923] for (restart in restarts) { [17:27:42.923] name <- restart$name [17:27:42.923] if (is.null(name)) [17:27:42.923] next [17:27:42.923] if (!grepl(pattern, name)) [17:27:42.923] next [17:27:42.923] invokeRestart(restart) [17:27:42.923] muffled <- TRUE [17:27:42.923] break [17:27:42.923] } [17:27:42.923] } [17:27:42.923] } [17:27:42.923] invisible(muffled) [17:27:42.923] } [17:27:42.923] muffleCondition(cond, pattern = "^muffle") [17:27:42.923] } [17:27:42.923] } [17:27:42.923] } [17:27:42.923] })) [17:27:42.923] }, error = function(ex) { [17:27:42.923] base::structure(base::list(value = NULL, visible = NULL, [17:27:42.923] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:42.923] ...future.rng), started = ...future.startTime, [17:27:42.923] finished = Sys.time(), session_uuid = NA_character_, [17:27:42.923] version = "1.8"), class = "FutureResult") [17:27:42.923] }, finally = { [17:27:42.923] if (!identical(...future.workdir, getwd())) [17:27:42.923] setwd(...future.workdir) [17:27:42.923] { [17:27:42.923] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:42.923] ...future.oldOptions$nwarnings <- NULL [17:27:42.923] } [17:27:42.923] base::options(...future.oldOptions) [17:27:42.923] if (.Platform$OS.type == "windows") { [17:27:42.923] old_names <- names(...future.oldEnvVars) [17:27:42.923] envs <- base::Sys.getenv() [17:27:42.923] names <- names(envs) [17:27:42.923] common <- intersect(names, old_names) [17:27:42.923] added <- setdiff(names, old_names) [17:27:42.923] removed <- setdiff(old_names, names) [17:27:42.923] changed <- common[...future.oldEnvVars[common] != [17:27:42.923] envs[common]] [17:27:42.923] NAMES <- toupper(changed) [17:27:42.923] args <- list() [17:27:42.923] for (kk in seq_along(NAMES)) { [17:27:42.923] name <- changed[[kk]] [17:27:42.923] NAME <- NAMES[[kk]] [17:27:42.923] if (name != NAME && is.element(NAME, old_names)) [17:27:42.923] next [17:27:42.923] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.923] } [17:27:42.923] NAMES <- toupper(added) [17:27:42.923] for (kk in seq_along(NAMES)) { [17:27:42.923] name <- added[[kk]] [17:27:42.923] NAME <- NAMES[[kk]] [17:27:42.923] if (name != NAME && is.element(NAME, old_names)) [17:27:42.923] next [17:27:42.923] args[[name]] <- "" [17:27:42.923] } [17:27:42.923] NAMES <- toupper(removed) [17:27:42.923] for (kk in seq_along(NAMES)) { [17:27:42.923] name <- removed[[kk]] [17:27:42.923] NAME <- NAMES[[kk]] [17:27:42.923] if (name != NAME && is.element(NAME, old_names)) [17:27:42.923] next [17:27:42.923] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:42.923] } [17:27:42.923] if (length(args) > 0) [17:27:42.923] base::do.call(base::Sys.setenv, args = args) [17:27:42.923] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:42.923] } [17:27:42.923] { [17:27:42.923] if (base::length(...future.futureOptionsAdded) > [17:27:42.923] 0L) { [17:27:42.923] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:42.923] base::names(opts) <- ...future.futureOptionsAdded [17:27:42.923] base::options(opts) [17:27:42.923] } [17:27:42.923] { [17:27:42.923] { [17:27:42.923] NULL [17:27:42.923] RNGkind("Mersenne-Twister") [17:27:42.923] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:42.923] inherits = FALSE) [17:27:42.923] } [17:27:42.923] options(future.plan = NULL) [17:27:42.923] if (is.na(NA_character_)) [17:27:42.923] Sys.unsetenv("R_FUTURE_PLAN") [17:27:42.923] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:42.923] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:42.923] .init = FALSE) [17:27:42.923] } [17:27:42.923] } [17:27:42.923] } [17:27:42.923] }) [17:27:42.923] if (TRUE) { [17:27:42.923] base::sink(type = "output", split = FALSE) [17:27:42.923] if (TRUE) { [17:27:42.923] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:42.923] } [17:27:42.923] else { [17:27:42.923] ...future.result["stdout"] <- base::list(NULL) [17:27:42.923] } [17:27:42.923] base::close(...future.stdout) [17:27:42.923] ...future.stdout <- NULL [17:27:42.923] } [17:27:42.923] ...future.result$conditions <- ...future.conditions [17:27:42.923] ...future.result$finished <- base::Sys.time() [17:27:42.923] ...future.result [17:27:42.923] } [17:27:42.932] plan(): Setting new future strategy stack: [17:27:42.933] List of future strategies: [17:27:42.933] 1. sequential: [17:27:42.933] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.933] - tweaked: FALSE [17:27:42.933] - call: plan(list(sequential, strategy)) [17:27:42.934] plan(): nbrOfWorkers() = 1 [17:27:42.969] plan(): Setting new future strategy stack: [17:27:42.969] List of future strategies: [17:27:42.969] 1. sequential: [17:27:42.969] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.969] - tweaked: FALSE [17:27:42.969] - call: plan(list(sequential, strategy)) [17:27:42.969] 2. sequential: [17:27:42.969] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.969] - tweaked: FALSE [17:27:42.969] - call: plan(list(sequential, strategy)) [17:27:42.971] plan(): nbrOfWorkers() = 1 [17:27:42.971] SequentialFuture started (and completed) [17:27:42.972] signalConditions() ... [17:27:42.972] - include = 'immediateCondition' [17:27:42.972] - exclude = [17:27:42.973] - resignal = FALSE [17:27:42.973] - Number of conditions: 3 [17:27:42.973] signalConditions() ... done [17:27:42.974] - Launch lazy future ... done [17:27:42.974] run() for 'SequentialFuture' ... done [17:27:42.975] signalConditions() ... [17:27:42.975] - include = 'immediateCondition' [17:27:42.975] - exclude = [17:27:42.975] - resignal = FALSE [17:27:42.976] - Number of conditions: 3 [17:27:42.976] signalConditions() ... done [17:27:42.976] Future state: 'finished' [17:27:42.977] signalConditions() ... [17:27:42.977] - include = 'condition' [17:27:42.977] - exclude = 'immediateCondition' [17:27:42.978] - resignal = TRUE [17:27:42.978] - Number of conditions: 3 [17:27:42.978] - Condition #1: 'simpleMessage', 'message', 'condition' [17:27:42.935] plan(): Setting new future strategy stack: [17:27:42.979] - Condition #2: 'simpleMessage', 'message', 'condition' [17:27:42.935] List of future strategies: [17:27:42.935] 1. sequential: [17:27:42.935] - args: function (..., envir = parent.frame(), workers = "") [17:27:42.935] - tweaked: FALSE [17:27:42.935] - call: plan(sequential) [17:27:42.979] - Condition #3: 'simpleMessage', 'message', 'condition' [17:27:42.968] plan(): nbrOfWorkers() = 1 [17:27:42.979] signalConditions() ... done List of future strategies: 1. sequential: - args: function (..., envir = parent.frame(), workers = "") - tweaked: FALSE - call: plan(list(sequential, strategy)) - Strategy: sequential ... DONE - Strategy: multisession ... [17:27:42.981] plan(): Setting new future strategy stack: [17:27:42.981] List of future strategies: [17:27:42.981] 1. multisession: [17:27:42.981] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:42.981] - tweaked: FALSE [17:27:42.981] - call: plan(strategy) [17:27:42.982] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... [17:27:42.982] multisession: [17:27:42.982] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:42.982] - tweaked: FALSE [17:27:42.982] - call: plan(strategy) [17:27:42.991] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:42.992] Not searching for globals [17:27:42.992] - globals: [0] [17:27:42.993] getGlobalsAndPackages() ... DONE [17:27:42.993] [local output] makeClusterPSOCK() ... [17:27:43.040] [local output] Workers: [n = 2] 'localhost', 'localhost' [17:27:43.047] [local output] Base port: 28487 [17:27:43.047] [local output] Getting setup options for 2 cluster nodes ... [17:27:43.047] [local output] - Node #1 of 2 ... [17:27:43.048] [local output] localMachine=TRUE => revtunnel=FALSE [17:27:43.050] Testing if worker's PID can be inferred: '"D:/RCompile/recent/R/bin/x64/Rscript" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpgHzkAL/worker.rank=1.parallelly.parent=159576.26f587c80219e.pid\")), silent = TRUE)" -e "file.exists(\"D:/temp/RtmpgHzkAL/worker.rank=1.parallelly.parent=159576.26f587c80219e.pid\")"' [17:27:43.486] - Possible to infer worker's PID: TRUE [17:27:43.488] [local output] Rscript port: 28487 [17:27:43.488] [local output] - Node #2 of 2 ... [17:27:43.489] [local output] localMachine=TRUE => revtunnel=FALSE [17:27:43.491] [local output] Rscript port: 28487 [17:27:43.492] [local output] Getting setup options for 2 cluster nodes ... done [17:27:43.492] [local output] - Parallel setup requested for some PSOCK nodes [17:27:43.493] [local output] Setting up PSOCK nodes in parallel [17:27:43.493] List of 36 [17:27:43.493] $ worker : chr "localhost" [17:27:43.493] ..- attr(*, "localhost")= logi TRUE [17:27:43.493] $ master : chr "localhost" [17:27:43.493] $ port : int 28487 [17:27:43.493] $ connectTimeout : num 120 [17:27:43.493] $ timeout : num 120 [17:27:43.493] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [17:27:43.493] $ homogeneous : logi TRUE [17:27:43.493] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=globals,NSE.R:159576:CRANWIN3:CR"| __truncated__ [17:27:43.493] $ rscript_envs : NULL [17:27:43.493] $ rscript_libs : chr [1:2] "D:/temp/RtmpsXpk4j/RLIBS_1097c668d2fda" "D:/RCompile/recent/R/library" [17:27:43.493] $ rscript_startup : NULL [17:27:43.493] $ rscript_sh : chr [1:2] "cmd" "cmd" [17:27:43.493] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [17:27:43.493] $ methods : logi TRUE [17:27:43.493] $ socketOptions : chr "no-delay" [17:27:43.493] $ useXDR : logi FALSE [17:27:43.493] $ outfile : chr "/dev/null" [17:27:43.493] $ renice : int NA [17:27:43.493] $ rshcmd : NULL [17:27:43.493] $ user : chr(0) [17:27:43.493] $ revtunnel : logi FALSE [17:27:43.493] $ rshlogfile : NULL [17:27:43.493] $ rshopts : chr(0) [17:27:43.493] $ rank : int 1 [17:27:43.493] $ manual : logi FALSE [17:27:43.493] $ dryrun : logi FALSE [17:27:43.493] $ quiet : logi FALSE [17:27:43.493] $ setup_strategy : chr "parallel" [17:27:43.493] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [17:27:43.493] $ pidfile : chr "D:/temp/RtmpgHzkAL/worker.rank=1.parallelly.parent=159576.26f587c80219e.pid" [17:27:43.493] $ rshcmd_label : NULL [17:27:43.493] $ rsh_call : NULL [17:27:43.493] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [17:27:43.493] $ localMachine : logi TRUE [17:27:43.493] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [17:27:43.493] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [17:27:43.493] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [17:27:43.493] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [17:27:43.493] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [17:27:43.493] "cmd", "sh", "none"), default_packages = c("datasets", "utils", [17:27:43.493] "grDevices", "graphics", "stats", if (methods) "methods"), methods = TRUE, [17:27:43.493] socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [17:27:43.493] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [17:27:43.493] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [17:27:43.493] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [17:27:43.493] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [17:27:43.493] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [17:27:43.493] "parallel"), action = c("launch", "options"), verbose = FALSE) [17:27:43.493] $ arguments :List of 28 [17:27:43.493] ..$ worker : chr "localhost" [17:27:43.493] ..$ master : NULL [17:27:43.493] ..$ port : int 28487 [17:27:43.493] ..$ connectTimeout : num 120 [17:27:43.493] ..$ timeout : num 120 [17:27:43.493] ..$ rscript : NULL [17:27:43.493] ..$ homogeneous : NULL [17:27:43.493] ..$ rscript_args : NULL [17:27:43.493] ..$ rscript_envs : NULL [17:27:43.493] ..$ rscript_libs : chr [1:2] "D:/temp/RtmpsXpk4j/RLIBS_1097c668d2fda" "D:/RCompile/recent/R/library" [17:27:43.493] ..$ rscript_startup : NULL [17:27:43.493] ..$ rscript_sh : chr "auto" [17:27:43.493] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [17:27:43.493] ..$ methods : logi TRUE [17:27:43.493] ..$ socketOptions : chr "no-delay" [17:27:43.493] ..$ useXDR : logi FALSE [17:27:43.493] ..$ outfile : chr "/dev/null" [17:27:43.493] ..$ renice : int NA [17:27:43.493] ..$ rshcmd : NULL [17:27:43.493] ..$ user : NULL [17:27:43.493] ..$ revtunnel : logi NA [17:27:43.493] ..$ rshlogfile : NULL [17:27:43.493] ..$ rshopts : NULL [17:27:43.493] ..$ rank : int 1 [17:27:43.493] ..$ manual : logi FALSE [17:27:43.493] ..$ dryrun : logi FALSE [17:27:43.493] ..$ quiet : logi FALSE [17:27:43.493] ..$ setup_strategy : chr "parallel" [17:27:43.493] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [17:27:43.526] [local output] System call to launch all workers: [17:27:43.526] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=globals,NSE.R:159576:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpgHzkAL/worker.rank=1.parallelly.parent=159576.26f587c80219e.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e ".libPaths(c(\"D:/temp/RtmpsXpk4j/RLIBS_1097c668d2fda\",\"D:/RCompile/recent/R/library\"))" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=28487 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [17:27:43.526] [local output] Starting PSOCK main server [17:27:43.536] [local output] Workers launched [17:27:43.536] [local output] Waiting for workers to connect back [17:27:43.537] - [local output] 0 workers out of 2 ready [17:27:43.793] - [local output] 0 workers out of 2 ready [17:27:43.794] - [local output] 1 workers out of 2 ready [17:27:43.803] - [local output] 1 workers out of 2 ready [17:27:43.804] - [local output] 2 workers out of 2 ready [17:27:43.805] [local output] Launching of 2 workers completed [17:27:43.805] [local output] Number of nodes in cluster: 2 [17:27:43.806] [local output] Collecting session information from 2 workers [17:27:43.807] [local output] - Worker #1 of 2 [17:27:43.809] [local output] - Worker #2 of 2 [17:27:43.809] [local output] makeClusterPSOCK() ... done [17:27:43.827] Packages needed by the future expression (n = 0): [17:27:43.828] Packages needed by future strategies (n = 0): [17:27:43.829] { [17:27:43.829] { [17:27:43.829] { [17:27:43.829] ...future.startTime <- base::Sys.time() [17:27:43.829] { [17:27:43.829] { [17:27:43.829] { [17:27:43.829] { [17:27:43.829] base::local({ [17:27:43.829] has_future <- base::requireNamespace("future", [17:27:43.829] quietly = TRUE) [17:27:43.829] if (has_future) { [17:27:43.829] ns <- base::getNamespace("future") [17:27:43.829] version <- ns[[".package"]][["version"]] [17:27:43.829] if (is.null(version)) [17:27:43.829] version <- utils::packageVersion("future") [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] version <- NULL [17:27:43.829] } [17:27:43.829] if (!has_future || version < "1.8.0") { [17:27:43.829] info <- base::c(r_version = base::gsub("R version ", [17:27:43.829] "", base::R.version$version.string), [17:27:43.829] platform = base::sprintf("%s (%s-bit)", [17:27:43.829] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:43.829] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:43.829] "release", "version")], collapse = " "), [17:27:43.829] hostname = base::Sys.info()[["nodename"]]) [17:27:43.829] info <- base::sprintf("%s: %s", base::names(info), [17:27:43.829] info) [17:27:43.829] info <- base::paste(info, collapse = "; ") [17:27:43.829] if (!has_future) { [17:27:43.829] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:43.829] info) [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:43.829] info, version) [17:27:43.829] } [17:27:43.829] base::stop(msg) [17:27:43.829] } [17:27:43.829] }) [17:27:43.829] } [17:27:43.829] ...future.mc.cores.old <- base::getOption("mc.cores") [17:27:43.829] base::options(mc.cores = 1L) [17:27:43.829] } [17:27:43.829] ...future.strategy.old <- future::plan("list") [17:27:43.829] options(future.plan = NULL) [17:27:43.829] Sys.unsetenv("R_FUTURE_PLAN") [17:27:43.829] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:43.829] } [17:27:43.829] ...future.workdir <- getwd() [17:27:43.829] } [17:27:43.829] ...future.oldOptions <- base::as.list(base::.Options) [17:27:43.829] ...future.oldEnvVars <- base::Sys.getenv() [17:27:43.829] } [17:27:43.829] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:43.829] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:43.829] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:43.829] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:43.829] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:43.829] future.stdout.windows.reencode = NULL, width = 80L) [17:27:43.829] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:43.829] base::names(...future.oldOptions)) [17:27:43.829] } [17:27:43.829] if (FALSE) { [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] if (TRUE) { [17:27:43.829] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:43.829] open = "w") [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:43.829] windows = "NUL", "/dev/null"), open = "w") [17:27:43.829] } [17:27:43.829] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:43.829] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:43.829] base::sink(type = "output", split = FALSE) [17:27:43.829] base::close(...future.stdout) [17:27:43.829] }, add = TRUE) [17:27:43.829] } [17:27:43.829] ...future.frame <- base::sys.nframe() [17:27:43.829] ...future.conditions <- base::list() [17:27:43.829] ...future.rng <- base::globalenv()$.Random.seed [17:27:43.829] if (FALSE) { [17:27:43.829] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:43.829] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:43.829] } [17:27:43.829] ...future.result <- base::tryCatch({ [17:27:43.829] base::withCallingHandlers({ [17:27:43.829] ...future.value <- base::withVisible(base::local({ [17:27:43.829] ...future.makeSendCondition <- base::local({ [17:27:43.829] sendCondition <- NULL [17:27:43.829] function(frame = 1L) { [17:27:43.829] if (is.function(sendCondition)) [17:27:43.829] return(sendCondition) [17:27:43.829] ns <- getNamespace("parallel") [17:27:43.829] if (exists("sendData", mode = "function", [17:27:43.829] envir = ns)) { [17:27:43.829] parallel_sendData <- get("sendData", mode = "function", [17:27:43.829] envir = ns) [17:27:43.829] envir <- sys.frame(frame) [17:27:43.829] master <- NULL [17:27:43.829] while (!identical(envir, .GlobalEnv) && [17:27:43.829] !identical(envir, emptyenv())) { [17:27:43.829] if (exists("master", mode = "list", envir = envir, [17:27:43.829] inherits = FALSE)) { [17:27:43.829] master <- get("master", mode = "list", [17:27:43.829] envir = envir, inherits = FALSE) [17:27:43.829] if (inherits(master, c("SOCKnode", [17:27:43.829] "SOCK0node"))) { [17:27:43.829] sendCondition <<- function(cond) { [17:27:43.829] data <- list(type = "VALUE", value = cond, [17:27:43.829] success = TRUE) [17:27:43.829] parallel_sendData(master, data) [17:27:43.829] } [17:27:43.829] return(sendCondition) [17:27:43.829] } [17:27:43.829] } [17:27:43.829] frame <- frame + 1L [17:27:43.829] envir <- sys.frame(frame) [17:27:43.829] } [17:27:43.829] } [17:27:43.829] sendCondition <<- function(cond) NULL [17:27:43.829] } [17:27:43.829] }) [17:27:43.829] withCallingHandlers({ [17:27:43.829] NA [17:27:43.829] }, immediateCondition = function(cond) { [17:27:43.829] sendCondition <- ...future.makeSendCondition() [17:27:43.829] sendCondition(cond) [17:27:43.829] muffleCondition <- function (cond, pattern = "^muffle") [17:27:43.829] { [17:27:43.829] inherits <- base::inherits [17:27:43.829] invokeRestart <- base::invokeRestart [17:27:43.829] is.null <- base::is.null [17:27:43.829] muffled <- FALSE [17:27:43.829] if (inherits(cond, "message")) { [17:27:43.829] muffled <- grepl(pattern, "muffleMessage") [17:27:43.829] if (muffled) [17:27:43.829] invokeRestart("muffleMessage") [17:27:43.829] } [17:27:43.829] else if (inherits(cond, "warning")) { [17:27:43.829] muffled <- grepl(pattern, "muffleWarning") [17:27:43.829] if (muffled) [17:27:43.829] invokeRestart("muffleWarning") [17:27:43.829] } [17:27:43.829] else if (inherits(cond, "condition")) { [17:27:43.829] if (!is.null(pattern)) { [17:27:43.829] computeRestarts <- base::computeRestarts [17:27:43.829] grepl <- base::grepl [17:27:43.829] restarts <- computeRestarts(cond) [17:27:43.829] for (restart in restarts) { [17:27:43.829] name <- restart$name [17:27:43.829] if (is.null(name)) [17:27:43.829] next [17:27:43.829] if (!grepl(pattern, name)) [17:27:43.829] next [17:27:43.829] invokeRestart(restart) [17:27:43.829] muffled <- TRUE [17:27:43.829] break [17:27:43.829] } [17:27:43.829] } [17:27:43.829] } [17:27:43.829] invisible(muffled) [17:27:43.829] } [17:27:43.829] muffleCondition(cond) [17:27:43.829] }) [17:27:43.829] })) [17:27:43.829] future::FutureResult(value = ...future.value$value, [17:27:43.829] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:43.829] ...future.rng), globalenv = if (FALSE) [17:27:43.829] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:43.829] ...future.globalenv.names)) [17:27:43.829] else NULL, started = ...future.startTime, version = "1.8") [17:27:43.829] }, condition = base::local({ [17:27:43.829] c <- base::c [17:27:43.829] inherits <- base::inherits [17:27:43.829] invokeRestart <- base::invokeRestart [17:27:43.829] length <- base::length [17:27:43.829] list <- base::list [17:27:43.829] seq.int <- base::seq.int [17:27:43.829] signalCondition <- base::signalCondition [17:27:43.829] sys.calls <- base::sys.calls [17:27:43.829] `[[` <- base::`[[` [17:27:43.829] `+` <- base::`+` [17:27:43.829] `<<-` <- base::`<<-` [17:27:43.829] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:43.829] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:43.829] 3L)] [17:27:43.829] } [17:27:43.829] function(cond) { [17:27:43.829] is_error <- inherits(cond, "error") [17:27:43.829] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:43.829] NULL) [17:27:43.829] if (is_error) { [17:27:43.829] sessionInformation <- function() { [17:27:43.829] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:43.829] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:43.829] search = base::search(), system = base::Sys.info()) [17:27:43.829] } [17:27:43.829] ...future.conditions[[length(...future.conditions) + [17:27:43.829] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:43.829] cond$call), session = sessionInformation(), [17:27:43.829] timestamp = base::Sys.time(), signaled = 0L) [17:27:43.829] signalCondition(cond) [17:27:43.829] } [17:27:43.829] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:43.829] "immediateCondition"))) { [17:27:43.829] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:43.829] ...future.conditions[[length(...future.conditions) + [17:27:43.829] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:43.829] if (TRUE && !signal) { [17:27:43.829] muffleCondition <- function (cond, pattern = "^muffle") [17:27:43.829] { [17:27:43.829] inherits <- base::inherits [17:27:43.829] invokeRestart <- base::invokeRestart [17:27:43.829] is.null <- base::is.null [17:27:43.829] muffled <- FALSE [17:27:43.829] if (inherits(cond, "message")) { [17:27:43.829] muffled <- grepl(pattern, "muffleMessage") [17:27:43.829] if (muffled) [17:27:43.829] invokeRestart("muffleMessage") [17:27:43.829] } [17:27:43.829] else if (inherits(cond, "warning")) { [17:27:43.829] muffled <- grepl(pattern, "muffleWarning") [17:27:43.829] if (muffled) [17:27:43.829] invokeRestart("muffleWarning") [17:27:43.829] } [17:27:43.829] else if (inherits(cond, "condition")) { [17:27:43.829] if (!is.null(pattern)) { [17:27:43.829] computeRestarts <- base::computeRestarts [17:27:43.829] grepl <- base::grepl [17:27:43.829] restarts <- computeRestarts(cond) [17:27:43.829] for (restart in restarts) { [17:27:43.829] name <- restart$name [17:27:43.829] if (is.null(name)) [17:27:43.829] next [17:27:43.829] if (!grepl(pattern, name)) [17:27:43.829] next [17:27:43.829] invokeRestart(restart) [17:27:43.829] muffled <- TRUE [17:27:43.829] break [17:27:43.829] } [17:27:43.829] } [17:27:43.829] } [17:27:43.829] invisible(muffled) [17:27:43.829] } [17:27:43.829] muffleCondition(cond, pattern = "^muffle") [17:27:43.829] } [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] if (TRUE) { [17:27:43.829] muffleCondition <- function (cond, pattern = "^muffle") [17:27:43.829] { [17:27:43.829] inherits <- base::inherits [17:27:43.829] invokeRestart <- base::invokeRestart [17:27:43.829] is.null <- base::is.null [17:27:43.829] muffled <- FALSE [17:27:43.829] if (inherits(cond, "message")) { [17:27:43.829] muffled <- grepl(pattern, "muffleMessage") [17:27:43.829] if (muffled) [17:27:43.829] invokeRestart("muffleMessage") [17:27:43.829] } [17:27:43.829] else if (inherits(cond, "warning")) { [17:27:43.829] muffled <- grepl(pattern, "muffleWarning") [17:27:43.829] if (muffled) [17:27:43.829] invokeRestart("muffleWarning") [17:27:43.829] } [17:27:43.829] else if (inherits(cond, "condition")) { [17:27:43.829] if (!is.null(pattern)) { [17:27:43.829] computeRestarts <- base::computeRestarts [17:27:43.829] grepl <- base::grepl [17:27:43.829] restarts <- computeRestarts(cond) [17:27:43.829] for (restart in restarts) { [17:27:43.829] name <- restart$name [17:27:43.829] if (is.null(name)) [17:27:43.829] next [17:27:43.829] if (!grepl(pattern, name)) [17:27:43.829] next [17:27:43.829] invokeRestart(restart) [17:27:43.829] muffled <- TRUE [17:27:43.829] break [17:27:43.829] } [17:27:43.829] } [17:27:43.829] } [17:27:43.829] invisible(muffled) [17:27:43.829] } [17:27:43.829] muffleCondition(cond, pattern = "^muffle") [17:27:43.829] } [17:27:43.829] } [17:27:43.829] } [17:27:43.829] })) [17:27:43.829] }, error = function(ex) { [17:27:43.829] base::structure(base::list(value = NULL, visible = NULL, [17:27:43.829] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:43.829] ...future.rng), started = ...future.startTime, [17:27:43.829] finished = Sys.time(), session_uuid = NA_character_, [17:27:43.829] version = "1.8"), class = "FutureResult") [17:27:43.829] }, finally = { [17:27:43.829] if (!identical(...future.workdir, getwd())) [17:27:43.829] setwd(...future.workdir) [17:27:43.829] { [17:27:43.829] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:43.829] ...future.oldOptions$nwarnings <- NULL [17:27:43.829] } [17:27:43.829] base::options(...future.oldOptions) [17:27:43.829] if (.Platform$OS.type == "windows") { [17:27:43.829] old_names <- names(...future.oldEnvVars) [17:27:43.829] envs <- base::Sys.getenv() [17:27:43.829] names <- names(envs) [17:27:43.829] common <- intersect(names, old_names) [17:27:43.829] added <- setdiff(names, old_names) [17:27:43.829] removed <- setdiff(old_names, names) [17:27:43.829] changed <- common[...future.oldEnvVars[common] != [17:27:43.829] envs[common]] [17:27:43.829] NAMES <- toupper(changed) [17:27:43.829] args <- list() [17:27:43.829] for (kk in seq_along(NAMES)) { [17:27:43.829] name <- changed[[kk]] [17:27:43.829] NAME <- NAMES[[kk]] [17:27:43.829] if (name != NAME && is.element(NAME, old_names)) [17:27:43.829] next [17:27:43.829] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:43.829] } [17:27:43.829] NAMES <- toupper(added) [17:27:43.829] for (kk in seq_along(NAMES)) { [17:27:43.829] name <- added[[kk]] [17:27:43.829] NAME <- NAMES[[kk]] [17:27:43.829] if (name != NAME && is.element(NAME, old_names)) [17:27:43.829] next [17:27:43.829] args[[name]] <- "" [17:27:43.829] } [17:27:43.829] NAMES <- toupper(removed) [17:27:43.829] for (kk in seq_along(NAMES)) { [17:27:43.829] name <- removed[[kk]] [17:27:43.829] NAME <- NAMES[[kk]] [17:27:43.829] if (name != NAME && is.element(NAME, old_names)) [17:27:43.829] next [17:27:43.829] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:43.829] } [17:27:43.829] if (length(args) > 0) [17:27:43.829] base::do.call(base::Sys.setenv, args = args) [17:27:43.829] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:43.829] } [17:27:43.829] { [17:27:43.829] if (base::length(...future.futureOptionsAdded) > [17:27:43.829] 0L) { [17:27:43.829] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:43.829] base::names(opts) <- ...future.futureOptionsAdded [17:27:43.829] base::options(opts) [17:27:43.829] } [17:27:43.829] { [17:27:43.829] { [17:27:43.829] base::options(mc.cores = ...future.mc.cores.old) [17:27:43.829] NULL [17:27:43.829] } [17:27:43.829] options(future.plan = NULL) [17:27:43.829] if (is.na(NA_character_)) [17:27:43.829] Sys.unsetenv("R_FUTURE_PLAN") [17:27:43.829] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:43.829] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:43.829] .init = FALSE) [17:27:43.829] } [17:27:43.829] } [17:27:43.829] } [17:27:43.829] }) [17:27:43.829] if (TRUE) { [17:27:43.829] base::sink(type = "output", split = FALSE) [17:27:43.829] if (TRUE) { [17:27:43.829] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:43.829] } [17:27:43.829] else { [17:27:43.829] ...future.result["stdout"] <- base::list(NULL) [17:27:43.829] } [17:27:43.829] base::close(...future.stdout) [17:27:43.829] ...future.stdout <- NULL [17:27:43.829] } [17:27:43.829] ...future.result$conditions <- ...future.conditions [17:27:43.829] ...future.result$finished <- base::Sys.time() [17:27:43.829] ...future.result [17:27:43.829] } [17:27:43.980] MultisessionFuture started [17:27:43.981] result() for ClusterFuture ... [17:27:43.981] receiveMessageFromWorker() for ClusterFuture ... [17:27:43.982] - Validating connection of MultisessionFuture [17:27:44.059] - received message: FutureResult [17:27:44.059] - Received FutureResult [17:27:44.065] - Erased future from FutureRegistry [17:27:44.066] result() for ClusterFuture ... [17:27:44.066] - result already collected: FutureResult [17:27:44.066] result() for ClusterFuture ... done [17:27:44.067] receiveMessageFromWorker() for ClusterFuture ... done [17:27:44.067] result() for ClusterFuture ... done [17:27:44.067] result() for ClusterFuture ... [17:27:44.068] - result already collected: FutureResult [17:27:44.068] result() for ClusterFuture ... done [17:27:44.068] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE [17:27:44.073] plan(): nbrOfWorkers() = 2 [17:27:44.074] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'error' [17:27:44.075] Searching for globals... [17:27:44.076] - globals found: [1] 'getOption' [17:27:44.076] Searching for globals ... DONE [17:27:44.077] Resolving globals: FALSE [17:27:44.077] [17:27:44.078] [17:27:44.078] getGlobalsAndPackages() ... DONE [17:27:44.079] run() for 'Future' ... [17:27:44.079] - state: 'created' [17:27:44.080] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:27:44.097] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:27:44.098] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:27:44.098] - Field: 'node' [17:27:44.098] - Field: 'label' [17:27:44.098] - Field: 'local' [17:27:44.099] - Field: 'owner' [17:27:44.099] - Field: 'envir' [17:27:44.099] - Field: 'workers' [17:27:44.100] - Field: 'packages' [17:27:44.100] - Field: 'gc' [17:27:44.100] - Field: 'conditions' [17:27:44.100] - Field: 'persistent' [17:27:44.101] - Field: 'expr' [17:27:44.101] - Field: 'uuid' [17:27:44.101] - Field: 'seed' [17:27:44.101] - Field: 'version' [17:27:44.102] - Field: 'result' [17:27:44.102] - Field: 'asynchronous' [17:27:44.102] - Field: 'calls' [17:27:44.102] - Field: 'globals' [17:27:44.102] - Field: 'stdout' [17:27:44.103] - Field: 'earlySignal' [17:27:44.103] - Field: 'lazy' [17:27:44.103] - Field: 'state' [17:27:44.103] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:27:44.104] - Launch lazy future ... [17:27:44.104] Packages needed by the future expression (n = 0): [17:27:44.104] Packages needed by future strategies (n = 0): [17:27:44.105] { [17:27:44.105] { [17:27:44.105] { [17:27:44.105] ...future.startTime <- base::Sys.time() [17:27:44.105] { [17:27:44.105] { [17:27:44.105] { [17:27:44.105] { [17:27:44.105] base::local({ [17:27:44.105] has_future <- base::requireNamespace("future", [17:27:44.105] quietly = TRUE) [17:27:44.105] if (has_future) { [17:27:44.105] ns <- base::getNamespace("future") [17:27:44.105] version <- ns[[".package"]][["version"]] [17:27:44.105] if (is.null(version)) [17:27:44.105] version <- utils::packageVersion("future") [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] version <- NULL [17:27:44.105] } [17:27:44.105] if (!has_future || version < "1.8.0") { [17:27:44.105] info <- base::c(r_version = base::gsub("R version ", [17:27:44.105] "", base::R.version$version.string), [17:27:44.105] platform = base::sprintf("%s (%s-bit)", [17:27:44.105] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:44.105] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:44.105] "release", "version")], collapse = " "), [17:27:44.105] hostname = base::Sys.info()[["nodename"]]) [17:27:44.105] info <- base::sprintf("%s: %s", base::names(info), [17:27:44.105] info) [17:27:44.105] info <- base::paste(info, collapse = "; ") [17:27:44.105] if (!has_future) { [17:27:44.105] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:44.105] info) [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:44.105] info, version) [17:27:44.105] } [17:27:44.105] base::stop(msg) [17:27:44.105] } [17:27:44.105] }) [17:27:44.105] } [17:27:44.105] ...future.mc.cores.old <- base::getOption("mc.cores") [17:27:44.105] base::options(mc.cores = 1L) [17:27:44.105] } [17:27:44.105] ...future.strategy.old <- future::plan("list") [17:27:44.105] options(future.plan = NULL) [17:27:44.105] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.105] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:44.105] } [17:27:44.105] ...future.workdir <- getwd() [17:27:44.105] } [17:27:44.105] ...future.oldOptions <- base::as.list(base::.Options) [17:27:44.105] ...future.oldEnvVars <- base::Sys.getenv() [17:27:44.105] } [17:27:44.105] base::options(future.startup.script = FALSE, future.globals.onMissing = "error", [17:27:44.105] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:44.105] future.globals.onMissing = "error", future.globals.onReference = NULL, [17:27:44.105] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:44.105] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:44.105] future.stdout.windows.reencode = NULL, width = 80L) [17:27:44.105] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:44.105] base::names(...future.oldOptions)) [17:27:44.105] } [17:27:44.105] if (FALSE) { [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] if (TRUE) { [17:27:44.105] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:44.105] open = "w") [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:44.105] windows = "NUL", "/dev/null"), open = "w") [17:27:44.105] } [17:27:44.105] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:44.105] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:44.105] base::sink(type = "output", split = FALSE) [17:27:44.105] base::close(...future.stdout) [17:27:44.105] }, add = TRUE) [17:27:44.105] } [17:27:44.105] ...future.frame <- base::sys.nframe() [17:27:44.105] ...future.conditions <- base::list() [17:27:44.105] ...future.rng <- base::globalenv()$.Random.seed [17:27:44.105] if (FALSE) { [17:27:44.105] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:44.105] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:44.105] } [17:27:44.105] ...future.result <- base::tryCatch({ [17:27:44.105] base::withCallingHandlers({ [17:27:44.105] ...future.value <- base::withVisible(base::local({ [17:27:44.105] ...future.makeSendCondition <- base::local({ [17:27:44.105] sendCondition <- NULL [17:27:44.105] function(frame = 1L) { [17:27:44.105] if (is.function(sendCondition)) [17:27:44.105] return(sendCondition) [17:27:44.105] ns <- getNamespace("parallel") [17:27:44.105] if (exists("sendData", mode = "function", [17:27:44.105] envir = ns)) { [17:27:44.105] parallel_sendData <- get("sendData", mode = "function", [17:27:44.105] envir = ns) [17:27:44.105] envir <- sys.frame(frame) [17:27:44.105] master <- NULL [17:27:44.105] while (!identical(envir, .GlobalEnv) && [17:27:44.105] !identical(envir, emptyenv())) { [17:27:44.105] if (exists("master", mode = "list", envir = envir, [17:27:44.105] inherits = FALSE)) { [17:27:44.105] master <- get("master", mode = "list", [17:27:44.105] envir = envir, inherits = FALSE) [17:27:44.105] if (inherits(master, c("SOCKnode", [17:27:44.105] "SOCK0node"))) { [17:27:44.105] sendCondition <<- function(cond) { [17:27:44.105] data <- list(type = "VALUE", value = cond, [17:27:44.105] success = TRUE) [17:27:44.105] parallel_sendData(master, data) [17:27:44.105] } [17:27:44.105] return(sendCondition) [17:27:44.105] } [17:27:44.105] } [17:27:44.105] frame <- frame + 1L [17:27:44.105] envir <- sys.frame(frame) [17:27:44.105] } [17:27:44.105] } [17:27:44.105] sendCondition <<- function(cond) NULL [17:27:44.105] } [17:27:44.105] }) [17:27:44.105] withCallingHandlers({ [17:27:44.105] getOption("future.globals.onMissing") [17:27:44.105] }, immediateCondition = function(cond) { [17:27:44.105] sendCondition <- ...future.makeSendCondition() [17:27:44.105] sendCondition(cond) [17:27:44.105] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.105] { [17:27:44.105] inherits <- base::inherits [17:27:44.105] invokeRestart <- base::invokeRestart [17:27:44.105] is.null <- base::is.null [17:27:44.105] muffled <- FALSE [17:27:44.105] if (inherits(cond, "message")) { [17:27:44.105] muffled <- grepl(pattern, "muffleMessage") [17:27:44.105] if (muffled) [17:27:44.105] invokeRestart("muffleMessage") [17:27:44.105] } [17:27:44.105] else if (inherits(cond, "warning")) { [17:27:44.105] muffled <- grepl(pattern, "muffleWarning") [17:27:44.105] if (muffled) [17:27:44.105] invokeRestart("muffleWarning") [17:27:44.105] } [17:27:44.105] else if (inherits(cond, "condition")) { [17:27:44.105] if (!is.null(pattern)) { [17:27:44.105] computeRestarts <- base::computeRestarts [17:27:44.105] grepl <- base::grepl [17:27:44.105] restarts <- computeRestarts(cond) [17:27:44.105] for (restart in restarts) { [17:27:44.105] name <- restart$name [17:27:44.105] if (is.null(name)) [17:27:44.105] next [17:27:44.105] if (!grepl(pattern, name)) [17:27:44.105] next [17:27:44.105] invokeRestart(restart) [17:27:44.105] muffled <- TRUE [17:27:44.105] break [17:27:44.105] } [17:27:44.105] } [17:27:44.105] } [17:27:44.105] invisible(muffled) [17:27:44.105] } [17:27:44.105] muffleCondition(cond) [17:27:44.105] }) [17:27:44.105] })) [17:27:44.105] future::FutureResult(value = ...future.value$value, [17:27:44.105] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.105] ...future.rng), globalenv = if (FALSE) [17:27:44.105] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:44.105] ...future.globalenv.names)) [17:27:44.105] else NULL, started = ...future.startTime, version = "1.8") [17:27:44.105] }, condition = base::local({ [17:27:44.105] c <- base::c [17:27:44.105] inherits <- base::inherits [17:27:44.105] invokeRestart <- base::invokeRestart [17:27:44.105] length <- base::length [17:27:44.105] list <- base::list [17:27:44.105] seq.int <- base::seq.int [17:27:44.105] signalCondition <- base::signalCondition [17:27:44.105] sys.calls <- base::sys.calls [17:27:44.105] `[[` <- base::`[[` [17:27:44.105] `+` <- base::`+` [17:27:44.105] `<<-` <- base::`<<-` [17:27:44.105] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:44.105] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:44.105] 3L)] [17:27:44.105] } [17:27:44.105] function(cond) { [17:27:44.105] is_error <- inherits(cond, "error") [17:27:44.105] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:44.105] NULL) [17:27:44.105] if (is_error) { [17:27:44.105] sessionInformation <- function() { [17:27:44.105] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:44.105] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:44.105] search = base::search(), system = base::Sys.info()) [17:27:44.105] } [17:27:44.105] ...future.conditions[[length(...future.conditions) + [17:27:44.105] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:44.105] cond$call), session = sessionInformation(), [17:27:44.105] timestamp = base::Sys.time(), signaled = 0L) [17:27:44.105] signalCondition(cond) [17:27:44.105] } [17:27:44.105] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:44.105] "immediateCondition"))) { [17:27:44.105] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:44.105] ...future.conditions[[length(...future.conditions) + [17:27:44.105] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:44.105] if (TRUE && !signal) { [17:27:44.105] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.105] { [17:27:44.105] inherits <- base::inherits [17:27:44.105] invokeRestart <- base::invokeRestart [17:27:44.105] is.null <- base::is.null [17:27:44.105] muffled <- FALSE [17:27:44.105] if (inherits(cond, "message")) { [17:27:44.105] muffled <- grepl(pattern, "muffleMessage") [17:27:44.105] if (muffled) [17:27:44.105] invokeRestart("muffleMessage") [17:27:44.105] } [17:27:44.105] else if (inherits(cond, "warning")) { [17:27:44.105] muffled <- grepl(pattern, "muffleWarning") [17:27:44.105] if (muffled) [17:27:44.105] invokeRestart("muffleWarning") [17:27:44.105] } [17:27:44.105] else if (inherits(cond, "condition")) { [17:27:44.105] if (!is.null(pattern)) { [17:27:44.105] computeRestarts <- base::computeRestarts [17:27:44.105] grepl <- base::grepl [17:27:44.105] restarts <- computeRestarts(cond) [17:27:44.105] for (restart in restarts) { [17:27:44.105] name <- restart$name [17:27:44.105] if (is.null(name)) [17:27:44.105] next [17:27:44.105] if (!grepl(pattern, name)) [17:27:44.105] next [17:27:44.105] invokeRestart(restart) [17:27:44.105] muffled <- TRUE [17:27:44.105] break [17:27:44.105] } [17:27:44.105] } [17:27:44.105] } [17:27:44.105] invisible(muffled) [17:27:44.105] } [17:27:44.105] muffleCondition(cond, pattern = "^muffle") [17:27:44.105] } [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] if (TRUE) { [17:27:44.105] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.105] { [17:27:44.105] inherits <- base::inherits [17:27:44.105] invokeRestart <- base::invokeRestart [17:27:44.105] is.null <- base::is.null [17:27:44.105] muffled <- FALSE [17:27:44.105] if (inherits(cond, "message")) { [17:27:44.105] muffled <- grepl(pattern, "muffleMessage") [17:27:44.105] if (muffled) [17:27:44.105] invokeRestart("muffleMessage") [17:27:44.105] } [17:27:44.105] else if (inherits(cond, "warning")) { [17:27:44.105] muffled <- grepl(pattern, "muffleWarning") [17:27:44.105] if (muffled) [17:27:44.105] invokeRestart("muffleWarning") [17:27:44.105] } [17:27:44.105] else if (inherits(cond, "condition")) { [17:27:44.105] if (!is.null(pattern)) { [17:27:44.105] computeRestarts <- base::computeRestarts [17:27:44.105] grepl <- base::grepl [17:27:44.105] restarts <- computeRestarts(cond) [17:27:44.105] for (restart in restarts) { [17:27:44.105] name <- restart$name [17:27:44.105] if (is.null(name)) [17:27:44.105] next [17:27:44.105] if (!grepl(pattern, name)) [17:27:44.105] next [17:27:44.105] invokeRestart(restart) [17:27:44.105] muffled <- TRUE [17:27:44.105] break [17:27:44.105] } [17:27:44.105] } [17:27:44.105] } [17:27:44.105] invisible(muffled) [17:27:44.105] } [17:27:44.105] muffleCondition(cond, pattern = "^muffle") [17:27:44.105] } [17:27:44.105] } [17:27:44.105] } [17:27:44.105] })) [17:27:44.105] }, error = function(ex) { [17:27:44.105] base::structure(base::list(value = NULL, visible = NULL, [17:27:44.105] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.105] ...future.rng), started = ...future.startTime, [17:27:44.105] finished = Sys.time(), session_uuid = NA_character_, [17:27:44.105] version = "1.8"), class = "FutureResult") [17:27:44.105] }, finally = { [17:27:44.105] if (!identical(...future.workdir, getwd())) [17:27:44.105] setwd(...future.workdir) [17:27:44.105] { [17:27:44.105] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:44.105] ...future.oldOptions$nwarnings <- NULL [17:27:44.105] } [17:27:44.105] base::options(...future.oldOptions) [17:27:44.105] if (.Platform$OS.type == "windows") { [17:27:44.105] old_names <- names(...future.oldEnvVars) [17:27:44.105] envs <- base::Sys.getenv() [17:27:44.105] names <- names(envs) [17:27:44.105] common <- intersect(names, old_names) [17:27:44.105] added <- setdiff(names, old_names) [17:27:44.105] removed <- setdiff(old_names, names) [17:27:44.105] changed <- common[...future.oldEnvVars[common] != [17:27:44.105] envs[common]] [17:27:44.105] NAMES <- toupper(changed) [17:27:44.105] args <- list() [17:27:44.105] for (kk in seq_along(NAMES)) { [17:27:44.105] name <- changed[[kk]] [17:27:44.105] NAME <- NAMES[[kk]] [17:27:44.105] if (name != NAME && is.element(NAME, old_names)) [17:27:44.105] next [17:27:44.105] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.105] } [17:27:44.105] NAMES <- toupper(added) [17:27:44.105] for (kk in seq_along(NAMES)) { [17:27:44.105] name <- added[[kk]] [17:27:44.105] NAME <- NAMES[[kk]] [17:27:44.105] if (name != NAME && is.element(NAME, old_names)) [17:27:44.105] next [17:27:44.105] args[[name]] <- "" [17:27:44.105] } [17:27:44.105] NAMES <- toupper(removed) [17:27:44.105] for (kk in seq_along(NAMES)) { [17:27:44.105] name <- removed[[kk]] [17:27:44.105] NAME <- NAMES[[kk]] [17:27:44.105] if (name != NAME && is.element(NAME, old_names)) [17:27:44.105] next [17:27:44.105] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.105] } [17:27:44.105] if (length(args) > 0) [17:27:44.105] base::do.call(base::Sys.setenv, args = args) [17:27:44.105] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:44.105] } [17:27:44.105] { [17:27:44.105] if (base::length(...future.futureOptionsAdded) > [17:27:44.105] 0L) { [17:27:44.105] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:44.105] base::names(opts) <- ...future.futureOptionsAdded [17:27:44.105] base::options(opts) [17:27:44.105] } [17:27:44.105] { [17:27:44.105] { [17:27:44.105] base::options(mc.cores = ...future.mc.cores.old) [17:27:44.105] NULL [17:27:44.105] } [17:27:44.105] options(future.plan = NULL) [17:27:44.105] if (is.na(NA_character_)) [17:27:44.105] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.105] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:44.105] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:44.105] .init = FALSE) [17:27:44.105] } [17:27:44.105] } [17:27:44.105] } [17:27:44.105] }) [17:27:44.105] if (TRUE) { [17:27:44.105] base::sink(type = "output", split = FALSE) [17:27:44.105] if (TRUE) { [17:27:44.105] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:44.105] } [17:27:44.105] else { [17:27:44.105] ...future.result["stdout"] <- base::list(NULL) [17:27:44.105] } [17:27:44.105] base::close(...future.stdout) [17:27:44.105] ...future.stdout <- NULL [17:27:44.105] } [17:27:44.105] ...future.result$conditions <- ...future.conditions [17:27:44.105] ...future.result$finished <- base::Sys.time() [17:27:44.105] ...future.result [17:27:44.105] } [17:27:44.111] MultisessionFuture started [17:27:44.112] - Launch lazy future ... done [17:27:44.112] run() for 'MultisessionFuture' ... done [17:27:44.112] result() for ClusterFuture ... [17:27:44.113] receiveMessageFromWorker() for ClusterFuture ... [17:27:44.113] - Validating connection of MultisessionFuture [17:27:44.140] - received message: FutureResult [17:27:44.141] - Received FutureResult [17:27:44.141] - Erased future from FutureRegistry [17:27:44.142] result() for ClusterFuture ... [17:27:44.142] - result already collected: FutureResult [17:27:44.142] result() for ClusterFuture ... done [17:27:44.143] receiveMessageFromWorker() for ClusterFuture ... done [17:27:44.143] result() for ClusterFuture ... done [17:27:44.143] result() for ClusterFuture ... [17:27:44.144] - result already collected: FutureResult [17:27:44.144] result() for ClusterFuture ... done [17:27:44.145] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:44.146] Searching for globals... [17:27:44.147] - globals found: [1] 'getOption' [17:27:44.148] Searching for globals ... DONE [17:27:44.148] Resolving globals: FALSE [17:27:44.149] [17:27:44.149] [17:27:44.150] getGlobalsAndPackages() ... DONE [17:27:44.151] run() for 'Future' ... [17:27:44.151] - state: 'created' [17:27:44.152] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:27:44.176] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:27:44.176] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:27:44.177] - Field: 'node' [17:27:44.177] - Field: 'label' [17:27:44.177] - Field: 'local' [17:27:44.177] - Field: 'owner' [17:27:44.177] - Field: 'envir' [17:27:44.178] - Field: 'workers' [17:27:44.178] - Field: 'packages' [17:27:44.178] - Field: 'gc' [17:27:44.178] - Field: 'conditions' [17:27:44.179] - Field: 'persistent' [17:27:44.179] - Field: 'expr' [17:27:44.179] - Field: 'uuid' [17:27:44.179] - Field: 'seed' [17:27:44.180] - Field: 'version' [17:27:44.180] - Field: 'result' [17:27:44.180] - Field: 'asynchronous' [17:27:44.180] - Field: 'calls' [17:27:44.181] - Field: 'globals' [17:27:44.181] - Field: 'stdout' [17:27:44.181] - Field: 'earlySignal' [17:27:44.181] - Field: 'lazy' [17:27:44.182] - Field: 'state' [17:27:44.182] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:27:44.182] - Launch lazy future ... [17:27:44.183] Packages needed by the future expression (n = 0): [17:27:44.183] Packages needed by future strategies (n = 0): [17:27:44.184] { [17:27:44.184] { [17:27:44.184] { [17:27:44.184] ...future.startTime <- base::Sys.time() [17:27:44.184] { [17:27:44.184] { [17:27:44.184] { [17:27:44.184] { [17:27:44.184] base::local({ [17:27:44.184] has_future <- base::requireNamespace("future", [17:27:44.184] quietly = TRUE) [17:27:44.184] if (has_future) { [17:27:44.184] ns <- base::getNamespace("future") [17:27:44.184] version <- ns[[".package"]][["version"]] [17:27:44.184] if (is.null(version)) [17:27:44.184] version <- utils::packageVersion("future") [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] version <- NULL [17:27:44.184] } [17:27:44.184] if (!has_future || version < "1.8.0") { [17:27:44.184] info <- base::c(r_version = base::gsub("R version ", [17:27:44.184] "", base::R.version$version.string), [17:27:44.184] platform = base::sprintf("%s (%s-bit)", [17:27:44.184] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:44.184] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:44.184] "release", "version")], collapse = " "), [17:27:44.184] hostname = base::Sys.info()[["nodename"]]) [17:27:44.184] info <- base::sprintf("%s: %s", base::names(info), [17:27:44.184] info) [17:27:44.184] info <- base::paste(info, collapse = "; ") [17:27:44.184] if (!has_future) { [17:27:44.184] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:44.184] info) [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:44.184] info, version) [17:27:44.184] } [17:27:44.184] base::stop(msg) [17:27:44.184] } [17:27:44.184] }) [17:27:44.184] } [17:27:44.184] ...future.mc.cores.old <- base::getOption("mc.cores") [17:27:44.184] base::options(mc.cores = 1L) [17:27:44.184] } [17:27:44.184] ...future.strategy.old <- future::plan("list") [17:27:44.184] options(future.plan = NULL) [17:27:44.184] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.184] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:44.184] } [17:27:44.184] ...future.workdir <- getwd() [17:27:44.184] } [17:27:44.184] ...future.oldOptions <- base::as.list(base::.Options) [17:27:44.184] ...future.oldEnvVars <- base::Sys.getenv() [17:27:44.184] } [17:27:44.184] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:44.184] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:44.184] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:44.184] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:44.184] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:44.184] future.stdout.windows.reencode = NULL, width = 80L) [17:27:44.184] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:44.184] base::names(...future.oldOptions)) [17:27:44.184] } [17:27:44.184] if (FALSE) { [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] if (TRUE) { [17:27:44.184] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:44.184] open = "w") [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:44.184] windows = "NUL", "/dev/null"), open = "w") [17:27:44.184] } [17:27:44.184] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:44.184] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:44.184] base::sink(type = "output", split = FALSE) [17:27:44.184] base::close(...future.stdout) [17:27:44.184] }, add = TRUE) [17:27:44.184] } [17:27:44.184] ...future.frame <- base::sys.nframe() [17:27:44.184] ...future.conditions <- base::list() [17:27:44.184] ...future.rng <- base::globalenv()$.Random.seed [17:27:44.184] if (FALSE) { [17:27:44.184] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:44.184] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:44.184] } [17:27:44.184] ...future.result <- base::tryCatch({ [17:27:44.184] base::withCallingHandlers({ [17:27:44.184] ...future.value <- base::withVisible(base::local({ [17:27:44.184] ...future.makeSendCondition <- base::local({ [17:27:44.184] sendCondition <- NULL [17:27:44.184] function(frame = 1L) { [17:27:44.184] if (is.function(sendCondition)) [17:27:44.184] return(sendCondition) [17:27:44.184] ns <- getNamespace("parallel") [17:27:44.184] if (exists("sendData", mode = "function", [17:27:44.184] envir = ns)) { [17:27:44.184] parallel_sendData <- get("sendData", mode = "function", [17:27:44.184] envir = ns) [17:27:44.184] envir <- sys.frame(frame) [17:27:44.184] master <- NULL [17:27:44.184] while (!identical(envir, .GlobalEnv) && [17:27:44.184] !identical(envir, emptyenv())) { [17:27:44.184] if (exists("master", mode = "list", envir = envir, [17:27:44.184] inherits = FALSE)) { [17:27:44.184] master <- get("master", mode = "list", [17:27:44.184] envir = envir, inherits = FALSE) [17:27:44.184] if (inherits(master, c("SOCKnode", [17:27:44.184] "SOCK0node"))) { [17:27:44.184] sendCondition <<- function(cond) { [17:27:44.184] data <- list(type = "VALUE", value = cond, [17:27:44.184] success = TRUE) [17:27:44.184] parallel_sendData(master, data) [17:27:44.184] } [17:27:44.184] return(sendCondition) [17:27:44.184] } [17:27:44.184] } [17:27:44.184] frame <- frame + 1L [17:27:44.184] envir <- sys.frame(frame) [17:27:44.184] } [17:27:44.184] } [17:27:44.184] sendCondition <<- function(cond) NULL [17:27:44.184] } [17:27:44.184] }) [17:27:44.184] withCallingHandlers({ [17:27:44.184] getOption("future.globals.onMissing") [17:27:44.184] }, immediateCondition = function(cond) { [17:27:44.184] sendCondition <- ...future.makeSendCondition() [17:27:44.184] sendCondition(cond) [17:27:44.184] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.184] { [17:27:44.184] inherits <- base::inherits [17:27:44.184] invokeRestart <- base::invokeRestart [17:27:44.184] is.null <- base::is.null [17:27:44.184] muffled <- FALSE [17:27:44.184] if (inherits(cond, "message")) { [17:27:44.184] muffled <- grepl(pattern, "muffleMessage") [17:27:44.184] if (muffled) [17:27:44.184] invokeRestart("muffleMessage") [17:27:44.184] } [17:27:44.184] else if (inherits(cond, "warning")) { [17:27:44.184] muffled <- grepl(pattern, "muffleWarning") [17:27:44.184] if (muffled) [17:27:44.184] invokeRestart("muffleWarning") [17:27:44.184] } [17:27:44.184] else if (inherits(cond, "condition")) { [17:27:44.184] if (!is.null(pattern)) { [17:27:44.184] computeRestarts <- base::computeRestarts [17:27:44.184] grepl <- base::grepl [17:27:44.184] restarts <- computeRestarts(cond) [17:27:44.184] for (restart in restarts) { [17:27:44.184] name <- restart$name [17:27:44.184] if (is.null(name)) [17:27:44.184] next [17:27:44.184] if (!grepl(pattern, name)) [17:27:44.184] next [17:27:44.184] invokeRestart(restart) [17:27:44.184] muffled <- TRUE [17:27:44.184] break [17:27:44.184] } [17:27:44.184] } [17:27:44.184] } [17:27:44.184] invisible(muffled) [17:27:44.184] } [17:27:44.184] muffleCondition(cond) [17:27:44.184] }) [17:27:44.184] })) [17:27:44.184] future::FutureResult(value = ...future.value$value, [17:27:44.184] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.184] ...future.rng), globalenv = if (FALSE) [17:27:44.184] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:44.184] ...future.globalenv.names)) [17:27:44.184] else NULL, started = ...future.startTime, version = "1.8") [17:27:44.184] }, condition = base::local({ [17:27:44.184] c <- base::c [17:27:44.184] inherits <- base::inherits [17:27:44.184] invokeRestart <- base::invokeRestart [17:27:44.184] length <- base::length [17:27:44.184] list <- base::list [17:27:44.184] seq.int <- base::seq.int [17:27:44.184] signalCondition <- base::signalCondition [17:27:44.184] sys.calls <- base::sys.calls [17:27:44.184] `[[` <- base::`[[` [17:27:44.184] `+` <- base::`+` [17:27:44.184] `<<-` <- base::`<<-` [17:27:44.184] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:44.184] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:44.184] 3L)] [17:27:44.184] } [17:27:44.184] function(cond) { [17:27:44.184] is_error <- inherits(cond, "error") [17:27:44.184] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:44.184] NULL) [17:27:44.184] if (is_error) { [17:27:44.184] sessionInformation <- function() { [17:27:44.184] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:44.184] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:44.184] search = base::search(), system = base::Sys.info()) [17:27:44.184] } [17:27:44.184] ...future.conditions[[length(...future.conditions) + [17:27:44.184] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:44.184] cond$call), session = sessionInformation(), [17:27:44.184] timestamp = base::Sys.time(), signaled = 0L) [17:27:44.184] signalCondition(cond) [17:27:44.184] } [17:27:44.184] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:44.184] "immediateCondition"))) { [17:27:44.184] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:44.184] ...future.conditions[[length(...future.conditions) + [17:27:44.184] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:44.184] if (TRUE && !signal) { [17:27:44.184] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.184] { [17:27:44.184] inherits <- base::inherits [17:27:44.184] invokeRestart <- base::invokeRestart [17:27:44.184] is.null <- base::is.null [17:27:44.184] muffled <- FALSE [17:27:44.184] if (inherits(cond, "message")) { [17:27:44.184] muffled <- grepl(pattern, "muffleMessage") [17:27:44.184] if (muffled) [17:27:44.184] invokeRestart("muffleMessage") [17:27:44.184] } [17:27:44.184] else if (inherits(cond, "warning")) { [17:27:44.184] muffled <- grepl(pattern, "muffleWarning") [17:27:44.184] if (muffled) [17:27:44.184] invokeRestart("muffleWarning") [17:27:44.184] } [17:27:44.184] else if (inherits(cond, "condition")) { [17:27:44.184] if (!is.null(pattern)) { [17:27:44.184] computeRestarts <- base::computeRestarts [17:27:44.184] grepl <- base::grepl [17:27:44.184] restarts <- computeRestarts(cond) [17:27:44.184] for (restart in restarts) { [17:27:44.184] name <- restart$name [17:27:44.184] if (is.null(name)) [17:27:44.184] next [17:27:44.184] if (!grepl(pattern, name)) [17:27:44.184] next [17:27:44.184] invokeRestart(restart) [17:27:44.184] muffled <- TRUE [17:27:44.184] break [17:27:44.184] } [17:27:44.184] } [17:27:44.184] } [17:27:44.184] invisible(muffled) [17:27:44.184] } [17:27:44.184] muffleCondition(cond, pattern = "^muffle") [17:27:44.184] } [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] if (TRUE) { [17:27:44.184] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.184] { [17:27:44.184] inherits <- base::inherits [17:27:44.184] invokeRestart <- base::invokeRestart [17:27:44.184] is.null <- base::is.null [17:27:44.184] muffled <- FALSE [17:27:44.184] if (inherits(cond, "message")) { [17:27:44.184] muffled <- grepl(pattern, "muffleMessage") [17:27:44.184] if (muffled) [17:27:44.184] invokeRestart("muffleMessage") [17:27:44.184] } [17:27:44.184] else if (inherits(cond, "warning")) { [17:27:44.184] muffled <- grepl(pattern, "muffleWarning") [17:27:44.184] if (muffled) [17:27:44.184] invokeRestart("muffleWarning") [17:27:44.184] } [17:27:44.184] else if (inherits(cond, "condition")) { [17:27:44.184] if (!is.null(pattern)) { [17:27:44.184] computeRestarts <- base::computeRestarts [17:27:44.184] grepl <- base::grepl [17:27:44.184] restarts <- computeRestarts(cond) [17:27:44.184] for (restart in restarts) { [17:27:44.184] name <- restart$name [17:27:44.184] if (is.null(name)) [17:27:44.184] next [17:27:44.184] if (!grepl(pattern, name)) [17:27:44.184] next [17:27:44.184] invokeRestart(restart) [17:27:44.184] muffled <- TRUE [17:27:44.184] break [17:27:44.184] } [17:27:44.184] } [17:27:44.184] } [17:27:44.184] invisible(muffled) [17:27:44.184] } [17:27:44.184] muffleCondition(cond, pattern = "^muffle") [17:27:44.184] } [17:27:44.184] } [17:27:44.184] } [17:27:44.184] })) [17:27:44.184] }, error = function(ex) { [17:27:44.184] base::structure(base::list(value = NULL, visible = NULL, [17:27:44.184] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.184] ...future.rng), started = ...future.startTime, [17:27:44.184] finished = Sys.time(), session_uuid = NA_character_, [17:27:44.184] version = "1.8"), class = "FutureResult") [17:27:44.184] }, finally = { [17:27:44.184] if (!identical(...future.workdir, getwd())) [17:27:44.184] setwd(...future.workdir) [17:27:44.184] { [17:27:44.184] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:44.184] ...future.oldOptions$nwarnings <- NULL [17:27:44.184] } [17:27:44.184] base::options(...future.oldOptions) [17:27:44.184] if (.Platform$OS.type == "windows") { [17:27:44.184] old_names <- names(...future.oldEnvVars) [17:27:44.184] envs <- base::Sys.getenv() [17:27:44.184] names <- names(envs) [17:27:44.184] common <- intersect(names, old_names) [17:27:44.184] added <- setdiff(names, old_names) [17:27:44.184] removed <- setdiff(old_names, names) [17:27:44.184] changed <- common[...future.oldEnvVars[common] != [17:27:44.184] envs[common]] [17:27:44.184] NAMES <- toupper(changed) [17:27:44.184] args <- list() [17:27:44.184] for (kk in seq_along(NAMES)) { [17:27:44.184] name <- changed[[kk]] [17:27:44.184] NAME <- NAMES[[kk]] [17:27:44.184] if (name != NAME && is.element(NAME, old_names)) [17:27:44.184] next [17:27:44.184] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.184] } [17:27:44.184] NAMES <- toupper(added) [17:27:44.184] for (kk in seq_along(NAMES)) { [17:27:44.184] name <- added[[kk]] [17:27:44.184] NAME <- NAMES[[kk]] [17:27:44.184] if (name != NAME && is.element(NAME, old_names)) [17:27:44.184] next [17:27:44.184] args[[name]] <- "" [17:27:44.184] } [17:27:44.184] NAMES <- toupper(removed) [17:27:44.184] for (kk in seq_along(NAMES)) { [17:27:44.184] name <- removed[[kk]] [17:27:44.184] NAME <- NAMES[[kk]] [17:27:44.184] if (name != NAME && is.element(NAME, old_names)) [17:27:44.184] next [17:27:44.184] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.184] } [17:27:44.184] if (length(args) > 0) [17:27:44.184] base::do.call(base::Sys.setenv, args = args) [17:27:44.184] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:44.184] } [17:27:44.184] { [17:27:44.184] if (base::length(...future.futureOptionsAdded) > [17:27:44.184] 0L) { [17:27:44.184] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:44.184] base::names(opts) <- ...future.futureOptionsAdded [17:27:44.184] base::options(opts) [17:27:44.184] } [17:27:44.184] { [17:27:44.184] { [17:27:44.184] base::options(mc.cores = ...future.mc.cores.old) [17:27:44.184] NULL [17:27:44.184] } [17:27:44.184] options(future.plan = NULL) [17:27:44.184] if (is.na(NA_character_)) [17:27:44.184] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.184] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:44.184] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:44.184] .init = FALSE) [17:27:44.184] } [17:27:44.184] } [17:27:44.184] } [17:27:44.184] }) [17:27:44.184] if (TRUE) { [17:27:44.184] base::sink(type = "output", split = FALSE) [17:27:44.184] if (TRUE) { [17:27:44.184] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:44.184] } [17:27:44.184] else { [17:27:44.184] ...future.result["stdout"] <- base::list(NULL) [17:27:44.184] } [17:27:44.184] base::close(...future.stdout) [17:27:44.184] ...future.stdout <- NULL [17:27:44.184] } [17:27:44.184] ...future.result$conditions <- ...future.conditions [17:27:44.184] ...future.result$finished <- base::Sys.time() [17:27:44.184] ...future.result [17:27:44.184] } [17:27:44.192] MultisessionFuture started [17:27:44.192] - Launch lazy future ... done [17:27:44.193] run() for 'MultisessionFuture' ... done [17:27:44.193] result() for ClusterFuture ... [17:27:44.194] receiveMessageFromWorker() for ClusterFuture ... [17:27:44.194] - Validating connection of MultisessionFuture [17:27:44.218] - received message: FutureResult [17:27:44.219] - Received FutureResult [17:27:44.219] - Erased future from FutureRegistry [17:27:44.219] result() for ClusterFuture ... [17:27:44.220] - result already collected: FutureResult [17:27:44.220] result() for ClusterFuture ... done [17:27:44.220] receiveMessageFromWorker() for ClusterFuture ... done [17:27:44.221] result() for ClusterFuture ... done [17:27:44.221] result() for ClusterFuture ... [17:27:44.221] - result already collected: FutureResult [17:27:44.222] result() for ClusterFuture ... done [17:27:44.222] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'error' [17:27:44.223] Searching for globals... [17:27:44.225] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:44.225] Searching for globals... [17:27:44.227] - globals found: [5] '$', 'subset', 'data', '<', 'x' [17:27:44.227] Searching for globals ... DONE [17:27:44.227] Resolving globals: FALSE [17:27:44.228] The total size of the 1 globals is 356 bytes (356 bytes) [17:27:44.228] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 356 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (356 bytes of class 'list') [17:27:44.228] - globals: [1] 'data' [17:27:44.229] [17:27:44.229] getGlobalsAndPackages() ... DONE [17:27:44.229] run() for 'Future' ... [17:27:44.229] - state: 'created' [17:27:44.230] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:27:44.247] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:27:44.247] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:27:44.247] - Field: 'node' [17:27:44.248] - Field: 'label' [17:27:44.248] - Field: 'local' [17:27:44.248] - Field: 'owner' [17:27:44.248] - Field: 'envir' [17:27:44.248] - Field: 'workers' [17:27:44.249] - Field: 'packages' [17:27:44.249] - Field: 'gc' [17:27:44.249] - Field: 'conditions' [17:27:44.249] - Field: 'persistent' [17:27:44.249] - Field: 'expr' [17:27:44.250] - Field: 'uuid' [17:27:44.250] - Field: 'seed' [17:27:44.250] - Field: 'version' [17:27:44.250] - Field: 'result' [17:27:44.250] - Field: 'asynchronous' [17:27:44.251] - Field: 'calls' [17:27:44.251] - Field: 'globals' [17:27:44.251] - Field: 'stdout' [17:27:44.251] - Field: 'earlySignal' [17:27:44.252] - Field: 'lazy' [17:27:44.252] - Field: 'state' [17:27:44.252] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:27:44.253] - Launch lazy future ... [17:27:44.254] Packages needed by the future expression (n = 0): [17:27:44.254] Packages needed by future strategies (n = 0): [17:27:44.255] { [17:27:44.255] { [17:27:44.255] { [17:27:44.255] ...future.startTime <- base::Sys.time() [17:27:44.255] { [17:27:44.255] { [17:27:44.255] { [17:27:44.255] { [17:27:44.255] base::local({ [17:27:44.255] has_future <- base::requireNamespace("future", [17:27:44.255] quietly = TRUE) [17:27:44.255] if (has_future) { [17:27:44.255] ns <- base::getNamespace("future") [17:27:44.255] version <- ns[[".package"]][["version"]] [17:27:44.255] if (is.null(version)) [17:27:44.255] version <- utils::packageVersion("future") [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] version <- NULL [17:27:44.255] } [17:27:44.255] if (!has_future || version < "1.8.0") { [17:27:44.255] info <- base::c(r_version = base::gsub("R version ", [17:27:44.255] "", base::R.version$version.string), [17:27:44.255] platform = base::sprintf("%s (%s-bit)", [17:27:44.255] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:44.255] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:44.255] "release", "version")], collapse = " "), [17:27:44.255] hostname = base::Sys.info()[["nodename"]]) [17:27:44.255] info <- base::sprintf("%s: %s", base::names(info), [17:27:44.255] info) [17:27:44.255] info <- base::paste(info, collapse = "; ") [17:27:44.255] if (!has_future) { [17:27:44.255] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:44.255] info) [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:44.255] info, version) [17:27:44.255] } [17:27:44.255] base::stop(msg) [17:27:44.255] } [17:27:44.255] }) [17:27:44.255] } [17:27:44.255] ...future.mc.cores.old <- base::getOption("mc.cores") [17:27:44.255] base::options(mc.cores = 1L) [17:27:44.255] } [17:27:44.255] ...future.strategy.old <- future::plan("list") [17:27:44.255] options(future.plan = NULL) [17:27:44.255] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.255] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:44.255] } [17:27:44.255] ...future.workdir <- getwd() [17:27:44.255] } [17:27:44.255] ...future.oldOptions <- base::as.list(base::.Options) [17:27:44.255] ...future.oldEnvVars <- base::Sys.getenv() [17:27:44.255] } [17:27:44.255] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:44.255] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:44.255] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:44.255] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:44.255] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:44.255] future.stdout.windows.reencode = NULL, width = 80L) [17:27:44.255] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:44.255] base::names(...future.oldOptions)) [17:27:44.255] } [17:27:44.255] if (FALSE) { [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] if (TRUE) { [17:27:44.255] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:44.255] open = "w") [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:44.255] windows = "NUL", "/dev/null"), open = "w") [17:27:44.255] } [17:27:44.255] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:44.255] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:44.255] base::sink(type = "output", split = FALSE) [17:27:44.255] base::close(...future.stdout) [17:27:44.255] }, add = TRUE) [17:27:44.255] } [17:27:44.255] ...future.frame <- base::sys.nframe() [17:27:44.255] ...future.conditions <- base::list() [17:27:44.255] ...future.rng <- base::globalenv()$.Random.seed [17:27:44.255] if (FALSE) { [17:27:44.255] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:44.255] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:44.255] } [17:27:44.255] ...future.result <- base::tryCatch({ [17:27:44.255] base::withCallingHandlers({ [17:27:44.255] ...future.value <- base::withVisible(base::local({ [17:27:44.255] ...future.makeSendCondition <- base::local({ [17:27:44.255] sendCondition <- NULL [17:27:44.255] function(frame = 1L) { [17:27:44.255] if (is.function(sendCondition)) [17:27:44.255] return(sendCondition) [17:27:44.255] ns <- getNamespace("parallel") [17:27:44.255] if (exists("sendData", mode = "function", [17:27:44.255] envir = ns)) { [17:27:44.255] parallel_sendData <- get("sendData", mode = "function", [17:27:44.255] envir = ns) [17:27:44.255] envir <- sys.frame(frame) [17:27:44.255] master <- NULL [17:27:44.255] while (!identical(envir, .GlobalEnv) && [17:27:44.255] !identical(envir, emptyenv())) { [17:27:44.255] if (exists("master", mode = "list", envir = envir, [17:27:44.255] inherits = FALSE)) { [17:27:44.255] master <- get("master", mode = "list", [17:27:44.255] envir = envir, inherits = FALSE) [17:27:44.255] if (inherits(master, c("SOCKnode", [17:27:44.255] "SOCK0node"))) { [17:27:44.255] sendCondition <<- function(cond) { [17:27:44.255] data <- list(type = "VALUE", value = cond, [17:27:44.255] success = TRUE) [17:27:44.255] parallel_sendData(master, data) [17:27:44.255] } [17:27:44.255] return(sendCondition) [17:27:44.255] } [17:27:44.255] } [17:27:44.255] frame <- frame + 1L [17:27:44.255] envir <- sys.frame(frame) [17:27:44.255] } [17:27:44.255] } [17:27:44.255] sendCondition <<- function(cond) NULL [17:27:44.255] } [17:27:44.255] }) [17:27:44.255] withCallingHandlers({ [17:27:44.255] subset(data, x < 3)$y [17:27:44.255] }, immediateCondition = function(cond) { [17:27:44.255] sendCondition <- ...future.makeSendCondition() [17:27:44.255] sendCondition(cond) [17:27:44.255] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.255] { [17:27:44.255] inherits <- base::inherits [17:27:44.255] invokeRestart <- base::invokeRestart [17:27:44.255] is.null <- base::is.null [17:27:44.255] muffled <- FALSE [17:27:44.255] if (inherits(cond, "message")) { [17:27:44.255] muffled <- grepl(pattern, "muffleMessage") [17:27:44.255] if (muffled) [17:27:44.255] invokeRestart("muffleMessage") [17:27:44.255] } [17:27:44.255] else if (inherits(cond, "warning")) { [17:27:44.255] muffled <- grepl(pattern, "muffleWarning") [17:27:44.255] if (muffled) [17:27:44.255] invokeRestart("muffleWarning") [17:27:44.255] } [17:27:44.255] else if (inherits(cond, "condition")) { [17:27:44.255] if (!is.null(pattern)) { [17:27:44.255] computeRestarts <- base::computeRestarts [17:27:44.255] grepl <- base::grepl [17:27:44.255] restarts <- computeRestarts(cond) [17:27:44.255] for (restart in restarts) { [17:27:44.255] name <- restart$name [17:27:44.255] if (is.null(name)) [17:27:44.255] next [17:27:44.255] if (!grepl(pattern, name)) [17:27:44.255] next [17:27:44.255] invokeRestart(restart) [17:27:44.255] muffled <- TRUE [17:27:44.255] break [17:27:44.255] } [17:27:44.255] } [17:27:44.255] } [17:27:44.255] invisible(muffled) [17:27:44.255] } [17:27:44.255] muffleCondition(cond) [17:27:44.255] }) [17:27:44.255] })) [17:27:44.255] future::FutureResult(value = ...future.value$value, [17:27:44.255] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.255] ...future.rng), globalenv = if (FALSE) [17:27:44.255] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:44.255] ...future.globalenv.names)) [17:27:44.255] else NULL, started = ...future.startTime, version = "1.8") [17:27:44.255] }, condition = base::local({ [17:27:44.255] c <- base::c [17:27:44.255] inherits <- base::inherits [17:27:44.255] invokeRestart <- base::invokeRestart [17:27:44.255] length <- base::length [17:27:44.255] list <- base::list [17:27:44.255] seq.int <- base::seq.int [17:27:44.255] signalCondition <- base::signalCondition [17:27:44.255] sys.calls <- base::sys.calls [17:27:44.255] `[[` <- base::`[[` [17:27:44.255] `+` <- base::`+` [17:27:44.255] `<<-` <- base::`<<-` [17:27:44.255] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:44.255] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:44.255] 3L)] [17:27:44.255] } [17:27:44.255] function(cond) { [17:27:44.255] is_error <- inherits(cond, "error") [17:27:44.255] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:44.255] NULL) [17:27:44.255] if (is_error) { [17:27:44.255] sessionInformation <- function() { [17:27:44.255] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:44.255] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:44.255] search = base::search(), system = base::Sys.info()) [17:27:44.255] } [17:27:44.255] ...future.conditions[[length(...future.conditions) + [17:27:44.255] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:44.255] cond$call), session = sessionInformation(), [17:27:44.255] timestamp = base::Sys.time(), signaled = 0L) [17:27:44.255] signalCondition(cond) [17:27:44.255] } [17:27:44.255] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:44.255] "immediateCondition"))) { [17:27:44.255] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:44.255] ...future.conditions[[length(...future.conditions) + [17:27:44.255] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:44.255] if (TRUE && !signal) { [17:27:44.255] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.255] { [17:27:44.255] inherits <- base::inherits [17:27:44.255] invokeRestart <- base::invokeRestart [17:27:44.255] is.null <- base::is.null [17:27:44.255] muffled <- FALSE [17:27:44.255] if (inherits(cond, "message")) { [17:27:44.255] muffled <- grepl(pattern, "muffleMessage") [17:27:44.255] if (muffled) [17:27:44.255] invokeRestart("muffleMessage") [17:27:44.255] } [17:27:44.255] else if (inherits(cond, "warning")) { [17:27:44.255] muffled <- grepl(pattern, "muffleWarning") [17:27:44.255] if (muffled) [17:27:44.255] invokeRestart("muffleWarning") [17:27:44.255] } [17:27:44.255] else if (inherits(cond, "condition")) { [17:27:44.255] if (!is.null(pattern)) { [17:27:44.255] computeRestarts <- base::computeRestarts [17:27:44.255] grepl <- base::grepl [17:27:44.255] restarts <- computeRestarts(cond) [17:27:44.255] for (restart in restarts) { [17:27:44.255] name <- restart$name [17:27:44.255] if (is.null(name)) [17:27:44.255] next [17:27:44.255] if (!grepl(pattern, name)) [17:27:44.255] next [17:27:44.255] invokeRestart(restart) [17:27:44.255] muffled <- TRUE [17:27:44.255] break [17:27:44.255] } [17:27:44.255] } [17:27:44.255] } [17:27:44.255] invisible(muffled) [17:27:44.255] } [17:27:44.255] muffleCondition(cond, pattern = "^muffle") [17:27:44.255] } [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] if (TRUE) { [17:27:44.255] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.255] { [17:27:44.255] inherits <- base::inherits [17:27:44.255] invokeRestart <- base::invokeRestart [17:27:44.255] is.null <- base::is.null [17:27:44.255] muffled <- FALSE [17:27:44.255] if (inherits(cond, "message")) { [17:27:44.255] muffled <- grepl(pattern, "muffleMessage") [17:27:44.255] if (muffled) [17:27:44.255] invokeRestart("muffleMessage") [17:27:44.255] } [17:27:44.255] else if (inherits(cond, "warning")) { [17:27:44.255] muffled <- grepl(pattern, "muffleWarning") [17:27:44.255] if (muffled) [17:27:44.255] invokeRestart("muffleWarning") [17:27:44.255] } [17:27:44.255] else if (inherits(cond, "condition")) { [17:27:44.255] if (!is.null(pattern)) { [17:27:44.255] computeRestarts <- base::computeRestarts [17:27:44.255] grepl <- base::grepl [17:27:44.255] restarts <- computeRestarts(cond) [17:27:44.255] for (restart in restarts) { [17:27:44.255] name <- restart$name [17:27:44.255] if (is.null(name)) [17:27:44.255] next [17:27:44.255] if (!grepl(pattern, name)) [17:27:44.255] next [17:27:44.255] invokeRestart(restart) [17:27:44.255] muffled <- TRUE [17:27:44.255] break [17:27:44.255] } [17:27:44.255] } [17:27:44.255] } [17:27:44.255] invisible(muffled) [17:27:44.255] } [17:27:44.255] muffleCondition(cond, pattern = "^muffle") [17:27:44.255] } [17:27:44.255] } [17:27:44.255] } [17:27:44.255] })) [17:27:44.255] }, error = function(ex) { [17:27:44.255] base::structure(base::list(value = NULL, visible = NULL, [17:27:44.255] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.255] ...future.rng), started = ...future.startTime, [17:27:44.255] finished = Sys.time(), session_uuid = NA_character_, [17:27:44.255] version = "1.8"), class = "FutureResult") [17:27:44.255] }, finally = { [17:27:44.255] if (!identical(...future.workdir, getwd())) [17:27:44.255] setwd(...future.workdir) [17:27:44.255] { [17:27:44.255] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:44.255] ...future.oldOptions$nwarnings <- NULL [17:27:44.255] } [17:27:44.255] base::options(...future.oldOptions) [17:27:44.255] if (.Platform$OS.type == "windows") { [17:27:44.255] old_names <- names(...future.oldEnvVars) [17:27:44.255] envs <- base::Sys.getenv() [17:27:44.255] names <- names(envs) [17:27:44.255] common <- intersect(names, old_names) [17:27:44.255] added <- setdiff(names, old_names) [17:27:44.255] removed <- setdiff(old_names, names) [17:27:44.255] changed <- common[...future.oldEnvVars[common] != [17:27:44.255] envs[common]] [17:27:44.255] NAMES <- toupper(changed) [17:27:44.255] args <- list() [17:27:44.255] for (kk in seq_along(NAMES)) { [17:27:44.255] name <- changed[[kk]] [17:27:44.255] NAME <- NAMES[[kk]] [17:27:44.255] if (name != NAME && is.element(NAME, old_names)) [17:27:44.255] next [17:27:44.255] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.255] } [17:27:44.255] NAMES <- toupper(added) [17:27:44.255] for (kk in seq_along(NAMES)) { [17:27:44.255] name <- added[[kk]] [17:27:44.255] NAME <- NAMES[[kk]] [17:27:44.255] if (name != NAME && is.element(NAME, old_names)) [17:27:44.255] next [17:27:44.255] args[[name]] <- "" [17:27:44.255] } [17:27:44.255] NAMES <- toupper(removed) [17:27:44.255] for (kk in seq_along(NAMES)) { [17:27:44.255] name <- removed[[kk]] [17:27:44.255] NAME <- NAMES[[kk]] [17:27:44.255] if (name != NAME && is.element(NAME, old_names)) [17:27:44.255] next [17:27:44.255] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.255] } [17:27:44.255] if (length(args) > 0) [17:27:44.255] base::do.call(base::Sys.setenv, args = args) [17:27:44.255] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:44.255] } [17:27:44.255] { [17:27:44.255] if (base::length(...future.futureOptionsAdded) > [17:27:44.255] 0L) { [17:27:44.255] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:44.255] base::names(opts) <- ...future.futureOptionsAdded [17:27:44.255] base::options(opts) [17:27:44.255] } [17:27:44.255] { [17:27:44.255] { [17:27:44.255] base::options(mc.cores = ...future.mc.cores.old) [17:27:44.255] NULL [17:27:44.255] } [17:27:44.255] options(future.plan = NULL) [17:27:44.255] if (is.na(NA_character_)) [17:27:44.255] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.255] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:44.255] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:44.255] .init = FALSE) [17:27:44.255] } [17:27:44.255] } [17:27:44.255] } [17:27:44.255] }) [17:27:44.255] if (TRUE) { [17:27:44.255] base::sink(type = "output", split = FALSE) [17:27:44.255] if (TRUE) { [17:27:44.255] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:44.255] } [17:27:44.255] else { [17:27:44.255] ...future.result["stdout"] <- base::list(NULL) [17:27:44.255] } [17:27:44.255] base::close(...future.stdout) [17:27:44.255] ...future.stdout <- NULL [17:27:44.255] } [17:27:44.255] ...future.result$conditions <- ...future.conditions [17:27:44.255] ...future.result$finished <- base::Sys.time() [17:27:44.255] ...future.result [17:27:44.255] } [17:27:44.264] Exporting 1 global objects (639 bytes) to cluster node #1 ... [17:27:44.265] Exporting 'data' (356 bytes) to cluster node #1 ... [17:27:44.266] Exporting 'data' (356 bytes) to cluster node #1 ... DONE [17:27:44.266] Exporting 1 global objects (639 bytes) to cluster node #1 ... DONE [17:27:44.267] MultisessionFuture started [17:27:44.267] - Launch lazy future ... done [17:27:44.268] run() for 'MultisessionFuture' ... done [17:27:44.268] result() for ClusterFuture ... [17:27:44.269] receiveMessageFromWorker() for ClusterFuture ... [17:27:44.269] - Validating connection of MultisessionFuture [17:27:44.291] - received message: FutureResult [17:27:44.292] - Received FutureResult [17:27:44.292] - Erased future from FutureRegistry [17:27:44.293] result() for ClusterFuture ... [17:27:44.293] - result already collected: FutureResult [17:27:44.293] result() for ClusterFuture ... done [17:27:44.293] receiveMessageFromWorker() for ClusterFuture ... done [17:27:44.294] result() for ClusterFuture ... done [17:27:44.294] result() for ClusterFuture ... [17:27:44.294] - result already collected: FutureResult [17:27:44.295] result() for ClusterFuture ... done [17:27:44.295] plan(): Setting new future strategy stack: [17:27:44.296] List of future strategies: [17:27:44.296] 1. sequential: [17:27:44.296] - args: function (..., envir = parent.frame(), workers = "") [17:27:44.296] - tweaked: FALSE [17:27:44.296] - call: plan(list(sequential, strategy)) [17:27:44.296] 2. multisession: [17:27:44.296] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:44.296] - tweaked: FALSE [17:27:44.296] - call: plan(list(sequential, strategy)) [17:27:44.307] plan(): nbrOfWorkers() = 1 [17:27:44.308] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:44.309] Searching for globals... [17:27:44.323] - globals found: [8] '{', '<-', '$', 'subset', 'data', '<', 'x', '%<-%' [17:27:44.324] Searching for globals ... DONE [17:27:44.324] Resolving globals: FALSE [17:27:44.326] The total size of the 1 globals is 356 bytes (356 bytes) [17:27:44.326] The total size of the 1 globals exported for future expression ('{; a %<-% subset(data, x < 3)$y; a; }') is 356 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (356 bytes of class 'list') [17:27:44.327] - globals: [1] 'data' [17:27:44.327] - packages: [1] 'future' [17:27:44.328] getGlobalsAndPackages() ... DONE [17:27:44.328] run() for 'Future' ... [17:27:44.329] - state: 'created' [17:27:44.329] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:44.330] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:44.331] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:44.331] - Field: 'label' [17:27:44.331] - Field: 'local' [17:27:44.332] - Field: 'owner' [17:27:44.332] - Field: 'envir' [17:27:44.332] - Field: 'packages' [17:27:44.333] - Field: 'gc' [17:27:44.333] - Field: 'conditions' [17:27:44.333] - Field: 'expr' [17:27:44.334] - Field: 'uuid' [17:27:44.334] - Field: 'seed' [17:27:44.334] - Field: 'version' [17:27:44.335] - Field: 'result' [17:27:44.335] - Field: 'asynchronous' [17:27:44.335] - Field: 'calls' [17:27:44.336] - Field: 'globals' [17:27:44.336] - Field: 'stdout' [17:27:44.336] - Field: 'earlySignal' [17:27:44.337] - Field: 'lazy' [17:27:44.337] - Field: 'state' [17:27:44.337] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:44.338] - Launch lazy future ... [17:27:44.338] Packages needed by the future expression (n = 1): 'future' [17:27:44.339] Packages needed by future strategies (n = 1): 'future' [17:27:44.340] { [17:27:44.340] { [17:27:44.340] { [17:27:44.340] ...future.startTime <- base::Sys.time() [17:27:44.340] { [17:27:44.340] { [17:27:44.340] { [17:27:44.340] { [17:27:44.340] base::local({ [17:27:44.340] has_future <- base::requireNamespace("future", [17:27:44.340] quietly = TRUE) [17:27:44.340] if (has_future) { [17:27:44.340] ns <- base::getNamespace("future") [17:27:44.340] version <- ns[[".package"]][["version"]] [17:27:44.340] if (is.null(version)) [17:27:44.340] version <- utils::packageVersion("future") [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] version <- NULL [17:27:44.340] } [17:27:44.340] if (!has_future || version < "1.8.0") { [17:27:44.340] info <- base::c(r_version = base::gsub("R version ", [17:27:44.340] "", base::R.version$version.string), [17:27:44.340] platform = base::sprintf("%s (%s-bit)", [17:27:44.340] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:44.340] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:44.340] "release", "version")], collapse = " "), [17:27:44.340] hostname = base::Sys.info()[["nodename"]]) [17:27:44.340] info <- base::sprintf("%s: %s", base::names(info), [17:27:44.340] info) [17:27:44.340] info <- base::paste(info, collapse = "; ") [17:27:44.340] if (!has_future) { [17:27:44.340] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:44.340] info) [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:44.340] info, version) [17:27:44.340] } [17:27:44.340] base::stop(msg) [17:27:44.340] } [17:27:44.340] }) [17:27:44.340] } [17:27:44.340] base::local({ [17:27:44.340] for (pkg in "future") { [17:27:44.340] base::loadNamespace(pkg) [17:27:44.340] base::library(pkg, character.only = TRUE) [17:27:44.340] } [17:27:44.340] }) [17:27:44.340] } [17:27:44.340] ...future.strategy.old <- future::plan("list") [17:27:44.340] options(future.plan = NULL) [17:27:44.340] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.340] future::plan(list(function (..., workers = availableCores(), [17:27:44.340] lazy = FALSE, rscript_libs = .libPaths(), [17:27:44.340] envir = parent.frame()) [17:27:44.340] { [17:27:44.340] if (is.function(workers)) [17:27:44.340] workers <- workers() [17:27:44.340] workers <- structure(as.integer(workers), [17:27:44.340] class = class(workers)) [17:27:44.340] stop_if_not(length(workers) == 1, is.finite(workers), [17:27:44.340] workers >= 1) [17:27:44.340] if (workers == 1L && !inherits(workers, "AsIs")) { [17:27:44.340] return(sequential(..., lazy = TRUE, envir = envir)) [17:27:44.340] } [17:27:44.340] future <- MultisessionFuture(..., workers = workers, [17:27:44.340] lazy = lazy, rscript_libs = rscript_libs, [17:27:44.340] envir = envir) [17:27:44.340] if (!future$lazy) [17:27:44.340] future <- run(future) [17:27:44.340] invisible(future) [17:27:44.340] }), .cleanup = FALSE, .init = FALSE) [17:27:44.340] } [17:27:44.340] ...future.workdir <- getwd() [17:27:44.340] } [17:27:44.340] ...future.oldOptions <- base::as.list(base::.Options) [17:27:44.340] ...future.oldEnvVars <- base::Sys.getenv() [17:27:44.340] } [17:27:44.340] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:44.340] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:44.340] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:44.340] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:44.340] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:44.340] future.stdout.windows.reencode = NULL, width = 80L) [17:27:44.340] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:44.340] base::names(...future.oldOptions)) [17:27:44.340] } [17:27:44.340] if (FALSE) { [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] if (TRUE) { [17:27:44.340] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:44.340] open = "w") [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:44.340] windows = "NUL", "/dev/null"), open = "w") [17:27:44.340] } [17:27:44.340] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:44.340] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:44.340] base::sink(type = "output", split = FALSE) [17:27:44.340] base::close(...future.stdout) [17:27:44.340] }, add = TRUE) [17:27:44.340] } [17:27:44.340] ...future.frame <- base::sys.nframe() [17:27:44.340] ...future.conditions <- base::list() [17:27:44.340] ...future.rng <- base::globalenv()$.Random.seed [17:27:44.340] if (FALSE) { [17:27:44.340] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:44.340] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:44.340] } [17:27:44.340] ...future.result <- base::tryCatch({ [17:27:44.340] base::withCallingHandlers({ [17:27:44.340] ...future.value <- base::withVisible(base::local({ [17:27:44.340] a %<-% subset(data, x < 3)$y [17:27:44.340] a [17:27:44.340] })) [17:27:44.340] future::FutureResult(value = ...future.value$value, [17:27:44.340] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.340] ...future.rng), globalenv = if (FALSE) [17:27:44.340] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:44.340] ...future.globalenv.names)) [17:27:44.340] else NULL, started = ...future.startTime, version = "1.8") [17:27:44.340] }, condition = base::local({ [17:27:44.340] c <- base::c [17:27:44.340] inherits <- base::inherits [17:27:44.340] invokeRestart <- base::invokeRestart [17:27:44.340] length <- base::length [17:27:44.340] list <- base::list [17:27:44.340] seq.int <- base::seq.int [17:27:44.340] signalCondition <- base::signalCondition [17:27:44.340] sys.calls <- base::sys.calls [17:27:44.340] `[[` <- base::`[[` [17:27:44.340] `+` <- base::`+` [17:27:44.340] `<<-` <- base::`<<-` [17:27:44.340] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:44.340] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:44.340] 3L)] [17:27:44.340] } [17:27:44.340] function(cond) { [17:27:44.340] is_error <- inherits(cond, "error") [17:27:44.340] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:44.340] NULL) [17:27:44.340] if (is_error) { [17:27:44.340] sessionInformation <- function() { [17:27:44.340] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:44.340] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:44.340] search = base::search(), system = base::Sys.info()) [17:27:44.340] } [17:27:44.340] ...future.conditions[[length(...future.conditions) + [17:27:44.340] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:44.340] cond$call), session = sessionInformation(), [17:27:44.340] timestamp = base::Sys.time(), signaled = 0L) [17:27:44.340] signalCondition(cond) [17:27:44.340] } [17:27:44.340] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:44.340] "immediateCondition"))) { [17:27:44.340] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:44.340] ...future.conditions[[length(...future.conditions) + [17:27:44.340] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:44.340] if (TRUE && !signal) { [17:27:44.340] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.340] { [17:27:44.340] inherits <- base::inherits [17:27:44.340] invokeRestart <- base::invokeRestart [17:27:44.340] is.null <- base::is.null [17:27:44.340] muffled <- FALSE [17:27:44.340] if (inherits(cond, "message")) { [17:27:44.340] muffled <- grepl(pattern, "muffleMessage") [17:27:44.340] if (muffled) [17:27:44.340] invokeRestart("muffleMessage") [17:27:44.340] } [17:27:44.340] else if (inherits(cond, "warning")) { [17:27:44.340] muffled <- grepl(pattern, "muffleWarning") [17:27:44.340] if (muffled) [17:27:44.340] invokeRestart("muffleWarning") [17:27:44.340] } [17:27:44.340] else if (inherits(cond, "condition")) { [17:27:44.340] if (!is.null(pattern)) { [17:27:44.340] computeRestarts <- base::computeRestarts [17:27:44.340] grepl <- base::grepl [17:27:44.340] restarts <- computeRestarts(cond) [17:27:44.340] for (restart in restarts) { [17:27:44.340] name <- restart$name [17:27:44.340] if (is.null(name)) [17:27:44.340] next [17:27:44.340] if (!grepl(pattern, name)) [17:27:44.340] next [17:27:44.340] invokeRestart(restart) [17:27:44.340] muffled <- TRUE [17:27:44.340] break [17:27:44.340] } [17:27:44.340] } [17:27:44.340] } [17:27:44.340] invisible(muffled) [17:27:44.340] } [17:27:44.340] muffleCondition(cond, pattern = "^muffle") [17:27:44.340] } [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] if (TRUE) { [17:27:44.340] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.340] { [17:27:44.340] inherits <- base::inherits [17:27:44.340] invokeRestart <- base::invokeRestart [17:27:44.340] is.null <- base::is.null [17:27:44.340] muffled <- FALSE [17:27:44.340] if (inherits(cond, "message")) { [17:27:44.340] muffled <- grepl(pattern, "muffleMessage") [17:27:44.340] if (muffled) [17:27:44.340] invokeRestart("muffleMessage") [17:27:44.340] } [17:27:44.340] else if (inherits(cond, "warning")) { [17:27:44.340] muffled <- grepl(pattern, "muffleWarning") [17:27:44.340] if (muffled) [17:27:44.340] invokeRestart("muffleWarning") [17:27:44.340] } [17:27:44.340] else if (inherits(cond, "condition")) { [17:27:44.340] if (!is.null(pattern)) { [17:27:44.340] computeRestarts <- base::computeRestarts [17:27:44.340] grepl <- base::grepl [17:27:44.340] restarts <- computeRestarts(cond) [17:27:44.340] for (restart in restarts) { [17:27:44.340] name <- restart$name [17:27:44.340] if (is.null(name)) [17:27:44.340] next [17:27:44.340] if (!grepl(pattern, name)) [17:27:44.340] next [17:27:44.340] invokeRestart(restart) [17:27:44.340] muffled <- TRUE [17:27:44.340] break [17:27:44.340] } [17:27:44.340] } [17:27:44.340] } [17:27:44.340] invisible(muffled) [17:27:44.340] } [17:27:44.340] muffleCondition(cond, pattern = "^muffle") [17:27:44.340] } [17:27:44.340] } [17:27:44.340] } [17:27:44.340] })) [17:27:44.340] }, error = function(ex) { [17:27:44.340] base::structure(base::list(value = NULL, visible = NULL, [17:27:44.340] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.340] ...future.rng), started = ...future.startTime, [17:27:44.340] finished = Sys.time(), session_uuid = NA_character_, [17:27:44.340] version = "1.8"), class = "FutureResult") [17:27:44.340] }, finally = { [17:27:44.340] if (!identical(...future.workdir, getwd())) [17:27:44.340] setwd(...future.workdir) [17:27:44.340] { [17:27:44.340] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:44.340] ...future.oldOptions$nwarnings <- NULL [17:27:44.340] } [17:27:44.340] base::options(...future.oldOptions) [17:27:44.340] if (.Platform$OS.type == "windows") { [17:27:44.340] old_names <- names(...future.oldEnvVars) [17:27:44.340] envs <- base::Sys.getenv() [17:27:44.340] names <- names(envs) [17:27:44.340] common <- intersect(names, old_names) [17:27:44.340] added <- setdiff(names, old_names) [17:27:44.340] removed <- setdiff(old_names, names) [17:27:44.340] changed <- common[...future.oldEnvVars[common] != [17:27:44.340] envs[common]] [17:27:44.340] NAMES <- toupper(changed) [17:27:44.340] args <- list() [17:27:44.340] for (kk in seq_along(NAMES)) { [17:27:44.340] name <- changed[[kk]] [17:27:44.340] NAME <- NAMES[[kk]] [17:27:44.340] if (name != NAME && is.element(NAME, old_names)) [17:27:44.340] next [17:27:44.340] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.340] } [17:27:44.340] NAMES <- toupper(added) [17:27:44.340] for (kk in seq_along(NAMES)) { [17:27:44.340] name <- added[[kk]] [17:27:44.340] NAME <- NAMES[[kk]] [17:27:44.340] if (name != NAME && is.element(NAME, old_names)) [17:27:44.340] next [17:27:44.340] args[[name]] <- "" [17:27:44.340] } [17:27:44.340] NAMES <- toupper(removed) [17:27:44.340] for (kk in seq_along(NAMES)) { [17:27:44.340] name <- removed[[kk]] [17:27:44.340] NAME <- NAMES[[kk]] [17:27:44.340] if (name != NAME && is.element(NAME, old_names)) [17:27:44.340] next [17:27:44.340] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.340] } [17:27:44.340] if (length(args) > 0) [17:27:44.340] base::do.call(base::Sys.setenv, args = args) [17:27:44.340] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:44.340] } [17:27:44.340] { [17:27:44.340] if (base::length(...future.futureOptionsAdded) > [17:27:44.340] 0L) { [17:27:44.340] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:44.340] base::names(opts) <- ...future.futureOptionsAdded [17:27:44.340] base::options(opts) [17:27:44.340] } [17:27:44.340] { [17:27:44.340] { [17:27:44.340] NULL [17:27:44.340] RNGkind("Mersenne-Twister") [17:27:44.340] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:44.340] inherits = FALSE) [17:27:44.340] } [17:27:44.340] options(future.plan = NULL) [17:27:44.340] if (is.na(NA_character_)) [17:27:44.340] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.340] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:44.340] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:44.340] .init = FALSE) [17:27:44.340] } [17:27:44.340] } [17:27:44.340] } [17:27:44.340] }) [17:27:44.340] if (TRUE) { [17:27:44.340] base::sink(type = "output", split = FALSE) [17:27:44.340] if (TRUE) { [17:27:44.340] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:44.340] } [17:27:44.340] else { [17:27:44.340] ...future.result["stdout"] <- base::list(NULL) [17:27:44.340] } [17:27:44.340] base::close(...future.stdout) [17:27:44.340] ...future.stdout <- NULL [17:27:44.340] } [17:27:44.340] ...future.result$conditions <- ...future.conditions [17:27:44.340] ...future.result$finished <- base::Sys.time() [17:27:44.340] ...future.result [17:27:44.340] } [17:27:44.348] assign_globals() ... [17:27:44.349] List of 1 [17:27:44.349] $ data:'data.frame': 5 obs. of 2 variables: [17:27:44.349] ..$ x: int [1:5] 1 2 3 4 5 [17:27:44.349] ..$ y: int [1:5] 1 2 3 4 5 [17:27:44.349] - attr(*, "where")=List of 1 [17:27:44.349] ..$ data: [17:27:44.349] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [17:27:44.349] - attr(*, "resolved")= logi FALSE [17:27:44.349] - attr(*, "total_size")= int 356 [17:27:44.349] - attr(*, "already-done")= logi TRUE [17:27:44.357] - copied 'data' to environment [17:27:44.357] assign_globals() ... done [17:27:44.358] plan(): Setting new future strategy stack: [17:27:44.359] List of future strategies: [17:27:44.359] 1. multisession: [17:27:44.359] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:44.359] - tweaked: FALSE [17:27:44.359] - call: plan(list(sequential, strategy)) [17:27:44.364] plan(): nbrOfWorkers() = 2 [17:27:45.051] plan(): Setting new future strategy stack: [17:27:45.052] List of future strategies: [17:27:45.052] 1. sequential: [17:27:45.052] - args: function (..., envir = parent.frame(), workers = "") [17:27:45.052] - tweaked: FALSE [17:27:45.052] - call: plan(list(sequential, strategy)) [17:27:45.052] 2. multisession: [17:27:45.052] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:45.052] - tweaked: FALSE [17:27:45.052] - call: plan(list(sequential, strategy)) [17:27:45.058] plan(): nbrOfWorkers() = 1 [17:27:45.058] SequentialFuture started (and completed) [17:27:45.059] signalConditions() ... [17:27:45.059] - include = 'immediateCondition' [17:27:45.059] - exclude = [17:27:45.059] - resignal = FALSE [17:27:45.060] - Number of conditions: 94 [17:27:45.060] signalConditions() ... done [17:27:45.060] - Launch lazy future ... done [17:27:45.060] run() for 'SequentialFuture' ... done [17:27:45.061] signalConditions() ... [17:27:45.061] - include = 'immediateCondition' [17:27:45.061] - exclude = [17:27:45.061] - resignal = FALSE [17:27:45.062] - Number of conditions: 94 [17:27:45.062] signalConditions() ... done [17:27:45.062] Future state: 'finished' [17:27:45.063] signalConditions() ... [17:27:45.063] - include = 'condition' [17:27:45.063] - exclude = 'immediateCondition' [17:27:45.063] - resignal = TRUE [17:27:45.064] - Number of conditions: 94 [17:27:45.064] - Condition #1: 'simpleMessage', 'message', 'condition' [17:27:44.366] getGlobalsAndPackages() ... [17:27:45.064] - Condition #2: 'deprecatedWarning', 'warning', 'condition' Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:45.065] - Condition #3: 'simpleMessage', 'message', 'condition' [17:27:44.403] Searching for globals... [17:27:45.065] - Condition #4: 'simpleMessage', 'message', 'condition' [17:27:44.406] - globals found: [5] '$', 'subset', 'data', '<', 'x' [17:27:45.065] - Condition #5: 'simpleMessage', 'message', 'condition' [17:27:44.406] Searching for globals ... DONE [17:27:45.065] - Condition #6: 'simpleMessage', 'message', 'condition' [17:27:44.407] Resolving globals: FALSE [17:27:45.066] - Condition #7: 'simpleMessage', 'message', 'condition' [17:27:44.408] The total size of the 1 globals is 356 bytes (356 bytes) [17:27:45.066] - Condition #8: 'simpleMessage', 'message', 'condition' [17:27:44.409] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 356 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (356 bytes of class 'list') [17:27:45.066] - Condition #9: 'simpleMessage', 'message', 'condition' [17:27:44.409] - globals: [1] 'data' [17:27:45.066] - Condition #10: 'simpleMessage', 'message', 'condition' [17:27:44.410] [17:27:45.066] - Condition #11: 'simpleMessage', 'message', 'condition' [17:27:44.410] getGlobalsAndPackages() ... DONE [17:27:45.067] - Condition #12: 'simpleMessage', 'message', 'condition' [17:27:44.411] run() for 'Future' ... [17:27:45.067] - Condition #13: 'simpleMessage', 'message', 'condition' [17:27:44.411] - state: 'created' [17:27:45.067] - Condition #14: 'simpleMessage', 'message', 'condition' [17:27:44.412] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [17:27:45.068] - Condition #15: 'simpleMessage', 'message', 'condition' [17:27:44.418] [local output] makeClusterPSOCK() ... [17:27:45.068] - Condition #16: 'simpleMessage', 'message', 'condition' [17:27:44.422] [local output] Workers: [n = 2] 'localhost', 'localhost' [17:27:45.068] - Condition #17: 'simpleMessage', 'message', 'condition' [17:27:44.426] [local output] Base port: 33119 [17:27:45.069] - Condition #18: 'simpleMessage', 'message', 'condition' [17:27:44.426] [local output] Getting setup options for 2 cluster nodes ... [17:27:45.069] - Condition #19: 'simpleMessage', 'message', 'condition' [17:27:44.427] [local output] - Node #1 of 2 ... [17:27:45.069] - Condition #20: 'simpleMessage', 'message', 'condition' [17:27:44.428] [local output] localMachine=TRUE => revtunnel=FALSE [17:27:45.070] - Condition #21: 'simpleMessage', 'message', 'condition' [17:27:44.430] [local output] Rscript port: 33119 [17:27:45.070] - Condition #22: 'simpleMessage', 'message', 'condition' [17:27:44.431] [local output] - Node #2 of 2 ... [17:27:45.070] - Condition #23: 'simpleMessage', 'message', 'condition' [17:27:44.432] [local output] localMachine=TRUE => revtunnel=FALSE [17:27:45.071] - Condition #24: 'simpleMessage', 'message', 'condition' [17:27:44.435] [local output] Rscript port: 33119 [17:27:45.071] - Condition #25: 'simpleMessage', 'message', 'condition' [17:27:44.436] [local output] Getting setup options for 2 cluster nodes ... done [17:27:45.071] - Condition #26: 'simpleMessage', 'message', 'condition' [17:27:44.436] [local output] - Parallel setup requested for some PSOCK nodes [17:27:45.072] - Condition #27: 'simpleMessage', 'message', 'condition' [17:27:44.437] [local output] Setting up PSOCK nodes in parallel [17:27:45.072] - Condition #28: 'simpleMessage', 'message', 'condition' [17:27:44.437] List of 36 [17:27:44.437] $ worker : chr "localhost" [17:27:44.437] ..- attr(*, "localhost")= logi TRUE [17:27:44.437] $ master : chr "localhost" [17:27:44.437] $ port : int 33119 [17:27:44.437] $ connectTimeout : num 120 [17:27:44.437] $ timeout : num 120 [17:27:44.437] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [17:27:44.437] $ homogeneous : logi TRUE [17:27:44.437] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=globals,NSE.R:159576:CRANWIN3:CR"| __truncated__ [17:27:44.437] $ rscript_envs : NULL [17:27:44.437] $ rscript_libs : chr [1:2] "D:/temp/RtmpsXpk4j/RLIBS_1097c668d2fda" "D:/RCompile/recent/R/library" [17:27:44.437] $ rscript_startup : NULL [17:27:44.437] $ rscript_sh : chr [1:2] "cmd" "cmd" [17:27:44.437] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [17:27:44.437] $ methods : logi TRUE [17:27:44.437] $ socketOptions : chr "no-delay" [17:27:44.437] $ useXDR : logi FALSE [17:27:44.437] $ outfile : chr "/dev/null" [17:27:44.437] $ renice : int NA [17:27:44.437] $ rshcmd : NULL [17:27:44.437] $ user : chr(0) [17:27:44.437] $ revtunnel : logi FALSE [17:27:44.437] $ rshlogfile : NULL [17:27:44.437] $ rshopts : chr(0) [17:27:44.437] $ rank : int 1 [17:27:44.437] $ manual : logi FALSE [17:27:44.437] $ dryrun : logi FALSE [17:27:44.437] $ quiet : logi FALSE [17:27:44.437] $ setup_strategy : chr "parallel" [17:27:44.437] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [17:27:44.437] $ pidfile : chr "D:/temp/RtmpgHzkAL/worker.rank=1.parallelly.parent=159576.26f582953de1.pid" [17:27:44.437] $ rshcmd_label : NULL [17:27:44.437] $ rsh_call : NULL [17:27:44.437] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [17:27:44.437] $ localMachine : logi TRUE [17:27:44.437] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [17:27:44.437] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [17:27:44.437] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [17:27:44.437] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [17:27:44.437] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [17:27:44.437] "cmd", "sh", "none"), default_packages = c("datasets", "utils", [17:27:44.437] "grDevices", "graphics", "stats", if (methods) "methods"), methods = TRUE, [17:27:44.437] socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [17:27:44.437] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [17:27:44.437] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [17:27:44.437] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [17:27:44.437] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [17:27:44.437] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [17:27:44.437] "parallel"), action = c("launch", "options"), verbose = FALSE) [17:27:44.437] $ arguments :List of 28 [17:27:44.437] ..$ worker : chr "localhost" [17:27:44.437] ..$ master : NULL [17:27:44.437] ..$ port : int 33119 [17:27:44.437] ..$ connectTimeout : num 120 [17:27:44.437] ..$ timeout : num 120 [17:27:44.437] ..$ rscript : NULL [17:27:44.437] ..$ homogeneous : NULL [17:27:44.437] ..$ rscript_args : NULL [17:27:44.437] ..$ rscript_envs : NULL [17:27:44.437] ..$ rscript_libs : chr [1:2] "D:/temp/RtmpsXpk4j/RLIBS_1097c668d2fda" "D:/RCompile/recent/R/library" [17:27:44.437] ..$ rscript_startup : NULL [17:27:44.437] ..$ rscript_sh : chr "auto" [17:27:44.437] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [17:27:44.437] ..$ methods : logi TRUE [17:27:44.437] ..$ socketOptions : chr "no-delay" [17:27:44.437] ..$ useXDR : logi FALSE [17:27:44.437] ..$ outfile : chr "/dev/null" [17:27:44.437] ..$ renice : int NA [17:27:44.437] ..$ rshcmd : NULL [17:27:44.437] ..$ user : NULL [17:27:44.437] ..$ revtunnel : logi NA [17:27:44.437] ..$ rshlogfile : NULL [17:27:44.437] ..$ rshopts : NULL [17:27:44.437] ..$ rank : int 1 [17:27:44.437] ..$ manual : logi FALSE [17:27:44.437] ..$ dryrun : logi FALSE [17:27:44.437] ..$ quiet : logi FALSE [17:27:44.437] ..$ setup_strategy : chr "parallel" [17:27:44.437] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [17:27:45.073] - Condition #29: 'simpleMessage', 'message', 'condition' [17:27:44.477] [local output] System call to launch all workers: [17:27:45.073] - Condition #30: 'simpleMessage', 'message', 'condition' [17:27:44.477] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=globals,NSE.R:159576:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpgHzkAL/worker.rank=1.parallelly.parent=159576.26f582953de1.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e ".libPaths(c(\"D:/temp/RtmpsXpk4j/RLIBS_1097c668d2fda\",\"D:/RCompile/recent/R/library\"))" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=33119 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [17:27:45.073] - Condition #31: 'simpleMessage', 'message', 'condition' [17:27:44.478] [local output] Starting PSOCK main server [17:27:45.074] - Condition #32: 'simpleMessage', 'message', 'condition' [17:27:44.489] [local output] Workers launched [17:27:45.074] - Condition #33: 'simpleMessage', 'message', 'condition' [17:27:44.490] [local output] Waiting for workers to connect back [17:27:45.074] - Condition #34: 'simpleMessage', 'message', 'condition' [17:27:44.490] - [local output] 0 workers out of 2 ready [17:27:45.075] - Condition #35: 'simpleMessage', 'message', 'condition' [17:27:44.744] - [local output] 0 workers out of 2 ready [17:27:45.075] - Condition #36: 'simpleMessage', 'message', 'condition' [17:27:44.745] - [local output] 1 workers out of 2 ready [17:27:45.075] - Condition #37: 'simpleMessage', 'message', 'condition' [17:27:44.766] - [local output] 1 workers out of 2 ready [17:27:45.076] - Condition #38: 'simpleMessage', 'message', 'condition' [17:27:44.767] - [local output] 2 workers out of 2 ready [17:27:45.076] - Condition #39: 'simpleMessage', 'message', 'condition' [17:27:44.767] [local output] Launching of 2 workers completed [17:27:45.076] - Condition #40: 'simpleMessage', 'message', 'condition' [17:27:44.768] [local output] Number of nodes in cluster: 2 [17:27:45.077] - Condition #41: 'simpleMessage', 'message', 'condition' [17:27:44.768] [local output] Collecting session information from 2 workers [17:27:45.077] - Condition #42: 'simpleMessage', 'message', 'condition' [17:27:44.769] [local output] - Worker #1 of 2 [17:27:45.077] - Condition #43: 'simpleMessage', 'message', 'condition' [17:27:44.770] [local output] - Worker #2 of 2 [17:27:45.078] - Condition #44: 'simpleMessage', 'message', 'condition' [17:27:44.771] [local output] makeClusterPSOCK() ... done [17:27:45.078] - Condition #45: 'simpleMessage', 'message', 'condition' [17:27:44.787] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [17:27:45.079] - Condition #46: 'simpleMessage', 'message', 'condition' [17:27:44.788] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [17:27:45.079] - Condition #47: 'simpleMessage', 'message', 'condition' [17:27:44.788] - Field: 'node' [17:27:45.079] - Condition #48: 'simpleMessage', 'message', 'condition' [17:27:44.788] - Field: 'label' [17:27:45.080] - Condition #49: 'simpleMessage', 'message', 'condition' [17:27:44.789] - Field: 'local' [17:27:45.080] - Condition #50: 'simpleMessage', 'message', 'condition' [17:27:44.789] - Field: 'owner' [17:27:45.080] - Condition #51: 'simpleMessage', 'message', 'condition' [17:27:44.789] - Field: 'envir' [17:27:45.081] - Condition #52: 'simpleMessage', 'message', 'condition' [17:27:44.790] - Field: 'workers' [17:27:45.081] - Condition #53: 'simpleMessage', 'message', 'condition' [17:27:44.790] - Field: 'packages' [17:27:45.081] - Condition #54: 'simpleMessage', 'message', 'condition' [17:27:44.790] - Field: 'gc' [17:27:45.082] - Condition #55: 'simpleMessage', 'message', 'condition' [17:27:44.790] - Field: 'conditions' [17:27:45.082] - Condition #56: 'simpleMessage', 'message', 'condition' [17:27:44.791] - Field: 'persistent' [17:27:45.082] - Condition #57: 'simpleMessage', 'message', 'condition' [17:27:44.791] - Field: 'expr' [17:27:45.083] - Condition #58: 'simpleMessage', 'message', 'condition' [17:27:44.791] - Field: 'uuid' [17:27:45.083] - Condition #59: 'simpleMessage', 'message', 'condition' [17:27:44.791] - Field: 'seed' [17:27:45.083] - Condition #60: 'simpleMessage', 'message', 'condition' [17:27:44.792] - Field: 'version' [17:27:45.084] - Condition #61: 'simpleMessage', 'message', 'condition' [17:27:44.792] - Field: 'result' [17:27:45.084] - Condition #62: 'simpleMessage', 'message', 'condition' [17:27:44.793] - Field: 'asynchronous' [17:27:45.084] - Condition #63: 'simpleMessage', 'message', 'condition' [17:27:44.793] - Field: 'calls' [17:27:45.085] - Condition #64: 'simpleMessage', 'message', 'condition' [17:27:44.793] - Field: 'globals' [17:27:45.085] - Condition #65: 'simpleMessage', 'message', 'condition' [17:27:44.794] - Field: 'stdout' [17:27:45.085] - Condition #66: 'simpleMessage', 'message', 'condition' [17:27:44.794] - Field: 'earlySignal' [17:27:45.086] - Condition #67: 'simpleMessage', 'message', 'condition' [17:27:44.794] - Field: 'lazy' [17:27:45.086] - Condition #68: 'simpleMessage', 'message', 'condition' [17:27:44.795] - Field: 'state' [17:27:45.086] - Condition #69: 'simpleMessage', 'message', 'condition' [17:27:44.795] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [17:27:45.087] - Condition #70: 'simpleMessage', 'message', 'condition' [17:27:44.795] - Launch lazy future ... [17:27:45.087] - Condition #71: 'simpleMessage', 'message', 'condition' [17:27:44.796] Packages needed by the future expression (n = 0): [17:27:45.088] - Condition #72: 'simpleMessage', 'message', 'condition' [17:27:44.796] Packages needed by future strategies (n = 0): [17:27:45.088] - Condition #73: 'simpleMessage', 'message', 'condition' [17:27:44.798] { [17:27:44.798] { [17:27:44.798] { [17:27:44.798] ...future.startTime <- base::Sys.time() [17:27:44.798] { [17:27:44.798] { [17:27:44.798] { [17:27:44.798] { [17:27:44.798] base::local({ [17:27:44.798] has_future <- base::requireNamespace("future", [17:27:44.798] quietly = TRUE) [17:27:44.798] if (has_future) { [17:27:44.798] ns <- base::getNamespace("future") [17:27:44.798] version <- ns[[".package"]][["version"]] [17:27:44.798] if (is.null(version)) [17:27:44.798] version <- utils::packageVersion("future") [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] version <- NULL [17:27:44.798] } [17:27:44.798] if (!has_future || version < "1.8.0") { [17:27:44.798] info <- base::c(r_version = base::gsub("R version ", [17:27:44.798] "", base::R.version$version.string), [17:27:44.798] platform = base::sprintf("%s (%s-bit)", [17:27:44.798] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:44.798] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:44.798] "release", "version")], collapse = " "), [17:27:44.798] hostname = base::Sys.info()[["nodename"]]) [17:27:44.798] info <- base::sprintf("%s: %s", base::names(info), [17:27:44.798] info) [17:27:44.798] info <- base::paste(info, collapse = "; ") [17:27:44.798] if (!has_future) { [17:27:44.798] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:44.798] info) [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:44.798] info, version) [17:27:44.798] } [17:27:44.798] base::stop(msg) [17:27:44.798] } [17:27:44.798] }) [17:27:44.798] } [17:27:44.798] ...future.mc.cores.old <- base::getOption("mc.cores") [17:27:44.798] base::options(mc.cores = 1L) [17:27:44.798] } [17:27:44.798] ...future.strategy.old <- future::plan("list") [17:27:44.798] options(future.plan = NULL) [17:27:44.798] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.798] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:44.798] } [17:27:44.798] ...future.workdir <- getwd() [17:27:44.798] } [17:27:44.798] ...future.oldOptions <- base::as.list(base::.Options) [17:27:44.798] ...future.oldEnvVars <- base::Sys.getenv() [17:27:44.798] } [17:27:44.798] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:44.798] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:44.798] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:44.798] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:44.798] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:44.798] future.stdout.windows.reencode = NULL, width = 80L) [17:27:44.798] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:44.798] base::names(...future.oldOptions)) [17:27:44.798] } [17:27:44.798] if (FALSE) { [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] if (TRUE) { [17:27:44.798] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:44.798] open = "w") [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:44.798] windows = "NUL", "/dev/null"), open = "w") [17:27:44.798] } [17:27:44.798] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:44.798] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:44.798] base::sink(type = "output", split = FALSE) [17:27:44.798] base::close(...future.stdout) [17:27:44.798] }, add = TRUE) [17:27:44.798] } [17:27:44.798] ...future.frame <- base::sys.nframe() [17:27:44.798] ...future.conditions <- base::list() [17:27:44.798] ...future.rng <- base::globalenv()$.Random.seed [17:27:44.798] if (FALSE) { [17:27:44.798] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:44.798] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:44.798] } [17:27:44.798] ...future.result <- base::tryCatch({ [17:27:44.798] base::withCallingHandlers({ [17:27:44.798] ...future.value <- base::withVisible(base::local({ [17:27:44.798] ...future.makeSendCondition <- base::local({ [17:27:44.798] sendCondition <- NULL [17:27:44.798] function(frame = 1L) { [17:27:44.798] if (is.function(sendCondition)) [17:27:44.798] return(sendCondition) [17:27:44.798] ns <- getNamespace("parallel") [17:27:44.798] if (exists("sendData", mode = "function", [17:27:44.798] envir = ns)) { [17:27:44.798] parallel_sendData <- get("sendData", mode = "function", [17:27:44.798] envir = ns) [17:27:44.798] envir <- sys.frame(frame) [17:27:44.798] master <- NULL [17:27:44.798] while (!identical(envir, .GlobalEnv) && [17:27:44.798] !identical(envir, emptyenv())) { [17:27:44.798] if (exists("master", mode = "list", envir = envir, [17:27:44.798] inherits = FALSE)) { [17:27:44.798] master <- get("master", mode = "list", [17:27:44.798] envir = envir, inherits = FALSE) [17:27:44.798] if (inherits(master, c("SOCKnode", [17:27:44.798] "SOCK0node"))) { [17:27:44.798] sendCondition <<- function(cond) { [17:27:44.798] data <- list(type = "VALUE", value = cond, [17:27:44.798] success = TRUE) [17:27:44.798] parallel_sendData(master, data) [17:27:44.798] } [17:27:44.798] return(sendCondition) [17:27:44.798] } [17:27:44.798] } [17:27:44.798] frame <- frame + 1L [17:27:44.798] envir <- sys.frame(frame) [17:27:44.798] } [17:27:44.798] } [17:27:44.798] sendCondition <<- function(cond) NULL [17:27:44.798] } [17:27:44.798] }) [17:27:44.798] withCallingHandlers({ [17:27:44.798] subset(data, x < 3)$y [17:27:44.798] }, immediateCondition = function(cond) { [17:27:44.798] sendCondition <- ...future.makeSendCondition() [17:27:44.798] sendCondition(cond) [17:27:44.798] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.798] { [17:27:44.798] inherits <- base::inherits [17:27:44.798] invokeRestart <- base::invokeRestart [17:27:44.798] is.null <- base::is.null [17:27:44.798] muffled <- FALSE [17:27:44.798] if (inherits(cond, "message")) { [17:27:44.798] muffled <- grepl(pattern, "muffleMessage") [17:27:44.798] if (muffled) [17:27:44.798] invokeRestart("muffleMessage") [17:27:44.798] } [17:27:44.798] else if (inherits(cond, "warning")) { [17:27:44.798] muffled <- grepl(pattern, "muffleWarning") [17:27:44.798] if (muffled) [17:27:44.798] invokeRestart("muffleWarning") [17:27:44.798] } [17:27:44.798] else if (inherits(cond, "condition")) { [17:27:44.798] if (!is.null(pattern)) { [17:27:44.798] computeRestarts <- base::computeRestarts [17:27:44.798] grepl <- base::grepl [17:27:44.798] restarts <- computeRestarts(cond) [17:27:44.798] for (restart in restarts) { [17:27:44.798] name <- restart$name [17:27:44.798] if (is.null(name)) [17:27:44.798] next [17:27:44.798] if (!grepl(pattern, name)) [17:27:44.798] next [17:27:44.798] invokeRestart(restart) [17:27:44.798] muffled <- TRUE [17:27:44.798] break [17:27:44.798] } [17:27:44.798] } [17:27:44.798] } [17:27:44.798] invisible(muffled) [17:27:44.798] } [17:27:44.798] muffleCondition(cond) [17:27:44.798] }) [17:27:44.798] })) [17:27:44.798] future::FutureResult(value = ...future.value$value, [17:27:44.798] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.798] ...future.rng), globalenv = if (FALSE) [17:27:44.798] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:44.798] ...future.globalenv.names)) [17:27:44.798] else NULL, started = ...future.startTime, version = "1.8") [17:27:44.798] }, condition = base::local({ [17:27:44.798] c <- base::c [17:27:44.798] inherits <- base::inherits [17:27:44.798] invokeRestart <- base::invokeRestart [17:27:44.798] length <- base::length [17:27:44.798] list <- base::list [17:27:44.798] seq.int <- base::seq.int [17:27:44.798] signalCondition <- base::signalCondition [17:27:44.798] sys.calls <- base::sys.calls [17:27:44.798] `[[` <- base::`[[` [17:27:44.798] `+` <- base::`+` [17:27:44.798] `<<-` <- base::`<<-` [17:27:44.798] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:44.798] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:44.798] 3L)] [17:27:44.798] } [17:27:44.798] function(cond) { [17:27:44.798] is_error <- inherits(cond, "error") [17:27:44.798] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:44.798] NULL) [17:27:44.798] if (is_error) { [17:27:44.798] sessionInformation <- function() { [17:27:44.798] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:44.798] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:44.798] search = base::search(), system = base::Sys.info()) [17:27:44.798] } [17:27:44.798] ...future.conditions[[length(...future.conditions) + [17:27:44.798] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:44.798] cond$call), session = sessionInformation(), [17:27:44.798] timestamp = base::Sys.time(), signaled = 0L) [17:27:44.798] signalCondition(cond) [17:27:44.798] } [17:27:44.798] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:44.798] "immediateCondition"))) { [17:27:44.798] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:44.798] ...future.conditions[[length(...future.conditions) + [17:27:44.798] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:44.798] if (TRUE && !signal) { [17:27:44.798] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.798] { [17:27:44.798] inherits <- base::inherits [17:27:44.798] invokeRestart <- base::invokeRestart [17:27:44.798] is.null <- base::is.null [17:27:44.798] muffled <- FALSE [17:27:44.798] if (inherits(cond, "message")) { [17:27:44.798] muffled <- grepl(pattern, "muffleMessage") [17:27:44.798] if (muffled) [17:27:44.798] invokeRestart("muffleMessage") [17:27:44.798] } [17:27:44.798] else if (inherits(cond, "warning")) { [17:27:44.798] muffled <- grepl(pattern, "muffleWarning") [17:27:44.798] if (muffled) [17:27:44.798] invokeRestart("muffleWarning") [17:27:44.798] } [17:27:44.798] else if (inherits(cond, "condition")) { [17:27:44.798] if (!is.null(pattern)) { [17:27:44.798] computeRestarts <- base::computeRestarts [17:27:44.798] grepl <- base::grepl [17:27:44.798] restarts <- computeRestarts(cond) [17:27:44.798] for (restart in restarts) { [17:27:44.798] name <- restart$name [17:27:44.798] if (is.null(name)) [17:27:44.798] next [17:27:44.798] if (!grepl(pattern, name)) [17:27:44.798] next [17:27:44.798] invokeRestart(restart) [17:27:44.798] muffled <- TRUE [17:27:44.798] break [17:27:44.798] } [17:27:44.798] } [17:27:44.798] } [17:27:44.798] invisible(muffled) [17:27:44.798] } [17:27:44.798] muffleCondition(cond, pattern = "^muffle") [17:27:44.798] } [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] if (TRUE) { [17:27:44.798] muffleCondition <- function (cond, pattern = "^muffle") [17:27:44.798] { [17:27:44.798] inherits <- base::inherits [17:27:44.798] invokeRestart <- base::invokeRestart [17:27:44.798] is.null <- base::is.null [17:27:44.798] muffled <- FALSE [17:27:44.798] if (inherits(cond, "message")) { [17:27:44.798] muffled <- grepl(pattern, "muffleMessage") [17:27:44.798] if (muffled) [17:27:44.798] invokeRestart("muffleMessage") [17:27:44.798] } [17:27:44.798] else if (inherits(cond, "warning")) { [17:27:44.798] muffled <- grepl(pattern, "muffleWarning") [17:27:44.798] if (muffled) [17:27:44.798] invokeRestart("muffleWarning") [17:27:44.798] } [17:27:44.798] else if (inherits(cond, "condition")) { [17:27:44.798] if (!is.null(pattern)) { [17:27:44.798] computeRestarts <- base::computeRestarts [17:27:44.798] grepl <- base::grepl [17:27:44.798] restarts <- computeRestarts(cond) [17:27:44.798] for (restart in restarts) { [17:27:44.798] name <- restart$name [17:27:44.798] if (is.null(name)) [17:27:44.798] next [17:27:44.798] if (!grepl(pattern, name)) [17:27:44.798] next [17:27:44.798] invokeRestart(restart) [17:27:44.798] muffled <- TRUE [17:27:44.798] break [17:27:44.798] } [17:27:44.798] } [17:27:44.798] } [17:27:44.798] invisible(muffled) [17:27:44.798] } [17:27:44.798] muffleCondition(cond, pattern = "^muffle") [17:27:44.798] } [17:27:44.798] } [17:27:44.798] } [17:27:44.798] })) [17:27:44.798] }, error = function(ex) { [17:27:44.798] base::structure(base::list(value = NULL, visible = NULL, [17:27:44.798] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:44.798] ...future.rng), started = ...future.startTime, [17:27:44.798] finished = Sys.time(), session_uuid = NA_character_, [17:27:44.798] version = "1.8"), class = "FutureResult") [17:27:44.798] }, finally = { [17:27:44.798] if (!identical(...future.workdir, getwd())) [17:27:44.798] setwd(...future.workdir) [17:27:44.798] { [17:27:44.798] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:44.798] ...future.oldOptions$nwarnings <- NULL [17:27:44.798] } [17:27:44.798] base::options(...future.oldOptions) [17:27:44.798] if (.Platform$OS.type == "windows") { [17:27:44.798] old_names <- names(...future.oldEnvVars) [17:27:44.798] envs <- base::Sys.getenv() [17:27:44.798] names <- names(envs) [17:27:44.798] common <- intersect(names, old_names) [17:27:44.798] added <- setdiff(names, old_names) [17:27:44.798] removed <- setdiff(old_names, names) [17:27:44.798] changed <- common[...future.oldEnvVars[common] != [17:27:44.798] envs[common]] [17:27:44.798] NAMES <- toupper(changed) [17:27:44.798] args <- list() [17:27:44.798] for (kk in seq_along(NAMES)) { [17:27:44.798] name <- changed[[kk]] [17:27:44.798] NAME <- NAMES[[kk]] [17:27:44.798] if (name != NAME && is.element(NAME, old_names)) [17:27:44.798] next [17:27:44.798] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.798] } [17:27:44.798] NAMES <- toupper(added) [17:27:44.798] for (kk in seq_along(NAMES)) { [17:27:44.798] name <- added[[kk]] [17:27:44.798] NAME <- NAMES[[kk]] [17:27:44.798] if (name != NAME && is.element(NAME, old_names)) [17:27:44.798] next [17:27:44.798] args[[name]] <- "" [17:27:44.798] } [17:27:44.798] NAMES <- toupper(removed) [17:27:44.798] for (kk in seq_along(NAMES)) { [17:27:44.798] name <- removed[[kk]] [17:27:44.798] NAME <- NAMES[[kk]] [17:27:44.798] if (name != NAME && is.element(NAME, old_names)) [17:27:44.798] next [17:27:44.798] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:44.798] } [17:27:44.798] if (length(args) > 0) [17:27:44.798] base::do.call(base::Sys.setenv, args = args) [17:27:44.798] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:44.798] } [17:27:44.798] { [17:27:44.798] if (base::length(...future.futureOptionsAdded) > [17:27:44.798] 0L) { [17:27:44.798] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:44.798] base::names(opts) <- ...future.futureOptionsAdded [17:27:44.798] base::options(opts) [17:27:44.798] } [17:27:44.798] { [17:27:44.798] { [17:27:44.798] base::options(mc.cores = ...future.mc.cores.old) [17:27:44.798] NULL [17:27:44.798] } [17:27:44.798] options(future.plan = NULL) [17:27:44.798] if (is.na(NA_character_)) [17:27:44.798] Sys.unsetenv("R_FUTURE_PLAN") [17:27:44.798] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:44.798] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:44.798] .init = FALSE) [17:27:44.798] } [17:27:44.798] } [17:27:44.798] } [17:27:44.798] }) [17:27:44.798] if (TRUE) { [17:27:44.798] base::sink(type = "output", split = FALSE) [17:27:44.798] if (TRUE) { [17:27:44.798] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:44.798] } [17:27:44.798] else { [17:27:44.798] ...future.result["stdout"] <- base::list(NULL) [17:27:44.798] } [17:27:44.798] base::close(...future.stdout) [17:27:44.798] ...future.stdout <- NULL [17:27:44.798] } [17:27:44.798] ...future.result$conditions <- ...future.conditions [17:27:44.798] ...future.result$finished <- base::Sys.time() [17:27:44.798] ...future.result [17:27:44.798] } [17:27:45.089] - Condition #74: 'simpleMessage', 'message', 'condition' [17:27:44.956] Exporting 1 global objects (639 bytes) to cluster node #1 ... [17:27:45.089] - Condition #75: 'simpleMessage', 'message', 'condition' [17:27:44.956] Exporting 'data' (356 bytes) to cluster node #1 ... [17:27:45.089] - Condition #76: 'simpleMessage', 'message', 'condition' [17:27:44.957] Exporting 'data' (356 bytes) to cluster node #1 ... DONE [17:27:45.090] - Condition #77: 'simpleMessage', 'message', 'condition' [17:27:44.958] Exporting 1 global objects (639 bytes) to cluster node #1 ... DONE [17:27:45.090] - Condition #78: 'simpleMessage', 'message', 'condition' [17:27:44.959] MultisessionFuture started [17:27:45.090] - Condition #79: 'simpleMessage', 'message', 'condition' [17:27:44.959] - Launch lazy future ... done [17:27:45.091] - Condition #80: 'simpleMessage', 'message', 'condition' [17:27:44.959] run() for 'MultisessionFuture' ... done [17:27:45.091] - Condition #81: 'simpleMessage', 'message', 'condition' [17:27:44.959] result() for ClusterFuture ... [17:27:45.091] - Condition #82: 'simpleMessage', 'message', 'condition' [17:27:44.960] receiveMessageFromWorker() for ClusterFuture ... [17:27:45.092] - Condition #83: 'simpleMessage', 'message', 'condition' [17:27:44.960] - Validating connection of MultisessionFuture [17:27:45.092] - Condition #84: 'simpleMessage', 'message', 'condition' [17:27:45.046] - received message: FutureResult [17:27:45.092] - Condition #85: 'simpleMessage', 'message', 'condition' [17:27:45.047] - Received FutureResult [17:27:45.093] - Condition #86: 'simpleMessage', 'message', 'condition' [17:27:45.047] - Erased future from FutureRegistry [17:27:45.093] - Condition #87: 'simpleMessage', 'message', 'condition' [17:27:45.047] result() for ClusterFuture ... [17:27:45.093] - Condition #88: 'simpleMessage', 'message', 'condition' [17:27:45.048] - result already collected: FutureResult [17:27:45.094] - Condition #89: 'simpleMessage', 'message', 'condition' [17:27:45.048] result() for ClusterFuture ... done [17:27:45.094] - Condition #90: 'simpleMessage', 'message', 'condition' [17:27:45.048] receiveMessageFromWorker() for ClusterFuture ... done [17:27:45.095] - Condition #91: 'simpleMessage', 'message', 'condition' [17:27:45.049] result() for ClusterFuture ... done [17:27:45.095] - Condition #92: 'simpleMessage', 'message', 'condition' [17:27:45.049] result() for ClusterFuture ... [17:27:45.095] - Condition #93: 'simpleMessage', 'message', 'condition' [17:27:45.049] - result already collected: FutureResult [17:27:45.096] - Condition #94: 'simpleMessage', 'message', 'condition' [17:27:45.050] result() for ClusterFuture ... done [17:27:45.096] signalConditions() ... done [17:27:45.097] getGlobalsAndPackages() ... Warning in getGlobalsAndPackages(expr, envir = envir, tweak = tweakExpression, : R option 'future.globals.onMissing' may only be used for troubleshooting. It must not be used in production since it changes how futures are evaluated and there is a great risk that the results cannot be reproduced elsewhere: 'ignore' [17:27:45.098] Searching for globals... [17:27:45.100] - globals found: [3] '{', 'plan', 'sequential' [17:27:45.100] Searching for globals ... DONE [17:27:45.100] Resolving globals: FALSE [17:27:45.101] [17:27:45.102] - packages: [1] 'future' [17:27:45.102] getGlobalsAndPackages() ... DONE [17:27:45.103] run() for 'Future' ... [17:27:45.103] - state: 'created' [17:27:45.104] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:45.104] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:45.105] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:45.105] - Field: 'label' [17:27:45.105] - Field: 'local' [17:27:45.106] - Field: 'owner' [17:27:45.106] - Field: 'envir' [17:27:45.106] - Field: 'packages' [17:27:45.107] - Field: 'gc' [17:27:45.107] - Field: 'conditions' [17:27:45.107] - Field: 'expr' [17:27:45.108] - Field: 'uuid' [17:27:45.108] - Field: 'seed' [17:27:45.108] - Field: 'version' [17:27:45.109] - Field: 'result' [17:27:45.109] - Field: 'asynchronous' [17:27:45.109] - Field: 'calls' [17:27:45.110] - Field: 'globals' [17:27:45.110] - Field: 'stdout' [17:27:45.110] - Field: 'earlySignal' [17:27:45.111] - Field: 'lazy' [17:27:45.111] - Field: 'state' [17:27:45.111] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:45.112] - Launch lazy future ... [17:27:45.112] Packages needed by the future expression (n = 1): 'future' [17:27:45.113] Packages needed by future strategies (n = 1): 'future' [17:27:45.114] { [17:27:45.114] { [17:27:45.114] { [17:27:45.114] ...future.startTime <- base::Sys.time() [17:27:45.114] { [17:27:45.114] { [17:27:45.114] { [17:27:45.114] { [17:27:45.114] base::local({ [17:27:45.114] has_future <- base::requireNamespace("future", [17:27:45.114] quietly = TRUE) [17:27:45.114] if (has_future) { [17:27:45.114] ns <- base::getNamespace("future") [17:27:45.114] version <- ns[[".package"]][["version"]] [17:27:45.114] if (is.null(version)) [17:27:45.114] version <- utils::packageVersion("future") [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] version <- NULL [17:27:45.114] } [17:27:45.114] if (!has_future || version < "1.8.0") { [17:27:45.114] info <- base::c(r_version = base::gsub("R version ", [17:27:45.114] "", base::R.version$version.string), [17:27:45.114] platform = base::sprintf("%s (%s-bit)", [17:27:45.114] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:45.114] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:45.114] "release", "version")], collapse = " "), [17:27:45.114] hostname = base::Sys.info()[["nodename"]]) [17:27:45.114] info <- base::sprintf("%s: %s", base::names(info), [17:27:45.114] info) [17:27:45.114] info <- base::paste(info, collapse = "; ") [17:27:45.114] if (!has_future) { [17:27:45.114] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:45.114] info) [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:45.114] info, version) [17:27:45.114] } [17:27:45.114] base::stop(msg) [17:27:45.114] } [17:27:45.114] }) [17:27:45.114] } [17:27:45.114] base::local({ [17:27:45.114] for (pkg in "future") { [17:27:45.114] base::loadNamespace(pkg) [17:27:45.114] base::library(pkg, character.only = TRUE) [17:27:45.114] } [17:27:45.114] }) [17:27:45.114] } [17:27:45.114] ...future.strategy.old <- future::plan("list") [17:27:45.114] options(future.plan = NULL) [17:27:45.114] Sys.unsetenv("R_FUTURE_PLAN") [17:27:45.114] future::plan(list(function (..., workers = availableCores(), [17:27:45.114] lazy = FALSE, rscript_libs = .libPaths(), [17:27:45.114] envir = parent.frame()) [17:27:45.114] { [17:27:45.114] if (is.function(workers)) [17:27:45.114] workers <- workers() [17:27:45.114] workers <- structure(as.integer(workers), [17:27:45.114] class = class(workers)) [17:27:45.114] stop_if_not(length(workers) == 1, is.finite(workers), [17:27:45.114] workers >= 1) [17:27:45.114] if (workers == 1L && !inherits(workers, "AsIs")) { [17:27:45.114] return(sequential(..., lazy = TRUE, envir = envir)) [17:27:45.114] } [17:27:45.114] future <- MultisessionFuture(..., workers = workers, [17:27:45.114] lazy = lazy, rscript_libs = rscript_libs, [17:27:45.114] envir = envir) [17:27:45.114] if (!future$lazy) [17:27:45.114] future <- run(future) [17:27:45.114] invisible(future) [17:27:45.114] }), .cleanup = FALSE, .init = FALSE) [17:27:45.114] } [17:27:45.114] ...future.workdir <- getwd() [17:27:45.114] } [17:27:45.114] ...future.oldOptions <- base::as.list(base::.Options) [17:27:45.114] ...future.oldEnvVars <- base::Sys.getenv() [17:27:45.114] } [17:27:45.114] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [17:27:45.114] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:45.114] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [17:27:45.114] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:45.114] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:45.114] future.stdout.windows.reencode = NULL, width = 80L) [17:27:45.114] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:45.114] base::names(...future.oldOptions)) [17:27:45.114] } [17:27:45.114] if (FALSE) { [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] if (TRUE) { [17:27:45.114] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:45.114] open = "w") [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:45.114] windows = "NUL", "/dev/null"), open = "w") [17:27:45.114] } [17:27:45.114] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:45.114] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:45.114] base::sink(type = "output", split = FALSE) [17:27:45.114] base::close(...future.stdout) [17:27:45.114] }, add = TRUE) [17:27:45.114] } [17:27:45.114] ...future.frame <- base::sys.nframe() [17:27:45.114] ...future.conditions <- base::list() [17:27:45.114] ...future.rng <- base::globalenv()$.Random.seed [17:27:45.114] if (FALSE) { [17:27:45.114] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:45.114] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:45.114] } [17:27:45.114] ...future.result <- base::tryCatch({ [17:27:45.114] base::withCallingHandlers({ [17:27:45.114] ...future.value <- base::withVisible(base::local({ [17:27:45.114] plan(sequential) [17:27:45.114] })) [17:27:45.114] future::FutureResult(value = ...future.value$value, [17:27:45.114] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:45.114] ...future.rng), globalenv = if (FALSE) [17:27:45.114] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:45.114] ...future.globalenv.names)) [17:27:45.114] else NULL, started = ...future.startTime, version = "1.8") [17:27:45.114] }, condition = base::local({ [17:27:45.114] c <- base::c [17:27:45.114] inherits <- base::inherits [17:27:45.114] invokeRestart <- base::invokeRestart [17:27:45.114] length <- base::length [17:27:45.114] list <- base::list [17:27:45.114] seq.int <- base::seq.int [17:27:45.114] signalCondition <- base::signalCondition [17:27:45.114] sys.calls <- base::sys.calls [17:27:45.114] `[[` <- base::`[[` [17:27:45.114] `+` <- base::`+` [17:27:45.114] `<<-` <- base::`<<-` [17:27:45.114] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:45.114] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:45.114] 3L)] [17:27:45.114] } [17:27:45.114] function(cond) { [17:27:45.114] is_error <- inherits(cond, "error") [17:27:45.114] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:45.114] NULL) [17:27:45.114] if (is_error) { [17:27:45.114] sessionInformation <- function() { [17:27:45.114] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:45.114] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:45.114] search = base::search(), system = base::Sys.info()) [17:27:45.114] } [17:27:45.114] ...future.conditions[[length(...future.conditions) + [17:27:45.114] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:45.114] cond$call), session = sessionInformation(), [17:27:45.114] timestamp = base::Sys.time(), signaled = 0L) [17:27:45.114] signalCondition(cond) [17:27:45.114] } [17:27:45.114] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:45.114] "immediateCondition"))) { [17:27:45.114] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:45.114] ...future.conditions[[length(...future.conditions) + [17:27:45.114] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:45.114] if (TRUE && !signal) { [17:27:45.114] muffleCondition <- function (cond, pattern = "^muffle") [17:27:45.114] { [17:27:45.114] inherits <- base::inherits [17:27:45.114] invokeRestart <- base::invokeRestart [17:27:45.114] is.null <- base::is.null [17:27:45.114] muffled <- FALSE [17:27:45.114] if (inherits(cond, "message")) { [17:27:45.114] muffled <- grepl(pattern, "muffleMessage") [17:27:45.114] if (muffled) [17:27:45.114] invokeRestart("muffleMessage") [17:27:45.114] } [17:27:45.114] else if (inherits(cond, "warning")) { [17:27:45.114] muffled <- grepl(pattern, "muffleWarning") [17:27:45.114] if (muffled) [17:27:45.114] invokeRestart("muffleWarning") [17:27:45.114] } [17:27:45.114] else if (inherits(cond, "condition")) { [17:27:45.114] if (!is.null(pattern)) { [17:27:45.114] computeRestarts <- base::computeRestarts [17:27:45.114] grepl <- base::grepl [17:27:45.114] restarts <- computeRestarts(cond) [17:27:45.114] for (restart in restarts) { [17:27:45.114] name <- restart$name [17:27:45.114] if (is.null(name)) [17:27:45.114] next [17:27:45.114] if (!grepl(pattern, name)) [17:27:45.114] next [17:27:45.114] invokeRestart(restart) [17:27:45.114] muffled <- TRUE [17:27:45.114] break [17:27:45.114] } [17:27:45.114] } [17:27:45.114] } [17:27:45.114] invisible(muffled) [17:27:45.114] } [17:27:45.114] muffleCondition(cond, pattern = "^muffle") [17:27:45.114] } [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] if (TRUE) { [17:27:45.114] muffleCondition <- function (cond, pattern = "^muffle") [17:27:45.114] { [17:27:45.114] inherits <- base::inherits [17:27:45.114] invokeRestart <- base::invokeRestart [17:27:45.114] is.null <- base::is.null [17:27:45.114] muffled <- FALSE [17:27:45.114] if (inherits(cond, "message")) { [17:27:45.114] muffled <- grepl(pattern, "muffleMessage") [17:27:45.114] if (muffled) [17:27:45.114] invokeRestart("muffleMessage") [17:27:45.114] } [17:27:45.114] else if (inherits(cond, "warning")) { [17:27:45.114] muffled <- grepl(pattern, "muffleWarning") [17:27:45.114] if (muffled) [17:27:45.114] invokeRestart("muffleWarning") [17:27:45.114] } [17:27:45.114] else if (inherits(cond, "condition")) { [17:27:45.114] if (!is.null(pattern)) { [17:27:45.114] computeRestarts <- base::computeRestarts [17:27:45.114] grepl <- base::grepl [17:27:45.114] restarts <- computeRestarts(cond) [17:27:45.114] for (restart in restarts) { [17:27:45.114] name <- restart$name [17:27:45.114] if (is.null(name)) [17:27:45.114] next [17:27:45.114] if (!grepl(pattern, name)) [17:27:45.114] next [17:27:45.114] invokeRestart(restart) [17:27:45.114] muffled <- TRUE [17:27:45.114] break [17:27:45.114] } [17:27:45.114] } [17:27:45.114] } [17:27:45.114] invisible(muffled) [17:27:45.114] } [17:27:45.114] muffleCondition(cond, pattern = "^muffle") [17:27:45.114] } [17:27:45.114] } [17:27:45.114] } [17:27:45.114] })) [17:27:45.114] }, error = function(ex) { [17:27:45.114] base::structure(base::list(value = NULL, visible = NULL, [17:27:45.114] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:45.114] ...future.rng), started = ...future.startTime, [17:27:45.114] finished = Sys.time(), session_uuid = NA_character_, [17:27:45.114] version = "1.8"), class = "FutureResult") [17:27:45.114] }, finally = { [17:27:45.114] if (!identical(...future.workdir, getwd())) [17:27:45.114] setwd(...future.workdir) [17:27:45.114] { [17:27:45.114] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:45.114] ...future.oldOptions$nwarnings <- NULL [17:27:45.114] } [17:27:45.114] base::options(...future.oldOptions) [17:27:45.114] if (.Platform$OS.type == "windows") { [17:27:45.114] old_names <- names(...future.oldEnvVars) [17:27:45.114] envs <- base::Sys.getenv() [17:27:45.114] names <- names(envs) [17:27:45.114] common <- intersect(names, old_names) [17:27:45.114] added <- setdiff(names, old_names) [17:27:45.114] removed <- setdiff(old_names, names) [17:27:45.114] changed <- common[...future.oldEnvVars[common] != [17:27:45.114] envs[common]] [17:27:45.114] NAMES <- toupper(changed) [17:27:45.114] args <- list() [17:27:45.114] for (kk in seq_along(NAMES)) { [17:27:45.114] name <- changed[[kk]] [17:27:45.114] NAME <- NAMES[[kk]] [17:27:45.114] if (name != NAME && is.element(NAME, old_names)) [17:27:45.114] next [17:27:45.114] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:45.114] } [17:27:45.114] NAMES <- toupper(added) [17:27:45.114] for (kk in seq_along(NAMES)) { [17:27:45.114] name <- added[[kk]] [17:27:45.114] NAME <- NAMES[[kk]] [17:27:45.114] if (name != NAME && is.element(NAME, old_names)) [17:27:45.114] next [17:27:45.114] args[[name]] <- "" [17:27:45.114] } [17:27:45.114] NAMES <- toupper(removed) [17:27:45.114] for (kk in seq_along(NAMES)) { [17:27:45.114] name <- removed[[kk]] [17:27:45.114] NAME <- NAMES[[kk]] [17:27:45.114] if (name != NAME && is.element(NAME, old_names)) [17:27:45.114] next [17:27:45.114] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:45.114] } [17:27:45.114] if (length(args) > 0) [17:27:45.114] base::do.call(base::Sys.setenv, args = args) [17:27:45.114] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:45.114] } [17:27:45.114] { [17:27:45.114] if (base::length(...future.futureOptionsAdded) > [17:27:45.114] 0L) { [17:27:45.114] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:45.114] base::names(opts) <- ...future.futureOptionsAdded [17:27:45.114] base::options(opts) [17:27:45.114] } [17:27:45.114] { [17:27:45.114] { [17:27:45.114] NULL [17:27:45.114] RNGkind("Mersenne-Twister") [17:27:45.114] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:45.114] inherits = FALSE) [17:27:45.114] } [17:27:45.114] options(future.plan = NULL) [17:27:45.114] if (is.na(NA_character_)) [17:27:45.114] Sys.unsetenv("R_FUTURE_PLAN") [17:27:45.114] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:45.114] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:45.114] .init = FALSE) [17:27:45.114] } [17:27:45.114] } [17:27:45.114] } [17:27:45.114] }) [17:27:45.114] if (TRUE) { [17:27:45.114] base::sink(type = "output", split = FALSE) [17:27:45.114] if (TRUE) { [17:27:45.114] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:45.114] } [17:27:45.114] else { [17:27:45.114] ...future.result["stdout"] <- base::list(NULL) [17:27:45.114] } [17:27:45.114] base::close(...future.stdout) [17:27:45.114] ...future.stdout <- NULL [17:27:45.114] } [17:27:45.114] ...future.result$conditions <- ...future.conditions [17:27:45.114] ...future.result$finished <- base::Sys.time() [17:27:45.114] ...future.result [17:27:45.114] } [17:27:45.123] plan(): Setting new future strategy stack: [17:27:45.123] List of future strategies: [17:27:45.123] 1. multisession: [17:27:45.123] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:45.123] - tweaked: FALSE [17:27:45.123] - call: plan(list(sequential, strategy)) [17:27:45.128] plan(): nbrOfWorkers() = 2 [17:27:45.162] plan(): Setting new future strategy stack: [17:27:45.163] List of future strategies: [17:27:45.163] 1. sequential: [17:27:45.163] - args: function (..., envir = parent.frame(), workers = "") [17:27:45.163] - tweaked: FALSE [17:27:45.163] - call: plan(list(sequential, strategy)) [17:27:45.163] 2. multisession: [17:27:45.163] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [17:27:45.163] - tweaked: FALSE [17:27:45.163] - call: plan(list(sequential, strategy)) [17:27:45.164] plan(): nbrOfWorkers() = 1 [17:27:45.165] SequentialFuture started (and completed) [17:27:45.165] signalConditions() ... [17:27:45.165] - include = 'immediateCondition' [17:27:45.166] - exclude = [17:27:45.166] - resignal = FALSE [17:27:45.166] - Number of conditions: 3 [17:27:45.167] signalConditions() ... done [17:27:45.167] - Launch lazy future ... done [17:27:45.167] run() for 'SequentialFuture' ... done [17:27:45.168] signalConditions() ... [17:27:45.168] - include = 'immediateCondition' [17:27:45.169] - exclude = [17:27:45.169] - resignal = FALSE [17:27:45.169] - Number of conditions: 3 [17:27:45.170] signalConditions() ... done [17:27:45.170] Future state: 'finished' [17:27:45.170] signalConditions() ... [17:27:45.171] - include = 'condition' [17:27:45.171] - exclude = 'immediateCondition' [17:27:45.171] - resignal = TRUE [17:27:45.172] - Number of conditions: 3 [17:27:45.172] - Condition #1: 'simpleMessage', 'message', 'condition' [17:27:45.129] plan(): Setting new future strategy stack: [17:27:45.172] - Condition #2: 'simpleMessage', 'message', 'condition' [17:27:45.129] List of future strategies: [17:27:45.129] 1. sequential: [17:27:45.129] - args: function (..., envir = parent.frame(), workers = "") [17:27:45.129] - tweaked: FALSE [17:27:45.129] - call: plan(sequential) [17:27:45.173] - Condition #3: 'simpleMessage', 'message', 'condition' [17:27:45.161] plan(): nbrOfWorkers() = 1 [17:27:45.173] signalConditions() ... done List of future strategies: 1. multisession: - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) - tweaked: FALSE - call: plan(list(sequential, strategy)) - Strategy: multisession ... DONE > > > message("*** Globals w/ non-standard evaluation (NSE) ... DONE") *** Globals w/ non-standard evaluation (NSE) ... DONE > > source("incl/end.R") [17:27:45.175] plan(): Setting new future strategy stack: [17:27:45.176] List of future strategies: [17:27:45.176] 1. FutureStrategy: [17:27:45.176] - args: function (..., envir = parent.frame(), workers = "") [17:27:45.176] - tweaked: FALSE [17:27:45.176] - call: future::plan(oplan) [17:27:45.177] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=205] '!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_NOTE_MISSING_PACKAGE_ANCHORS_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_DEPRECATED_IS_R_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '__R_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 1.40 0.20 3.07