R Under development (unstable) (2023-12-20 r85713 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 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") [01:27:51.535] plan(): Setting new future strategy stack: [01:27:51.536] List of future strategies: [01:27:51.536] 1. sequential: [01:27:51.536] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.536] - tweaked: FALSE [01:27:51.536] - call: future::plan("sequential") [01:27:51.560] 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)) + + message(sprintf("- Strategy: %s ... DONE", strategy)) + } - Strategy: sequential ... [01:27:51.599] plan(): Setting new future strategy stack: [01:27:51.599] List of future strategies: [01:27:51.599] 1. sequential: [01:27:51.599] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.599] - tweaked: FALSE [01:27:51.599] - call: plan(strategy) [01:27:51.614] plan(): nbrOfWorkers() = 1 [01:27:51.616] getGlobalsAndPackages() ... Warning: 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' [01:27:51.617] Searching for globals... [01:27:51.622] - globals found: [1] 'getOption' [01:27:51.622] Searching for globals ... DONE [01:27:51.623] Resolving globals: FALSE [01:27:51.623] [01:27:51.624] [01:27:51.624] getGlobalsAndPackages() ... DONE [01:27:51.625] run() for 'Future' ... [01:27:51.625] - state: 'created' [01:27:51.625] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:51.626] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:51.628] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:51.629] - Field: 'label' [01:27:51.629] - Field: 'local' [01:27:51.629] - Field: 'owner' [01:27:51.629] - Field: 'envir' [01:27:51.629] - Field: 'packages' [01:27:51.630] - Field: 'gc' [01:27:51.630] - Field: 'conditions' [01:27:51.630] - Field: 'expr' [01:27:51.630] - Field: 'uuid' [01:27:51.630] - Field: 'seed' [01:27:51.631] - Field: 'version' [01:27:51.631] - Field: 'result' [01:27:51.631] - Field: 'asynchronous' [01:27:51.631] - Field: 'calls' [01:27:51.631] - Field: 'globals' [01:27:51.632] - Field: 'stdout' [01:27:51.632] - Field: 'earlySignal' [01:27:51.632] - Field: 'lazy' [01:27:51.632] - Field: 'state' [01:27:51.632] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:51.633] - Launch lazy future ... [01:27:51.634] Packages needed by the future expression (n = 0): [01:27:51.634] Packages needed by future strategies (n = 0): [01:27:51.635] { [01:27:51.635] { [01:27:51.635] { [01:27:51.635] ...future.startTime <- base::Sys.time() [01:27:51.635] { [01:27:51.635] { [01:27:51.635] { [01:27:51.635] base::local({ [01:27:51.635] has_future <- base::requireNamespace("future", [01:27:51.635] quietly = TRUE) [01:27:51.635] if (has_future) { [01:27:51.635] ns <- base::getNamespace("future") [01:27:51.635] version <- ns[[".package"]][["version"]] [01:27:51.635] if (is.null(version)) [01:27:51.635] version <- utils::packageVersion("future") [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] version <- NULL [01:27:51.635] } [01:27:51.635] if (!has_future || version < "1.8.0") { [01:27:51.635] info <- base::c(r_version = base::gsub("R version ", [01:27:51.635] "", base::R.version$version.string), [01:27:51.635] platform = base::sprintf("%s (%s-bit)", [01:27:51.635] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:51.635] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:51.635] "release", "version")], collapse = " "), [01:27:51.635] hostname = base::Sys.info()[["nodename"]]) [01:27:51.635] info <- base::sprintf("%s: %s", base::names(info), [01:27:51.635] info) [01:27:51.635] info <- base::paste(info, collapse = "; ") [01:27:51.635] if (!has_future) { [01:27:51.635] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:51.635] info) [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:51.635] info, version) [01:27:51.635] } [01:27:51.635] base::stop(msg) [01:27:51.635] } [01:27:51.635] }) [01:27:51.635] } [01:27:51.635] options(future.plan = NULL) [01:27:51.635] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.635] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:51.635] } [01:27:51.635] ...future.workdir <- getwd() [01:27:51.635] } [01:27:51.635] ...future.oldOptions <- base::as.list(base::.Options) [01:27:51.635] ...future.oldEnvVars <- base::Sys.getenv() [01:27:51.635] } [01:27:51.635] base::options(future.startup.script = FALSE, future.globals.onMissing = "error", [01:27:51.635] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:51.635] future.globals.onMissing = "error", future.globals.onReference = NULL, [01:27:51.635] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:51.635] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:51.635] future.stdout.windows.reencode = NULL, width = 80L) [01:27:51.635] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:51.635] base::names(...future.oldOptions)) [01:27:51.635] } [01:27:51.635] if (FALSE) { [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] if (TRUE) { [01:27:51.635] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:51.635] open = "w") [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:51.635] windows = "NUL", "/dev/null"), open = "w") [01:27:51.635] } [01:27:51.635] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:51.635] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:51.635] base::sink(type = "output", split = FALSE) [01:27:51.635] base::close(...future.stdout) [01:27:51.635] }, add = TRUE) [01:27:51.635] } [01:27:51.635] ...future.frame <- base::sys.nframe() [01:27:51.635] ...future.conditions <- base::list() [01:27:51.635] ...future.rng <- base::globalenv()$.Random.seed [01:27:51.635] if (FALSE) { [01:27:51.635] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:51.635] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:51.635] } [01:27:51.635] ...future.result <- base::tryCatch({ [01:27:51.635] base::withCallingHandlers({ [01:27:51.635] ...future.value <- base::withVisible(base::local(getOption("future.globals.onMissing"))) [01:27:51.635] future::FutureResult(value = ...future.value$value, [01:27:51.635] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.635] ...future.rng), globalenv = if (FALSE) [01:27:51.635] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:51.635] ...future.globalenv.names)) [01:27:51.635] else NULL, started = ...future.startTime, version = "1.8") [01:27:51.635] }, condition = base::local({ [01:27:51.635] c <- base::c [01:27:51.635] inherits <- base::inherits [01:27:51.635] invokeRestart <- base::invokeRestart [01:27:51.635] length <- base::length [01:27:51.635] list <- base::list [01:27:51.635] seq.int <- base::seq.int [01:27:51.635] signalCondition <- base::signalCondition [01:27:51.635] sys.calls <- base::sys.calls [01:27:51.635] `[[` <- base::`[[` [01:27:51.635] `+` <- base::`+` [01:27:51.635] `<<-` <- base::`<<-` [01:27:51.635] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:51.635] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:51.635] 3L)] [01:27:51.635] } [01:27:51.635] function(cond) { [01:27:51.635] is_error <- inherits(cond, "error") [01:27:51.635] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:51.635] NULL) [01:27:51.635] if (is_error) { [01:27:51.635] sessionInformation <- function() { [01:27:51.635] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:51.635] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:51.635] search = base::search(), system = base::Sys.info()) [01:27:51.635] } [01:27:51.635] ...future.conditions[[length(...future.conditions) + [01:27:51.635] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:51.635] cond$call), session = sessionInformation(), [01:27:51.635] timestamp = base::Sys.time(), signaled = 0L) [01:27:51.635] signalCondition(cond) [01:27:51.635] } [01:27:51.635] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:51.635] "immediateCondition"))) { [01:27:51.635] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:51.635] ...future.conditions[[length(...future.conditions) + [01:27:51.635] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:51.635] if (TRUE && !signal) { [01:27:51.635] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.635] { [01:27:51.635] inherits <- base::inherits [01:27:51.635] invokeRestart <- base::invokeRestart [01:27:51.635] is.null <- base::is.null [01:27:51.635] muffled <- FALSE [01:27:51.635] if (inherits(cond, "message")) { [01:27:51.635] muffled <- grepl(pattern, "muffleMessage") [01:27:51.635] if (muffled) [01:27:51.635] invokeRestart("muffleMessage") [01:27:51.635] } [01:27:51.635] else if (inherits(cond, "warning")) { [01:27:51.635] muffled <- grepl(pattern, "muffleWarning") [01:27:51.635] if (muffled) [01:27:51.635] invokeRestart("muffleWarning") [01:27:51.635] } [01:27:51.635] else if (inherits(cond, "condition")) { [01:27:51.635] if (!is.null(pattern)) { [01:27:51.635] computeRestarts <- base::computeRestarts [01:27:51.635] grepl <- base::grepl [01:27:51.635] restarts <- computeRestarts(cond) [01:27:51.635] for (restart in restarts) { [01:27:51.635] name <- restart$name [01:27:51.635] if (is.null(name)) [01:27:51.635] next [01:27:51.635] if (!grepl(pattern, name)) [01:27:51.635] next [01:27:51.635] invokeRestart(restart) [01:27:51.635] muffled <- TRUE [01:27:51.635] break [01:27:51.635] } [01:27:51.635] } [01:27:51.635] } [01:27:51.635] invisible(muffled) [01:27:51.635] } [01:27:51.635] muffleCondition(cond, pattern = "^muffle") [01:27:51.635] } [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] if (TRUE) { [01:27:51.635] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.635] { [01:27:51.635] inherits <- base::inherits [01:27:51.635] invokeRestart <- base::invokeRestart [01:27:51.635] is.null <- base::is.null [01:27:51.635] muffled <- FALSE [01:27:51.635] if (inherits(cond, "message")) { [01:27:51.635] muffled <- grepl(pattern, "muffleMessage") [01:27:51.635] if (muffled) [01:27:51.635] invokeRestart("muffleMessage") [01:27:51.635] } [01:27:51.635] else if (inherits(cond, "warning")) { [01:27:51.635] muffled <- grepl(pattern, "muffleWarning") [01:27:51.635] if (muffled) [01:27:51.635] invokeRestart("muffleWarning") [01:27:51.635] } [01:27:51.635] else if (inherits(cond, "condition")) { [01:27:51.635] if (!is.null(pattern)) { [01:27:51.635] computeRestarts <- base::computeRestarts [01:27:51.635] grepl <- base::grepl [01:27:51.635] restarts <- computeRestarts(cond) [01:27:51.635] for (restart in restarts) { [01:27:51.635] name <- restart$name [01:27:51.635] if (is.null(name)) [01:27:51.635] next [01:27:51.635] if (!grepl(pattern, name)) [01:27:51.635] next [01:27:51.635] invokeRestart(restart) [01:27:51.635] muffled <- TRUE [01:27:51.635] break [01:27:51.635] } [01:27:51.635] } [01:27:51.635] } [01:27:51.635] invisible(muffled) [01:27:51.635] } [01:27:51.635] muffleCondition(cond, pattern = "^muffle") [01:27:51.635] } [01:27:51.635] } [01:27:51.635] } [01:27:51.635] })) [01:27:51.635] }, error = function(ex) { [01:27:51.635] base::structure(base::list(value = NULL, visible = NULL, [01:27:51.635] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.635] ...future.rng), started = ...future.startTime, [01:27:51.635] finished = Sys.time(), session_uuid = NA_character_, [01:27:51.635] version = "1.8"), class = "FutureResult") [01:27:51.635] }, finally = { [01:27:51.635] if (!identical(...future.workdir, getwd())) [01:27:51.635] setwd(...future.workdir) [01:27:51.635] { [01:27:51.635] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:51.635] ...future.oldOptions$nwarnings <- NULL [01:27:51.635] } [01:27:51.635] base::options(...future.oldOptions) [01:27:51.635] if (.Platform$OS.type == "windows") { [01:27:51.635] old_names <- names(...future.oldEnvVars) [01:27:51.635] envs <- base::Sys.getenv() [01:27:51.635] names <- names(envs) [01:27:51.635] common <- intersect(names, old_names) [01:27:51.635] added <- setdiff(names, old_names) [01:27:51.635] removed <- setdiff(old_names, names) [01:27:51.635] changed <- common[...future.oldEnvVars[common] != [01:27:51.635] envs[common]] [01:27:51.635] NAMES <- toupper(changed) [01:27:51.635] args <- list() [01:27:51.635] for (kk in seq_along(NAMES)) { [01:27:51.635] name <- changed[[kk]] [01:27:51.635] NAME <- NAMES[[kk]] [01:27:51.635] if (name != NAME && is.element(NAME, old_names)) [01:27:51.635] next [01:27:51.635] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.635] } [01:27:51.635] NAMES <- toupper(added) [01:27:51.635] for (kk in seq_along(NAMES)) { [01:27:51.635] name <- added[[kk]] [01:27:51.635] NAME <- NAMES[[kk]] [01:27:51.635] if (name != NAME && is.element(NAME, old_names)) [01:27:51.635] next [01:27:51.635] args[[name]] <- "" [01:27:51.635] } [01:27:51.635] NAMES <- toupper(removed) [01:27:51.635] for (kk in seq_along(NAMES)) { [01:27:51.635] name <- removed[[kk]] [01:27:51.635] NAME <- NAMES[[kk]] [01:27:51.635] if (name != NAME && is.element(NAME, old_names)) [01:27:51.635] next [01:27:51.635] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.635] } [01:27:51.635] if (length(args) > 0) [01:27:51.635] base::do.call(base::Sys.setenv, args = args) [01:27:51.635] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:51.635] } [01:27:51.635] { [01:27:51.635] if (base::length(...future.futureOptionsAdded) > [01:27:51.635] 0L) { [01:27:51.635] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:51.635] base::names(opts) <- ...future.futureOptionsAdded [01:27:51.635] base::options(opts) [01:27:51.635] } [01:27:51.635] { [01:27:51.635] { [01:27:51.635] NULL [01:27:51.635] RNGkind("Mersenne-Twister") [01:27:51.635] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:51.635] inherits = FALSE) [01:27:51.635] } [01:27:51.635] options(future.plan = NULL) [01:27:51.635] if (is.na(NA_character_)) [01:27:51.635] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.635] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:51.635] future::plan(list(function (..., envir = parent.frame()) [01:27:51.635] { [01:27:51.635] future <- SequentialFuture(..., envir = envir) [01:27:51.635] if (!future$lazy) [01:27:51.635] future <- run(future) [01:27:51.635] invisible(future) [01:27:51.635] }), .cleanup = FALSE, .init = FALSE) [01:27:51.635] } [01:27:51.635] } [01:27:51.635] } [01:27:51.635] }) [01:27:51.635] if (TRUE) { [01:27:51.635] base::sink(type = "output", split = FALSE) [01:27:51.635] if (TRUE) { [01:27:51.635] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:51.635] } [01:27:51.635] else { [01:27:51.635] ...future.result["stdout"] <- base::list(NULL) [01:27:51.635] } [01:27:51.635] base::close(...future.stdout) [01:27:51.635] ...future.stdout <- NULL [01:27:51.635] } [01:27:51.635] ...future.result$conditions <- ...future.conditions [01:27:51.635] ...future.result$finished <- base::Sys.time() [01:27:51.635] ...future.result [01:27:51.635] } [01:27:51.640] plan(): Setting new future strategy stack: [01:27:51.640] List of future strategies: [01:27:51.640] 1. sequential: [01:27:51.640] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.640] - tweaked: FALSE [01:27:51.640] - call: NULL [01:27:51.641] plan(): nbrOfWorkers() = 1 [01:27:51.643] plan(): Setting new future strategy stack: [01:27:51.644] List of future strategies: [01:27:51.644] 1. sequential: [01:27:51.644] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.644] - tweaked: FALSE [01:27:51.644] - call: plan(strategy) [01:27:51.644] plan(): nbrOfWorkers() = 1 [01:27:51.645] SequentialFuture started (and completed) [01:27:51.645] - Launch lazy future ... done [01:27:51.646] run() for 'SequentialFuture' ... done [01:27:51.647] getGlobalsAndPackages() ... Warning: 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' [01:27:51.647] Searching for globals... [01:27:51.648] - globals found: [1] 'getOption' [01:27:51.648] Searching for globals ... DONE [01:27:51.648] Resolving globals: FALSE [01:27:51.648] [01:27:51.649] [01:27:51.649] getGlobalsAndPackages() ... DONE [01:27:51.649] run() for 'Future' ... [01:27:51.649] - state: 'created' [01:27:51.650] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:51.650] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:51.650] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:51.650] - Field: 'label' [01:27:51.651] - Field: 'local' [01:27:51.651] - Field: 'owner' [01:27:51.651] - Field: 'envir' [01:27:51.651] - Field: 'packages' [01:27:51.651] - Field: 'gc' [01:27:51.652] - Field: 'conditions' [01:27:51.652] - Field: 'expr' [01:27:51.652] - Field: 'uuid' [01:27:51.652] - Field: 'seed' [01:27:51.652] - Field: 'version' [01:27:51.653] - Field: 'result' [01:27:51.653] - Field: 'asynchronous' [01:27:51.653] - Field: 'calls' [01:27:51.653] - Field: 'globals' [01:27:51.653] - Field: 'stdout' [01:27:51.654] - Field: 'earlySignal' [01:27:51.654] - Field: 'lazy' [01:27:51.654] - Field: 'state' [01:27:51.654] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:51.654] - Launch lazy future ... [01:27:51.655] Packages needed by the future expression (n = 0): [01:27:51.655] Packages needed by future strategies (n = 0): [01:27:51.655] { [01:27:51.655] { [01:27:51.655] { [01:27:51.655] ...future.startTime <- base::Sys.time() [01:27:51.655] { [01:27:51.655] { [01:27:51.655] { [01:27:51.655] base::local({ [01:27:51.655] has_future <- base::requireNamespace("future", [01:27:51.655] quietly = TRUE) [01:27:51.655] if (has_future) { [01:27:51.655] ns <- base::getNamespace("future") [01:27:51.655] version <- ns[[".package"]][["version"]] [01:27:51.655] if (is.null(version)) [01:27:51.655] version <- utils::packageVersion("future") [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] version <- NULL [01:27:51.655] } [01:27:51.655] if (!has_future || version < "1.8.0") { [01:27:51.655] info <- base::c(r_version = base::gsub("R version ", [01:27:51.655] "", base::R.version$version.string), [01:27:51.655] platform = base::sprintf("%s (%s-bit)", [01:27:51.655] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:51.655] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:51.655] "release", "version")], collapse = " "), [01:27:51.655] hostname = base::Sys.info()[["nodename"]]) [01:27:51.655] info <- base::sprintf("%s: %s", base::names(info), [01:27:51.655] info) [01:27:51.655] info <- base::paste(info, collapse = "; ") [01:27:51.655] if (!has_future) { [01:27:51.655] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:51.655] info) [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:51.655] info, version) [01:27:51.655] } [01:27:51.655] base::stop(msg) [01:27:51.655] } [01:27:51.655] }) [01:27:51.655] } [01:27:51.655] options(future.plan = NULL) [01:27:51.655] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.655] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:51.655] } [01:27:51.655] ...future.workdir <- getwd() [01:27:51.655] } [01:27:51.655] ...future.oldOptions <- base::as.list(base::.Options) [01:27:51.655] ...future.oldEnvVars <- base::Sys.getenv() [01:27:51.655] } [01:27:51.655] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:51.655] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:51.655] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:51.655] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:51.655] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:51.655] future.stdout.windows.reencode = NULL, width = 80L) [01:27:51.655] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:51.655] base::names(...future.oldOptions)) [01:27:51.655] } [01:27:51.655] if (FALSE) { [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] if (TRUE) { [01:27:51.655] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:51.655] open = "w") [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:51.655] windows = "NUL", "/dev/null"), open = "w") [01:27:51.655] } [01:27:51.655] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:51.655] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:51.655] base::sink(type = "output", split = FALSE) [01:27:51.655] base::close(...future.stdout) [01:27:51.655] }, add = TRUE) [01:27:51.655] } [01:27:51.655] ...future.frame <- base::sys.nframe() [01:27:51.655] ...future.conditions <- base::list() [01:27:51.655] ...future.rng <- base::globalenv()$.Random.seed [01:27:51.655] if (FALSE) { [01:27:51.655] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:51.655] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:51.655] } [01:27:51.655] ...future.result <- base::tryCatch({ [01:27:51.655] base::withCallingHandlers({ [01:27:51.655] ...future.value <- base::withVisible(base::local(getOption("future.globals.onMissing"))) [01:27:51.655] future::FutureResult(value = ...future.value$value, [01:27:51.655] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.655] ...future.rng), globalenv = if (FALSE) [01:27:51.655] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:51.655] ...future.globalenv.names)) [01:27:51.655] else NULL, started = ...future.startTime, version = "1.8") [01:27:51.655] }, condition = base::local({ [01:27:51.655] c <- base::c [01:27:51.655] inherits <- base::inherits [01:27:51.655] invokeRestart <- base::invokeRestart [01:27:51.655] length <- base::length [01:27:51.655] list <- base::list [01:27:51.655] seq.int <- base::seq.int [01:27:51.655] signalCondition <- base::signalCondition [01:27:51.655] sys.calls <- base::sys.calls [01:27:51.655] `[[` <- base::`[[` [01:27:51.655] `+` <- base::`+` [01:27:51.655] `<<-` <- base::`<<-` [01:27:51.655] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:51.655] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:51.655] 3L)] [01:27:51.655] } [01:27:51.655] function(cond) { [01:27:51.655] is_error <- inherits(cond, "error") [01:27:51.655] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:51.655] NULL) [01:27:51.655] if (is_error) { [01:27:51.655] sessionInformation <- function() { [01:27:51.655] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:51.655] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:51.655] search = base::search(), system = base::Sys.info()) [01:27:51.655] } [01:27:51.655] ...future.conditions[[length(...future.conditions) + [01:27:51.655] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:51.655] cond$call), session = sessionInformation(), [01:27:51.655] timestamp = base::Sys.time(), signaled = 0L) [01:27:51.655] signalCondition(cond) [01:27:51.655] } [01:27:51.655] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:51.655] "immediateCondition"))) { [01:27:51.655] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:51.655] ...future.conditions[[length(...future.conditions) + [01:27:51.655] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:51.655] if (TRUE && !signal) { [01:27:51.655] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.655] { [01:27:51.655] inherits <- base::inherits [01:27:51.655] invokeRestart <- base::invokeRestart [01:27:51.655] is.null <- base::is.null [01:27:51.655] muffled <- FALSE [01:27:51.655] if (inherits(cond, "message")) { [01:27:51.655] muffled <- grepl(pattern, "muffleMessage") [01:27:51.655] if (muffled) [01:27:51.655] invokeRestart("muffleMessage") [01:27:51.655] } [01:27:51.655] else if (inherits(cond, "warning")) { [01:27:51.655] muffled <- grepl(pattern, "muffleWarning") [01:27:51.655] if (muffled) [01:27:51.655] invokeRestart("muffleWarning") [01:27:51.655] } [01:27:51.655] else if (inherits(cond, "condition")) { [01:27:51.655] if (!is.null(pattern)) { [01:27:51.655] computeRestarts <- base::computeRestarts [01:27:51.655] grepl <- base::grepl [01:27:51.655] restarts <- computeRestarts(cond) [01:27:51.655] for (restart in restarts) { [01:27:51.655] name <- restart$name [01:27:51.655] if (is.null(name)) [01:27:51.655] next [01:27:51.655] if (!grepl(pattern, name)) [01:27:51.655] next [01:27:51.655] invokeRestart(restart) [01:27:51.655] muffled <- TRUE [01:27:51.655] break [01:27:51.655] } [01:27:51.655] } [01:27:51.655] } [01:27:51.655] invisible(muffled) [01:27:51.655] } [01:27:51.655] muffleCondition(cond, pattern = "^muffle") [01:27:51.655] } [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] if (TRUE) { [01:27:51.655] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.655] { [01:27:51.655] inherits <- base::inherits [01:27:51.655] invokeRestart <- base::invokeRestart [01:27:51.655] is.null <- base::is.null [01:27:51.655] muffled <- FALSE [01:27:51.655] if (inherits(cond, "message")) { [01:27:51.655] muffled <- grepl(pattern, "muffleMessage") [01:27:51.655] if (muffled) [01:27:51.655] invokeRestart("muffleMessage") [01:27:51.655] } [01:27:51.655] else if (inherits(cond, "warning")) { [01:27:51.655] muffled <- grepl(pattern, "muffleWarning") [01:27:51.655] if (muffled) [01:27:51.655] invokeRestart("muffleWarning") [01:27:51.655] } [01:27:51.655] else if (inherits(cond, "condition")) { [01:27:51.655] if (!is.null(pattern)) { [01:27:51.655] computeRestarts <- base::computeRestarts [01:27:51.655] grepl <- base::grepl [01:27:51.655] restarts <- computeRestarts(cond) [01:27:51.655] for (restart in restarts) { [01:27:51.655] name <- restart$name [01:27:51.655] if (is.null(name)) [01:27:51.655] next [01:27:51.655] if (!grepl(pattern, name)) [01:27:51.655] next [01:27:51.655] invokeRestart(restart) [01:27:51.655] muffled <- TRUE [01:27:51.655] break [01:27:51.655] } [01:27:51.655] } [01:27:51.655] } [01:27:51.655] invisible(muffled) [01:27:51.655] } [01:27:51.655] muffleCondition(cond, pattern = "^muffle") [01:27:51.655] } [01:27:51.655] } [01:27:51.655] } [01:27:51.655] })) [01:27:51.655] }, error = function(ex) { [01:27:51.655] base::structure(base::list(value = NULL, visible = NULL, [01:27:51.655] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.655] ...future.rng), started = ...future.startTime, [01:27:51.655] finished = Sys.time(), session_uuid = NA_character_, [01:27:51.655] version = "1.8"), class = "FutureResult") [01:27:51.655] }, finally = { [01:27:51.655] if (!identical(...future.workdir, getwd())) [01:27:51.655] setwd(...future.workdir) [01:27:51.655] { [01:27:51.655] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:51.655] ...future.oldOptions$nwarnings <- NULL [01:27:51.655] } [01:27:51.655] base::options(...future.oldOptions) [01:27:51.655] if (.Platform$OS.type == "windows") { [01:27:51.655] old_names <- names(...future.oldEnvVars) [01:27:51.655] envs <- base::Sys.getenv() [01:27:51.655] names <- names(envs) [01:27:51.655] common <- intersect(names, old_names) [01:27:51.655] added <- setdiff(names, old_names) [01:27:51.655] removed <- setdiff(old_names, names) [01:27:51.655] changed <- common[...future.oldEnvVars[common] != [01:27:51.655] envs[common]] [01:27:51.655] NAMES <- toupper(changed) [01:27:51.655] args <- list() [01:27:51.655] for (kk in seq_along(NAMES)) { [01:27:51.655] name <- changed[[kk]] [01:27:51.655] NAME <- NAMES[[kk]] [01:27:51.655] if (name != NAME && is.element(NAME, old_names)) [01:27:51.655] next [01:27:51.655] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.655] } [01:27:51.655] NAMES <- toupper(added) [01:27:51.655] for (kk in seq_along(NAMES)) { [01:27:51.655] name <- added[[kk]] [01:27:51.655] NAME <- NAMES[[kk]] [01:27:51.655] if (name != NAME && is.element(NAME, old_names)) [01:27:51.655] next [01:27:51.655] args[[name]] <- "" [01:27:51.655] } [01:27:51.655] NAMES <- toupper(removed) [01:27:51.655] for (kk in seq_along(NAMES)) { [01:27:51.655] name <- removed[[kk]] [01:27:51.655] NAME <- NAMES[[kk]] [01:27:51.655] if (name != NAME && is.element(NAME, old_names)) [01:27:51.655] next [01:27:51.655] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.655] } [01:27:51.655] if (length(args) > 0) [01:27:51.655] base::do.call(base::Sys.setenv, args = args) [01:27:51.655] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:51.655] } [01:27:51.655] { [01:27:51.655] if (base::length(...future.futureOptionsAdded) > [01:27:51.655] 0L) { [01:27:51.655] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:51.655] base::names(opts) <- ...future.futureOptionsAdded [01:27:51.655] base::options(opts) [01:27:51.655] } [01:27:51.655] { [01:27:51.655] { [01:27:51.655] NULL [01:27:51.655] RNGkind("Mersenne-Twister") [01:27:51.655] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:51.655] inherits = FALSE) [01:27:51.655] } [01:27:51.655] options(future.plan = NULL) [01:27:51.655] if (is.na(NA_character_)) [01:27:51.655] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.655] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:51.655] future::plan(list(function (..., envir = parent.frame()) [01:27:51.655] { [01:27:51.655] future <- SequentialFuture(..., envir = envir) [01:27:51.655] if (!future$lazy) [01:27:51.655] future <- run(future) [01:27:51.655] invisible(future) [01:27:51.655] }), .cleanup = FALSE, .init = FALSE) [01:27:51.655] } [01:27:51.655] } [01:27:51.655] } [01:27:51.655] }) [01:27:51.655] if (TRUE) { [01:27:51.655] base::sink(type = "output", split = FALSE) [01:27:51.655] if (TRUE) { [01:27:51.655] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:51.655] } [01:27:51.655] else { [01:27:51.655] ...future.result["stdout"] <- base::list(NULL) [01:27:51.655] } [01:27:51.655] base::close(...future.stdout) [01:27:51.655] ...future.stdout <- NULL [01:27:51.655] } [01:27:51.655] ...future.result$conditions <- ...future.conditions [01:27:51.655] ...future.result$finished <- base::Sys.time() [01:27:51.655] ...future.result [01:27:51.655] } [01:27:51.660] plan(): Setting new future strategy stack: [01:27:51.660] List of future strategies: [01:27:51.660] 1. sequential: [01:27:51.660] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.660] - tweaked: FALSE [01:27:51.660] - call: NULL [01:27:51.661] plan(): nbrOfWorkers() = 1 [01:27:51.662] plan(): Setting new future strategy stack: [01:27:51.662] List of future strategies: [01:27:51.662] 1. sequential: [01:27:51.662] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.662] - tweaked: FALSE [01:27:51.662] - call: plan(strategy) [01:27:51.663] plan(): nbrOfWorkers() = 1 [01:27:51.663] SequentialFuture started (and completed) [01:27:51.663] - Launch lazy future ... done [01:27:51.664] run() for 'SequentialFuture' ... done [01:27:51.664] getGlobalsAndPackages() ... Warning: 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' [01:27:51.665] Searching for globals... [01:27:51.667] getGlobalsAndPackages() ... Warning: 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' [01:27:51.667] Searching for globals... [01:27:51.668] - globals found: [5] '$', 'subset', 'data', '<', 'x' [01:27:51.668] Searching for globals ... DONE [01:27:51.669] Resolving globals: FALSE [01:27:51.670] The total size of the 1 globals is 160 bytes (160 bytes) [01:27:51.671] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 160 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (160 bytes of class 'list') [01:27:51.671] - globals: [1] 'data' [01:27:51.671] [01:27:51.672] getGlobalsAndPackages() ... DONE [01:27:51.672] run() for 'Future' ... [01:27:51.672] - state: 'created' [01:27:51.672] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:51.673] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:51.673] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:51.673] - Field: 'label' [01:27:51.673] - Field: 'local' [01:27:51.674] - Field: 'owner' [01:27:51.674] - Field: 'envir' [01:27:51.674] - Field: 'packages' [01:27:51.674] - Field: 'gc' [01:27:51.674] - Field: 'conditions' [01:27:51.675] - Field: 'expr' [01:27:51.675] - Field: 'uuid' [01:27:51.675] - Field: 'seed' [01:27:51.675] - Field: 'version' [01:27:51.675] - Field: 'result' [01:27:51.675] - Field: 'asynchronous' [01:27:51.676] - Field: 'calls' [01:27:51.676] - Field: 'globals' [01:27:51.676] - Field: 'stdout' [01:27:51.676] - Field: 'earlySignal' [01:27:51.676] - Field: 'lazy' [01:27:51.677] - Field: 'state' [01:27:51.677] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:51.677] - Launch lazy future ... [01:27:51.677] Packages needed by the future expression (n = 0): [01:27:51.678] Packages needed by future strategies (n = 0): [01:27:51.678] { [01:27:51.678] { [01:27:51.678] { [01:27:51.678] ...future.startTime <- base::Sys.time() [01:27:51.678] { [01:27:51.678] { [01:27:51.678] { [01:27:51.678] base::local({ [01:27:51.678] has_future <- base::requireNamespace("future", [01:27:51.678] quietly = TRUE) [01:27:51.678] if (has_future) { [01:27:51.678] ns <- base::getNamespace("future") [01:27:51.678] version <- ns[[".package"]][["version"]] [01:27:51.678] if (is.null(version)) [01:27:51.678] version <- utils::packageVersion("future") [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] version <- NULL [01:27:51.678] } [01:27:51.678] if (!has_future || version < "1.8.0") { [01:27:51.678] info <- base::c(r_version = base::gsub("R version ", [01:27:51.678] "", base::R.version$version.string), [01:27:51.678] platform = base::sprintf("%s (%s-bit)", [01:27:51.678] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:51.678] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:51.678] "release", "version")], collapse = " "), [01:27:51.678] hostname = base::Sys.info()[["nodename"]]) [01:27:51.678] info <- base::sprintf("%s: %s", base::names(info), [01:27:51.678] info) [01:27:51.678] info <- base::paste(info, collapse = "; ") [01:27:51.678] if (!has_future) { [01:27:51.678] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:51.678] info) [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:51.678] info, version) [01:27:51.678] } [01:27:51.678] base::stop(msg) [01:27:51.678] } [01:27:51.678] }) [01:27:51.678] } [01:27:51.678] options(future.plan = NULL) [01:27:51.678] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.678] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:51.678] } [01:27:51.678] ...future.workdir <- getwd() [01:27:51.678] } [01:27:51.678] ...future.oldOptions <- base::as.list(base::.Options) [01:27:51.678] ...future.oldEnvVars <- base::Sys.getenv() [01:27:51.678] } [01:27:51.678] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:51.678] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:51.678] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:51.678] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:51.678] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:51.678] future.stdout.windows.reencode = NULL, width = 80L) [01:27:51.678] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:51.678] base::names(...future.oldOptions)) [01:27:51.678] } [01:27:51.678] if (FALSE) { [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] if (TRUE) { [01:27:51.678] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:51.678] open = "w") [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:51.678] windows = "NUL", "/dev/null"), open = "w") [01:27:51.678] } [01:27:51.678] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:51.678] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:51.678] base::sink(type = "output", split = FALSE) [01:27:51.678] base::close(...future.stdout) [01:27:51.678] }, add = TRUE) [01:27:51.678] } [01:27:51.678] ...future.frame <- base::sys.nframe() [01:27:51.678] ...future.conditions <- base::list() [01:27:51.678] ...future.rng <- base::globalenv()$.Random.seed [01:27:51.678] if (FALSE) { [01:27:51.678] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:51.678] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:51.678] } [01:27:51.678] ...future.result <- base::tryCatch({ [01:27:51.678] base::withCallingHandlers({ [01:27:51.678] ...future.value <- base::withVisible(base::local(subset(data, [01:27:51.678] x < 3)$y)) [01:27:51.678] future::FutureResult(value = ...future.value$value, [01:27:51.678] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.678] ...future.rng), globalenv = if (FALSE) [01:27:51.678] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:51.678] ...future.globalenv.names)) [01:27:51.678] else NULL, started = ...future.startTime, version = "1.8") [01:27:51.678] }, condition = base::local({ [01:27:51.678] c <- base::c [01:27:51.678] inherits <- base::inherits [01:27:51.678] invokeRestart <- base::invokeRestart [01:27:51.678] length <- base::length [01:27:51.678] list <- base::list [01:27:51.678] seq.int <- base::seq.int [01:27:51.678] signalCondition <- base::signalCondition [01:27:51.678] sys.calls <- base::sys.calls [01:27:51.678] `[[` <- base::`[[` [01:27:51.678] `+` <- base::`+` [01:27:51.678] `<<-` <- base::`<<-` [01:27:51.678] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:51.678] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:51.678] 3L)] [01:27:51.678] } [01:27:51.678] function(cond) { [01:27:51.678] is_error <- inherits(cond, "error") [01:27:51.678] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:51.678] NULL) [01:27:51.678] if (is_error) { [01:27:51.678] sessionInformation <- function() { [01:27:51.678] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:51.678] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:51.678] search = base::search(), system = base::Sys.info()) [01:27:51.678] } [01:27:51.678] ...future.conditions[[length(...future.conditions) + [01:27:51.678] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:51.678] cond$call), session = sessionInformation(), [01:27:51.678] timestamp = base::Sys.time(), signaled = 0L) [01:27:51.678] signalCondition(cond) [01:27:51.678] } [01:27:51.678] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:51.678] "immediateCondition"))) { [01:27:51.678] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:51.678] ...future.conditions[[length(...future.conditions) + [01:27:51.678] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:51.678] if (TRUE && !signal) { [01:27:51.678] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.678] { [01:27:51.678] inherits <- base::inherits [01:27:51.678] invokeRestart <- base::invokeRestart [01:27:51.678] is.null <- base::is.null [01:27:51.678] muffled <- FALSE [01:27:51.678] if (inherits(cond, "message")) { [01:27:51.678] muffled <- grepl(pattern, "muffleMessage") [01:27:51.678] if (muffled) [01:27:51.678] invokeRestart("muffleMessage") [01:27:51.678] } [01:27:51.678] else if (inherits(cond, "warning")) { [01:27:51.678] muffled <- grepl(pattern, "muffleWarning") [01:27:51.678] if (muffled) [01:27:51.678] invokeRestart("muffleWarning") [01:27:51.678] } [01:27:51.678] else if (inherits(cond, "condition")) { [01:27:51.678] if (!is.null(pattern)) { [01:27:51.678] computeRestarts <- base::computeRestarts [01:27:51.678] grepl <- base::grepl [01:27:51.678] restarts <- computeRestarts(cond) [01:27:51.678] for (restart in restarts) { [01:27:51.678] name <- restart$name [01:27:51.678] if (is.null(name)) [01:27:51.678] next [01:27:51.678] if (!grepl(pattern, name)) [01:27:51.678] next [01:27:51.678] invokeRestart(restart) [01:27:51.678] muffled <- TRUE [01:27:51.678] break [01:27:51.678] } [01:27:51.678] } [01:27:51.678] } [01:27:51.678] invisible(muffled) [01:27:51.678] } [01:27:51.678] muffleCondition(cond, pattern = "^muffle") [01:27:51.678] } [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] if (TRUE) { [01:27:51.678] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.678] { [01:27:51.678] inherits <- base::inherits [01:27:51.678] invokeRestart <- base::invokeRestart [01:27:51.678] is.null <- base::is.null [01:27:51.678] muffled <- FALSE [01:27:51.678] if (inherits(cond, "message")) { [01:27:51.678] muffled <- grepl(pattern, "muffleMessage") [01:27:51.678] if (muffled) [01:27:51.678] invokeRestart("muffleMessage") [01:27:51.678] } [01:27:51.678] else if (inherits(cond, "warning")) { [01:27:51.678] muffled <- grepl(pattern, "muffleWarning") [01:27:51.678] if (muffled) [01:27:51.678] invokeRestart("muffleWarning") [01:27:51.678] } [01:27:51.678] else if (inherits(cond, "condition")) { [01:27:51.678] if (!is.null(pattern)) { [01:27:51.678] computeRestarts <- base::computeRestarts [01:27:51.678] grepl <- base::grepl [01:27:51.678] restarts <- computeRestarts(cond) [01:27:51.678] for (restart in restarts) { [01:27:51.678] name <- restart$name [01:27:51.678] if (is.null(name)) [01:27:51.678] next [01:27:51.678] if (!grepl(pattern, name)) [01:27:51.678] next [01:27:51.678] invokeRestart(restart) [01:27:51.678] muffled <- TRUE [01:27:51.678] break [01:27:51.678] } [01:27:51.678] } [01:27:51.678] } [01:27:51.678] invisible(muffled) [01:27:51.678] } [01:27:51.678] muffleCondition(cond, pattern = "^muffle") [01:27:51.678] } [01:27:51.678] } [01:27:51.678] } [01:27:51.678] })) [01:27:51.678] }, error = function(ex) { [01:27:51.678] base::structure(base::list(value = NULL, visible = NULL, [01:27:51.678] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.678] ...future.rng), started = ...future.startTime, [01:27:51.678] finished = Sys.time(), session_uuid = NA_character_, [01:27:51.678] version = "1.8"), class = "FutureResult") [01:27:51.678] }, finally = { [01:27:51.678] if (!identical(...future.workdir, getwd())) [01:27:51.678] setwd(...future.workdir) [01:27:51.678] { [01:27:51.678] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:51.678] ...future.oldOptions$nwarnings <- NULL [01:27:51.678] } [01:27:51.678] base::options(...future.oldOptions) [01:27:51.678] if (.Platform$OS.type == "windows") { [01:27:51.678] old_names <- names(...future.oldEnvVars) [01:27:51.678] envs <- base::Sys.getenv() [01:27:51.678] names <- names(envs) [01:27:51.678] common <- intersect(names, old_names) [01:27:51.678] added <- setdiff(names, old_names) [01:27:51.678] removed <- setdiff(old_names, names) [01:27:51.678] changed <- common[...future.oldEnvVars[common] != [01:27:51.678] envs[common]] [01:27:51.678] NAMES <- toupper(changed) [01:27:51.678] args <- list() [01:27:51.678] for (kk in seq_along(NAMES)) { [01:27:51.678] name <- changed[[kk]] [01:27:51.678] NAME <- NAMES[[kk]] [01:27:51.678] if (name != NAME && is.element(NAME, old_names)) [01:27:51.678] next [01:27:51.678] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.678] } [01:27:51.678] NAMES <- toupper(added) [01:27:51.678] for (kk in seq_along(NAMES)) { [01:27:51.678] name <- added[[kk]] [01:27:51.678] NAME <- NAMES[[kk]] [01:27:51.678] if (name != NAME && is.element(NAME, old_names)) [01:27:51.678] next [01:27:51.678] args[[name]] <- "" [01:27:51.678] } [01:27:51.678] NAMES <- toupper(removed) [01:27:51.678] for (kk in seq_along(NAMES)) { [01:27:51.678] name <- removed[[kk]] [01:27:51.678] NAME <- NAMES[[kk]] [01:27:51.678] if (name != NAME && is.element(NAME, old_names)) [01:27:51.678] next [01:27:51.678] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.678] } [01:27:51.678] if (length(args) > 0) [01:27:51.678] base::do.call(base::Sys.setenv, args = args) [01:27:51.678] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:51.678] } [01:27:51.678] { [01:27:51.678] if (base::length(...future.futureOptionsAdded) > [01:27:51.678] 0L) { [01:27:51.678] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:51.678] base::names(opts) <- ...future.futureOptionsAdded [01:27:51.678] base::options(opts) [01:27:51.678] } [01:27:51.678] { [01:27:51.678] { [01:27:51.678] NULL [01:27:51.678] RNGkind("Mersenne-Twister") [01:27:51.678] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:51.678] inherits = FALSE) [01:27:51.678] } [01:27:51.678] options(future.plan = NULL) [01:27:51.678] if (is.na(NA_character_)) [01:27:51.678] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.678] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:51.678] future::plan(list(function (..., envir = parent.frame()) [01:27:51.678] { [01:27:51.678] future <- SequentialFuture(..., envir = envir) [01:27:51.678] if (!future$lazy) [01:27:51.678] future <- run(future) [01:27:51.678] invisible(future) [01:27:51.678] }), .cleanup = FALSE, .init = FALSE) [01:27:51.678] } [01:27:51.678] } [01:27:51.678] } [01:27:51.678] }) [01:27:51.678] if (TRUE) { [01:27:51.678] base::sink(type = "output", split = FALSE) [01:27:51.678] if (TRUE) { [01:27:51.678] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:51.678] } [01:27:51.678] else { [01:27:51.678] ...future.result["stdout"] <- base::list(NULL) [01:27:51.678] } [01:27:51.678] base::close(...future.stdout) [01:27:51.678] ...future.stdout <- NULL [01:27:51.678] } [01:27:51.678] ...future.result$conditions <- ...future.conditions [01:27:51.678] ...future.result$finished <- base::Sys.time() [01:27:51.678] ...future.result [01:27:51.678] } [01:27:51.686] assign_globals() ... [01:27:51.686] List of 1 [01:27:51.686] $ data:'data.frame': 5 obs. of 2 variables: [01:27:51.686] ..$ x: int [1:5] 1 2 3 4 5 [01:27:51.686] ..$ y: int [1:5] 1 2 3 4 5 [01:27:51.686] - attr(*, "where")=List of 1 [01:27:51.686] ..$ data: [01:27:51.686] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [01:27:51.686] - attr(*, "resolved")= logi FALSE [01:27:51.686] - attr(*, "total_size")= num 160 [01:27:51.686] - attr(*, "already-done")= logi TRUE [01:27:51.694] - copied 'data' to environment [01:27:51.694] assign_globals() ... done [01:27:51.694] plan(): Setting new future strategy stack: [01:27:51.694] List of future strategies: [01:27:51.694] 1. sequential: [01:27:51.694] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.694] - tweaked: FALSE [01:27:51.694] - call: NULL [01:27:51.695] plan(): nbrOfWorkers() = 1 [01:27:51.696] plan(): Setting new future strategy stack: [01:27:51.697] List of future strategies: [01:27:51.697] 1. sequential: [01:27:51.697] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.697] - tweaked: FALSE [01:27:51.697] - call: plan(strategy) [01:27:51.697] plan(): nbrOfWorkers() = 1 [01:27:51.697] SequentialFuture started (and completed) [01:27:51.698] - Launch lazy future ... done [01:27:51.698] run() for 'SequentialFuture' ... done [01:27:51.698] plan(): Setting new future strategy stack: [01:27:51.699] List of future strategies: [01:27:51.699] 1. sequential: [01:27:51.699] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.699] - tweaked: FALSE [01:27:51.699] - call: plan(list(sequential, strategy)) [01:27:51.699] 2. sequential: [01:27:51.699] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.699] - tweaked: FALSE [01:27:51.699] - call: plan(list(sequential, strategy)) [01:27:51.700] plan(): nbrOfWorkers() = 1 [01:27:51.700] getGlobalsAndPackages() ... Warning: 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' [01:27:51.700] Searching for globals... [01:27:51.707] - globals found: [8] '{', '<-', '$', 'subset', 'data', '<', 'x', '%<-%' [01:27:51.708] Searching for globals ... DONE [01:27:51.708] Resolving globals: FALSE [01:27:51.709] The total size of the 1 globals is 160 bytes (160 bytes) [01:27:51.709] The total size of the 1 globals exported for future expression ('{; a %<-% subset(data, x < 3)$y; a; }') is 160 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (160 bytes of class 'list') [01:27:51.709] - globals: [1] 'data' [01:27:51.710] - packages: [1] 'future' [01:27:51.710] getGlobalsAndPackages() ... DONE [01:27:51.710] run() for 'Future' ... [01:27:51.710] - state: 'created' [01:27:51.711] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:51.711] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:51.711] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:51.711] - Field: 'label' [01:27:51.712] - Field: 'local' [01:27:51.712] - Field: 'owner' [01:27:51.712] - Field: 'envir' [01:27:51.712] - Field: 'packages' [01:27:51.712] - Field: 'gc' [01:27:51.713] - Field: 'conditions' [01:27:51.713] - Field: 'expr' [01:27:51.713] - Field: 'uuid' [01:27:51.713] - Field: 'seed' [01:27:51.713] - Field: 'version' [01:27:51.714] - Field: 'result' [01:27:51.714] - Field: 'asynchronous' [01:27:51.714] - Field: 'calls' [01:27:51.714] - Field: 'globals' [01:27:51.714] - Field: 'stdout' [01:27:51.715] - Field: 'earlySignal' [01:27:51.715] - Field: 'lazy' [01:27:51.715] - Field: 'state' [01:27:51.715] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:51.715] - Launch lazy future ... [01:27:51.716] Packages needed by the future expression (n = 1): 'future' [01:27:51.716] Packages needed by future strategies (n = 1): 'future' [01:27:51.717] { [01:27:51.717] { [01:27:51.717] { [01:27:51.717] ...future.startTime <- base::Sys.time() [01:27:51.717] { [01:27:51.717] { [01:27:51.717] { [01:27:51.717] { [01:27:51.717] base::local({ [01:27:51.717] has_future <- base::requireNamespace("future", [01:27:51.717] quietly = TRUE) [01:27:51.717] if (has_future) { [01:27:51.717] ns <- base::getNamespace("future") [01:27:51.717] version <- ns[[".package"]][["version"]] [01:27:51.717] if (is.null(version)) [01:27:51.717] version <- utils::packageVersion("future") [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] version <- NULL [01:27:51.717] } [01:27:51.717] if (!has_future || version < "1.8.0") { [01:27:51.717] info <- base::c(r_version = base::gsub("R version ", [01:27:51.717] "", base::R.version$version.string), [01:27:51.717] platform = base::sprintf("%s (%s-bit)", [01:27:51.717] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:51.717] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:51.717] "release", "version")], collapse = " "), [01:27:51.717] hostname = base::Sys.info()[["nodename"]]) [01:27:51.717] info <- base::sprintf("%s: %s", base::names(info), [01:27:51.717] info) [01:27:51.717] info <- base::paste(info, collapse = "; ") [01:27:51.717] if (!has_future) { [01:27:51.717] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:51.717] info) [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:51.717] info, version) [01:27:51.717] } [01:27:51.717] base::stop(msg) [01:27:51.717] } [01:27:51.717] }) [01:27:51.717] } [01:27:51.717] base::local({ [01:27:51.717] for (pkg in "future") { [01:27:51.717] base::loadNamespace(pkg) [01:27:51.717] base::library(pkg, character.only = TRUE) [01:27:51.717] } [01:27:51.717] }) [01:27:51.717] } [01:27:51.717] options(future.plan = NULL) [01:27:51.717] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.717] future::plan(list(function (..., envir = parent.frame()) [01:27:51.717] { [01:27:51.717] future <- SequentialFuture(..., envir = envir) [01:27:51.717] if (!future$lazy) [01:27:51.717] future <- run(future) [01:27:51.717] invisible(future) [01:27:51.717] }), .cleanup = FALSE, .init = FALSE) [01:27:51.717] } [01:27:51.717] ...future.workdir <- getwd() [01:27:51.717] } [01:27:51.717] ...future.oldOptions <- base::as.list(base::.Options) [01:27:51.717] ...future.oldEnvVars <- base::Sys.getenv() [01:27:51.717] } [01:27:51.717] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:51.717] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:51.717] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:51.717] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:51.717] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:51.717] future.stdout.windows.reencode = NULL, width = 80L) [01:27:51.717] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:51.717] base::names(...future.oldOptions)) [01:27:51.717] } [01:27:51.717] if (FALSE) { [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] if (TRUE) { [01:27:51.717] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:51.717] open = "w") [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:51.717] windows = "NUL", "/dev/null"), open = "w") [01:27:51.717] } [01:27:51.717] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:51.717] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:51.717] base::sink(type = "output", split = FALSE) [01:27:51.717] base::close(...future.stdout) [01:27:51.717] }, add = TRUE) [01:27:51.717] } [01:27:51.717] ...future.frame <- base::sys.nframe() [01:27:51.717] ...future.conditions <- base::list() [01:27:51.717] ...future.rng <- base::globalenv()$.Random.seed [01:27:51.717] if (FALSE) { [01:27:51.717] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:51.717] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:51.717] } [01:27:51.717] ...future.result <- base::tryCatch({ [01:27:51.717] base::withCallingHandlers({ [01:27:51.717] ...future.value <- base::withVisible(base::local({ [01:27:51.717] a %<-% subset(data, x < 3)$y [01:27:51.717] a [01:27:51.717] })) [01:27:51.717] future::FutureResult(value = ...future.value$value, [01:27:51.717] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.717] ...future.rng), globalenv = if (FALSE) [01:27:51.717] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:51.717] ...future.globalenv.names)) [01:27:51.717] else NULL, started = ...future.startTime, version = "1.8") [01:27:51.717] }, condition = base::local({ [01:27:51.717] c <- base::c [01:27:51.717] inherits <- base::inherits [01:27:51.717] invokeRestart <- base::invokeRestart [01:27:51.717] length <- base::length [01:27:51.717] list <- base::list [01:27:51.717] seq.int <- base::seq.int [01:27:51.717] signalCondition <- base::signalCondition [01:27:51.717] sys.calls <- base::sys.calls [01:27:51.717] `[[` <- base::`[[` [01:27:51.717] `+` <- base::`+` [01:27:51.717] `<<-` <- base::`<<-` [01:27:51.717] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:51.717] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:51.717] 3L)] [01:27:51.717] } [01:27:51.717] function(cond) { [01:27:51.717] is_error <- inherits(cond, "error") [01:27:51.717] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:51.717] NULL) [01:27:51.717] if (is_error) { [01:27:51.717] sessionInformation <- function() { [01:27:51.717] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:51.717] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:51.717] search = base::search(), system = base::Sys.info()) [01:27:51.717] } [01:27:51.717] ...future.conditions[[length(...future.conditions) + [01:27:51.717] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:51.717] cond$call), session = sessionInformation(), [01:27:51.717] timestamp = base::Sys.time(), signaled = 0L) [01:27:51.717] signalCondition(cond) [01:27:51.717] } [01:27:51.717] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:51.717] "immediateCondition"))) { [01:27:51.717] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:51.717] ...future.conditions[[length(...future.conditions) + [01:27:51.717] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:51.717] if (TRUE && !signal) { [01:27:51.717] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.717] { [01:27:51.717] inherits <- base::inherits [01:27:51.717] invokeRestart <- base::invokeRestart [01:27:51.717] is.null <- base::is.null [01:27:51.717] muffled <- FALSE [01:27:51.717] if (inherits(cond, "message")) { [01:27:51.717] muffled <- grepl(pattern, "muffleMessage") [01:27:51.717] if (muffled) [01:27:51.717] invokeRestart("muffleMessage") [01:27:51.717] } [01:27:51.717] else if (inherits(cond, "warning")) { [01:27:51.717] muffled <- grepl(pattern, "muffleWarning") [01:27:51.717] if (muffled) [01:27:51.717] invokeRestart("muffleWarning") [01:27:51.717] } [01:27:51.717] else if (inherits(cond, "condition")) { [01:27:51.717] if (!is.null(pattern)) { [01:27:51.717] computeRestarts <- base::computeRestarts [01:27:51.717] grepl <- base::grepl [01:27:51.717] restarts <- computeRestarts(cond) [01:27:51.717] for (restart in restarts) { [01:27:51.717] name <- restart$name [01:27:51.717] if (is.null(name)) [01:27:51.717] next [01:27:51.717] if (!grepl(pattern, name)) [01:27:51.717] next [01:27:51.717] invokeRestart(restart) [01:27:51.717] muffled <- TRUE [01:27:51.717] break [01:27:51.717] } [01:27:51.717] } [01:27:51.717] } [01:27:51.717] invisible(muffled) [01:27:51.717] } [01:27:51.717] muffleCondition(cond, pattern = "^muffle") [01:27:51.717] } [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] if (TRUE) { [01:27:51.717] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.717] { [01:27:51.717] inherits <- base::inherits [01:27:51.717] invokeRestart <- base::invokeRestart [01:27:51.717] is.null <- base::is.null [01:27:51.717] muffled <- FALSE [01:27:51.717] if (inherits(cond, "message")) { [01:27:51.717] muffled <- grepl(pattern, "muffleMessage") [01:27:51.717] if (muffled) [01:27:51.717] invokeRestart("muffleMessage") [01:27:51.717] } [01:27:51.717] else if (inherits(cond, "warning")) { [01:27:51.717] muffled <- grepl(pattern, "muffleWarning") [01:27:51.717] if (muffled) [01:27:51.717] invokeRestart("muffleWarning") [01:27:51.717] } [01:27:51.717] else if (inherits(cond, "condition")) { [01:27:51.717] if (!is.null(pattern)) { [01:27:51.717] computeRestarts <- base::computeRestarts [01:27:51.717] grepl <- base::grepl [01:27:51.717] restarts <- computeRestarts(cond) [01:27:51.717] for (restart in restarts) { [01:27:51.717] name <- restart$name [01:27:51.717] if (is.null(name)) [01:27:51.717] next [01:27:51.717] if (!grepl(pattern, name)) [01:27:51.717] next [01:27:51.717] invokeRestart(restart) [01:27:51.717] muffled <- TRUE [01:27:51.717] break [01:27:51.717] } [01:27:51.717] } [01:27:51.717] } [01:27:51.717] invisible(muffled) [01:27:51.717] } [01:27:51.717] muffleCondition(cond, pattern = "^muffle") [01:27:51.717] } [01:27:51.717] } [01:27:51.717] } [01:27:51.717] })) [01:27:51.717] }, error = function(ex) { [01:27:51.717] base::structure(base::list(value = NULL, visible = NULL, [01:27:51.717] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.717] ...future.rng), started = ...future.startTime, [01:27:51.717] finished = Sys.time(), session_uuid = NA_character_, [01:27:51.717] version = "1.8"), class = "FutureResult") [01:27:51.717] }, finally = { [01:27:51.717] if (!identical(...future.workdir, getwd())) [01:27:51.717] setwd(...future.workdir) [01:27:51.717] { [01:27:51.717] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:51.717] ...future.oldOptions$nwarnings <- NULL [01:27:51.717] } [01:27:51.717] base::options(...future.oldOptions) [01:27:51.717] if (.Platform$OS.type == "windows") { [01:27:51.717] old_names <- names(...future.oldEnvVars) [01:27:51.717] envs <- base::Sys.getenv() [01:27:51.717] names <- names(envs) [01:27:51.717] common <- intersect(names, old_names) [01:27:51.717] added <- setdiff(names, old_names) [01:27:51.717] removed <- setdiff(old_names, names) [01:27:51.717] changed <- common[...future.oldEnvVars[common] != [01:27:51.717] envs[common]] [01:27:51.717] NAMES <- toupper(changed) [01:27:51.717] args <- list() [01:27:51.717] for (kk in seq_along(NAMES)) { [01:27:51.717] name <- changed[[kk]] [01:27:51.717] NAME <- NAMES[[kk]] [01:27:51.717] if (name != NAME && is.element(NAME, old_names)) [01:27:51.717] next [01:27:51.717] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.717] } [01:27:51.717] NAMES <- toupper(added) [01:27:51.717] for (kk in seq_along(NAMES)) { [01:27:51.717] name <- added[[kk]] [01:27:51.717] NAME <- NAMES[[kk]] [01:27:51.717] if (name != NAME && is.element(NAME, old_names)) [01:27:51.717] next [01:27:51.717] args[[name]] <- "" [01:27:51.717] } [01:27:51.717] NAMES <- toupper(removed) [01:27:51.717] for (kk in seq_along(NAMES)) { [01:27:51.717] name <- removed[[kk]] [01:27:51.717] NAME <- NAMES[[kk]] [01:27:51.717] if (name != NAME && is.element(NAME, old_names)) [01:27:51.717] next [01:27:51.717] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.717] } [01:27:51.717] if (length(args) > 0) [01:27:51.717] base::do.call(base::Sys.setenv, args = args) [01:27:51.717] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:51.717] } [01:27:51.717] { [01:27:51.717] if (base::length(...future.futureOptionsAdded) > [01:27:51.717] 0L) { [01:27:51.717] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:51.717] base::names(opts) <- ...future.futureOptionsAdded [01:27:51.717] base::options(opts) [01:27:51.717] } [01:27:51.717] { [01:27:51.717] { [01:27:51.717] NULL [01:27:51.717] RNGkind("Mersenne-Twister") [01:27:51.717] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:51.717] inherits = FALSE) [01:27:51.717] } [01:27:51.717] options(future.plan = NULL) [01:27:51.717] if (is.na(NA_character_)) [01:27:51.717] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.717] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:51.717] future::plan(list(function (..., envir = parent.frame()) [01:27:51.717] { [01:27:51.717] future <- SequentialFuture(..., envir = envir) [01:27:51.717] if (!future$lazy) [01:27:51.717] future <- run(future) [01:27:51.717] invisible(future) [01:27:51.717] }, function (..., envir = parent.frame()) [01:27:51.717] { [01:27:51.717] future <- SequentialFuture(..., envir = envir) [01:27:51.717] if (!future$lazy) [01:27:51.717] future <- run(future) [01:27:51.717] invisible(future) [01:27:51.717] }), .cleanup = FALSE, .init = FALSE) [01:27:51.717] } [01:27:51.717] } [01:27:51.717] } [01:27:51.717] }) [01:27:51.717] if (TRUE) { [01:27:51.717] base::sink(type = "output", split = FALSE) [01:27:51.717] if (TRUE) { [01:27:51.717] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:51.717] } [01:27:51.717] else { [01:27:51.717] ...future.result["stdout"] <- base::list(NULL) [01:27:51.717] } [01:27:51.717] base::close(...future.stdout) [01:27:51.717] ...future.stdout <- NULL [01:27:51.717] } [01:27:51.717] ...future.result$conditions <- ...future.conditions [01:27:51.717] ...future.result$finished <- base::Sys.time() [01:27:51.717] ...future.result [01:27:51.717] } [01:27:51.721] assign_globals() ... [01:27:51.721] List of 1 [01:27:51.721] $ data:'data.frame': 5 obs. of 2 variables: [01:27:51.721] ..$ x: int [1:5] 1 2 3 4 5 [01:27:51.721] ..$ y: int [1:5] 1 2 3 4 5 [01:27:51.721] - attr(*, "where")=List of 1 [01:27:51.721] ..$ data: [01:27:51.721] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [01:27:51.721] - attr(*, "resolved")= logi FALSE [01:27:51.721] - attr(*, "total_size")= num 160 [01:27:51.721] - attr(*, "already-done")= logi TRUE [01:27:51.728] - copied 'data' to environment [01:27:51.728] assign_globals() ... done [01:27:51.729] plan(): Setting new future strategy stack: [01:27:51.729] List of future strategies: [01:27:51.729] 1. sequential: [01:27:51.729] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.729] - tweaked: FALSE [01:27:51.729] - call: plan(list(sequential, strategy)) [01:27:51.730] plan(): nbrOfWorkers() = 1 [01:27:51.773] plan(): Setting new future strategy stack: [01:27:51.773] List of future strategies: [01:27:51.773] 1. sequential: [01:27:51.773] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.773] - tweaked: FALSE [01:27:51.773] - call: plan(list(sequential, strategy)) [01:27:51.773] 2. sequential: [01:27:51.773] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.773] - tweaked: FALSE [01:27:51.773] - call: plan(list(sequential, strategy)) [01:27:51.774] plan(): nbrOfWorkers() = 1 [01:27:51.774] SequentialFuture started (and completed) [01:27:51.774] signalConditions() ... [01:27:51.775] - include = 'immediateCondition' [01:27:51.775] - exclude = [01:27:51.775] - resignal = FALSE [01:27:51.775] - Number of conditions: 53 [01:27:51.775] signalConditions() ... done [01:27:51.776] - Launch lazy future ... done [01:27:51.776] run() for 'SequentialFuture' ... done [01:27:51.776] signalConditions() ... [01:27:51.776] - include = 'immediateCondition' [01:27:51.776] - exclude = [01:27:51.777] - resignal = FALSE [01:27:51.779] - Number of conditions: 53 [01:27:51.779] signalConditions() ... done [01:27:51.780] Future state: 'finished' [01:27:51.780] signalConditions() ... [01:27:51.780] - include = 'condition' [01:27:51.780] - exclude = 'immediateCondition' [01:27:51.780] - resignal = TRUE [01:27:51.781] - Number of conditions: 53 [01:27:51.781] - Condition #1: 'simpleMessage', 'message', 'condition' [01:27:51.730] getGlobalsAndPackages() ... [01:27:51.781] - Condition #2: 'deprecatedWarning', 'warning', 'condition' Warning: 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' [01:27:51.781] - Condition #3: 'simpleMessage', 'message', 'condition' [01:27:51.749] Searching for globals... [01:27:51.781] - Condition #4: 'simpleMessage', 'message', 'condition' [01:27:51.750] - globals found: [5] '$', 'subset', 'data', '<', 'x' [01:27:51.782] - Condition #5: 'simpleMessage', 'message', 'condition' [01:27:51.750] Searching for globals ... DONE [01:27:51.782] - Condition #6: 'simpleMessage', 'message', 'condition' [01:27:51.751] Resolving globals: FALSE [01:27:51.782] - Condition #7: 'simpleMessage', 'message', 'condition' [01:27:51.751] The total size of the 1 globals is 160 bytes (160 bytes) [01:27:51.782] - Condition #8: 'simpleMessage', 'message', 'condition' [01:27:51.752] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 160 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (160 bytes of class 'list') [01:27:51.783] - Condition #9: 'simpleMessage', 'message', 'condition' [01:27:51.752] - globals: [1] 'data' [01:27:51.783] - Condition #10: 'simpleMessage', 'message', 'condition' [01:27:51.752] [01:27:51.783] - Condition #11: 'simpleMessage', 'message', 'condition' [01:27:51.752] getGlobalsAndPackages() ... DONE [01:27:51.783] - Condition #12: 'simpleMessage', 'message', 'condition' [01:27:51.753] run() for 'Future' ... [01:27:51.784] - Condition #13: 'simpleMessage', 'message', 'condition' [01:27:51.753] - state: 'created' [01:27:51.784] - Condition #14: 'simpleMessage', 'message', 'condition' [01:27:51.753] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:51.784] - Condition #15: 'simpleMessage', 'message', 'condition' [01:27:51.754] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:51.784] - Condition #16: 'simpleMessage', 'message', 'condition' [01:27:51.754] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:51.784] - Condition #17: 'simpleMessage', 'message', 'condition' [01:27:51.754] - Field: 'label' [01:27:51.785] - Condition #18: 'simpleMessage', 'message', 'condition' [01:27:51.754] - Field: 'local' [01:27:51.785] - Condition #19: 'simpleMessage', 'message', 'condition' [01:27:51.755] - Field: 'owner' [01:27:51.785] - Condition #20: 'simpleMessage', 'message', 'condition' [01:27:51.755] - Field: 'envir' [01:27:51.785] - Condition #21: 'simpleMessage', 'message', 'condition' [01:27:51.755] - Field: 'packages' [01:27:51.786] - Condition #22: 'simpleMessage', 'message', 'condition' [01:27:51.755] - Field: 'gc' [01:27:51.786] - Condition #23: 'simpleMessage', 'message', 'condition' [01:27:51.755] - Field: 'conditions' [01:27:51.786] - Condition #24: 'simpleMessage', 'message', 'condition' [01:27:51.756] - Field: 'expr' [01:27:51.786] - Condition #25: 'simpleMessage', 'message', 'condition' [01:27:51.756] - Field: 'uuid' [01:27:51.787] - Condition #26: 'simpleMessage', 'message', 'condition' [01:27:51.756] - Field: 'seed' [01:27:51.787] - Condition #27: 'simpleMessage', 'message', 'condition' [01:27:51.756] - Field: 'version' [01:27:51.787] - Condition #28: 'simpleMessage', 'message', 'condition' [01:27:51.756] - Field: 'result' [01:27:51.787] - Condition #29: 'simpleMessage', 'message', 'condition' [01:27:51.757] - Field: 'asynchronous' [01:27:51.787] - Condition #30: 'simpleMessage', 'message', 'condition' [01:27:51.757] - Field: 'calls' [01:27:51.788] - Condition #31: 'simpleMessage', 'message', 'condition' [01:27:51.757] - Field: 'globals' [01:27:51.788] - Condition #32: 'simpleMessage', 'message', 'condition' [01:27:51.757] - Field: 'stdout' [01:27:51.788] - Condition #33: 'simpleMessage', 'message', 'condition' [01:27:51.757] - Field: 'earlySignal' [01:27:51.788] - Condition #34: 'simpleMessage', 'message', 'condition' [01:27:51.758] - Field: 'lazy' [01:27:51.789] - Condition #35: 'simpleMessage', 'message', 'condition' [01:27:51.758] - Field: 'state' [01:27:51.789] - Condition #36: 'simpleMessage', 'message', 'condition' [01:27:51.758] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:51.789] - Condition #37: 'simpleMessage', 'message', 'condition' [01:27:51.758] - Launch lazy future ... [01:27:51.789] - Condition #38: 'simpleMessage', 'message', 'condition' [01:27:51.758] Packages needed by the future expression (n = 0): [01:27:51.790] - Condition #39: 'simpleMessage', 'message', 'condition' [01:27:51.759] Packages needed by future strategies (n = 0): [01:27:51.790] - Condition #40: 'simpleMessage', 'message', 'condition' [01:27:51.759] { [01:27:51.759] { [01:27:51.759] { [01:27:51.759] ...future.startTime <- base::Sys.time() [01:27:51.759] { [01:27:51.759] { [01:27:51.759] { [01:27:51.759] base::local({ [01:27:51.759] has_future <- base::requireNamespace("future", [01:27:51.759] quietly = TRUE) [01:27:51.759] if (has_future) { [01:27:51.759] ns <- base::getNamespace("future") [01:27:51.759] version <- ns[[".package"]][["version"]] [01:27:51.759] if (is.null(version)) [01:27:51.759] version <- utils::packageVersion("future") [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] version <- NULL [01:27:51.759] } [01:27:51.759] if (!has_future || version < "1.8.0") { [01:27:51.759] info <- base::c(r_version = base::gsub("R version ", [01:27:51.759] "", base::R.version$version.string), [01:27:51.759] platform = base::sprintf("%s (%s-bit)", [01:27:51.759] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:51.759] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:51.759] "release", "version")], collapse = " "), [01:27:51.759] hostname = base::Sys.info()[["nodename"]]) [01:27:51.759] info <- base::sprintf("%s: %s", base::names(info), [01:27:51.759] info) [01:27:51.759] info <- base::paste(info, collapse = "; ") [01:27:51.759] if (!has_future) { [01:27:51.759] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:51.759] info) [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:51.759] info, version) [01:27:51.759] } [01:27:51.759] base::stop(msg) [01:27:51.759] } [01:27:51.759] }) [01:27:51.759] } [01:27:51.759] options(future.plan = NULL) [01:27:51.759] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.759] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:51.759] } [01:27:51.759] ...future.workdir <- getwd() [01:27:51.759] } [01:27:51.759] ...future.oldOptions <- base::as.list(base::.Options) [01:27:51.759] ...future.oldEnvVars <- base::Sys.getenv() [01:27:51.759] } [01:27:51.759] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:51.759] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:51.759] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:51.759] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:51.759] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:51.759] future.stdout.windows.reencode = NULL, width = 80L) [01:27:51.759] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:51.759] base::names(...future.oldOptions)) [01:27:51.759] } [01:27:51.759] if (FALSE) { [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] if (TRUE) { [01:27:51.759] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:51.759] open = "w") [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:51.759] windows = "NUL", "/dev/null"), open = "w") [01:27:51.759] } [01:27:51.759] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:51.759] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:51.759] base::sink(type = "output", split = FALSE) [01:27:51.759] base::close(...future.stdout) [01:27:51.759] }, add = TRUE) [01:27:51.759] } [01:27:51.759] ...future.frame <- base::sys.nframe() [01:27:51.759] ...future.conditions <- base::list() [01:27:51.759] ...future.rng <- base::globalenv()$.Random.seed [01:27:51.759] if (FALSE) { [01:27:51.759] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:51.759] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:51.759] } [01:27:51.759] ...future.result <- base::tryCatch({ [01:27:51.759] base::withCallingHandlers({ [01:27:51.759] ...future.value <- base::withVisible(base::local(subset(data, [01:27:51.759] x < 3)$y)) [01:27:51.759] future::FutureResult(value = ...future.value$value, [01:27:51.759] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.759] ...future.rng), globalenv = if (FALSE) [01:27:51.759] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:51.759] ...future.globalenv.names)) [01:27:51.759] else NULL, started = ...future.startTime, version = "1.8") [01:27:51.759] }, condition = base::local({ [01:27:51.759] c <- base::c [01:27:51.759] inherits <- base::inherits [01:27:51.759] invokeRestart <- base::invokeRestart [01:27:51.759] length <- base::length [01:27:51.759] list <- base::list [01:27:51.759] seq.int <- base::seq.int [01:27:51.759] signalCondition <- base::signalCondition [01:27:51.759] sys.calls <- base::sys.calls [01:27:51.759] `[[` <- base::`[[` [01:27:51.759] `+` <- base::`+` [01:27:51.759] `<<-` <- base::`<<-` [01:27:51.759] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:51.759] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:51.759] 3L)] [01:27:51.759] } [01:27:51.759] function(cond) { [01:27:51.759] is_error <- inherits(cond, "error") [01:27:51.759] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:51.759] NULL) [01:27:51.759] if (is_error) { [01:27:51.759] sessionInformation <- function() { [01:27:51.759] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:51.759] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:51.759] search = base::search(), system = base::Sys.info()) [01:27:51.759] } [01:27:51.759] ...future.conditions[[length(...future.conditions) + [01:27:51.759] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:51.759] cond$call), session = sessionInformation(), [01:27:51.759] timestamp = base::Sys.time(), signaled = 0L) [01:27:51.759] signalCondition(cond) [01:27:51.759] } [01:27:51.759] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:51.759] "immediateCondition"))) { [01:27:51.759] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:51.759] ...future.conditions[[length(...future.conditions) + [01:27:51.759] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:51.759] if (TRUE && !signal) { [01:27:51.759] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.759] { [01:27:51.759] inherits <- base::inherits [01:27:51.759] invokeRestart <- base::invokeRestart [01:27:51.759] is.null <- base::is.null [01:27:51.759] muffled <- FALSE [01:27:51.759] if (inherits(cond, "message")) { [01:27:51.759] muffled <- grepl(pattern, "muffleMessage") [01:27:51.759] if (muffled) [01:27:51.759] invokeRestart("muffleMessage") [01:27:51.759] } [01:27:51.759] else if (inherits(cond, "warning")) { [01:27:51.759] muffled <- grepl(pattern, "muffleWarning") [01:27:51.759] if (muffled) [01:27:51.759] invokeRestart("muffleWarning") [01:27:51.759] } [01:27:51.759] else if (inherits(cond, "condition")) { [01:27:51.759] if (!is.null(pattern)) { [01:27:51.759] computeRestarts <- base::computeRestarts [01:27:51.759] grepl <- base::grepl [01:27:51.759] restarts <- computeRestarts(cond) [01:27:51.759] for (restart in restarts) { [01:27:51.759] name <- restart$name [01:27:51.759] if (is.null(name)) [01:27:51.759] next [01:27:51.759] if (!grepl(pattern, name)) [01:27:51.759] next [01:27:51.759] invokeRestart(restart) [01:27:51.759] muffled <- TRUE [01:27:51.759] break [01:27:51.759] } [01:27:51.759] } [01:27:51.759] } [01:27:51.759] invisible(muffled) [01:27:51.759] } [01:27:51.759] muffleCondition(cond, pattern = "^muffle") [01:27:51.759] } [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] if (TRUE) { [01:27:51.759] muffleCondition <- function (cond, pattern = "^muffle") [01:27:51.759] { [01:27:51.759] inherits <- base::inherits [01:27:51.759] invokeRestart <- base::invokeRestart [01:27:51.759] is.null <- base::is.null [01:27:51.759] muffled <- FALSE [01:27:51.759] if (inherits(cond, "message")) { [01:27:51.759] muffled <- grepl(pattern, "muffleMessage") [01:27:51.759] if (muffled) [01:27:51.759] invokeRestart("muffleMessage") [01:27:51.759] } [01:27:51.759] else if (inherits(cond, "warning")) { [01:27:51.759] muffled <- grepl(pattern, "muffleWarning") [01:27:51.759] if (muffled) [01:27:51.759] invokeRestart("muffleWarning") [01:27:51.759] } [01:27:51.759] else if (inherits(cond, "condition")) { [01:27:51.759] if (!is.null(pattern)) { [01:27:51.759] computeRestarts <- base::computeRestarts [01:27:51.759] grepl <- base::grepl [01:27:51.759] restarts <- computeRestarts(cond) [01:27:51.759] for (restart in restarts) { [01:27:51.759] name <- restart$name [01:27:51.759] if (is.null(name)) [01:27:51.759] next [01:27:51.759] if (!grepl(pattern, name)) [01:27:51.759] next [01:27:51.759] invokeRestart(restart) [01:27:51.759] muffled <- TRUE [01:27:51.759] break [01:27:51.759] } [01:27:51.759] } [01:27:51.759] } [01:27:51.759] invisible(muffled) [01:27:51.759] } [01:27:51.759] muffleCondition(cond, pattern = "^muffle") [01:27:51.759] } [01:27:51.759] } [01:27:51.759] } [01:27:51.759] })) [01:27:51.759] }, error = function(ex) { [01:27:51.759] base::structure(base::list(value = NULL, visible = NULL, [01:27:51.759] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:51.759] ...future.rng), started = ...future.startTime, [01:27:51.759] finished = Sys.time(), session_uuid = NA_character_, [01:27:51.759] version = "1.8"), class = "FutureResult") [01:27:51.759] }, finally = { [01:27:51.759] if (!identical(...future.workdir, getwd())) [01:27:51.759] setwd(...future.workdir) [01:27:51.759] { [01:27:51.759] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:51.759] ...future.oldOptions$nwarnings <- NULL [01:27:51.759] } [01:27:51.759] base::options(...future.oldOptions) [01:27:51.759] if (.Platform$OS.type == "windows") { [01:27:51.759] old_names <- names(...future.oldEnvVars) [01:27:51.759] envs <- base::Sys.getenv() [01:27:51.759] names <- names(envs) [01:27:51.759] common <- intersect(names, old_names) [01:27:51.759] added <- setdiff(names, old_names) [01:27:51.759] removed <- setdiff(old_names, names) [01:27:51.759] changed <- common[...future.oldEnvVars[common] != [01:27:51.759] envs[common]] [01:27:51.759] NAMES <- toupper(changed) [01:27:51.759] args <- list() [01:27:51.759] for (kk in seq_along(NAMES)) { [01:27:51.759] name <- changed[[kk]] [01:27:51.759] NAME <- NAMES[[kk]] [01:27:51.759] if (name != NAME && is.element(NAME, old_names)) [01:27:51.759] next [01:27:51.759] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.759] } [01:27:51.759] NAMES <- toupper(added) [01:27:51.759] for (kk in seq_along(NAMES)) { [01:27:51.759] name <- added[[kk]] [01:27:51.759] NAME <- NAMES[[kk]] [01:27:51.759] if (name != NAME && is.element(NAME, old_names)) [01:27:51.759] next [01:27:51.759] args[[name]] <- "" [01:27:51.759] } [01:27:51.759] NAMES <- toupper(removed) [01:27:51.759] for (kk in seq_along(NAMES)) { [01:27:51.759] name <- removed[[kk]] [01:27:51.759] NAME <- NAMES[[kk]] [01:27:51.759] if (name != NAME && is.element(NAME, old_names)) [01:27:51.759] next [01:27:51.759] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:51.759] } [01:27:51.759] if (length(args) > 0) [01:27:51.759] base::do.call(base::Sys.setenv, args = args) [01:27:51.759] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:51.759] } [01:27:51.759] { [01:27:51.759] if (base::length(...future.futureOptionsAdded) > [01:27:51.759] 0L) { [01:27:51.759] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:51.759] base::names(opts) <- ...future.futureOptionsAdded [01:27:51.759] base::options(opts) [01:27:51.759] } [01:27:51.759] { [01:27:51.759] { [01:27:51.759] NULL [01:27:51.759] RNGkind("Mersenne-Twister") [01:27:51.759] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:51.759] inherits = FALSE) [01:27:51.759] } [01:27:51.759] options(future.plan = NULL) [01:27:51.759] if (is.na(NA_character_)) [01:27:51.759] Sys.unsetenv("R_FUTURE_PLAN") [01:27:51.759] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:51.759] future::plan(list(function (..., envir = parent.frame()) [01:27:51.759] { [01:27:51.759] future <- SequentialFuture(..., envir = envir) [01:27:51.759] if (!future$lazy) [01:27:51.759] future <- run(future) [01:27:51.759] invisible(future) [01:27:51.759] }), .cleanup = FALSE, .init = FALSE) [01:27:51.759] } [01:27:51.759] } [01:27:51.759] } [01:27:51.759] }) [01:27:51.759] if (TRUE) { [01:27:51.759] base::sink(type = "output", split = FALSE) [01:27:51.759] if (TRUE) { [01:27:51.759] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:51.759] } [01:27:51.759] else { [01:27:51.759] ...future.result["stdout"] <- base::list(NULL) [01:27:51.759] } [01:27:51.759] base::close(...future.stdout) [01:27:51.759] ...future.stdout <- NULL [01:27:51.759] } [01:27:51.759] ...future.result$conditions <- ...future.conditions [01:27:51.759] ...future.result$finished <- base::Sys.time() [01:27:51.759] ...future.result [01:27:51.759] } [01:27:51.790] - Condition #41: 'simpleMessage', 'message', 'condition' [01:27:51.763] assign_globals() ... [01:27:51.791] - Condition #42: 'simpleMessage', 'message', 'condition' [01:27:51.763] List of 1 [01:27:51.763] $ data:'data.frame': 5 obs. of 2 variables: [01:27:51.763] ..$ x: int [1:5] 1 2 3 4 5 [01:27:51.763] ..$ y: int [1:5] 1 2 3 4 5 [01:27:51.763] - attr(*, "where")=List of 1 [01:27:51.763] ..$ data: [01:27:51.763] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [01:27:51.763] - attr(*, "resolved")= logi FALSE [01:27:51.763] - attr(*, "total_size")= num 160 [01:27:51.763] - attr(*, "already-done")= logi TRUE [01:27:51.791] - Condition #43: 'simpleMessage', 'message', 'condition' [01:27:51.767] - copied 'data' to environment [01:27:51.791] - Condition #44: 'simpleMessage', 'message', 'condition' [01:27:51.768] assign_globals() ... done [01:27:51.791] - Condition #45: 'simpleMessage', 'message', 'condition' [01:27:51.768] plan(): Setting new future strategy stack: [01:27:51.792] - Condition #46: 'simpleMessage', 'message', 'condition' [01:27:51.768] List of future strategies: [01:27:51.768] 1. sequential: [01:27:51.768] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.768] - tweaked: FALSE [01:27:51.768] - call: NULL [01:27:51.792] - Condition #47: 'simpleMessage', 'message', 'condition' [01:27:51.769] plan(): nbrOfWorkers() = 1 [01:27:51.792] - Condition #48: 'simpleMessage', 'message', 'condition' [01:27:51.770] plan(): Setting new future strategy stack: [01:27:51.792] - Condition #49: 'simpleMessage', 'message', 'condition' [01:27:51.770] List of future strategies: [01:27:51.770] 1. sequential: [01:27:51.770] - args: function (..., envir = parent.frame(), workers = "") [01:27:51.770] - tweaked: FALSE [01:27:51.770] - call: plan(list(sequential, strategy)) [01:27:51.793] - Condition #50: 'simpleMessage', 'message', 'condition' [01:27:51.771] plan(): nbrOfWorkers() = 1 [01:27:51.793] - Condition #51: 'simpleMessage', 'message', 'condition' [01:27:51.771] SequentialFuture started (and completed) [01:27:51.793] - Condition #52: 'simpleMessage', 'message', 'condition' [01:27:51.772] - Launch lazy future ... done [01:27:51.793] - Condition #53: 'simpleMessage', 'message', 'condition' [01:27:51.772] run() for 'SequentialFuture' ... done [01:27:51.794] signalConditions() ... done - Strategy: sequential ... DONE - Strategy: multisession ... [01:27:51.794] plan(): Setting new future strategy stack: [01:27:51.794] List of future strategies: [01:27:51.794] 1. multisession: [01:27:51.794] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [01:27:51.794] - tweaked: FALSE [01:27:51.794] - call: plan(strategy) [01:27:51.795] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... [01:27:51.795] multisession: [01:27:51.795] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [01:27:51.795] - tweaked: FALSE [01:27:51.795] - call: plan(strategy) [01:27:51.801] getGlobalsAndPackages() ... Warning: 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' [01:27:51.801] Not searching for globals [01:27:51.802] - globals: [0] [01:27:51.802] getGlobalsAndPackages() ... DONE [01:27:51.803] [local output] makeClusterPSOCK() ... [01:27:51.892] [local output] Workers: [n = 2] 'localhost', 'localhost' [01:27:51.900] [local output] Base port: 38515 [01:27:51.900] [local output] Getting setup options for 2 cluster nodes ... [01:27:51.900] [local output] - Node 1 of 2 ... [01:27:51.901] [local output] localMachine=TRUE => revtunnel=FALSE [01:27:51.902] Testing if worker's PID can be inferred: '"D:/RCompile/recent/R/bin/x64/Rscript" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpSeK3Mf/worker.rank=1.parallelly.parent=8700.21fc55b86784.pid\")), silent = TRUE)" -e "file.exists(\"D:/temp/RtmpSeK3Mf/worker.rank=1.parallelly.parent=8700.21fc55b86784.pid\")"' [01:27:52.118] - Possible to infer worker's PID: TRUE [01:27:52.119] [local output] Rscript port: 38515 [01:27:52.120] [local output] - Node 2 of 2 ... [01:27:52.120] [local output] localMachine=TRUE => revtunnel=FALSE [01:27:52.122] [local output] Rscript port: 38515 [01:27:52.122] [local output] Getting setup options for 2 cluster nodes ... done [01:27:52.122] [local output] - Parallel setup requested for some PSOCK nodes [01:27:52.123] [local output] Setting up PSOCK nodes in parallel [01:27:52.124] List of 36 [01:27:52.124] $ worker : chr "localhost" [01:27:52.124] ..- attr(*, "localhost")= logi TRUE [01:27:52.124] $ master : chr "localhost" [01:27:52.124] $ port : int 38515 [01:27:52.124] $ connectTimeout : num 120 [01:27:52.124] $ timeout : num 120 [01:27:52.124] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [01:27:52.124] $ homogeneous : logi TRUE [01:27:52.124] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=globals,NSE.R:8700:CRANWIN3:CRAN"| __truncated__ [01:27:52.124] $ rscript_envs : NULL [01:27:52.124] $ rscript_libs : chr [1:2] "D:/temp/RtmpCIb4qz/RLIBS_32fc52ae7b47" "D:/RCompile/recent/R/library" [01:27:52.124] $ rscript_startup : NULL [01:27:52.124] $ rscript_sh : chr "cmd" [01:27:52.124] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [01:27:52.124] $ methods : logi TRUE [01:27:52.124] $ socketOptions : chr "no-delay" [01:27:52.124] $ useXDR : logi FALSE [01:27:52.124] $ outfile : chr "/dev/null" [01:27:52.124] $ renice : int NA [01:27:52.124] $ rshcmd : NULL [01:27:52.124] $ user : chr(0) [01:27:52.124] $ revtunnel : logi FALSE [01:27:52.124] $ rshlogfile : NULL [01:27:52.124] $ rshopts : chr(0) [01:27:52.124] $ rank : int 1 [01:27:52.124] $ manual : logi FALSE [01:27:52.124] $ dryrun : logi FALSE [01:27:52.124] $ quiet : logi FALSE [01:27:52.124] $ setup_strategy : chr "parallel" [01:27:52.124] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [01:27:52.124] $ pidfile : chr "D:/temp/RtmpSeK3Mf/worker.rank=1.parallelly.parent=8700.21fc55b86784.pid" [01:27:52.124] $ rshcmd_label : NULL [01:27:52.124] $ rsh_call : NULL [01:27:52.124] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [01:27:52.124] $ localMachine : logi TRUE [01:27:52.124] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [01:27:52.124] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [01:27:52.124] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [01:27:52.124] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [01:27:52.124] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [01:27:52.124] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [01:27:52.124] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [01:27:52.124] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [01:27:52.124] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [01:27:52.124] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [01:27:52.124] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [01:27:52.124] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [01:27:52.124] "parallel"), action = c("launch", "options"), verbose = FALSE) [01:27:52.124] $ arguments :List of 28 [01:27:52.124] ..$ worker : chr "localhost" [01:27:52.124] ..$ master : NULL [01:27:52.124] ..$ port : int 38515 [01:27:52.124] ..$ connectTimeout : num 120 [01:27:52.124] ..$ timeout : num 120 [01:27:52.124] ..$ rscript : NULL [01:27:52.124] ..$ homogeneous : NULL [01:27:52.124] ..$ rscript_args : NULL [01:27:52.124] ..$ rscript_envs : NULL [01:27:52.124] ..$ rscript_libs : chr [1:2] "D:/temp/RtmpCIb4qz/RLIBS_32fc52ae7b47" "D:/RCompile/recent/R/library" [01:27:52.124] ..$ rscript_startup : NULL [01:27:52.124] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [01:27:52.124] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [01:27:52.124] ..$ methods : logi TRUE [01:27:52.124] ..$ socketOptions : chr "no-delay" [01:27:52.124] ..$ useXDR : logi FALSE [01:27:52.124] ..$ outfile : chr "/dev/null" [01:27:52.124] ..$ renice : int NA [01:27:52.124] ..$ rshcmd : NULL [01:27:52.124] ..$ user : NULL [01:27:52.124] ..$ revtunnel : logi NA [01:27:52.124] ..$ rshlogfile : NULL [01:27:52.124] ..$ rshopts : NULL [01:27:52.124] ..$ rank : int 1 [01:27:52.124] ..$ manual : logi FALSE [01:27:52.124] ..$ dryrun : logi FALSE [01:27:52.124] ..$ quiet : logi FALSE [01:27:52.124] ..$ setup_strategy : chr "parallel" [01:27:52.124] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [01:27:52.146] [local output] System call to launch all workers: [01:27:52.146] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=globals,NSE.R:8700:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpSeK3Mf/worker.rank=1.parallelly.parent=8700.21fc55b86784.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e ".libPaths(c(\"D:/temp/RtmpCIb4qz/RLIBS_32fc52ae7b47\",\"D:/RCompile/recent/R/library\"))" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=38515 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [01:27:52.146] [local output] Starting PSOCK main server [01:27:52.153] [local output] Workers launched [01:27:52.153] [local output] Waiting for workers to connect back [01:27:52.153] - [local output] 0 workers out of 2 ready [01:27:52.340] - [local output] 0 workers out of 2 ready [01:27:52.340] - [local output] 1 workers out of 2 ready [01:27:52.346] - [local output] 1 workers out of 2 ready [01:27:52.347] - [local output] 2 workers out of 2 ready [01:27:52.347] [local output] Launching of workers completed [01:27:52.347] [local output] Collecting session information from workers [01:27:52.348] [local output] - Worker #1 of 2 [01:27:52.349] [local output] - Worker #2 of 2 [01:27:52.349] [local output] makeClusterPSOCK() ... done [01:27:52.363] Packages needed by the future expression (n = 0): [01:27:52.363] Packages needed by future strategies (n = 0): [01:27:52.364] { [01:27:52.364] { [01:27:52.364] { [01:27:52.364] ...future.startTime <- base::Sys.time() [01:27:52.364] { [01:27:52.364] { [01:27:52.364] { [01:27:52.364] { [01:27:52.364] base::local({ [01:27:52.364] has_future <- base::requireNamespace("future", [01:27:52.364] quietly = TRUE) [01:27:52.364] if (has_future) { [01:27:52.364] ns <- base::getNamespace("future") [01:27:52.364] version <- ns[[".package"]][["version"]] [01:27:52.364] if (is.null(version)) [01:27:52.364] version <- utils::packageVersion("future") [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] version <- NULL [01:27:52.364] } [01:27:52.364] if (!has_future || version < "1.8.0") { [01:27:52.364] info <- base::c(r_version = base::gsub("R version ", [01:27:52.364] "", base::R.version$version.string), [01:27:52.364] platform = base::sprintf("%s (%s-bit)", [01:27:52.364] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:52.364] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:52.364] "release", "version")], collapse = " "), [01:27:52.364] hostname = base::Sys.info()[["nodename"]]) [01:27:52.364] info <- base::sprintf("%s: %s", base::names(info), [01:27:52.364] info) [01:27:52.364] info <- base::paste(info, collapse = "; ") [01:27:52.364] if (!has_future) { [01:27:52.364] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:52.364] info) [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:52.364] info, version) [01:27:52.364] } [01:27:52.364] base::stop(msg) [01:27:52.364] } [01:27:52.364] }) [01:27:52.364] } [01:27:52.364] ...future.mc.cores.old <- base::getOption("mc.cores") [01:27:52.364] base::options(mc.cores = 1L) [01:27:52.364] } [01:27:52.364] options(future.plan = NULL) [01:27:52.364] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.364] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:52.364] } [01:27:52.364] ...future.workdir <- getwd() [01:27:52.364] } [01:27:52.364] ...future.oldOptions <- base::as.list(base::.Options) [01:27:52.364] ...future.oldEnvVars <- base::Sys.getenv() [01:27:52.364] } [01:27:52.364] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:52.364] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:52.364] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:52.364] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:52.364] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:52.364] future.stdout.windows.reencode = NULL, width = 80L) [01:27:52.364] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:52.364] base::names(...future.oldOptions)) [01:27:52.364] } [01:27:52.364] if (FALSE) { [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] if (TRUE) { [01:27:52.364] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:52.364] open = "w") [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:52.364] windows = "NUL", "/dev/null"), open = "w") [01:27:52.364] } [01:27:52.364] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:52.364] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:52.364] base::sink(type = "output", split = FALSE) [01:27:52.364] base::close(...future.stdout) [01:27:52.364] }, add = TRUE) [01:27:52.364] } [01:27:52.364] ...future.frame <- base::sys.nframe() [01:27:52.364] ...future.conditions <- base::list() [01:27:52.364] ...future.rng <- base::globalenv()$.Random.seed [01:27:52.364] if (FALSE) { [01:27:52.364] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:52.364] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:52.364] } [01:27:52.364] ...future.result <- base::tryCatch({ [01:27:52.364] base::withCallingHandlers({ [01:27:52.364] ...future.value <- base::withVisible(base::local({ [01:27:52.364] ...future.makeSendCondition <- base::local({ [01:27:52.364] sendCondition <- NULL [01:27:52.364] function(frame = 1L) { [01:27:52.364] if (is.function(sendCondition)) [01:27:52.364] return(sendCondition) [01:27:52.364] ns <- getNamespace("parallel") [01:27:52.364] if (exists("sendData", mode = "function", [01:27:52.364] envir = ns)) { [01:27:52.364] parallel_sendData <- get("sendData", mode = "function", [01:27:52.364] envir = ns) [01:27:52.364] envir <- sys.frame(frame) [01:27:52.364] master <- NULL [01:27:52.364] while (!identical(envir, .GlobalEnv) && [01:27:52.364] !identical(envir, emptyenv())) { [01:27:52.364] if (exists("master", mode = "list", envir = envir, [01:27:52.364] inherits = FALSE)) { [01:27:52.364] master <- get("master", mode = "list", [01:27:52.364] envir = envir, inherits = FALSE) [01:27:52.364] if (inherits(master, c("SOCKnode", [01:27:52.364] "SOCK0node"))) { [01:27:52.364] sendCondition <<- function(cond) { [01:27:52.364] data <- list(type = "VALUE", value = cond, [01:27:52.364] success = TRUE) [01:27:52.364] parallel_sendData(master, data) [01:27:52.364] } [01:27:52.364] return(sendCondition) [01:27:52.364] } [01:27:52.364] } [01:27:52.364] frame <- frame + 1L [01:27:52.364] envir <- sys.frame(frame) [01:27:52.364] } [01:27:52.364] } [01:27:52.364] sendCondition <<- function(cond) NULL [01:27:52.364] } [01:27:52.364] }) [01:27:52.364] withCallingHandlers({ [01:27:52.364] NA [01:27:52.364] }, immediateCondition = function(cond) { [01:27:52.364] sendCondition <- ...future.makeSendCondition() [01:27:52.364] sendCondition(cond) [01:27:52.364] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.364] { [01:27:52.364] inherits <- base::inherits [01:27:52.364] invokeRestart <- base::invokeRestart [01:27:52.364] is.null <- base::is.null [01:27:52.364] muffled <- FALSE [01:27:52.364] if (inherits(cond, "message")) { [01:27:52.364] muffled <- grepl(pattern, "muffleMessage") [01:27:52.364] if (muffled) [01:27:52.364] invokeRestart("muffleMessage") [01:27:52.364] } [01:27:52.364] else if (inherits(cond, "warning")) { [01:27:52.364] muffled <- grepl(pattern, "muffleWarning") [01:27:52.364] if (muffled) [01:27:52.364] invokeRestart("muffleWarning") [01:27:52.364] } [01:27:52.364] else if (inherits(cond, "condition")) { [01:27:52.364] if (!is.null(pattern)) { [01:27:52.364] computeRestarts <- base::computeRestarts [01:27:52.364] grepl <- base::grepl [01:27:52.364] restarts <- computeRestarts(cond) [01:27:52.364] for (restart in restarts) { [01:27:52.364] name <- restart$name [01:27:52.364] if (is.null(name)) [01:27:52.364] next [01:27:52.364] if (!grepl(pattern, name)) [01:27:52.364] next [01:27:52.364] invokeRestart(restart) [01:27:52.364] muffled <- TRUE [01:27:52.364] break [01:27:52.364] } [01:27:52.364] } [01:27:52.364] } [01:27:52.364] invisible(muffled) [01:27:52.364] } [01:27:52.364] muffleCondition(cond) [01:27:52.364] }) [01:27:52.364] })) [01:27:52.364] future::FutureResult(value = ...future.value$value, [01:27:52.364] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.364] ...future.rng), globalenv = if (FALSE) [01:27:52.364] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:52.364] ...future.globalenv.names)) [01:27:52.364] else NULL, started = ...future.startTime, version = "1.8") [01:27:52.364] }, condition = base::local({ [01:27:52.364] c <- base::c [01:27:52.364] inherits <- base::inherits [01:27:52.364] invokeRestart <- base::invokeRestart [01:27:52.364] length <- base::length [01:27:52.364] list <- base::list [01:27:52.364] seq.int <- base::seq.int [01:27:52.364] signalCondition <- base::signalCondition [01:27:52.364] sys.calls <- base::sys.calls [01:27:52.364] `[[` <- base::`[[` [01:27:52.364] `+` <- base::`+` [01:27:52.364] `<<-` <- base::`<<-` [01:27:52.364] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:52.364] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:52.364] 3L)] [01:27:52.364] } [01:27:52.364] function(cond) { [01:27:52.364] is_error <- inherits(cond, "error") [01:27:52.364] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:52.364] NULL) [01:27:52.364] if (is_error) { [01:27:52.364] sessionInformation <- function() { [01:27:52.364] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:52.364] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:52.364] search = base::search(), system = base::Sys.info()) [01:27:52.364] } [01:27:52.364] ...future.conditions[[length(...future.conditions) + [01:27:52.364] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:52.364] cond$call), session = sessionInformation(), [01:27:52.364] timestamp = base::Sys.time(), signaled = 0L) [01:27:52.364] signalCondition(cond) [01:27:52.364] } [01:27:52.364] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:52.364] "immediateCondition"))) { [01:27:52.364] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:52.364] ...future.conditions[[length(...future.conditions) + [01:27:52.364] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:52.364] if (TRUE && !signal) { [01:27:52.364] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.364] { [01:27:52.364] inherits <- base::inherits [01:27:52.364] invokeRestart <- base::invokeRestart [01:27:52.364] is.null <- base::is.null [01:27:52.364] muffled <- FALSE [01:27:52.364] if (inherits(cond, "message")) { [01:27:52.364] muffled <- grepl(pattern, "muffleMessage") [01:27:52.364] if (muffled) [01:27:52.364] invokeRestart("muffleMessage") [01:27:52.364] } [01:27:52.364] else if (inherits(cond, "warning")) { [01:27:52.364] muffled <- grepl(pattern, "muffleWarning") [01:27:52.364] if (muffled) [01:27:52.364] invokeRestart("muffleWarning") [01:27:52.364] } [01:27:52.364] else if (inherits(cond, "condition")) { [01:27:52.364] if (!is.null(pattern)) { [01:27:52.364] computeRestarts <- base::computeRestarts [01:27:52.364] grepl <- base::grepl [01:27:52.364] restarts <- computeRestarts(cond) [01:27:52.364] for (restart in restarts) { [01:27:52.364] name <- restart$name [01:27:52.364] if (is.null(name)) [01:27:52.364] next [01:27:52.364] if (!grepl(pattern, name)) [01:27:52.364] next [01:27:52.364] invokeRestart(restart) [01:27:52.364] muffled <- TRUE [01:27:52.364] break [01:27:52.364] } [01:27:52.364] } [01:27:52.364] } [01:27:52.364] invisible(muffled) [01:27:52.364] } [01:27:52.364] muffleCondition(cond, pattern = "^muffle") [01:27:52.364] } [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] if (TRUE) { [01:27:52.364] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.364] { [01:27:52.364] inherits <- base::inherits [01:27:52.364] invokeRestart <- base::invokeRestart [01:27:52.364] is.null <- base::is.null [01:27:52.364] muffled <- FALSE [01:27:52.364] if (inherits(cond, "message")) { [01:27:52.364] muffled <- grepl(pattern, "muffleMessage") [01:27:52.364] if (muffled) [01:27:52.364] invokeRestart("muffleMessage") [01:27:52.364] } [01:27:52.364] else if (inherits(cond, "warning")) { [01:27:52.364] muffled <- grepl(pattern, "muffleWarning") [01:27:52.364] if (muffled) [01:27:52.364] invokeRestart("muffleWarning") [01:27:52.364] } [01:27:52.364] else if (inherits(cond, "condition")) { [01:27:52.364] if (!is.null(pattern)) { [01:27:52.364] computeRestarts <- base::computeRestarts [01:27:52.364] grepl <- base::grepl [01:27:52.364] restarts <- computeRestarts(cond) [01:27:52.364] for (restart in restarts) { [01:27:52.364] name <- restart$name [01:27:52.364] if (is.null(name)) [01:27:52.364] next [01:27:52.364] if (!grepl(pattern, name)) [01:27:52.364] next [01:27:52.364] invokeRestart(restart) [01:27:52.364] muffled <- TRUE [01:27:52.364] break [01:27:52.364] } [01:27:52.364] } [01:27:52.364] } [01:27:52.364] invisible(muffled) [01:27:52.364] } [01:27:52.364] muffleCondition(cond, pattern = "^muffle") [01:27:52.364] } [01:27:52.364] } [01:27:52.364] } [01:27:52.364] })) [01:27:52.364] }, error = function(ex) { [01:27:52.364] base::structure(base::list(value = NULL, visible = NULL, [01:27:52.364] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.364] ...future.rng), started = ...future.startTime, [01:27:52.364] finished = Sys.time(), session_uuid = NA_character_, [01:27:52.364] version = "1.8"), class = "FutureResult") [01:27:52.364] }, finally = { [01:27:52.364] if (!identical(...future.workdir, getwd())) [01:27:52.364] setwd(...future.workdir) [01:27:52.364] { [01:27:52.364] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:52.364] ...future.oldOptions$nwarnings <- NULL [01:27:52.364] } [01:27:52.364] base::options(...future.oldOptions) [01:27:52.364] if (.Platform$OS.type == "windows") { [01:27:52.364] old_names <- names(...future.oldEnvVars) [01:27:52.364] envs <- base::Sys.getenv() [01:27:52.364] names <- names(envs) [01:27:52.364] common <- intersect(names, old_names) [01:27:52.364] added <- setdiff(names, old_names) [01:27:52.364] removed <- setdiff(old_names, names) [01:27:52.364] changed <- common[...future.oldEnvVars[common] != [01:27:52.364] envs[common]] [01:27:52.364] NAMES <- toupper(changed) [01:27:52.364] args <- list() [01:27:52.364] for (kk in seq_along(NAMES)) { [01:27:52.364] name <- changed[[kk]] [01:27:52.364] NAME <- NAMES[[kk]] [01:27:52.364] if (name != NAME && is.element(NAME, old_names)) [01:27:52.364] next [01:27:52.364] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.364] } [01:27:52.364] NAMES <- toupper(added) [01:27:52.364] for (kk in seq_along(NAMES)) { [01:27:52.364] name <- added[[kk]] [01:27:52.364] NAME <- NAMES[[kk]] [01:27:52.364] if (name != NAME && is.element(NAME, old_names)) [01:27:52.364] next [01:27:52.364] args[[name]] <- "" [01:27:52.364] } [01:27:52.364] NAMES <- toupper(removed) [01:27:52.364] for (kk in seq_along(NAMES)) { [01:27:52.364] name <- removed[[kk]] [01:27:52.364] NAME <- NAMES[[kk]] [01:27:52.364] if (name != NAME && is.element(NAME, old_names)) [01:27:52.364] next [01:27:52.364] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.364] } [01:27:52.364] if (length(args) > 0) [01:27:52.364] base::do.call(base::Sys.setenv, args = args) [01:27:52.364] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:52.364] } [01:27:52.364] { [01:27:52.364] if (base::length(...future.futureOptionsAdded) > [01:27:52.364] 0L) { [01:27:52.364] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:52.364] base::names(opts) <- ...future.futureOptionsAdded [01:27:52.364] base::options(opts) [01:27:52.364] } [01:27:52.364] { [01:27:52.364] { [01:27:52.364] base::options(mc.cores = ...future.mc.cores.old) [01:27:52.364] NULL [01:27:52.364] } [01:27:52.364] options(future.plan = NULL) [01:27:52.364] if (is.na(NA_character_)) [01:27:52.364] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.364] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:52.364] future::plan(list(function (..., workers = availableCores(), [01:27:52.364] lazy = FALSE, rscript_libs = .libPaths(), [01:27:52.364] envir = parent.frame()) [01:27:52.364] { [01:27:52.364] if (is.function(workers)) [01:27:52.364] workers <- workers() [01:27:52.364] workers <- structure(as.integer(workers), [01:27:52.364] class = class(workers)) [01:27:52.364] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:52.364] workers >= 1) [01:27:52.364] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:52.364] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:52.364] } [01:27:52.364] future <- MultisessionFuture(..., workers = workers, [01:27:52.364] lazy = lazy, rscript_libs = rscript_libs, [01:27:52.364] envir = envir) [01:27:52.364] if (!future$lazy) [01:27:52.364] future <- run(future) [01:27:52.364] invisible(future) [01:27:52.364] }), .cleanup = FALSE, .init = FALSE) [01:27:52.364] } [01:27:52.364] } [01:27:52.364] } [01:27:52.364] }) [01:27:52.364] if (TRUE) { [01:27:52.364] base::sink(type = "output", split = FALSE) [01:27:52.364] if (TRUE) { [01:27:52.364] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:52.364] } [01:27:52.364] else { [01:27:52.364] ...future.result["stdout"] <- base::list(NULL) [01:27:52.364] } [01:27:52.364] base::close(...future.stdout) [01:27:52.364] ...future.stdout <- NULL [01:27:52.364] } [01:27:52.364] ...future.result$conditions <- ...future.conditions [01:27:52.364] ...future.result$finished <- base::Sys.time() [01:27:52.364] ...future.result [01:27:52.364] } [01:27:52.454] MultisessionFuture started [01:27:52.454] result() for ClusterFuture ... [01:27:52.455] receiveMessageFromWorker() for ClusterFuture ... [01:27:52.455] - Validating connection of MultisessionFuture [01:27:52.518] - received message: FutureResult [01:27:52.519] - Received FutureResult [01:27:52.522] - Erased future from FutureRegistry [01:27:52.522] result() for ClusterFuture ... [01:27:52.522] - result already collected: FutureResult [01:27:52.523] result() for ClusterFuture ... done [01:27:52.523] receiveMessageFromWorker() for ClusterFuture ... done [01:27:52.523] result() for ClusterFuture ... done [01:27:52.523] result() for ClusterFuture ... [01:27:52.523] - result already collected: FutureResult [01:27:52.523] result() for ClusterFuture ... done [01:27:52.524] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE [01:27:52.528] plan(): nbrOfWorkers() = 2 [01:27:52.529] getGlobalsAndPackages() ... Warning: 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' [01:27:52.529] Searching for globals... [01:27:52.530] - globals found: [1] 'getOption' [01:27:52.531] Searching for globals ... DONE [01:27:52.531] Resolving globals: FALSE [01:27:52.531] [01:27:52.532] [01:27:52.532] getGlobalsAndPackages() ... DONE [01:27:52.532] run() for 'Future' ... [01:27:52.533] - state: 'created' [01:27:52.533] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [01:27:52.549] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [01:27:52.550] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [01:27:52.550] - Field: 'node' [01:27:52.550] - Field: 'label' [01:27:52.550] - Field: 'local' [01:27:52.550] - Field: 'owner' [01:27:52.551] - Field: 'envir' [01:27:52.551] - Field: 'workers' [01:27:52.551] - Field: 'packages' [01:27:52.551] - Field: 'gc' [01:27:52.551] - Field: 'conditions' [01:27:52.552] - Field: 'persistent' [01:27:52.552] - Field: 'expr' [01:27:52.552] - Field: 'uuid' [01:27:52.552] - Field: 'seed' [01:27:52.552] - Field: 'version' [01:27:52.553] - Field: 'result' [01:27:52.553] - Field: 'asynchronous' [01:27:52.553] - Field: 'calls' [01:27:52.553] - Field: 'globals' [01:27:52.554] - Field: 'stdout' [01:27:52.554] - Field: 'earlySignal' [01:27:52.554] - Field: 'lazy' [01:27:52.554] - Field: 'state' [01:27:52.554] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [01:27:52.555] - Launch lazy future ... [01:27:52.555] Packages needed by the future expression (n = 0): [01:27:52.556] Packages needed by future strategies (n = 0): [01:27:52.557] { [01:27:52.557] { [01:27:52.557] { [01:27:52.557] ...future.startTime <- base::Sys.time() [01:27:52.557] { [01:27:52.557] { [01:27:52.557] { [01:27:52.557] { [01:27:52.557] base::local({ [01:27:52.557] has_future <- base::requireNamespace("future", [01:27:52.557] quietly = TRUE) [01:27:52.557] if (has_future) { [01:27:52.557] ns <- base::getNamespace("future") [01:27:52.557] version <- ns[[".package"]][["version"]] [01:27:52.557] if (is.null(version)) [01:27:52.557] version <- utils::packageVersion("future") [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] version <- NULL [01:27:52.557] } [01:27:52.557] if (!has_future || version < "1.8.0") { [01:27:52.557] info <- base::c(r_version = base::gsub("R version ", [01:27:52.557] "", base::R.version$version.string), [01:27:52.557] platform = base::sprintf("%s (%s-bit)", [01:27:52.557] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:52.557] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:52.557] "release", "version")], collapse = " "), [01:27:52.557] hostname = base::Sys.info()[["nodename"]]) [01:27:52.557] info <- base::sprintf("%s: %s", base::names(info), [01:27:52.557] info) [01:27:52.557] info <- base::paste(info, collapse = "; ") [01:27:52.557] if (!has_future) { [01:27:52.557] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:52.557] info) [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:52.557] info, version) [01:27:52.557] } [01:27:52.557] base::stop(msg) [01:27:52.557] } [01:27:52.557] }) [01:27:52.557] } [01:27:52.557] ...future.mc.cores.old <- base::getOption("mc.cores") [01:27:52.557] base::options(mc.cores = 1L) [01:27:52.557] } [01:27:52.557] options(future.plan = NULL) [01:27:52.557] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.557] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:52.557] } [01:27:52.557] ...future.workdir <- getwd() [01:27:52.557] } [01:27:52.557] ...future.oldOptions <- base::as.list(base::.Options) [01:27:52.557] ...future.oldEnvVars <- base::Sys.getenv() [01:27:52.557] } [01:27:52.557] base::options(future.startup.script = FALSE, future.globals.onMissing = "error", [01:27:52.557] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:52.557] future.globals.onMissing = "error", future.globals.onReference = NULL, [01:27:52.557] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:52.557] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:52.557] future.stdout.windows.reencode = NULL, width = 80L) [01:27:52.557] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:52.557] base::names(...future.oldOptions)) [01:27:52.557] } [01:27:52.557] if (FALSE) { [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] if (TRUE) { [01:27:52.557] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:52.557] open = "w") [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:52.557] windows = "NUL", "/dev/null"), open = "w") [01:27:52.557] } [01:27:52.557] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:52.557] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:52.557] base::sink(type = "output", split = FALSE) [01:27:52.557] base::close(...future.stdout) [01:27:52.557] }, add = TRUE) [01:27:52.557] } [01:27:52.557] ...future.frame <- base::sys.nframe() [01:27:52.557] ...future.conditions <- base::list() [01:27:52.557] ...future.rng <- base::globalenv()$.Random.seed [01:27:52.557] if (FALSE) { [01:27:52.557] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:52.557] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:52.557] } [01:27:52.557] ...future.result <- base::tryCatch({ [01:27:52.557] base::withCallingHandlers({ [01:27:52.557] ...future.value <- base::withVisible(base::local({ [01:27:52.557] ...future.makeSendCondition <- base::local({ [01:27:52.557] sendCondition <- NULL [01:27:52.557] function(frame = 1L) { [01:27:52.557] if (is.function(sendCondition)) [01:27:52.557] return(sendCondition) [01:27:52.557] ns <- getNamespace("parallel") [01:27:52.557] if (exists("sendData", mode = "function", [01:27:52.557] envir = ns)) { [01:27:52.557] parallel_sendData <- get("sendData", mode = "function", [01:27:52.557] envir = ns) [01:27:52.557] envir <- sys.frame(frame) [01:27:52.557] master <- NULL [01:27:52.557] while (!identical(envir, .GlobalEnv) && [01:27:52.557] !identical(envir, emptyenv())) { [01:27:52.557] if (exists("master", mode = "list", envir = envir, [01:27:52.557] inherits = FALSE)) { [01:27:52.557] master <- get("master", mode = "list", [01:27:52.557] envir = envir, inherits = FALSE) [01:27:52.557] if (inherits(master, c("SOCKnode", [01:27:52.557] "SOCK0node"))) { [01:27:52.557] sendCondition <<- function(cond) { [01:27:52.557] data <- list(type = "VALUE", value = cond, [01:27:52.557] success = TRUE) [01:27:52.557] parallel_sendData(master, data) [01:27:52.557] } [01:27:52.557] return(sendCondition) [01:27:52.557] } [01:27:52.557] } [01:27:52.557] frame <- frame + 1L [01:27:52.557] envir <- sys.frame(frame) [01:27:52.557] } [01:27:52.557] } [01:27:52.557] sendCondition <<- function(cond) NULL [01:27:52.557] } [01:27:52.557] }) [01:27:52.557] withCallingHandlers({ [01:27:52.557] getOption("future.globals.onMissing") [01:27:52.557] }, immediateCondition = function(cond) { [01:27:52.557] sendCondition <- ...future.makeSendCondition() [01:27:52.557] sendCondition(cond) [01:27:52.557] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.557] { [01:27:52.557] inherits <- base::inherits [01:27:52.557] invokeRestart <- base::invokeRestart [01:27:52.557] is.null <- base::is.null [01:27:52.557] muffled <- FALSE [01:27:52.557] if (inherits(cond, "message")) { [01:27:52.557] muffled <- grepl(pattern, "muffleMessage") [01:27:52.557] if (muffled) [01:27:52.557] invokeRestart("muffleMessage") [01:27:52.557] } [01:27:52.557] else if (inherits(cond, "warning")) { [01:27:52.557] muffled <- grepl(pattern, "muffleWarning") [01:27:52.557] if (muffled) [01:27:52.557] invokeRestart("muffleWarning") [01:27:52.557] } [01:27:52.557] else if (inherits(cond, "condition")) { [01:27:52.557] if (!is.null(pattern)) { [01:27:52.557] computeRestarts <- base::computeRestarts [01:27:52.557] grepl <- base::grepl [01:27:52.557] restarts <- computeRestarts(cond) [01:27:52.557] for (restart in restarts) { [01:27:52.557] name <- restart$name [01:27:52.557] if (is.null(name)) [01:27:52.557] next [01:27:52.557] if (!grepl(pattern, name)) [01:27:52.557] next [01:27:52.557] invokeRestart(restart) [01:27:52.557] muffled <- TRUE [01:27:52.557] break [01:27:52.557] } [01:27:52.557] } [01:27:52.557] } [01:27:52.557] invisible(muffled) [01:27:52.557] } [01:27:52.557] muffleCondition(cond) [01:27:52.557] }) [01:27:52.557] })) [01:27:52.557] future::FutureResult(value = ...future.value$value, [01:27:52.557] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.557] ...future.rng), globalenv = if (FALSE) [01:27:52.557] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:52.557] ...future.globalenv.names)) [01:27:52.557] else NULL, started = ...future.startTime, version = "1.8") [01:27:52.557] }, condition = base::local({ [01:27:52.557] c <- base::c [01:27:52.557] inherits <- base::inherits [01:27:52.557] invokeRestart <- base::invokeRestart [01:27:52.557] length <- base::length [01:27:52.557] list <- base::list [01:27:52.557] seq.int <- base::seq.int [01:27:52.557] signalCondition <- base::signalCondition [01:27:52.557] sys.calls <- base::sys.calls [01:27:52.557] `[[` <- base::`[[` [01:27:52.557] `+` <- base::`+` [01:27:52.557] `<<-` <- base::`<<-` [01:27:52.557] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:52.557] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:52.557] 3L)] [01:27:52.557] } [01:27:52.557] function(cond) { [01:27:52.557] is_error <- inherits(cond, "error") [01:27:52.557] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:52.557] NULL) [01:27:52.557] if (is_error) { [01:27:52.557] sessionInformation <- function() { [01:27:52.557] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:52.557] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:52.557] search = base::search(), system = base::Sys.info()) [01:27:52.557] } [01:27:52.557] ...future.conditions[[length(...future.conditions) + [01:27:52.557] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:52.557] cond$call), session = sessionInformation(), [01:27:52.557] timestamp = base::Sys.time(), signaled = 0L) [01:27:52.557] signalCondition(cond) [01:27:52.557] } [01:27:52.557] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:52.557] "immediateCondition"))) { [01:27:52.557] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:52.557] ...future.conditions[[length(...future.conditions) + [01:27:52.557] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:52.557] if (TRUE && !signal) { [01:27:52.557] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.557] { [01:27:52.557] inherits <- base::inherits [01:27:52.557] invokeRestart <- base::invokeRestart [01:27:52.557] is.null <- base::is.null [01:27:52.557] muffled <- FALSE [01:27:52.557] if (inherits(cond, "message")) { [01:27:52.557] muffled <- grepl(pattern, "muffleMessage") [01:27:52.557] if (muffled) [01:27:52.557] invokeRestart("muffleMessage") [01:27:52.557] } [01:27:52.557] else if (inherits(cond, "warning")) { [01:27:52.557] muffled <- grepl(pattern, "muffleWarning") [01:27:52.557] if (muffled) [01:27:52.557] invokeRestart("muffleWarning") [01:27:52.557] } [01:27:52.557] else if (inherits(cond, "condition")) { [01:27:52.557] if (!is.null(pattern)) { [01:27:52.557] computeRestarts <- base::computeRestarts [01:27:52.557] grepl <- base::grepl [01:27:52.557] restarts <- computeRestarts(cond) [01:27:52.557] for (restart in restarts) { [01:27:52.557] name <- restart$name [01:27:52.557] if (is.null(name)) [01:27:52.557] next [01:27:52.557] if (!grepl(pattern, name)) [01:27:52.557] next [01:27:52.557] invokeRestart(restart) [01:27:52.557] muffled <- TRUE [01:27:52.557] break [01:27:52.557] } [01:27:52.557] } [01:27:52.557] } [01:27:52.557] invisible(muffled) [01:27:52.557] } [01:27:52.557] muffleCondition(cond, pattern = "^muffle") [01:27:52.557] } [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] if (TRUE) { [01:27:52.557] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.557] { [01:27:52.557] inherits <- base::inherits [01:27:52.557] invokeRestart <- base::invokeRestart [01:27:52.557] is.null <- base::is.null [01:27:52.557] muffled <- FALSE [01:27:52.557] if (inherits(cond, "message")) { [01:27:52.557] muffled <- grepl(pattern, "muffleMessage") [01:27:52.557] if (muffled) [01:27:52.557] invokeRestart("muffleMessage") [01:27:52.557] } [01:27:52.557] else if (inherits(cond, "warning")) { [01:27:52.557] muffled <- grepl(pattern, "muffleWarning") [01:27:52.557] if (muffled) [01:27:52.557] invokeRestart("muffleWarning") [01:27:52.557] } [01:27:52.557] else if (inherits(cond, "condition")) { [01:27:52.557] if (!is.null(pattern)) { [01:27:52.557] computeRestarts <- base::computeRestarts [01:27:52.557] grepl <- base::grepl [01:27:52.557] restarts <- computeRestarts(cond) [01:27:52.557] for (restart in restarts) { [01:27:52.557] name <- restart$name [01:27:52.557] if (is.null(name)) [01:27:52.557] next [01:27:52.557] if (!grepl(pattern, name)) [01:27:52.557] next [01:27:52.557] invokeRestart(restart) [01:27:52.557] muffled <- TRUE [01:27:52.557] break [01:27:52.557] } [01:27:52.557] } [01:27:52.557] } [01:27:52.557] invisible(muffled) [01:27:52.557] } [01:27:52.557] muffleCondition(cond, pattern = "^muffle") [01:27:52.557] } [01:27:52.557] } [01:27:52.557] } [01:27:52.557] })) [01:27:52.557] }, error = function(ex) { [01:27:52.557] base::structure(base::list(value = NULL, visible = NULL, [01:27:52.557] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.557] ...future.rng), started = ...future.startTime, [01:27:52.557] finished = Sys.time(), session_uuid = NA_character_, [01:27:52.557] version = "1.8"), class = "FutureResult") [01:27:52.557] }, finally = { [01:27:52.557] if (!identical(...future.workdir, getwd())) [01:27:52.557] setwd(...future.workdir) [01:27:52.557] { [01:27:52.557] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:52.557] ...future.oldOptions$nwarnings <- NULL [01:27:52.557] } [01:27:52.557] base::options(...future.oldOptions) [01:27:52.557] if (.Platform$OS.type == "windows") { [01:27:52.557] old_names <- names(...future.oldEnvVars) [01:27:52.557] envs <- base::Sys.getenv() [01:27:52.557] names <- names(envs) [01:27:52.557] common <- intersect(names, old_names) [01:27:52.557] added <- setdiff(names, old_names) [01:27:52.557] removed <- setdiff(old_names, names) [01:27:52.557] changed <- common[...future.oldEnvVars[common] != [01:27:52.557] envs[common]] [01:27:52.557] NAMES <- toupper(changed) [01:27:52.557] args <- list() [01:27:52.557] for (kk in seq_along(NAMES)) { [01:27:52.557] name <- changed[[kk]] [01:27:52.557] NAME <- NAMES[[kk]] [01:27:52.557] if (name != NAME && is.element(NAME, old_names)) [01:27:52.557] next [01:27:52.557] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.557] } [01:27:52.557] NAMES <- toupper(added) [01:27:52.557] for (kk in seq_along(NAMES)) { [01:27:52.557] name <- added[[kk]] [01:27:52.557] NAME <- NAMES[[kk]] [01:27:52.557] if (name != NAME && is.element(NAME, old_names)) [01:27:52.557] next [01:27:52.557] args[[name]] <- "" [01:27:52.557] } [01:27:52.557] NAMES <- toupper(removed) [01:27:52.557] for (kk in seq_along(NAMES)) { [01:27:52.557] name <- removed[[kk]] [01:27:52.557] NAME <- NAMES[[kk]] [01:27:52.557] if (name != NAME && is.element(NAME, old_names)) [01:27:52.557] next [01:27:52.557] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.557] } [01:27:52.557] if (length(args) > 0) [01:27:52.557] base::do.call(base::Sys.setenv, args = args) [01:27:52.557] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:52.557] } [01:27:52.557] { [01:27:52.557] if (base::length(...future.futureOptionsAdded) > [01:27:52.557] 0L) { [01:27:52.557] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:52.557] base::names(opts) <- ...future.futureOptionsAdded [01:27:52.557] base::options(opts) [01:27:52.557] } [01:27:52.557] { [01:27:52.557] { [01:27:52.557] base::options(mc.cores = ...future.mc.cores.old) [01:27:52.557] NULL [01:27:52.557] } [01:27:52.557] options(future.plan = NULL) [01:27:52.557] if (is.na(NA_character_)) [01:27:52.557] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.557] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:52.557] future::plan(list(function (..., workers = availableCores(), [01:27:52.557] lazy = FALSE, rscript_libs = .libPaths(), [01:27:52.557] envir = parent.frame()) [01:27:52.557] { [01:27:52.557] if (is.function(workers)) [01:27:52.557] workers <- workers() [01:27:52.557] workers <- structure(as.integer(workers), [01:27:52.557] class = class(workers)) [01:27:52.557] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:52.557] workers >= 1) [01:27:52.557] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:52.557] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:52.557] } [01:27:52.557] future <- MultisessionFuture(..., workers = workers, [01:27:52.557] lazy = lazy, rscript_libs = rscript_libs, [01:27:52.557] envir = envir) [01:27:52.557] if (!future$lazy) [01:27:52.557] future <- run(future) [01:27:52.557] invisible(future) [01:27:52.557] }), .cleanup = FALSE, .init = FALSE) [01:27:52.557] } [01:27:52.557] } [01:27:52.557] } [01:27:52.557] }) [01:27:52.557] if (TRUE) { [01:27:52.557] base::sink(type = "output", split = FALSE) [01:27:52.557] if (TRUE) { [01:27:52.557] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:52.557] } [01:27:52.557] else { [01:27:52.557] ...future.result["stdout"] <- base::list(NULL) [01:27:52.557] } [01:27:52.557] base::close(...future.stdout) [01:27:52.557] ...future.stdout <- NULL [01:27:52.557] } [01:27:52.557] ...future.result$conditions <- ...future.conditions [01:27:52.557] ...future.result$finished <- base::Sys.time() [01:27:52.557] ...future.result [01:27:52.557] } [01:27:52.569] MultisessionFuture started [01:27:52.569] - Launch lazy future ... done [01:27:52.569] run() for 'MultisessionFuture' ... done [01:27:52.570] result() for ClusterFuture ... [01:27:52.570] receiveMessageFromWorker() for ClusterFuture ... [01:27:52.570] - Validating connection of MultisessionFuture [01:27:52.591] - received message: FutureResult [01:27:52.591] - Received FutureResult [01:27:52.591] - Erased future from FutureRegistry [01:27:52.592] result() for ClusterFuture ... [01:27:52.592] - result already collected: FutureResult [01:27:52.592] result() for ClusterFuture ... done [01:27:52.592] receiveMessageFromWorker() for ClusterFuture ... done [01:27:52.592] result() for ClusterFuture ... done [01:27:52.592] result() for ClusterFuture ... [01:27:52.593] - result already collected: FutureResult [01:27:52.593] result() for ClusterFuture ... done [01:27:52.593] getGlobalsAndPackages() ... Warning: 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' [01:27:52.594] Searching for globals... [01:27:52.595] - globals found: [1] 'getOption' [01:27:52.595] Searching for globals ... DONE [01:27:52.595] Resolving globals: FALSE [01:27:52.596] [01:27:52.596] [01:27:52.596] getGlobalsAndPackages() ... DONE [01:27:52.597] run() for 'Future' ... [01:27:52.597] - state: 'created' [01:27:52.597] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [01:27:52.613] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [01:27:52.614] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [01:27:52.614] - Field: 'node' [01:27:52.614] - Field: 'label' [01:27:52.614] - Field: 'local' [01:27:52.614] - Field: 'owner' [01:27:52.615] - Field: 'envir' [01:27:52.615] - Field: 'workers' [01:27:52.615] - Field: 'packages' [01:27:52.615] - Field: 'gc' [01:27:52.615] - Field: 'conditions' [01:27:52.616] - Field: 'persistent' [01:27:52.616] - Field: 'expr' [01:27:52.616] - Field: 'uuid' [01:27:52.616] - Field: 'seed' [01:27:52.616] - Field: 'version' [01:27:52.617] - Field: 'result' [01:27:52.617] - Field: 'asynchronous' [01:27:52.617] - Field: 'calls' [01:27:52.617] - Field: 'globals' [01:27:52.617] - Field: 'stdout' [01:27:52.618] - Field: 'earlySignal' [01:27:52.618] - Field: 'lazy' [01:27:52.619] - Field: 'state' [01:27:52.619] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [01:27:52.620] - Launch lazy future ... [01:27:52.621] Packages needed by the future expression (n = 0): [01:27:52.621] Packages needed by future strategies (n = 0): [01:27:52.623] { [01:27:52.623] { [01:27:52.623] { [01:27:52.623] ...future.startTime <- base::Sys.time() [01:27:52.623] { [01:27:52.623] { [01:27:52.623] { [01:27:52.623] { [01:27:52.623] base::local({ [01:27:52.623] has_future <- base::requireNamespace("future", [01:27:52.623] quietly = TRUE) [01:27:52.623] if (has_future) { [01:27:52.623] ns <- base::getNamespace("future") [01:27:52.623] version <- ns[[".package"]][["version"]] [01:27:52.623] if (is.null(version)) [01:27:52.623] version <- utils::packageVersion("future") [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] version <- NULL [01:27:52.623] } [01:27:52.623] if (!has_future || version < "1.8.0") { [01:27:52.623] info <- base::c(r_version = base::gsub("R version ", [01:27:52.623] "", base::R.version$version.string), [01:27:52.623] platform = base::sprintf("%s (%s-bit)", [01:27:52.623] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:52.623] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:52.623] "release", "version")], collapse = " "), [01:27:52.623] hostname = base::Sys.info()[["nodename"]]) [01:27:52.623] info <- base::sprintf("%s: %s", base::names(info), [01:27:52.623] info) [01:27:52.623] info <- base::paste(info, collapse = "; ") [01:27:52.623] if (!has_future) { [01:27:52.623] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:52.623] info) [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:52.623] info, version) [01:27:52.623] } [01:27:52.623] base::stop(msg) [01:27:52.623] } [01:27:52.623] }) [01:27:52.623] } [01:27:52.623] ...future.mc.cores.old <- base::getOption("mc.cores") [01:27:52.623] base::options(mc.cores = 1L) [01:27:52.623] } [01:27:52.623] options(future.plan = NULL) [01:27:52.623] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.623] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:52.623] } [01:27:52.623] ...future.workdir <- getwd() [01:27:52.623] } [01:27:52.623] ...future.oldOptions <- base::as.list(base::.Options) [01:27:52.623] ...future.oldEnvVars <- base::Sys.getenv() [01:27:52.623] } [01:27:52.623] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:52.623] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:52.623] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:52.623] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:52.623] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:52.623] future.stdout.windows.reencode = NULL, width = 80L) [01:27:52.623] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:52.623] base::names(...future.oldOptions)) [01:27:52.623] } [01:27:52.623] if (FALSE) { [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] if (TRUE) { [01:27:52.623] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:52.623] open = "w") [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:52.623] windows = "NUL", "/dev/null"), open = "w") [01:27:52.623] } [01:27:52.623] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:52.623] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:52.623] base::sink(type = "output", split = FALSE) [01:27:52.623] base::close(...future.stdout) [01:27:52.623] }, add = TRUE) [01:27:52.623] } [01:27:52.623] ...future.frame <- base::sys.nframe() [01:27:52.623] ...future.conditions <- base::list() [01:27:52.623] ...future.rng <- base::globalenv()$.Random.seed [01:27:52.623] if (FALSE) { [01:27:52.623] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:52.623] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:52.623] } [01:27:52.623] ...future.result <- base::tryCatch({ [01:27:52.623] base::withCallingHandlers({ [01:27:52.623] ...future.value <- base::withVisible(base::local({ [01:27:52.623] ...future.makeSendCondition <- base::local({ [01:27:52.623] sendCondition <- NULL [01:27:52.623] function(frame = 1L) { [01:27:52.623] if (is.function(sendCondition)) [01:27:52.623] return(sendCondition) [01:27:52.623] ns <- getNamespace("parallel") [01:27:52.623] if (exists("sendData", mode = "function", [01:27:52.623] envir = ns)) { [01:27:52.623] parallel_sendData <- get("sendData", mode = "function", [01:27:52.623] envir = ns) [01:27:52.623] envir <- sys.frame(frame) [01:27:52.623] master <- NULL [01:27:52.623] while (!identical(envir, .GlobalEnv) && [01:27:52.623] !identical(envir, emptyenv())) { [01:27:52.623] if (exists("master", mode = "list", envir = envir, [01:27:52.623] inherits = FALSE)) { [01:27:52.623] master <- get("master", mode = "list", [01:27:52.623] envir = envir, inherits = FALSE) [01:27:52.623] if (inherits(master, c("SOCKnode", [01:27:52.623] "SOCK0node"))) { [01:27:52.623] sendCondition <<- function(cond) { [01:27:52.623] data <- list(type = "VALUE", value = cond, [01:27:52.623] success = TRUE) [01:27:52.623] parallel_sendData(master, data) [01:27:52.623] } [01:27:52.623] return(sendCondition) [01:27:52.623] } [01:27:52.623] } [01:27:52.623] frame <- frame + 1L [01:27:52.623] envir <- sys.frame(frame) [01:27:52.623] } [01:27:52.623] } [01:27:52.623] sendCondition <<- function(cond) NULL [01:27:52.623] } [01:27:52.623] }) [01:27:52.623] withCallingHandlers({ [01:27:52.623] getOption("future.globals.onMissing") [01:27:52.623] }, immediateCondition = function(cond) { [01:27:52.623] sendCondition <- ...future.makeSendCondition() [01:27:52.623] sendCondition(cond) [01:27:52.623] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.623] { [01:27:52.623] inherits <- base::inherits [01:27:52.623] invokeRestart <- base::invokeRestart [01:27:52.623] is.null <- base::is.null [01:27:52.623] muffled <- FALSE [01:27:52.623] if (inherits(cond, "message")) { [01:27:52.623] muffled <- grepl(pattern, "muffleMessage") [01:27:52.623] if (muffled) [01:27:52.623] invokeRestart("muffleMessage") [01:27:52.623] } [01:27:52.623] else if (inherits(cond, "warning")) { [01:27:52.623] muffled <- grepl(pattern, "muffleWarning") [01:27:52.623] if (muffled) [01:27:52.623] invokeRestart("muffleWarning") [01:27:52.623] } [01:27:52.623] else if (inherits(cond, "condition")) { [01:27:52.623] if (!is.null(pattern)) { [01:27:52.623] computeRestarts <- base::computeRestarts [01:27:52.623] grepl <- base::grepl [01:27:52.623] restarts <- computeRestarts(cond) [01:27:52.623] for (restart in restarts) { [01:27:52.623] name <- restart$name [01:27:52.623] if (is.null(name)) [01:27:52.623] next [01:27:52.623] if (!grepl(pattern, name)) [01:27:52.623] next [01:27:52.623] invokeRestart(restart) [01:27:52.623] muffled <- TRUE [01:27:52.623] break [01:27:52.623] } [01:27:52.623] } [01:27:52.623] } [01:27:52.623] invisible(muffled) [01:27:52.623] } [01:27:52.623] muffleCondition(cond) [01:27:52.623] }) [01:27:52.623] })) [01:27:52.623] future::FutureResult(value = ...future.value$value, [01:27:52.623] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.623] ...future.rng), globalenv = if (FALSE) [01:27:52.623] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:52.623] ...future.globalenv.names)) [01:27:52.623] else NULL, started = ...future.startTime, version = "1.8") [01:27:52.623] }, condition = base::local({ [01:27:52.623] c <- base::c [01:27:52.623] inherits <- base::inherits [01:27:52.623] invokeRestart <- base::invokeRestart [01:27:52.623] length <- base::length [01:27:52.623] list <- base::list [01:27:52.623] seq.int <- base::seq.int [01:27:52.623] signalCondition <- base::signalCondition [01:27:52.623] sys.calls <- base::sys.calls [01:27:52.623] `[[` <- base::`[[` [01:27:52.623] `+` <- base::`+` [01:27:52.623] `<<-` <- base::`<<-` [01:27:52.623] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:52.623] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:52.623] 3L)] [01:27:52.623] } [01:27:52.623] function(cond) { [01:27:52.623] is_error <- inherits(cond, "error") [01:27:52.623] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:52.623] NULL) [01:27:52.623] if (is_error) { [01:27:52.623] sessionInformation <- function() { [01:27:52.623] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:52.623] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:52.623] search = base::search(), system = base::Sys.info()) [01:27:52.623] } [01:27:52.623] ...future.conditions[[length(...future.conditions) + [01:27:52.623] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:52.623] cond$call), session = sessionInformation(), [01:27:52.623] timestamp = base::Sys.time(), signaled = 0L) [01:27:52.623] signalCondition(cond) [01:27:52.623] } [01:27:52.623] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:52.623] "immediateCondition"))) { [01:27:52.623] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:52.623] ...future.conditions[[length(...future.conditions) + [01:27:52.623] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:52.623] if (TRUE && !signal) { [01:27:52.623] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.623] { [01:27:52.623] inherits <- base::inherits [01:27:52.623] invokeRestart <- base::invokeRestart [01:27:52.623] is.null <- base::is.null [01:27:52.623] muffled <- FALSE [01:27:52.623] if (inherits(cond, "message")) { [01:27:52.623] muffled <- grepl(pattern, "muffleMessage") [01:27:52.623] if (muffled) [01:27:52.623] invokeRestart("muffleMessage") [01:27:52.623] } [01:27:52.623] else if (inherits(cond, "warning")) { [01:27:52.623] muffled <- grepl(pattern, "muffleWarning") [01:27:52.623] if (muffled) [01:27:52.623] invokeRestart("muffleWarning") [01:27:52.623] } [01:27:52.623] else if (inherits(cond, "condition")) { [01:27:52.623] if (!is.null(pattern)) { [01:27:52.623] computeRestarts <- base::computeRestarts [01:27:52.623] grepl <- base::grepl [01:27:52.623] restarts <- computeRestarts(cond) [01:27:52.623] for (restart in restarts) { [01:27:52.623] name <- restart$name [01:27:52.623] if (is.null(name)) [01:27:52.623] next [01:27:52.623] if (!grepl(pattern, name)) [01:27:52.623] next [01:27:52.623] invokeRestart(restart) [01:27:52.623] muffled <- TRUE [01:27:52.623] break [01:27:52.623] } [01:27:52.623] } [01:27:52.623] } [01:27:52.623] invisible(muffled) [01:27:52.623] } [01:27:52.623] muffleCondition(cond, pattern = "^muffle") [01:27:52.623] } [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] if (TRUE) { [01:27:52.623] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.623] { [01:27:52.623] inherits <- base::inherits [01:27:52.623] invokeRestart <- base::invokeRestart [01:27:52.623] is.null <- base::is.null [01:27:52.623] muffled <- FALSE [01:27:52.623] if (inherits(cond, "message")) { [01:27:52.623] muffled <- grepl(pattern, "muffleMessage") [01:27:52.623] if (muffled) [01:27:52.623] invokeRestart("muffleMessage") [01:27:52.623] } [01:27:52.623] else if (inherits(cond, "warning")) { [01:27:52.623] muffled <- grepl(pattern, "muffleWarning") [01:27:52.623] if (muffled) [01:27:52.623] invokeRestart("muffleWarning") [01:27:52.623] } [01:27:52.623] else if (inherits(cond, "condition")) { [01:27:52.623] if (!is.null(pattern)) { [01:27:52.623] computeRestarts <- base::computeRestarts [01:27:52.623] grepl <- base::grepl [01:27:52.623] restarts <- computeRestarts(cond) [01:27:52.623] for (restart in restarts) { [01:27:52.623] name <- restart$name [01:27:52.623] if (is.null(name)) [01:27:52.623] next [01:27:52.623] if (!grepl(pattern, name)) [01:27:52.623] next [01:27:52.623] invokeRestart(restart) [01:27:52.623] muffled <- TRUE [01:27:52.623] break [01:27:52.623] } [01:27:52.623] } [01:27:52.623] } [01:27:52.623] invisible(muffled) [01:27:52.623] } [01:27:52.623] muffleCondition(cond, pattern = "^muffle") [01:27:52.623] } [01:27:52.623] } [01:27:52.623] } [01:27:52.623] })) [01:27:52.623] }, error = function(ex) { [01:27:52.623] base::structure(base::list(value = NULL, visible = NULL, [01:27:52.623] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.623] ...future.rng), started = ...future.startTime, [01:27:52.623] finished = Sys.time(), session_uuid = NA_character_, [01:27:52.623] version = "1.8"), class = "FutureResult") [01:27:52.623] }, finally = { [01:27:52.623] if (!identical(...future.workdir, getwd())) [01:27:52.623] setwd(...future.workdir) [01:27:52.623] { [01:27:52.623] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:52.623] ...future.oldOptions$nwarnings <- NULL [01:27:52.623] } [01:27:52.623] base::options(...future.oldOptions) [01:27:52.623] if (.Platform$OS.type == "windows") { [01:27:52.623] old_names <- names(...future.oldEnvVars) [01:27:52.623] envs <- base::Sys.getenv() [01:27:52.623] names <- names(envs) [01:27:52.623] common <- intersect(names, old_names) [01:27:52.623] added <- setdiff(names, old_names) [01:27:52.623] removed <- setdiff(old_names, names) [01:27:52.623] changed <- common[...future.oldEnvVars[common] != [01:27:52.623] envs[common]] [01:27:52.623] NAMES <- toupper(changed) [01:27:52.623] args <- list() [01:27:52.623] for (kk in seq_along(NAMES)) { [01:27:52.623] name <- changed[[kk]] [01:27:52.623] NAME <- NAMES[[kk]] [01:27:52.623] if (name != NAME && is.element(NAME, old_names)) [01:27:52.623] next [01:27:52.623] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.623] } [01:27:52.623] NAMES <- toupper(added) [01:27:52.623] for (kk in seq_along(NAMES)) { [01:27:52.623] name <- added[[kk]] [01:27:52.623] NAME <- NAMES[[kk]] [01:27:52.623] if (name != NAME && is.element(NAME, old_names)) [01:27:52.623] next [01:27:52.623] args[[name]] <- "" [01:27:52.623] } [01:27:52.623] NAMES <- toupper(removed) [01:27:52.623] for (kk in seq_along(NAMES)) { [01:27:52.623] name <- removed[[kk]] [01:27:52.623] NAME <- NAMES[[kk]] [01:27:52.623] if (name != NAME && is.element(NAME, old_names)) [01:27:52.623] next [01:27:52.623] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.623] } [01:27:52.623] if (length(args) > 0) [01:27:52.623] base::do.call(base::Sys.setenv, args = args) [01:27:52.623] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:52.623] } [01:27:52.623] { [01:27:52.623] if (base::length(...future.futureOptionsAdded) > [01:27:52.623] 0L) { [01:27:52.623] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:52.623] base::names(opts) <- ...future.futureOptionsAdded [01:27:52.623] base::options(opts) [01:27:52.623] } [01:27:52.623] { [01:27:52.623] { [01:27:52.623] base::options(mc.cores = ...future.mc.cores.old) [01:27:52.623] NULL [01:27:52.623] } [01:27:52.623] options(future.plan = NULL) [01:27:52.623] if (is.na(NA_character_)) [01:27:52.623] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.623] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:52.623] future::plan(list(function (..., workers = availableCores(), [01:27:52.623] lazy = FALSE, rscript_libs = .libPaths(), [01:27:52.623] envir = parent.frame()) [01:27:52.623] { [01:27:52.623] if (is.function(workers)) [01:27:52.623] workers <- workers() [01:27:52.623] workers <- structure(as.integer(workers), [01:27:52.623] class = class(workers)) [01:27:52.623] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:52.623] workers >= 1) [01:27:52.623] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:52.623] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:52.623] } [01:27:52.623] future <- MultisessionFuture(..., workers = workers, [01:27:52.623] lazy = lazy, rscript_libs = rscript_libs, [01:27:52.623] envir = envir) [01:27:52.623] if (!future$lazy) [01:27:52.623] future <- run(future) [01:27:52.623] invisible(future) [01:27:52.623] }), .cleanup = FALSE, .init = FALSE) [01:27:52.623] } [01:27:52.623] } [01:27:52.623] } [01:27:52.623] }) [01:27:52.623] if (TRUE) { [01:27:52.623] base::sink(type = "output", split = FALSE) [01:27:52.623] if (TRUE) { [01:27:52.623] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:52.623] } [01:27:52.623] else { [01:27:52.623] ...future.result["stdout"] <- base::list(NULL) [01:27:52.623] } [01:27:52.623] base::close(...future.stdout) [01:27:52.623] ...future.stdout <- NULL [01:27:52.623] } [01:27:52.623] ...future.result$conditions <- ...future.conditions [01:27:52.623] ...future.result$finished <- base::Sys.time() [01:27:52.623] ...future.result [01:27:52.623] } [01:27:52.634] MultisessionFuture started [01:27:52.635] - Launch lazy future ... done [01:27:52.635] run() for 'MultisessionFuture' ... done [01:27:52.635] result() for ClusterFuture ... [01:27:52.636] receiveMessageFromWorker() for ClusterFuture ... [01:27:52.636] - Validating connection of MultisessionFuture [01:27:52.662] - received message: FutureResult [01:27:52.663] - Received FutureResult [01:27:52.663] - Erased future from FutureRegistry [01:27:52.663] result() for ClusterFuture ... [01:27:52.663] - result already collected: FutureResult [01:27:52.663] result() for ClusterFuture ... done [01:27:52.664] receiveMessageFromWorker() for ClusterFuture ... done [01:27:52.664] result() for ClusterFuture ... done [01:27:52.664] result() for ClusterFuture ... [01:27:52.664] - result already collected: FutureResult [01:27:52.664] result() for ClusterFuture ... done [01:27:52.665] getGlobalsAndPackages() ... Warning: 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' [01:27:52.666] Searching for globals... [01:27:52.669] getGlobalsAndPackages() ... Warning: 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' [01:27:52.669] Searching for globals... [01:27:52.671] - globals found: [5] '$', 'subset', 'data', '<', 'x' [01:27:52.671] Searching for globals ... DONE [01:27:52.672] Resolving globals: FALSE [01:27:52.673] The total size of the 1 globals is 160 bytes (160 bytes) [01:27:52.673] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 160 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (160 bytes of class 'list') [01:27:52.674] - globals: [1] 'data' [01:27:52.674] [01:27:52.674] getGlobalsAndPackages() ... DONE [01:27:52.675] run() for 'Future' ... [01:27:52.675] - state: 'created' [01:27:52.675] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [01:27:52.691] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [01:27:52.692] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [01:27:52.692] - Field: 'node' [01:27:52.692] - Field: 'label' [01:27:52.692] - Field: 'local' [01:27:52.693] - Field: 'owner' [01:27:52.693] - Field: 'envir' [01:27:52.693] - Field: 'workers' [01:27:52.693] - Field: 'packages' [01:27:52.693] - Field: 'gc' [01:27:52.694] - Field: 'conditions' [01:27:52.694] - Field: 'persistent' [01:27:52.694] - Field: 'expr' [01:27:52.694] - Field: 'uuid' [01:27:52.694] - Field: 'seed' [01:27:52.695] - Field: 'version' [01:27:52.695] - Field: 'result' [01:27:52.695] - Field: 'asynchronous' [01:27:52.695] - Field: 'calls' [01:27:52.695] - Field: 'globals' [01:27:52.696] - Field: 'stdout' [01:27:52.696] - Field: 'earlySignal' [01:27:52.696] - Field: 'lazy' [01:27:52.696] - Field: 'state' [01:27:52.697] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [01:27:52.697] - Launch lazy future ... [01:27:52.697] Packages needed by the future expression (n = 0): [01:27:52.697] Packages needed by future strategies (n = 0): [01:27:52.698] { [01:27:52.698] { [01:27:52.698] { [01:27:52.698] ...future.startTime <- base::Sys.time() [01:27:52.698] { [01:27:52.698] { [01:27:52.698] { [01:27:52.698] { [01:27:52.698] base::local({ [01:27:52.698] has_future <- base::requireNamespace("future", [01:27:52.698] quietly = TRUE) [01:27:52.698] if (has_future) { [01:27:52.698] ns <- base::getNamespace("future") [01:27:52.698] version <- ns[[".package"]][["version"]] [01:27:52.698] if (is.null(version)) [01:27:52.698] version <- utils::packageVersion("future") [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] version <- NULL [01:27:52.698] } [01:27:52.698] if (!has_future || version < "1.8.0") { [01:27:52.698] info <- base::c(r_version = base::gsub("R version ", [01:27:52.698] "", base::R.version$version.string), [01:27:52.698] platform = base::sprintf("%s (%s-bit)", [01:27:52.698] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:52.698] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:52.698] "release", "version")], collapse = " "), [01:27:52.698] hostname = base::Sys.info()[["nodename"]]) [01:27:52.698] info <- base::sprintf("%s: %s", base::names(info), [01:27:52.698] info) [01:27:52.698] info <- base::paste(info, collapse = "; ") [01:27:52.698] if (!has_future) { [01:27:52.698] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:52.698] info) [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:52.698] info, version) [01:27:52.698] } [01:27:52.698] base::stop(msg) [01:27:52.698] } [01:27:52.698] }) [01:27:52.698] } [01:27:52.698] ...future.mc.cores.old <- base::getOption("mc.cores") [01:27:52.698] base::options(mc.cores = 1L) [01:27:52.698] } [01:27:52.698] options(future.plan = NULL) [01:27:52.698] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.698] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:52.698] } [01:27:52.698] ...future.workdir <- getwd() [01:27:52.698] } [01:27:52.698] ...future.oldOptions <- base::as.list(base::.Options) [01:27:52.698] ...future.oldEnvVars <- base::Sys.getenv() [01:27:52.698] } [01:27:52.698] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:52.698] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:52.698] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:52.698] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:52.698] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:52.698] future.stdout.windows.reencode = NULL, width = 80L) [01:27:52.698] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:52.698] base::names(...future.oldOptions)) [01:27:52.698] } [01:27:52.698] if (FALSE) { [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] if (TRUE) { [01:27:52.698] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:52.698] open = "w") [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:52.698] windows = "NUL", "/dev/null"), open = "w") [01:27:52.698] } [01:27:52.698] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:52.698] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:52.698] base::sink(type = "output", split = FALSE) [01:27:52.698] base::close(...future.stdout) [01:27:52.698] }, add = TRUE) [01:27:52.698] } [01:27:52.698] ...future.frame <- base::sys.nframe() [01:27:52.698] ...future.conditions <- base::list() [01:27:52.698] ...future.rng <- base::globalenv()$.Random.seed [01:27:52.698] if (FALSE) { [01:27:52.698] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:52.698] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:52.698] } [01:27:52.698] ...future.result <- base::tryCatch({ [01:27:52.698] base::withCallingHandlers({ [01:27:52.698] ...future.value <- base::withVisible(base::local({ [01:27:52.698] ...future.makeSendCondition <- base::local({ [01:27:52.698] sendCondition <- NULL [01:27:52.698] function(frame = 1L) { [01:27:52.698] if (is.function(sendCondition)) [01:27:52.698] return(sendCondition) [01:27:52.698] ns <- getNamespace("parallel") [01:27:52.698] if (exists("sendData", mode = "function", [01:27:52.698] envir = ns)) { [01:27:52.698] parallel_sendData <- get("sendData", mode = "function", [01:27:52.698] envir = ns) [01:27:52.698] envir <- sys.frame(frame) [01:27:52.698] master <- NULL [01:27:52.698] while (!identical(envir, .GlobalEnv) && [01:27:52.698] !identical(envir, emptyenv())) { [01:27:52.698] if (exists("master", mode = "list", envir = envir, [01:27:52.698] inherits = FALSE)) { [01:27:52.698] master <- get("master", mode = "list", [01:27:52.698] envir = envir, inherits = FALSE) [01:27:52.698] if (inherits(master, c("SOCKnode", [01:27:52.698] "SOCK0node"))) { [01:27:52.698] sendCondition <<- function(cond) { [01:27:52.698] data <- list(type = "VALUE", value = cond, [01:27:52.698] success = TRUE) [01:27:52.698] parallel_sendData(master, data) [01:27:52.698] } [01:27:52.698] return(sendCondition) [01:27:52.698] } [01:27:52.698] } [01:27:52.698] frame <- frame + 1L [01:27:52.698] envir <- sys.frame(frame) [01:27:52.698] } [01:27:52.698] } [01:27:52.698] sendCondition <<- function(cond) NULL [01:27:52.698] } [01:27:52.698] }) [01:27:52.698] withCallingHandlers({ [01:27:52.698] subset(data, x < 3)$y [01:27:52.698] }, immediateCondition = function(cond) { [01:27:52.698] sendCondition <- ...future.makeSendCondition() [01:27:52.698] sendCondition(cond) [01:27:52.698] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.698] { [01:27:52.698] inherits <- base::inherits [01:27:52.698] invokeRestart <- base::invokeRestart [01:27:52.698] is.null <- base::is.null [01:27:52.698] muffled <- FALSE [01:27:52.698] if (inherits(cond, "message")) { [01:27:52.698] muffled <- grepl(pattern, "muffleMessage") [01:27:52.698] if (muffled) [01:27:52.698] invokeRestart("muffleMessage") [01:27:52.698] } [01:27:52.698] else if (inherits(cond, "warning")) { [01:27:52.698] muffled <- grepl(pattern, "muffleWarning") [01:27:52.698] if (muffled) [01:27:52.698] invokeRestart("muffleWarning") [01:27:52.698] } [01:27:52.698] else if (inherits(cond, "condition")) { [01:27:52.698] if (!is.null(pattern)) { [01:27:52.698] computeRestarts <- base::computeRestarts [01:27:52.698] grepl <- base::grepl [01:27:52.698] restarts <- computeRestarts(cond) [01:27:52.698] for (restart in restarts) { [01:27:52.698] name <- restart$name [01:27:52.698] if (is.null(name)) [01:27:52.698] next [01:27:52.698] if (!grepl(pattern, name)) [01:27:52.698] next [01:27:52.698] invokeRestart(restart) [01:27:52.698] muffled <- TRUE [01:27:52.698] break [01:27:52.698] } [01:27:52.698] } [01:27:52.698] } [01:27:52.698] invisible(muffled) [01:27:52.698] } [01:27:52.698] muffleCondition(cond) [01:27:52.698] }) [01:27:52.698] })) [01:27:52.698] future::FutureResult(value = ...future.value$value, [01:27:52.698] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.698] ...future.rng), globalenv = if (FALSE) [01:27:52.698] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:52.698] ...future.globalenv.names)) [01:27:52.698] else NULL, started = ...future.startTime, version = "1.8") [01:27:52.698] }, condition = base::local({ [01:27:52.698] c <- base::c [01:27:52.698] inherits <- base::inherits [01:27:52.698] invokeRestart <- base::invokeRestart [01:27:52.698] length <- base::length [01:27:52.698] list <- base::list [01:27:52.698] seq.int <- base::seq.int [01:27:52.698] signalCondition <- base::signalCondition [01:27:52.698] sys.calls <- base::sys.calls [01:27:52.698] `[[` <- base::`[[` [01:27:52.698] `+` <- base::`+` [01:27:52.698] `<<-` <- base::`<<-` [01:27:52.698] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:52.698] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:52.698] 3L)] [01:27:52.698] } [01:27:52.698] function(cond) { [01:27:52.698] is_error <- inherits(cond, "error") [01:27:52.698] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:52.698] NULL) [01:27:52.698] if (is_error) { [01:27:52.698] sessionInformation <- function() { [01:27:52.698] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:52.698] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:52.698] search = base::search(), system = base::Sys.info()) [01:27:52.698] } [01:27:52.698] ...future.conditions[[length(...future.conditions) + [01:27:52.698] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:52.698] cond$call), session = sessionInformation(), [01:27:52.698] timestamp = base::Sys.time(), signaled = 0L) [01:27:52.698] signalCondition(cond) [01:27:52.698] } [01:27:52.698] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:52.698] "immediateCondition"))) { [01:27:52.698] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:52.698] ...future.conditions[[length(...future.conditions) + [01:27:52.698] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:52.698] if (TRUE && !signal) { [01:27:52.698] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.698] { [01:27:52.698] inherits <- base::inherits [01:27:52.698] invokeRestart <- base::invokeRestart [01:27:52.698] is.null <- base::is.null [01:27:52.698] muffled <- FALSE [01:27:52.698] if (inherits(cond, "message")) { [01:27:52.698] muffled <- grepl(pattern, "muffleMessage") [01:27:52.698] if (muffled) [01:27:52.698] invokeRestart("muffleMessage") [01:27:52.698] } [01:27:52.698] else if (inherits(cond, "warning")) { [01:27:52.698] muffled <- grepl(pattern, "muffleWarning") [01:27:52.698] if (muffled) [01:27:52.698] invokeRestart("muffleWarning") [01:27:52.698] } [01:27:52.698] else if (inherits(cond, "condition")) { [01:27:52.698] if (!is.null(pattern)) { [01:27:52.698] computeRestarts <- base::computeRestarts [01:27:52.698] grepl <- base::grepl [01:27:52.698] restarts <- computeRestarts(cond) [01:27:52.698] for (restart in restarts) { [01:27:52.698] name <- restart$name [01:27:52.698] if (is.null(name)) [01:27:52.698] next [01:27:52.698] if (!grepl(pattern, name)) [01:27:52.698] next [01:27:52.698] invokeRestart(restart) [01:27:52.698] muffled <- TRUE [01:27:52.698] break [01:27:52.698] } [01:27:52.698] } [01:27:52.698] } [01:27:52.698] invisible(muffled) [01:27:52.698] } [01:27:52.698] muffleCondition(cond, pattern = "^muffle") [01:27:52.698] } [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] if (TRUE) { [01:27:52.698] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.698] { [01:27:52.698] inherits <- base::inherits [01:27:52.698] invokeRestart <- base::invokeRestart [01:27:52.698] is.null <- base::is.null [01:27:52.698] muffled <- FALSE [01:27:52.698] if (inherits(cond, "message")) { [01:27:52.698] muffled <- grepl(pattern, "muffleMessage") [01:27:52.698] if (muffled) [01:27:52.698] invokeRestart("muffleMessage") [01:27:52.698] } [01:27:52.698] else if (inherits(cond, "warning")) { [01:27:52.698] muffled <- grepl(pattern, "muffleWarning") [01:27:52.698] if (muffled) [01:27:52.698] invokeRestart("muffleWarning") [01:27:52.698] } [01:27:52.698] else if (inherits(cond, "condition")) { [01:27:52.698] if (!is.null(pattern)) { [01:27:52.698] computeRestarts <- base::computeRestarts [01:27:52.698] grepl <- base::grepl [01:27:52.698] restarts <- computeRestarts(cond) [01:27:52.698] for (restart in restarts) { [01:27:52.698] name <- restart$name [01:27:52.698] if (is.null(name)) [01:27:52.698] next [01:27:52.698] if (!grepl(pattern, name)) [01:27:52.698] next [01:27:52.698] invokeRestart(restart) [01:27:52.698] muffled <- TRUE [01:27:52.698] break [01:27:52.698] } [01:27:52.698] } [01:27:52.698] } [01:27:52.698] invisible(muffled) [01:27:52.698] } [01:27:52.698] muffleCondition(cond, pattern = "^muffle") [01:27:52.698] } [01:27:52.698] } [01:27:52.698] } [01:27:52.698] })) [01:27:52.698] }, error = function(ex) { [01:27:52.698] base::structure(base::list(value = NULL, visible = NULL, [01:27:52.698] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.698] ...future.rng), started = ...future.startTime, [01:27:52.698] finished = Sys.time(), session_uuid = NA_character_, [01:27:52.698] version = "1.8"), class = "FutureResult") [01:27:52.698] }, finally = { [01:27:52.698] if (!identical(...future.workdir, getwd())) [01:27:52.698] setwd(...future.workdir) [01:27:52.698] { [01:27:52.698] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:52.698] ...future.oldOptions$nwarnings <- NULL [01:27:52.698] } [01:27:52.698] base::options(...future.oldOptions) [01:27:52.698] if (.Platform$OS.type == "windows") { [01:27:52.698] old_names <- names(...future.oldEnvVars) [01:27:52.698] envs <- base::Sys.getenv() [01:27:52.698] names <- names(envs) [01:27:52.698] common <- intersect(names, old_names) [01:27:52.698] added <- setdiff(names, old_names) [01:27:52.698] removed <- setdiff(old_names, names) [01:27:52.698] changed <- common[...future.oldEnvVars[common] != [01:27:52.698] envs[common]] [01:27:52.698] NAMES <- toupper(changed) [01:27:52.698] args <- list() [01:27:52.698] for (kk in seq_along(NAMES)) { [01:27:52.698] name <- changed[[kk]] [01:27:52.698] NAME <- NAMES[[kk]] [01:27:52.698] if (name != NAME && is.element(NAME, old_names)) [01:27:52.698] next [01:27:52.698] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.698] } [01:27:52.698] NAMES <- toupper(added) [01:27:52.698] for (kk in seq_along(NAMES)) { [01:27:52.698] name <- added[[kk]] [01:27:52.698] NAME <- NAMES[[kk]] [01:27:52.698] if (name != NAME && is.element(NAME, old_names)) [01:27:52.698] next [01:27:52.698] args[[name]] <- "" [01:27:52.698] } [01:27:52.698] NAMES <- toupper(removed) [01:27:52.698] for (kk in seq_along(NAMES)) { [01:27:52.698] name <- removed[[kk]] [01:27:52.698] NAME <- NAMES[[kk]] [01:27:52.698] if (name != NAME && is.element(NAME, old_names)) [01:27:52.698] next [01:27:52.698] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.698] } [01:27:52.698] if (length(args) > 0) [01:27:52.698] base::do.call(base::Sys.setenv, args = args) [01:27:52.698] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:52.698] } [01:27:52.698] { [01:27:52.698] if (base::length(...future.futureOptionsAdded) > [01:27:52.698] 0L) { [01:27:52.698] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:52.698] base::names(opts) <- ...future.futureOptionsAdded [01:27:52.698] base::options(opts) [01:27:52.698] } [01:27:52.698] { [01:27:52.698] { [01:27:52.698] base::options(mc.cores = ...future.mc.cores.old) [01:27:52.698] NULL [01:27:52.698] } [01:27:52.698] options(future.plan = NULL) [01:27:52.698] if (is.na(NA_character_)) [01:27:52.698] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.698] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:52.698] future::plan(list(function (..., workers = availableCores(), [01:27:52.698] lazy = FALSE, rscript_libs = .libPaths(), [01:27:52.698] envir = parent.frame()) [01:27:52.698] { [01:27:52.698] if (is.function(workers)) [01:27:52.698] workers <- workers() [01:27:52.698] workers <- structure(as.integer(workers), [01:27:52.698] class = class(workers)) [01:27:52.698] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:52.698] workers >= 1) [01:27:52.698] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:52.698] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:52.698] } [01:27:52.698] future <- MultisessionFuture(..., workers = workers, [01:27:52.698] lazy = lazy, rscript_libs = rscript_libs, [01:27:52.698] envir = envir) [01:27:52.698] if (!future$lazy) [01:27:52.698] future <- run(future) [01:27:52.698] invisible(future) [01:27:52.698] }), .cleanup = FALSE, .init = FALSE) [01:27:52.698] } [01:27:52.698] } [01:27:52.698] } [01:27:52.698] }) [01:27:52.698] if (TRUE) { [01:27:52.698] base::sink(type = "output", split = FALSE) [01:27:52.698] if (TRUE) { [01:27:52.698] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:52.698] } [01:27:52.698] else { [01:27:52.698] ...future.result["stdout"] <- base::list(NULL) [01:27:52.698] } [01:27:52.698] base::close(...future.stdout) [01:27:52.698] ...future.stdout <- NULL [01:27:52.698] } [01:27:52.698] ...future.result$conditions <- ...future.conditions [01:27:52.698] ...future.result$finished <- base::Sys.time() [01:27:52.698] ...future.result [01:27:52.698] } [01:27:52.705] Exporting 1 global objects (160 bytes) to cluster node #1 ... [01:27:52.705] Exporting 'data' (160 bytes) to cluster node #1 ... [01:27:52.706] Exporting 'data' (160 bytes) to cluster node #1 ... DONE [01:27:52.706] Exporting 1 global objects (160 bytes) to cluster node #1 ... DONE [01:27:52.707] MultisessionFuture started [01:27:52.707] - Launch lazy future ... done [01:27:52.708] run() for 'MultisessionFuture' ... done [01:27:52.708] result() for ClusterFuture ... [01:27:52.708] receiveMessageFromWorker() for ClusterFuture ... [01:27:52.708] - Validating connection of MultisessionFuture [01:27:52.734] - received message: FutureResult [01:27:52.734] - Received FutureResult [01:27:52.734] - Erased future from FutureRegistry [01:27:52.735] result() for ClusterFuture ... [01:27:52.735] - result already collected: FutureResult [01:27:52.735] result() for ClusterFuture ... done [01:27:52.735] receiveMessageFromWorker() for ClusterFuture ... done [01:27:52.735] result() for ClusterFuture ... done [01:27:52.736] result() for ClusterFuture ... [01:27:52.736] - result already collected: FutureResult [01:27:52.736] result() for ClusterFuture ... done [01:27:52.736] plan(): Setting new future strategy stack: [01:27:52.737] List of future strategies: [01:27:52.737] 1. sequential: [01:27:52.737] - args: function (..., envir = parent.frame(), workers = "") [01:27:52.737] - tweaked: FALSE [01:27:52.737] - call: plan(list(sequential, strategy)) [01:27:52.737] 2. multisession: [01:27:52.737] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [01:27:52.737] - tweaked: FALSE [01:27:52.737] - call: plan(list(sequential, strategy)) [01:27:52.738] plan(): nbrOfWorkers() = 1 [01:27:52.739] getGlobalsAndPackages() ... Warning: 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' [01:27:52.739] Searching for globals... [01:27:52.748] - globals found: [8] '{', '<-', '$', 'subset', 'data', '<', 'x', '%<-%' [01:27:52.748] Searching for globals ... DONE [01:27:52.749] Resolving globals: FALSE [01:27:52.750] The total size of the 1 globals is 160 bytes (160 bytes) [01:27:52.750] The total size of the 1 globals exported for future expression ('{; a %<-% subset(data, x < 3)$y; a; }') is 160 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (160 bytes of class 'list') [01:27:52.750] - globals: [1] 'data' [01:27:52.751] - packages: [1] 'future' [01:27:52.751] getGlobalsAndPackages() ... DONE [01:27:52.751] run() for 'Future' ... [01:27:52.752] - state: 'created' [01:27:52.752] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:52.752] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:52.753] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:52.753] - Field: 'label' [01:27:52.753] - Field: 'local' [01:27:52.753] - Field: 'owner' [01:27:52.753] - Field: 'envir' [01:27:52.754] - Field: 'packages' [01:27:52.754] - Field: 'gc' [01:27:52.754] - Field: 'conditions' [01:27:52.754] - Field: 'expr' [01:27:52.754] - Field: 'uuid' [01:27:52.755] - Field: 'seed' [01:27:52.755] - Field: 'version' [01:27:52.755] - Field: 'result' [01:27:52.755] - Field: 'asynchronous' [01:27:52.755] - Field: 'calls' [01:27:52.756] - Field: 'globals' [01:27:52.756] - Field: 'stdout' [01:27:52.756] - Field: 'earlySignal' [01:27:52.756] - Field: 'lazy' [01:27:52.756] - Field: 'state' [01:27:52.756] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:52.757] - Launch lazy future ... [01:27:52.757] Packages needed by the future expression (n = 1): 'future' [01:27:52.757] Packages needed by future strategies (n = 1): 'future' [01:27:52.758] { [01:27:52.758] { [01:27:52.758] { [01:27:52.758] ...future.startTime <- base::Sys.time() [01:27:52.758] { [01:27:52.758] { [01:27:52.758] { [01:27:52.758] { [01:27:52.758] base::local({ [01:27:52.758] has_future <- base::requireNamespace("future", [01:27:52.758] quietly = TRUE) [01:27:52.758] if (has_future) { [01:27:52.758] ns <- base::getNamespace("future") [01:27:52.758] version <- ns[[".package"]][["version"]] [01:27:52.758] if (is.null(version)) [01:27:52.758] version <- utils::packageVersion("future") [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] version <- NULL [01:27:52.758] } [01:27:52.758] if (!has_future || version < "1.8.0") { [01:27:52.758] info <- base::c(r_version = base::gsub("R version ", [01:27:52.758] "", base::R.version$version.string), [01:27:52.758] platform = base::sprintf("%s (%s-bit)", [01:27:52.758] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:52.758] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:52.758] "release", "version")], collapse = " "), [01:27:52.758] hostname = base::Sys.info()[["nodename"]]) [01:27:52.758] info <- base::sprintf("%s: %s", base::names(info), [01:27:52.758] info) [01:27:52.758] info <- base::paste(info, collapse = "; ") [01:27:52.758] if (!has_future) { [01:27:52.758] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:52.758] info) [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:52.758] info, version) [01:27:52.758] } [01:27:52.758] base::stop(msg) [01:27:52.758] } [01:27:52.758] }) [01:27:52.758] } [01:27:52.758] base::local({ [01:27:52.758] for (pkg in "future") { [01:27:52.758] base::loadNamespace(pkg) [01:27:52.758] base::library(pkg, character.only = TRUE) [01:27:52.758] } [01:27:52.758] }) [01:27:52.758] } [01:27:52.758] options(future.plan = NULL) [01:27:52.758] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.758] future::plan(list(function (..., workers = availableCores(), [01:27:52.758] lazy = FALSE, rscript_libs = .libPaths(), [01:27:52.758] envir = parent.frame()) [01:27:52.758] { [01:27:52.758] if (is.function(workers)) [01:27:52.758] workers <- workers() [01:27:52.758] workers <- structure(as.integer(workers), [01:27:52.758] class = class(workers)) [01:27:52.758] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:52.758] workers >= 1) [01:27:52.758] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:52.758] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:52.758] } [01:27:52.758] future <- MultisessionFuture(..., workers = workers, [01:27:52.758] lazy = lazy, rscript_libs = rscript_libs, [01:27:52.758] envir = envir) [01:27:52.758] if (!future$lazy) [01:27:52.758] future <- run(future) [01:27:52.758] invisible(future) [01:27:52.758] }), .cleanup = FALSE, .init = FALSE) [01:27:52.758] } [01:27:52.758] ...future.workdir <- getwd() [01:27:52.758] } [01:27:52.758] ...future.oldOptions <- base::as.list(base::.Options) [01:27:52.758] ...future.oldEnvVars <- base::Sys.getenv() [01:27:52.758] } [01:27:52.758] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:52.758] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:52.758] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:52.758] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:52.758] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:52.758] future.stdout.windows.reencode = NULL, width = 80L) [01:27:52.758] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:52.758] base::names(...future.oldOptions)) [01:27:52.758] } [01:27:52.758] if (FALSE) { [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] if (TRUE) { [01:27:52.758] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:52.758] open = "w") [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:52.758] windows = "NUL", "/dev/null"), open = "w") [01:27:52.758] } [01:27:52.758] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:52.758] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:52.758] base::sink(type = "output", split = FALSE) [01:27:52.758] base::close(...future.stdout) [01:27:52.758] }, add = TRUE) [01:27:52.758] } [01:27:52.758] ...future.frame <- base::sys.nframe() [01:27:52.758] ...future.conditions <- base::list() [01:27:52.758] ...future.rng <- base::globalenv()$.Random.seed [01:27:52.758] if (FALSE) { [01:27:52.758] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:52.758] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:52.758] } [01:27:52.758] ...future.result <- base::tryCatch({ [01:27:52.758] base::withCallingHandlers({ [01:27:52.758] ...future.value <- base::withVisible(base::local({ [01:27:52.758] a %<-% subset(data, x < 3)$y [01:27:52.758] a [01:27:52.758] })) [01:27:52.758] future::FutureResult(value = ...future.value$value, [01:27:52.758] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.758] ...future.rng), globalenv = if (FALSE) [01:27:52.758] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:52.758] ...future.globalenv.names)) [01:27:52.758] else NULL, started = ...future.startTime, version = "1.8") [01:27:52.758] }, condition = base::local({ [01:27:52.758] c <- base::c [01:27:52.758] inherits <- base::inherits [01:27:52.758] invokeRestart <- base::invokeRestart [01:27:52.758] length <- base::length [01:27:52.758] list <- base::list [01:27:52.758] seq.int <- base::seq.int [01:27:52.758] signalCondition <- base::signalCondition [01:27:52.758] sys.calls <- base::sys.calls [01:27:52.758] `[[` <- base::`[[` [01:27:52.758] `+` <- base::`+` [01:27:52.758] `<<-` <- base::`<<-` [01:27:52.758] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:52.758] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:52.758] 3L)] [01:27:52.758] } [01:27:52.758] function(cond) { [01:27:52.758] is_error <- inherits(cond, "error") [01:27:52.758] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:52.758] NULL) [01:27:52.758] if (is_error) { [01:27:52.758] sessionInformation <- function() { [01:27:52.758] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:52.758] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:52.758] search = base::search(), system = base::Sys.info()) [01:27:52.758] } [01:27:52.758] ...future.conditions[[length(...future.conditions) + [01:27:52.758] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:52.758] cond$call), session = sessionInformation(), [01:27:52.758] timestamp = base::Sys.time(), signaled = 0L) [01:27:52.758] signalCondition(cond) [01:27:52.758] } [01:27:52.758] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:52.758] "immediateCondition"))) { [01:27:52.758] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:52.758] ...future.conditions[[length(...future.conditions) + [01:27:52.758] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:52.758] if (TRUE && !signal) { [01:27:52.758] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.758] { [01:27:52.758] inherits <- base::inherits [01:27:52.758] invokeRestart <- base::invokeRestart [01:27:52.758] is.null <- base::is.null [01:27:52.758] muffled <- FALSE [01:27:52.758] if (inherits(cond, "message")) { [01:27:52.758] muffled <- grepl(pattern, "muffleMessage") [01:27:52.758] if (muffled) [01:27:52.758] invokeRestart("muffleMessage") [01:27:52.758] } [01:27:52.758] else if (inherits(cond, "warning")) { [01:27:52.758] muffled <- grepl(pattern, "muffleWarning") [01:27:52.758] if (muffled) [01:27:52.758] invokeRestart("muffleWarning") [01:27:52.758] } [01:27:52.758] else if (inherits(cond, "condition")) { [01:27:52.758] if (!is.null(pattern)) { [01:27:52.758] computeRestarts <- base::computeRestarts [01:27:52.758] grepl <- base::grepl [01:27:52.758] restarts <- computeRestarts(cond) [01:27:52.758] for (restart in restarts) { [01:27:52.758] name <- restart$name [01:27:52.758] if (is.null(name)) [01:27:52.758] next [01:27:52.758] if (!grepl(pattern, name)) [01:27:52.758] next [01:27:52.758] invokeRestart(restart) [01:27:52.758] muffled <- TRUE [01:27:52.758] break [01:27:52.758] } [01:27:52.758] } [01:27:52.758] } [01:27:52.758] invisible(muffled) [01:27:52.758] } [01:27:52.758] muffleCondition(cond, pattern = "^muffle") [01:27:52.758] } [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] if (TRUE) { [01:27:52.758] muffleCondition <- function (cond, pattern = "^muffle") [01:27:52.758] { [01:27:52.758] inherits <- base::inherits [01:27:52.758] invokeRestart <- base::invokeRestart [01:27:52.758] is.null <- base::is.null [01:27:52.758] muffled <- FALSE [01:27:52.758] if (inherits(cond, "message")) { [01:27:52.758] muffled <- grepl(pattern, "muffleMessage") [01:27:52.758] if (muffled) [01:27:52.758] invokeRestart("muffleMessage") [01:27:52.758] } [01:27:52.758] else if (inherits(cond, "warning")) { [01:27:52.758] muffled <- grepl(pattern, "muffleWarning") [01:27:52.758] if (muffled) [01:27:52.758] invokeRestart("muffleWarning") [01:27:52.758] } [01:27:52.758] else if (inherits(cond, "condition")) { [01:27:52.758] if (!is.null(pattern)) { [01:27:52.758] computeRestarts <- base::computeRestarts [01:27:52.758] grepl <- base::grepl [01:27:52.758] restarts <- computeRestarts(cond) [01:27:52.758] for (restart in restarts) { [01:27:52.758] name <- restart$name [01:27:52.758] if (is.null(name)) [01:27:52.758] next [01:27:52.758] if (!grepl(pattern, name)) [01:27:52.758] next [01:27:52.758] invokeRestart(restart) [01:27:52.758] muffled <- TRUE [01:27:52.758] break [01:27:52.758] } [01:27:52.758] } [01:27:52.758] } [01:27:52.758] invisible(muffled) [01:27:52.758] } [01:27:52.758] muffleCondition(cond, pattern = "^muffle") [01:27:52.758] } [01:27:52.758] } [01:27:52.758] } [01:27:52.758] })) [01:27:52.758] }, error = function(ex) { [01:27:52.758] base::structure(base::list(value = NULL, visible = NULL, [01:27:52.758] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:52.758] ...future.rng), started = ...future.startTime, [01:27:52.758] finished = Sys.time(), session_uuid = NA_character_, [01:27:52.758] version = "1.8"), class = "FutureResult") [01:27:52.758] }, finally = { [01:27:52.758] if (!identical(...future.workdir, getwd())) [01:27:52.758] setwd(...future.workdir) [01:27:52.758] { [01:27:52.758] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:52.758] ...future.oldOptions$nwarnings <- NULL [01:27:52.758] } [01:27:52.758] base::options(...future.oldOptions) [01:27:52.758] if (.Platform$OS.type == "windows") { [01:27:52.758] old_names <- names(...future.oldEnvVars) [01:27:52.758] envs <- base::Sys.getenv() [01:27:52.758] names <- names(envs) [01:27:52.758] common <- intersect(names, old_names) [01:27:52.758] added <- setdiff(names, old_names) [01:27:52.758] removed <- setdiff(old_names, names) [01:27:52.758] changed <- common[...future.oldEnvVars[common] != [01:27:52.758] envs[common]] [01:27:52.758] NAMES <- toupper(changed) [01:27:52.758] args <- list() [01:27:52.758] for (kk in seq_along(NAMES)) { [01:27:52.758] name <- changed[[kk]] [01:27:52.758] NAME <- NAMES[[kk]] [01:27:52.758] if (name != NAME && is.element(NAME, old_names)) [01:27:52.758] next [01:27:52.758] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.758] } [01:27:52.758] NAMES <- toupper(added) [01:27:52.758] for (kk in seq_along(NAMES)) { [01:27:52.758] name <- added[[kk]] [01:27:52.758] NAME <- NAMES[[kk]] [01:27:52.758] if (name != NAME && is.element(NAME, old_names)) [01:27:52.758] next [01:27:52.758] args[[name]] <- "" [01:27:52.758] } [01:27:52.758] NAMES <- toupper(removed) [01:27:52.758] for (kk in seq_along(NAMES)) { [01:27:52.758] name <- removed[[kk]] [01:27:52.758] NAME <- NAMES[[kk]] [01:27:52.758] if (name != NAME && is.element(NAME, old_names)) [01:27:52.758] next [01:27:52.758] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:52.758] } [01:27:52.758] if (length(args) > 0) [01:27:52.758] base::do.call(base::Sys.setenv, args = args) [01:27:52.758] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:52.758] } [01:27:52.758] { [01:27:52.758] if (base::length(...future.futureOptionsAdded) > [01:27:52.758] 0L) { [01:27:52.758] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:52.758] base::names(opts) <- ...future.futureOptionsAdded [01:27:52.758] base::options(opts) [01:27:52.758] } [01:27:52.758] { [01:27:52.758] { [01:27:52.758] NULL [01:27:52.758] RNGkind("Mersenne-Twister") [01:27:52.758] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:52.758] inherits = FALSE) [01:27:52.758] } [01:27:52.758] options(future.plan = NULL) [01:27:52.758] if (is.na(NA_character_)) [01:27:52.758] Sys.unsetenv("R_FUTURE_PLAN") [01:27:52.758] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:52.758] future::plan(list(function (..., envir = parent.frame()) [01:27:52.758] { [01:27:52.758] future <- SequentialFuture(..., envir = envir) [01:27:52.758] if (!future$lazy) [01:27:52.758] future <- run(future) [01:27:52.758] invisible(future) [01:27:52.758] }, function (..., workers = availableCores(), [01:27:52.758] lazy = FALSE, rscript_libs = .libPaths(), [01:27:52.758] envir = parent.frame()) [01:27:52.758] { [01:27:52.758] if (is.function(workers)) [01:27:52.758] workers <- workers() [01:27:52.758] workers <- structure(as.integer(workers), [01:27:52.758] class = class(workers)) [01:27:52.758] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:52.758] workers >= 1) [01:27:52.758] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:52.758] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:52.758] } [01:27:52.758] future <- MultisessionFuture(..., workers = workers, [01:27:52.758] lazy = lazy, rscript_libs = rscript_libs, [01:27:52.758] envir = envir) [01:27:52.758] if (!future$lazy) [01:27:52.758] future <- run(future) [01:27:52.758] invisible(future) [01:27:52.758] }), .cleanup = FALSE, .init = FALSE) [01:27:52.758] } [01:27:52.758] } [01:27:52.758] } [01:27:52.758] }) [01:27:52.758] if (TRUE) { [01:27:52.758] base::sink(type = "output", split = FALSE) [01:27:52.758] if (TRUE) { [01:27:52.758] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:52.758] } [01:27:52.758] else { [01:27:52.758] ...future.result["stdout"] <- base::list(NULL) [01:27:52.758] } [01:27:52.758] base::close(...future.stdout) [01:27:52.758] ...future.stdout <- NULL [01:27:52.758] } [01:27:52.758] ...future.result$conditions <- ...future.conditions [01:27:52.758] ...future.result$finished <- base::Sys.time() [01:27:52.758] ...future.result [01:27:52.758] } [01:27:52.763] assign_globals() ... [01:27:52.763] List of 1 [01:27:52.763] $ data:'data.frame': 5 obs. of 2 variables: [01:27:52.763] ..$ x: int [1:5] 1 2 3 4 5 [01:27:52.763] ..$ y: int [1:5] 1 2 3 4 5 [01:27:52.763] - attr(*, "where")=List of 1 [01:27:52.763] ..$ data: [01:27:52.763] - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list" [01:27:52.763] - attr(*, "resolved")= logi FALSE [01:27:52.763] - attr(*, "total_size")= num 160 [01:27:52.763] - attr(*, "already-done")= logi TRUE [01:27:52.767] - copied 'data' to environment [01:27:52.767] assign_globals() ... done [01:27:52.768] plan(): Setting new future strategy stack: [01:27:52.768] List of future strategies: [01:27:52.768] 1. multisession: [01:27:52.768] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [01:27:52.768] - tweaked: FALSE [01:27:52.768] - call: plan(list(sequential, strategy)) [01:27:52.771] plan(): nbrOfWorkers() = 2 [01:27:53.255] plan(): Setting new future strategy stack: [01:27:53.256] List of future strategies: [01:27:53.256] 1. sequential: [01:27:53.256] - args: function (..., envir = parent.frame(), workers = "") [01:27:53.256] - tweaked: FALSE [01:27:53.256] - call: plan(list(sequential, strategy)) [01:27:53.256] 2. multisession: [01:27:53.256] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [01:27:53.256] - tweaked: FALSE [01:27:53.256] - call: plan(list(sequential, strategy)) [01:27:53.257] plan(): nbrOfWorkers() = 1 [01:27:53.257] SequentialFuture started (and completed) [01:27:53.257] signalConditions() ... [01:27:53.257] - include = 'immediateCondition' [01:27:53.257] - exclude = [01:27:53.258] - resignal = FALSE [01:27:53.258] - Number of conditions: 93 [01:27:53.258] signalConditions() ... done [01:27:53.258] - Launch lazy future ... done [01:27:53.258] run() for 'SequentialFuture' ... done [01:27:53.259] signalConditions() ... [01:27:53.259] - include = 'immediateCondition' [01:27:53.259] - exclude = [01:27:53.259] - resignal = FALSE [01:27:53.259] - Number of conditions: 93 [01:27:53.260] signalConditions() ... done [01:27:53.260] Future state: 'finished' [01:27:53.260] signalConditions() ... [01:27:53.260] - include = 'condition' [01:27:53.260] - exclude = 'immediateCondition' [01:27:53.261] - resignal = TRUE [01:27:53.261] - Number of conditions: 93 [01:27:53.261] - Condition #1: 'simpleMessage', 'message', 'condition' [01:27:52.772] getGlobalsAndPackages() ... [01:27:53.261] - Condition #2: 'deprecatedWarning', 'warning', 'condition' Warning: 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' [01:27:53.261] - Condition #3: 'simpleMessage', 'message', 'condition' [01:27:52.788] Searching for globals... [01:27:53.262] - Condition #4: 'simpleMessage', 'message', 'condition' [01:27:52.789] - globals found: [5] '$', 'subset', 'data', '<', 'x' [01:27:53.262] - Condition #5: 'simpleMessage', 'message', 'condition' [01:27:52.789] Searching for globals ... DONE [01:27:53.262] - Condition #6: 'simpleMessage', 'message', 'condition' [01:27:52.790] Resolving globals: FALSE [01:27:53.262] - Condition #7: 'simpleMessage', 'message', 'condition' [01:27:52.791] The total size of the 1 globals is 160 bytes (160 bytes) [01:27:53.262] - Condition #8: 'simpleMessage', 'message', 'condition' [01:27:52.792] The total size of the 1 globals exported for future expression ('subset(data, x < 3)$y') is 160 bytes.. This exceeds the maximum allowed size of 500.00 MiB (option 'future.globals.maxSize'). There is one global: 'data' (160 bytes of class 'list') [01:27:53.263] - Condition #9: 'simpleMessage', 'message', 'condition' [01:27:52.792] - globals: [1] 'data' [01:27:53.263] - Condition #10: 'simpleMessage', 'message', 'condition' [01:27:52.793] [01:27:53.263] - Condition #11: 'simpleMessage', 'message', 'condition' [01:27:52.793] getGlobalsAndPackages() ... DONE [01:27:53.263] - Condition #12: 'simpleMessage', 'message', 'condition' [01:27:52.794] run() for 'Future' ... [01:27:53.263] - Condition #13: 'simpleMessage', 'message', 'condition' [01:27:52.794] - state: 'created' [01:27:53.264] - Condition #14: 'simpleMessage', 'message', 'condition' [01:27:52.794] - Future backend: 'FutureStrategy', 'multisession', 'cluster', 'multiprocess', 'future', 'function' [01:27:53.264] - Condition #15: 'simpleMessage', 'message', 'condition' [01:27:52.798] [local output] makeClusterPSOCK() ... [01:27:53.264] - Condition #16: 'simpleMessage', 'message', 'condition' [01:27:52.798] [local output] Workers: [n = 2] 'localhost', 'localhost' [01:27:53.264] - Condition #17: 'simpleMessage', 'message', 'condition' [01:27:52.802] [local output] Base port: 36701 [01:27:53.265] - Condition #18: 'simpleMessage', 'message', 'condition' [01:27:52.802] [local output] Getting setup options for 2 cluster nodes ... [01:27:53.265] - Condition #19: 'simpleMessage', 'message', 'condition' [01:27:52.802] [local output] - Node 1 of 2 ... [01:27:53.265] - Condition #20: 'simpleMessage', 'message', 'condition' [01:27:52.803] [local output] localMachine=TRUE => revtunnel=FALSE [01:27:53.265] - Condition #21: 'simpleMessage', 'message', 'condition' [01:27:52.804] [local output] Rscript port: 36701 [01:27:53.265] - Condition #22: 'simpleMessage', 'message', 'condition' [01:27:52.805] [local output] - Node 2 of 2 ... [01:27:53.266] - Condition #23: 'simpleMessage', 'message', 'condition' [01:27:52.806] [local output] localMachine=TRUE => revtunnel=FALSE [01:27:53.266] - Condition #24: 'simpleMessage', 'message', 'condition' [01:27:52.807] [local output] Rscript port: 36701 [01:27:53.266] - Condition #25: 'simpleMessage', 'message', 'condition' [01:27:52.808] [local output] Getting setup options for 2 cluster nodes ... done [01:27:53.266] - Condition #26: 'simpleMessage', 'message', 'condition' [01:27:52.808] [local output] - Parallel setup requested for some PSOCK nodes [01:27:53.266] - Condition #27: 'simpleMessage', 'message', 'condition' [01:27:52.808] [local output] Setting up PSOCK nodes in parallel [01:27:53.267] - Condition #28: 'simpleMessage', 'message', 'condition' [01:27:52.809] List of 36 [01:27:52.809] $ worker : chr "localhost" [01:27:52.809] ..- attr(*, "localhost")= logi TRUE [01:27:52.809] $ master : chr "localhost" [01:27:52.809] $ port : int 36701 [01:27:52.809] $ connectTimeout : num 120 [01:27:52.809] $ timeout : num 120 [01:27:52.809] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [01:27:52.809] $ homogeneous : logi TRUE [01:27:52.809] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=globals,NSE.R:8700:CRANWIN3:CRAN"| __truncated__ [01:27:52.809] $ rscript_envs : NULL [01:27:52.809] $ rscript_libs : chr [1:2] "D:/temp/RtmpCIb4qz/RLIBS_32fc52ae7b47" "D:/RCompile/recent/R/library" [01:27:52.809] $ rscript_startup : NULL [01:27:52.809] $ rscript_sh : chr "cmd" [01:27:52.809] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [01:27:52.809] $ methods : logi TRUE [01:27:52.809] $ socketOptions : chr "no-delay" [01:27:52.809] $ useXDR : logi FALSE [01:27:52.809] $ outfile : chr "/dev/null" [01:27:52.809] $ renice : int NA [01:27:52.809] $ rshcmd : NULL [01:27:52.809] $ user : chr(0) [01:27:52.809] $ revtunnel : logi FALSE [01:27:52.809] $ rshlogfile : NULL [01:27:52.809] $ rshopts : chr(0) [01:27:52.809] $ rank : int 1 [01:27:52.809] $ manual : logi FALSE [01:27:52.809] $ dryrun : logi FALSE [01:27:52.809] $ quiet : logi FALSE [01:27:52.809] $ setup_strategy : chr "parallel" [01:27:52.809] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [01:27:52.809] $ pidfile : chr "D:/temp/RtmpSeK3Mf/worker.rank=1.parallelly.parent=8700.21fc456614c.pid" [01:27:52.809] $ rshcmd_label : NULL [01:27:52.809] $ rsh_call : NULL [01:27:52.809] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [01:27:52.809] $ localMachine : logi TRUE [01:27:52.809] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [01:27:52.809] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [01:27:52.809] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [01:27:52.809] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [01:27:52.809] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [01:27:52.809] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [01:27:52.809] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [01:27:52.809] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [01:27:52.809] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [01:27:52.809] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [01:27:52.809] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [01:27:52.809] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [01:27:52.809] "parallel"), action = c("launch", "options"), verbose = FALSE) [01:27:52.809] $ arguments :List of 28 [01:27:52.809] ..$ worker : chr "localhost" [01:27:52.809] ..$ master : NULL [01:27:52.809] ..$ port : int 36701 [01:27:52.809] ..$ connectTimeout : num 120 [01:27:52.809] ..$ timeout : num 120 [01:27:52.809] ..$ rscript : NULL [01:27:52.809] ..$ homogeneous : NULL [01:27:52.809] ..$ rscript_args : NULL [01:27:52.809] ..$ rscript_envs : NULL [01:27:52.809] ..$ rscript_libs : chr [1:2] "D:/temp/RtmpCIb4qz/RLIBS_32fc52ae7b47" "D:/RCompile/recent/R/library" [01:27:52.809] ..$ rscript_startup : NULL [01:27:52.809] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [01:27:52.809] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [01:27:52.809] ..$ methods : logi TRUE [01:27:52.809] ..$ socketOptions : chr "no-delay" [01:27:52.809] ..$ useXDR : logi FALSE [01:27:52.809] ..$ outfile : chr "/dev/null" [01:27:52.809] ..$ renice : int NA [01:27:52.809] ..$ rshcmd : NULL [01:27:52.809] ..$ user : NULL [01:27:52.809] ..$ revtunnel : logi NA [01:27:52.809] ..$ rshlogfile : NULL [01:27:52.809] ..$ rshopts : NULL [01:27:52.809] ..$ rank : int 1 [01:27:52.809] ..$ manual : logi FALSE [01:27:52.809] ..$ dryrun : logi FALSE [01:27:52.809] ..$ quiet : logi FALSE [01:27:52.809] ..$ setup_strategy : chr "parallel" [01:27:52.809] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [01:27:53.267] - Condition #29: 'simpleMessage', 'message', 'condition' [01:27:52.834] [local output] System call to launch all workers: [01:27:53.267] - Condition #30: 'simpleMessage', 'message', 'condition' [01:27:52.835] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=globals,NSE.R:8700:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpSeK3Mf/worker.rank=1.parallelly.parent=8700.21fc456614c.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e ".libPaths(c(\"D:/temp/RtmpCIb4qz/RLIBS_32fc52ae7b47\",\"D:/RCompile/recent/R/library\"))" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=36701 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [01:27:53.267] - Condition #31: 'simpleMessage', 'message', 'condition' [01:27:52.835] [local output] Starting PSOCK main server [01:27:53.268] - Condition #32: 'simpleMessage', 'message', 'condition' [01:27:52.842] [local output] Workers launched [01:27:53.268] - Condition #33: 'simpleMessage', 'message', 'condition' [01:27:52.842] [local output] Waiting for workers to connect back [01:27:53.268] - Condition #34: 'simpleMessage', 'message', 'condition' [01:27:52.842] - [local output] 0 workers out of 2 ready [01:27:53.268] - Condition #35: 'simpleMessage', 'message', 'condition' [01:27:53.033] - [local output] 0 workers out of 2 ready [01:27:53.268] - Condition #36: 'simpleMessage', 'message', 'condition' [01:27:53.034] - [local output] 1 workers out of 2 ready [01:27:53.269] - Condition #37: 'simpleMessage', 'message', 'condition' [01:27:53.085] - [local output] 1 workers out of 2 ready [01:27:53.269] - Condition #38: 'simpleMessage', 'message', 'condition' [01:27:53.086] - [local output] 2 workers out of 2 ready [01:27:53.269] - Condition #39: 'simpleMessage', 'message', 'condition' [01:27:53.086] [local output] Launching of workers completed [01:27:53.269] - Condition #40: 'simpleMessage', 'message', 'condition' [01:27:53.086] [local output] Collecting session information from workers [01:27:53.270] - Condition #41: 'simpleMessage', 'message', 'condition' [01:27:53.087] [local output] - Worker #1 of 2 [01:27:53.270] - Condition #42: 'simpleMessage', 'message', 'condition' [01:27:53.088] [local output] - Worker #2 of 2 [01:27:53.270] - Condition #43: 'simpleMessage', 'message', 'condition' [01:27:53.088] [local output] makeClusterPSOCK() ... done [01:27:53.270] - Condition #44: 'simpleMessage', 'message', 'condition' [01:27:53.100] - Future class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [01:27:53.270] - Condition #45: 'simpleMessage', 'message', 'condition' [01:27:53.100] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... [01:27:53.271] - Condition #46: 'simpleMessage', 'message', 'condition' [01:27:53.101] - Field: 'node' [01:27:53.271] - Condition #47: 'simpleMessage', 'message', 'condition' [01:27:53.101] - Field: 'label' [01:27:53.271] - Condition #48: 'simpleMessage', 'message', 'condition' [01:27:53.101] - Field: 'local' [01:27:53.271] - Condition #49: 'simpleMessage', 'message', 'condition' [01:27:53.101] - Field: 'owner' [01:27:53.271] - Condition #50: 'simpleMessage', 'message', 'condition' [01:27:53.101] - Field: 'envir' [01:27:53.272] - Condition #51: 'simpleMessage', 'message', 'condition' [01:27:53.102] - Field: 'workers' [01:27:53.272] - Condition #52: 'simpleMessage', 'message', 'condition' [01:27:53.102] - Field: 'packages' [01:27:53.272] - Condition #53: 'simpleMessage', 'message', 'condition' [01:27:53.102] - Field: 'gc' [01:27:53.272] - Condition #54: 'simpleMessage', 'message', 'condition' [01:27:53.102] - Field: 'conditions' [01:27:53.273] - Condition #55: 'simpleMessage', 'message', 'condition' [01:27:53.102] - Field: 'persistent' [01:27:53.273] - Condition #56: 'simpleMessage', 'message', 'condition' [01:27:53.103] - Field: 'expr' [01:27:53.273] - Condition #57: 'simpleMessage', 'message', 'condition' [01:27:53.103] - Field: 'uuid' [01:27:53.273] - Condition #58: 'simpleMessage', 'message', 'condition' [01:27:53.103] - Field: 'seed' [01:27:53.273] - Condition #59: 'simpleMessage', 'message', 'condition' [01:27:53.103] - Field: 'version' [01:27:53.274] - Condition #60: 'simpleMessage', 'message', 'condition' [01:27:53.103] - Field: 'result' [01:27:53.274] - Condition #61: 'simpleMessage', 'message', 'condition' [01:27:53.104] - Field: 'asynchronous' [01:27:53.274] - Condition #62: 'simpleMessage', 'message', 'condition' [01:27:53.104] - Field: 'calls' [01:27:53.274] - Condition #63: 'simpleMessage', 'message', 'condition' [01:27:53.104] - Field: 'globals' [01:27:53.275] - Condition #64: 'simpleMessage', 'message', 'condition' [01:27:53.104] - Field: 'stdout' [01:27:53.275] - Condition #65: 'simpleMessage', 'message', 'condition' [01:27:53.104] - Field: 'earlySignal' [01:27:53.275] - Condition #66: 'simpleMessage', 'message', 'condition' [01:27:53.105] - Field: 'lazy' [01:27:53.275] - Condition #67: 'simpleMessage', 'message', 'condition' [01:27:53.105] - Field: 'state' [01:27:53.275] - Condition #68: 'simpleMessage', 'message', 'condition' [01:27:53.105] - Copy elements of temporary 'MultisessionFuture' to final 'Future' object ... done [01:27:53.276] - Condition #69: 'simpleMessage', 'message', 'condition' [01:27:53.105] - Launch lazy future ... [01:27:53.276] - Condition #70: 'simpleMessage', 'message', 'condition' [01:27:53.106] Packages needed by the future expression (n = 0): [01:27:53.276] - Condition #71: 'simpleMessage', 'message', 'condition' [01:27:53.106] Packages needed by future strategies (n = 0): [01:27:53.276] - Condition #72: 'simpleMessage', 'message', 'condition' [01:27:53.107] { [01:27:53.107] { [01:27:53.107] { [01:27:53.107] ...future.startTime <- base::Sys.time() [01:27:53.107] { [01:27:53.107] { [01:27:53.107] { [01:27:53.107] { [01:27:53.107] base::local({ [01:27:53.107] has_future <- base::requireNamespace("future", [01:27:53.107] quietly = TRUE) [01:27:53.107] if (has_future) { [01:27:53.107] ns <- base::getNamespace("future") [01:27:53.107] version <- ns[[".package"]][["version"]] [01:27:53.107] if (is.null(version)) [01:27:53.107] version <- utils::packageVersion("future") [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] version <- NULL [01:27:53.107] } [01:27:53.107] if (!has_future || version < "1.8.0") { [01:27:53.107] info <- base::c(r_version = base::gsub("R version ", [01:27:53.107] "", base::R.version$version.string), [01:27:53.107] platform = base::sprintf("%s (%s-bit)", [01:27:53.107] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:53.107] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:53.107] "release", "version")], collapse = " "), [01:27:53.107] hostname = base::Sys.info()[["nodename"]]) [01:27:53.107] info <- base::sprintf("%s: %s", base::names(info), [01:27:53.107] info) [01:27:53.107] info <- base::paste(info, collapse = "; ") [01:27:53.107] if (!has_future) { [01:27:53.107] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:53.107] info) [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:53.107] info, version) [01:27:53.107] } [01:27:53.107] base::stop(msg) [01:27:53.107] } [01:27:53.107] }) [01:27:53.107] } [01:27:53.107] ...future.mc.cores.old <- base::getOption("mc.cores") [01:27:53.107] base::options(mc.cores = 1L) [01:27:53.107] } [01:27:53.107] options(future.plan = NULL) [01:27:53.107] Sys.unsetenv("R_FUTURE_PLAN") [01:27:53.107] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:53.107] } [01:27:53.107] ...future.workdir <- getwd() [01:27:53.107] } [01:27:53.107] ...future.oldOptions <- base::as.list(base::.Options) [01:27:53.107] ...future.oldEnvVars <- base::Sys.getenv() [01:27:53.107] } [01:27:53.107] base::options(future.startup.script = FALSE, future.globals.onMissing = "ignore", [01:27:53.107] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:53.107] future.globals.onMissing = "ignore", future.globals.onReference = NULL, [01:27:53.107] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:53.107] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:53.107] future.stdout.windows.reencode = NULL, width = 80L) [01:27:53.107] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:53.107] base::names(...future.oldOptions)) [01:27:53.107] } [01:27:53.107] if (FALSE) { [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] if (TRUE) { [01:27:53.107] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:53.107] open = "w") [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:53.107] windows = "NUL", "/dev/null"), open = "w") [01:27:53.107] } [01:27:53.107] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:53.107] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:53.107] base::sink(type = "output", split = FALSE) [01:27:53.107] base::close(...future.stdout) [01:27:53.107] }, add = TRUE) [01:27:53.107] } [01:27:53.107] ...future.frame <- base::sys.nframe() [01:27:53.107] ...future.conditions <- base::list() [01:27:53.107] ...future.rng <- base::globalenv()$.Random.seed [01:27:53.107] if (FALSE) { [01:27:53.107] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:53.107] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:53.107] } [01:27:53.107] ...future.result <- base::tryCatch({ [01:27:53.107] base::withCallingHandlers({ [01:27:53.107] ...future.value <- base::withVisible(base::local({ [01:27:53.107] ...future.makeSendCondition <- base::local({ [01:27:53.107] sendCondition <- NULL [01:27:53.107] function(frame = 1L) { [01:27:53.107] if (is.function(sendCondition)) [01:27:53.107] return(sendCondition) [01:27:53.107] ns <- getNamespace("parallel") [01:27:53.107] if (exists("sendData", mode = "function", [01:27:53.107] envir = ns)) { [01:27:53.107] parallel_sendData <- get("sendData", mode = "function", [01:27:53.107] envir = ns) [01:27:53.107] envir <- sys.frame(frame) [01:27:53.107] master <- NULL [01:27:53.107] while (!identical(envir, .GlobalEnv) && [01:27:53.107] !identical(envir, emptyenv())) { [01:27:53.107] if (exists("master", mode = "list", envir = envir, [01:27:53.107] inherits = FALSE)) { [01:27:53.107] master <- get("master", mode = "list", [01:27:53.107] envir = envir, inherits = FALSE) [01:27:53.107] if (inherits(master, c("SOCKnode", [01:27:53.107] "SOCK0node"))) { [01:27:53.107] sendCondition <<- function(cond) { [01:27:53.107] data <- list(type = "VALUE", value = cond, [01:27:53.107] success = TRUE) [01:27:53.107] parallel_sendData(master, data) [01:27:53.107] } [01:27:53.107] return(sendCondition) [01:27:53.107] } [01:27:53.107] } [01:27:53.107] frame <- frame + 1L [01:27:53.107] envir <- sys.frame(frame) [01:27:53.107] } [01:27:53.107] } [01:27:53.107] sendCondition <<- function(cond) NULL [01:27:53.107] } [01:27:53.107] }) [01:27:53.107] withCallingHandlers({ [01:27:53.107] subset(data, x < 3)$y [01:27:53.107] }, immediateCondition = function(cond) { [01:27:53.107] sendCondition <- ...future.makeSendCondition() [01:27:53.107] sendCondition(cond) [01:27:53.107] muffleCondition <- function (cond, pattern = "^muffle") [01:27:53.107] { [01:27:53.107] inherits <- base::inherits [01:27:53.107] invokeRestart <- base::invokeRestart [01:27:53.107] is.null <- base::is.null [01:27:53.107] muffled <- FALSE [01:27:53.107] if (inherits(cond, "message")) { [01:27:53.107] muffled <- grepl(pattern, "muffleMessage") [01:27:53.107] if (muffled) [01:27:53.107] invokeRestart("muffleMessage") [01:27:53.107] } [01:27:53.107] else if (inherits(cond, "warning")) { [01:27:53.107] muffled <- grepl(pattern, "muffleWarning") [01:27:53.107] if (muffled) [01:27:53.107] invokeRestart("muffleWarning") [01:27:53.107] } [01:27:53.107] else if (inherits(cond, "condition")) { [01:27:53.107] if (!is.null(pattern)) { [01:27:53.107] computeRestarts <- base::computeRestarts [01:27:53.107] grepl <- base::grepl [01:27:53.107] restarts <- computeRestarts(cond) [01:27:53.107] for (restart in restarts) { [01:27:53.107] name <- restart$name [01:27:53.107] if (is.null(name)) [01:27:53.107] next [01:27:53.107] if (!grepl(pattern, name)) [01:27:53.107] next [01:27:53.107] invokeRestart(restart) [01:27:53.107] muffled <- TRUE [01:27:53.107] break [01:27:53.107] } [01:27:53.107] } [01:27:53.107] } [01:27:53.107] invisible(muffled) [01:27:53.107] } [01:27:53.107] muffleCondition(cond) [01:27:53.107] }) [01:27:53.107] })) [01:27:53.107] future::FutureResult(value = ...future.value$value, [01:27:53.107] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:53.107] ...future.rng), globalenv = if (FALSE) [01:27:53.107] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:53.107] ...future.globalenv.names)) [01:27:53.107] else NULL, started = ...future.startTime, version = "1.8") [01:27:53.107] }, condition = base::local({ [01:27:53.107] c <- base::c [01:27:53.107] inherits <- base::inherits [01:27:53.107] invokeRestart <- base::invokeRestart [01:27:53.107] length <- base::length [01:27:53.107] list <- base::list [01:27:53.107] seq.int <- base::seq.int [01:27:53.107] signalCondition <- base::signalCondition [01:27:53.107] sys.calls <- base::sys.calls [01:27:53.107] `[[` <- base::`[[` [01:27:53.107] `+` <- base::`+` [01:27:53.107] `<<-` <- base::`<<-` [01:27:53.107] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:53.107] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:53.107] 3L)] [01:27:53.107] } [01:27:53.107] function(cond) { [01:27:53.107] is_error <- inherits(cond, "error") [01:27:53.107] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:53.107] NULL) [01:27:53.107] if (is_error) { [01:27:53.107] sessionInformation <- function() { [01:27:53.107] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:53.107] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:53.107] search = base::search(), system = base::Sys.info()) [01:27:53.107] } [01:27:53.107] ...future.conditions[[length(...future.conditions) + [01:27:53.107] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:53.107] cond$call), session = sessionInformation(), [01:27:53.107] timestamp = base::Sys.time(), signaled = 0L) [01:27:53.107] signalCondition(cond) [01:27:53.107] } [01:27:53.107] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:53.107] "immediateCondition"))) { [01:27:53.107] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:53.107] ...future.conditions[[length(...future.conditions) + [01:27:53.107] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:53.107] if (TRUE && !signal) { [01:27:53.107] muffleCondition <- function (cond, pattern = "^muffle") [01:27:53.107] { [01:27:53.107] inherits <- base::inherits [01:27:53.107] invokeRestart <- base::invokeRestart [01:27:53.107] is.null <- base::is.null [01:27:53.107] muffled <- FALSE [01:27:53.107] if (inherits(cond, "message")) { [01:27:53.107] muffled <- grepl(pattern, "muffleMessage") [01:27:53.107] if (muffled) [01:27:53.107] invokeRestart("muffleMessage") [01:27:53.107] } [01:27:53.107] else if (inherits(cond, "warning")) { [01:27:53.107] muffled <- grepl(pattern, "muffleWarning") [01:27:53.107] if (muffled) [01:27:53.107] invokeRestart("muffleWarning") [01:27:53.107] } [01:27:53.107] else if (inherits(cond, "condition")) { [01:27:53.107] if (!is.null(pattern)) { [01:27:53.107] computeRestarts <- base::computeRestarts [01:27:53.107] grepl <- base::grepl [01:27:53.107] restarts <- computeRestarts(cond) [01:27:53.107] for (restart in restarts) { [01:27:53.107] name <- restart$name [01:27:53.107] if (is.null(name)) [01:27:53.107] next [01:27:53.107] if (!grepl(pattern, name)) [01:27:53.107] next [01:27:53.107] invokeRestart(restart) [01:27:53.107] muffled <- TRUE [01:27:53.107] break [01:27:53.107] } [01:27:53.107] } [01:27:53.107] } [01:27:53.107] invisible(muffled) [01:27:53.107] } [01:27:53.107] muffleCondition(cond, pattern = "^muffle") [01:27:53.107] } [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] if (TRUE) { [01:27:53.107] muffleCondition <- function (cond, pattern = "^muffle") [01:27:53.107] { [01:27:53.107] inherits <- base::inherits [01:27:53.107] invokeRestart <- base::invokeRestart [01:27:53.107] is.null <- base::is.null [01:27:53.107] muffled <- FALSE [01:27:53.107] if (inherits(cond, "message")) { [01:27:53.107] muffled <- grepl(pattern, "muffleMessage") [01:27:53.107] if (muffled) [01:27:53.107] invokeRestart("muffleMessage") [01:27:53.107] } [01:27:53.107] else if (inherits(cond, "warning")) { [01:27:53.107] muffled <- grepl(pattern, "muffleWarning") [01:27:53.107] if (muffled) [01:27:53.107] invokeRestart("muffleWarning") [01:27:53.107] } [01:27:53.107] else if (inherits(cond, "condition")) { [01:27:53.107] if (!is.null(pattern)) { [01:27:53.107] computeRestarts <- base::computeRestarts [01:27:53.107] grepl <- base::grepl [01:27:53.107] restarts <- computeRestarts(cond) [01:27:53.107] for (restart in restarts) { [01:27:53.107] name <- restart$name [01:27:53.107] if (is.null(name)) [01:27:53.107] next [01:27:53.107] if (!grepl(pattern, name)) [01:27:53.107] next [01:27:53.107] invokeRestart(restart) [01:27:53.107] muffled <- TRUE [01:27:53.107] break [01:27:53.107] } [01:27:53.107] } [01:27:53.107] } [01:27:53.107] invisible(muffled) [01:27:53.107] } [01:27:53.107] muffleCondition(cond, pattern = "^muffle") [01:27:53.107] } [01:27:53.107] } [01:27:53.107] } [01:27:53.107] })) [01:27:53.107] }, error = function(ex) { [01:27:53.107] base::structure(base::list(value = NULL, visible = NULL, [01:27:53.107] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:53.107] ...future.rng), started = ...future.startTime, [01:27:53.107] finished = Sys.time(), session_uuid = NA_character_, [01:27:53.107] version = "1.8"), class = "FutureResult") [01:27:53.107] }, finally = { [01:27:53.107] if (!identical(...future.workdir, getwd())) [01:27:53.107] setwd(...future.workdir) [01:27:53.107] { [01:27:53.107] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:53.107] ...future.oldOptions$nwarnings <- NULL [01:27:53.107] } [01:27:53.107] base::options(...future.oldOptions) [01:27:53.107] if (.Platform$OS.type == "windows") { [01:27:53.107] old_names <- names(...future.oldEnvVars) [01:27:53.107] envs <- base::Sys.getenv() [01:27:53.107] names <- names(envs) [01:27:53.107] common <- intersect(names, old_names) [01:27:53.107] added <- setdiff(names, old_names) [01:27:53.107] removed <- setdiff(old_names, names) [01:27:53.107] changed <- common[...future.oldEnvVars[common] != [01:27:53.107] envs[common]] [01:27:53.107] NAMES <- toupper(changed) [01:27:53.107] args <- list() [01:27:53.107] for (kk in seq_along(NAMES)) { [01:27:53.107] name <- changed[[kk]] [01:27:53.107] NAME <- NAMES[[kk]] [01:27:53.107] if (name != NAME && is.element(NAME, old_names)) [01:27:53.107] next [01:27:53.107] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:53.107] } [01:27:53.107] NAMES <- toupper(added) [01:27:53.107] for (kk in seq_along(NAMES)) { [01:27:53.107] name <- added[[kk]] [01:27:53.107] NAME <- NAMES[[kk]] [01:27:53.107] if (name != NAME && is.element(NAME, old_names)) [01:27:53.107] next [01:27:53.107] args[[name]] <- "" [01:27:53.107] } [01:27:53.107] NAMES <- toupper(removed) [01:27:53.107] for (kk in seq_along(NAMES)) { [01:27:53.107] name <- removed[[kk]] [01:27:53.107] NAME <- NAMES[[kk]] [01:27:53.107] if (name != NAME && is.element(NAME, old_names)) [01:27:53.107] next [01:27:53.107] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:53.107] } [01:27:53.107] if (length(args) > 0) [01:27:53.107] base::do.call(base::Sys.setenv, args = args) [01:27:53.107] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:53.107] } [01:27:53.107] { [01:27:53.107] if (base::length(...future.futureOptionsAdded) > [01:27:53.107] 0L) { [01:27:53.107] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:53.107] base::names(opts) <- ...future.futureOptionsAdded [01:27:53.107] base::options(opts) [01:27:53.107] } [01:27:53.107] { [01:27:53.107] { [01:27:53.107] base::options(mc.cores = ...future.mc.cores.old) [01:27:53.107] NULL [01:27:53.107] } [01:27:53.107] options(future.plan = NULL) [01:27:53.107] if (is.na(NA_character_)) [01:27:53.107] Sys.unsetenv("R_FUTURE_PLAN") [01:27:53.107] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:53.107] future::plan(list(function (..., workers = availableCores(), [01:27:53.107] lazy = FALSE, rscript_libs = .libPaths(), [01:27:53.107] envir = parent.frame()) [01:27:53.107] { [01:27:53.107] if (is.function(workers)) [01:27:53.107] workers <- workers() [01:27:53.107] workers <- structure(as.integer(workers), [01:27:53.107] class = class(workers)) [01:27:53.107] stop_if_not(length(workers) == 1, is.finite(workers), [01:27:53.107] workers >= 1) [01:27:53.107] if (workers == 1L && !inherits(workers, "AsIs")) { [01:27:53.107] return(sequential(..., lazy = TRUE, envir = envir)) [01:27:53.107] } [01:27:53.107] future <- MultisessionFuture(..., workers = workers, [01:27:53.107] lazy = lazy, rscript_libs = rscript_libs, [01:27:53.107] envir = envir) [01:27:53.107] if (!future$lazy) [01:27:53.107] future <- run(future) [01:27:53.107] invisible(future) [01:27:53.107] }), .cleanup = FALSE, .init = FALSE) [01:27:53.107] } [01:27:53.107] } [01:27:53.107] } [01:27:53.107] }) [01:27:53.107] if (TRUE) { [01:27:53.107] base::sink(type = "output", split = FALSE) [01:27:53.107] if (TRUE) { [01:27:53.107] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:53.107] } [01:27:53.107] else { [01:27:53.107] ...future.result["stdout"] <- base::list(NULL) [01:27:53.107] } [01:27:53.107] base::close(...future.stdout) [01:27:53.107] ...future.stdout <- NULL [01:27:53.107] } [01:27:53.107] ...future.result$conditions <- ...future.conditions [01:27:53.107] ...future.result$finished <- base::Sys.time() [01:27:53.107] ...future.result [01:27:53.107] } [01:27:53.277] - Condition #73: 'simpleMessage', 'message', 'condition' [01:27:53.189] Exporting 1 global objects (160 bytes) to cluster node #1 ... [01:27:53.277] - Condition #74: 'simpleMessage', 'message', 'condition' [01:27:53.189] Exporting 'data' (160 bytes) to cluster node #1 ... [01:27:53.277] - Condition #75: 'simpleMessage', 'message', 'condition' [01:27:53.190] Exporting 'data' (160 bytes) to cluster node #1 ... DONE [01:27:53.277] - Condition #76: 'simpleMessage', 'message', 'condition' [01:27:53.190] Exporting 1 global objects (160 bytes) to cluster node #1 ... DONE [01:27:53.278] - Condition #77: 'simpleMessage', 'message', 'condition' [01:27:53.191] MultisessionFuture started [01:27:53.278] - Condition #78: 'simpleMessage', 'message', 'condition' [01:27:53.191] - Launch lazy future ... done [01:27:53.278] - Condition #79: 'simpleMessage', 'message', 'condition' [01:27:53.191] run() for 'MultisessionFuture' ... done [01:27:53.278] - Condition #80: 'simpleMessage', 'message', 'condition' [01:27:53.192] result() for ClusterFuture ... [01:27:53.278] - Condition #81: 'simpleMessage', 'message', 'condition' [01:27:53.192] receiveMessageFromWorker() for ClusterFuture ... [01:27:53.279] - Condition #82: 'simpleMessage', 'message', 'condition' [01:27:53.192] - Validating connection of MultisessionFuture [01:27:53.279] - Condition #83: 'simpleMessage', 'message', 'condition' [01:27:53.250] - received message: FutureResult [01:27:53.279] - Condition #84: 'simpleMessage', 'message', 'condition' [01:27:53.253] - Received FutureResult [01:27:53.279] - Condition #85: 'simpleMessage', 'message', 'condition' [01:27:53.253] - Erased future from FutureRegistry [01:27:53.280] - Condition #86: 'simpleMessage', 'message', 'condition' [01:27:53.253] result() for ClusterFuture ... [01:27:53.280] - Condition #87: 'simpleMessage', 'message', 'condition' [01:27:53.253] - result already collected: FutureResult [01:27:53.280] - Condition #88: 'simpleMessage', 'message', 'condition' [01:27:53.254] result() for ClusterFuture ... done [01:27:53.280] - Condition #89: 'simpleMessage', 'message', 'condition' [01:27:53.254] receiveMessageFromWorker() for ClusterFuture ... done [01:27:53.280] - Condition #90: 'simpleMessage', 'message', 'condition' [01:27:53.254] result() for ClusterFuture ... done [01:27:53.281] - Condition #91: 'simpleMessage', 'message', 'condition' [01:27:53.254] result() for ClusterFuture ... [01:27:53.281] - Condition #92: 'simpleMessage', 'message', 'condition' [01:27:53.254] - result already collected: FutureResult [01:27:53.281] - Condition #93: 'simpleMessage', 'message', 'condition' [01:27:53.255] result() for ClusterFuture ... done [01:27:53.281] signalConditions() ... done - Strategy: multisession ... DONE > > > message("*** Globals w/ non-standard evaluation (NSE) ... DONE") *** Globals w/ non-standard evaluation (NSE) ... DONE > > source("incl/end.R") [01:27:53.282] plan(): Setting new future strategy stack: [01:27:53.282] List of future strategies: [01:27:53.282] 1. FutureStrategy: [01:27:53.282] - args: function (..., envir = parent.frame(), workers = "") [01:27:53.282] - tweaked: FALSE [01:27:53.282] - call: future::plan(oplan) [01:27:53.283] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=204] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS43_HOME', '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_RTOOLS43_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_SUBDIRS_STRICT_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_INSTALL_TIME_PATCHES_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '__R_CHECK_DOC_FILES_NOTE_IF_ALL_SPECIAL__', 'maj.version', 'nextArg--timingsnextArg--install' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: List of 3 $ name : chr "MAKEFLAGS" $ expected: 'Dlist' chr "" $ actual : 'Dlist' chr NA > > proc.time() user system elapsed 0.89 0.17 2.07