R Under development (unstable) (2023-06-30 r84625 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") [18:00:55.028] plan(): Setting new future strategy stack: [18:00:55.029] List of future strategies: [18:00:55.029] 1. sequential: [18:00:55.029] - args: function (..., envir = parent.frame()) [18:00:55.029] - tweaked: FALSE [18:00:55.029] - call: future::plan("sequential") [18:00:55.046] plan(): nbrOfWorkers() = 1 > > message("*** Future class ...") *** Future class ... > > message("*** Future class - exception ...") *** Future class - exception ... > > f <- Future() [18:00:55.054] getGlobalsAndPackages() ... [18:00:55.054] [18:00:55.054] - globals: [0] [18:00:55.054] getGlobalsAndPackages() ... DONE > print(f) Future: Label: '' Expression: NULL Lazy evaluation: FALSE Asynchronous evaluation: TRUE Local evaluation: TRUE Environment: R_GlobalEnv Capture standard output: TRUE Capture condition classes: 'condition' (excluding 'nothing') Globals: Packages: L'Ecuyer-CMRG RNG seed: (seed = FALSE) Resolved: FALSE Value: Conditions captured: Early signaling: FALSE Owner process: 97062dac-0aca-6709-451b-785afd987bc5 Class: 'Future', 'environment' > > res <- tryCatch(value(f), error = identity) [18:00:55.056] run() for 'Future' ... [18:00:55.056] - state: 'created' [18:00:55.057] run() for 'Future' ... done > print(res) > stopifnot(inherits(res, "error")) > > ## Invalid seed > res <- tryCatch(f <- Future(42, seed = 1:2), error = identity) > stopifnot(inherits(res, "error")) > > ## When no packages are exported > foo <- structure(function(...) { Future(1) }, class = "future") > plan(foo) [18:00:55.060] plan(): Setting new future strategy stack: [18:00:55.061] List of future strategies: [18:00:55.061] 1. future: [18:00:55.061] - args: function (...) [18:00:55.061] - tweaked: FALSE [18:00:55.061] - call: plan(foo) [18:00:55.074] plan(): nbrOfWorkers() = Inf > f <- Future() [18:00:55.074] getGlobalsAndPackages() ... [18:00:55.074] [18:00:55.074] - globals: [0] [18:00:55.074] getGlobalsAndPackages() ... DONE > expr <- getExpression(f) [18:00:55.075] Packages needed by the future expression (n = 0): [18:00:55.075] Packages needed by future strategies (n = 0): [18:00:55.076] { [18:00:55.076] { [18:00:55.076] { [18:00:55.076] ...future.startTime <- base::Sys.time() [18:00:55.076] { [18:00:55.076] { [18:00:55.076] { [18:00:55.076] base::local({ [18:00:55.076] has_future <- base::requireNamespace("future", [18:00:55.076] quietly = TRUE) [18:00:55.076] if (has_future) { [18:00:55.076] ns <- base::getNamespace("future") [18:00:55.076] version <- ns[[".package"]][["version"]] [18:00:55.076] if (is.null(version)) [18:00:55.076] version <- utils::packageVersion("future") [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] version <- NULL [18:00:55.076] } [18:00:55.076] if (!has_future || version < "1.8.0") { [18:00:55.076] info <- base::c(r_version = base::gsub("R version ", [18:00:55.076] "", base::R.version$version.string), [18:00:55.076] platform = base::sprintf("%s (%s-bit)", [18:00:55.076] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:55.076] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:55.076] "release", "version")], collapse = " "), [18:00:55.076] hostname = base::Sys.info()[["nodename"]]) [18:00:55.076] info <- base::sprintf("%s: %s", base::names(info), [18:00:55.076] info) [18:00:55.076] info <- base::paste(info, collapse = "; ") [18:00:55.076] if (!has_future) { [18:00:55.076] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:55.076] info) [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:55.076] info, version) [18:00:55.076] } [18:00:55.076] base::stop(msg) [18:00:55.076] } [18:00:55.076] }) [18:00:55.076] } [18:00:55.076] options(future.plan = NULL) [18:00:55.076] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.076] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:55.076] } [18:00:55.076] ...future.workdir <- getwd() [18:00:55.076] } [18:00:55.076] ...future.oldOptions <- base::as.list(base::.Options) [18:00:55.076] ...future.oldEnvVars <- base::Sys.getenv() [18:00:55.076] } [18:00:55.076] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:55.076] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:55.076] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:55.076] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:55.076] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:55.076] future.stdout.windows.reencode = NULL, width = 80L) [18:00:55.076] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:55.076] base::names(...future.oldOptions)) [18:00:55.076] } [18:00:55.076] if (FALSE) { [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] if (TRUE) { [18:00:55.076] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:55.076] open = "w") [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:55.076] windows = "NUL", "/dev/null"), open = "w") [18:00:55.076] } [18:00:55.076] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:55.076] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:55.076] base::sink(type = "output", split = FALSE) [18:00:55.076] base::close(...future.stdout) [18:00:55.076] }, add = TRUE) [18:00:55.076] } [18:00:55.076] ...future.frame <- base::sys.nframe() [18:00:55.076] ...future.conditions <- base::list() [18:00:55.076] ...future.rng <- base::globalenv()$.Random.seed [18:00:55.076] if (FALSE) { [18:00:55.076] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:55.076] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:55.076] } [18:00:55.076] ...future.result <- base::tryCatch({ [18:00:55.076] base::withCallingHandlers({ [18:00:55.076] ...future.value <- base::withVisible(base::local(NULL)) [18:00:55.076] future::FutureResult(value = ...future.value$value, [18:00:55.076] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.076] ...future.rng), globalenv = if (FALSE) [18:00:55.076] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:55.076] ...future.globalenv.names)) [18:00:55.076] else NULL, started = ...future.startTime, version = "1.8") [18:00:55.076] }, condition = base::local({ [18:00:55.076] c <- base::c [18:00:55.076] inherits <- base::inherits [18:00:55.076] invokeRestart <- base::invokeRestart [18:00:55.076] length <- base::length [18:00:55.076] list <- base::list [18:00:55.076] seq.int <- base::seq.int [18:00:55.076] signalCondition <- base::signalCondition [18:00:55.076] sys.calls <- base::sys.calls [18:00:55.076] `[[` <- base::`[[` [18:00:55.076] `+` <- base::`+` [18:00:55.076] `<<-` <- base::`<<-` [18:00:55.076] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:55.076] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:55.076] 3L)] [18:00:55.076] } [18:00:55.076] function(cond) { [18:00:55.076] is_error <- inherits(cond, "error") [18:00:55.076] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:55.076] NULL) [18:00:55.076] if (is_error) { [18:00:55.076] sessionInformation <- function() { [18:00:55.076] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:55.076] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:55.076] search = base::search(), system = base::Sys.info()) [18:00:55.076] } [18:00:55.076] ...future.conditions[[length(...future.conditions) + [18:00:55.076] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:55.076] cond$call), session = sessionInformation(), [18:00:55.076] timestamp = base::Sys.time(), signaled = 0L) [18:00:55.076] signalCondition(cond) [18:00:55.076] } [18:00:55.076] else if (!ignore && TRUE && inherits(cond, "condition")) { [18:00:55.076] signal <- FALSE && inherits(cond, character(0)) [18:00:55.076] ...future.conditions[[length(...future.conditions) + [18:00:55.076] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:55.076] if (FALSE && !signal) { [18:00:55.076] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.076] { [18:00:55.076] inherits <- base::inherits [18:00:55.076] invokeRestart <- base::invokeRestart [18:00:55.076] is.null <- base::is.null [18:00:55.076] muffled <- FALSE [18:00:55.076] if (inherits(cond, "message")) { [18:00:55.076] muffled <- grepl(pattern, "muffleMessage") [18:00:55.076] if (muffled) [18:00:55.076] invokeRestart("muffleMessage") [18:00:55.076] } [18:00:55.076] else if (inherits(cond, "warning")) { [18:00:55.076] muffled <- grepl(pattern, "muffleWarning") [18:00:55.076] if (muffled) [18:00:55.076] invokeRestart("muffleWarning") [18:00:55.076] } [18:00:55.076] else if (inherits(cond, "condition")) { [18:00:55.076] if (!is.null(pattern)) { [18:00:55.076] computeRestarts <- base::computeRestarts [18:00:55.076] grepl <- base::grepl [18:00:55.076] restarts <- computeRestarts(cond) [18:00:55.076] for (restart in restarts) { [18:00:55.076] name <- restart$name [18:00:55.076] if (is.null(name)) [18:00:55.076] next [18:00:55.076] if (!grepl(pattern, name)) [18:00:55.076] next [18:00:55.076] invokeRestart(restart) [18:00:55.076] muffled <- TRUE [18:00:55.076] break [18:00:55.076] } [18:00:55.076] } [18:00:55.076] } [18:00:55.076] invisible(muffled) [18:00:55.076] } [18:00:55.076] muffleCondition(cond, pattern = "^muffle") [18:00:55.076] } [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] if (TRUE) { [18:00:55.076] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.076] { [18:00:55.076] inherits <- base::inherits [18:00:55.076] invokeRestart <- base::invokeRestart [18:00:55.076] is.null <- base::is.null [18:00:55.076] muffled <- FALSE [18:00:55.076] if (inherits(cond, "message")) { [18:00:55.076] muffled <- grepl(pattern, "muffleMessage") [18:00:55.076] if (muffled) [18:00:55.076] invokeRestart("muffleMessage") [18:00:55.076] } [18:00:55.076] else if (inherits(cond, "warning")) { [18:00:55.076] muffled <- grepl(pattern, "muffleWarning") [18:00:55.076] if (muffled) [18:00:55.076] invokeRestart("muffleWarning") [18:00:55.076] } [18:00:55.076] else if (inherits(cond, "condition")) { [18:00:55.076] if (!is.null(pattern)) { [18:00:55.076] computeRestarts <- base::computeRestarts [18:00:55.076] grepl <- base::grepl [18:00:55.076] restarts <- computeRestarts(cond) [18:00:55.076] for (restart in restarts) { [18:00:55.076] name <- restart$name [18:00:55.076] if (is.null(name)) [18:00:55.076] next [18:00:55.076] if (!grepl(pattern, name)) [18:00:55.076] next [18:00:55.076] invokeRestart(restart) [18:00:55.076] muffled <- TRUE [18:00:55.076] break [18:00:55.076] } [18:00:55.076] } [18:00:55.076] } [18:00:55.076] invisible(muffled) [18:00:55.076] } [18:00:55.076] muffleCondition(cond, pattern = "^muffle") [18:00:55.076] } [18:00:55.076] } [18:00:55.076] } [18:00:55.076] })) [18:00:55.076] }, error = function(ex) { [18:00:55.076] base::structure(base::list(value = NULL, visible = NULL, [18:00:55.076] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.076] ...future.rng), started = ...future.startTime, [18:00:55.076] finished = Sys.time(), session_uuid = NA_character_, [18:00:55.076] version = "1.8"), class = "FutureResult") [18:00:55.076] }, finally = { [18:00:55.076] if (!identical(...future.workdir, getwd())) [18:00:55.076] setwd(...future.workdir) [18:00:55.076] { [18:00:55.076] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:55.076] ...future.oldOptions$nwarnings <- NULL [18:00:55.076] } [18:00:55.076] base::options(...future.oldOptions) [18:00:55.076] if (.Platform$OS.type == "windows") { [18:00:55.076] old_names <- names(...future.oldEnvVars) [18:00:55.076] envs <- base::Sys.getenv() [18:00:55.076] names <- names(envs) [18:00:55.076] common <- intersect(names, old_names) [18:00:55.076] added <- setdiff(names, old_names) [18:00:55.076] removed <- setdiff(old_names, names) [18:00:55.076] changed <- common[...future.oldEnvVars[common] != [18:00:55.076] envs[common]] [18:00:55.076] NAMES <- toupper(changed) [18:00:55.076] args <- list() [18:00:55.076] for (kk in seq_along(NAMES)) { [18:00:55.076] name <- changed[[kk]] [18:00:55.076] NAME <- NAMES[[kk]] [18:00:55.076] if (name != NAME && is.element(NAME, old_names)) [18:00:55.076] next [18:00:55.076] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.076] } [18:00:55.076] NAMES <- toupper(added) [18:00:55.076] for (kk in seq_along(NAMES)) { [18:00:55.076] name <- added[[kk]] [18:00:55.076] NAME <- NAMES[[kk]] [18:00:55.076] if (name != NAME && is.element(NAME, old_names)) [18:00:55.076] next [18:00:55.076] args[[name]] <- "" [18:00:55.076] } [18:00:55.076] NAMES <- toupper(removed) [18:00:55.076] for (kk in seq_along(NAMES)) { [18:00:55.076] name <- removed[[kk]] [18:00:55.076] NAME <- NAMES[[kk]] [18:00:55.076] if (name != NAME && is.element(NAME, old_names)) [18:00:55.076] next [18:00:55.076] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.076] } [18:00:55.076] if (length(args) > 0) [18:00:55.076] base::do.call(base::Sys.setenv, args = args) [18:00:55.076] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:55.076] } [18:00:55.076] { [18:00:55.076] if (base::length(...future.futureOptionsAdded) > [18:00:55.076] 0L) { [18:00:55.076] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:55.076] base::names(opts) <- ...future.futureOptionsAdded [18:00:55.076] base::options(opts) [18:00:55.076] } [18:00:55.076] { [18:00:55.076] NULL [18:00:55.076] options(future.plan = NULL) [18:00:55.076] if (is.na(NA_character_)) [18:00:55.076] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.076] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:55.076] future::plan(list(function (...) [18:00:55.076] { [18:00:55.076] Future(1) [18:00:55.076] }), .cleanup = FALSE, .init = FALSE) [18:00:55.076] } [18:00:55.076] } [18:00:55.076] } [18:00:55.076] }) [18:00:55.076] if (TRUE) { [18:00:55.076] base::sink(type = "output", split = FALSE) [18:00:55.076] if (TRUE) { [18:00:55.076] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:55.076] } [18:00:55.076] else { [18:00:55.076] ...future.result["stdout"] <- base::list(NULL) [18:00:55.076] } [18:00:55.076] base::close(...future.stdout) [18:00:55.076] ...future.stdout <- NULL [18:00:55.076] } [18:00:55.076] ...future.result$conditions <- ...future.conditions [18:00:55.076] ...future.result$finished <- base::Sys.time() [18:00:55.076] ...future.result [18:00:55.076] } > print(expr) { { { ...future.startTime <- base::Sys.time() { { { base::local({ has_future <- base::requireNamespace("future", quietly = TRUE) if (has_future) { ns <- base::getNamespace("future") version <- ns[[".package"]][["version"]] if (is.null(version)) version <- utils::packageVersion("future") } else { version <- NULL } if (!has_future || version < "1.8.0") { info <- base::c(r_version = base::gsub("R version ", "", base::R.version$version.string), platform = base::sprintf("%s (%s-bit)", base::R.version$platform, 8 * base::.Machine$sizeof.pointer), os = base::paste(base::Sys.info()[base::c("sysname", "release", "version")], collapse = " "), hostname = base::Sys.info()[["nodename"]]) info <- base::sprintf("%s: %s", base::names(info), info) info <- base::paste(info, collapse = "; ") if (!has_future) { msg <- base::sprintf("Package 'future' is not installed on worker (%s)", info) } else { msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", info, version) } base::stop(msg) } }) } options(future.plan = NULL) Sys.unsetenv("R_FUTURE_PLAN") future::plan("default", .cleanup = FALSE, .init = FALSE) } ...future.workdir <- getwd() } ...future.oldOptions <- base::as.list(base::.Options) ...future.oldEnvVars <- base::Sys.getenv() } base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, future.globals.maxSize = NULL, future.globals.method = NULL, future.globals.onMissing = NULL, future.globals.onReference = NULL, future.globals.resolve = NULL, future.resolve.recursive = NULL, future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, future.stdout.windows.reencode = NULL, width = 80L) ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), base::names(...future.oldOptions)) } if (FALSE) { } else { if (TRUE) { ...future.stdout <- base::rawConnection(base::raw(0L), open = "w") } else { ...future.stdout <- base::file(base::switch(.Platform$OS.type, windows = "NUL", "/dev/null"), open = "w") } base::sink(...future.stdout, type = "output", split = FALSE) base::on.exit(if (!base::is.null(...future.stdout)) { base::sink(type = "output", split = FALSE) base::close(...future.stdout) }, add = TRUE) } ...future.frame <- base::sys.nframe() ...future.conditions <- base::list() ...future.rng <- base::globalenv()$.Random.seed if (FALSE) { ...future.globalenv.names <- c(base::names(base::.GlobalEnv), "...future.value", "...future.globalenv.names", ".Random.seed") } ...future.result <- base::tryCatch({ base::withCallingHandlers({ ...future.value <- base::withVisible(base::local(NULL)) future::FutureResult(value = ...future.value$value, visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, ...future.rng), globalenv = if (FALSE) list(added = base::setdiff(base::names(base::.GlobalEnv), ...future.globalenv.names)) else NULL, started = ...future.startTime, version = "1.8") }, condition = base::local({ c <- base::c inherits <- base::inherits invokeRestart <- base::invokeRestart length <- base::length list <- base::list seq.int <- base::seq.int signalCondition <- base::signalCondition sys.calls <- base::sys.calls `[[` <- base::`[[` `+` <- base::`+` `<<-` <- base::`<<-` sysCalls <- function(calls = sys.calls(), from = 1L) { calls[seq.int(from = from + 12L, to = length(calls) - 3L)] } function(cond) { is_error <- inherits(cond, "error") ignore <- !is_error && !is.null(NULL) && inherits(cond, NULL) if (is_error) { sessionInformation <- function() { list(r = base::R.Version(), locale = base::Sys.getlocale(), rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), search = base::search(), system = base::Sys.info()) } ...future.conditions[[length(...future.conditions) + 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), cond$call), session = sessionInformation(), timestamp = base::Sys.time(), signaled = 0L) signalCondition(cond) } else if (!ignore && TRUE && inherits(cond, "condition")) { signal <- FALSE && inherits(cond, character(0)) ...future.conditions[[length(...future.conditions) + 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) if (FALSE && !signal) { muffleCondition <- function (cond, pattern = "^muffle") { inherits <- base::inherits invokeRestart <- base::invokeRestart is.null <- base::is.null muffled <- FALSE if (inherits(cond, "message")) { muffled <- grepl(pattern, "muffleMessage") if (muffled) invokeRestart("muffleMessage") } else if (inherits(cond, "warning")) { muffled <- grepl(pattern, "muffleWarning") if (muffled) invokeRestart("muffleWarning") } else if (inherits(cond, "condition")) { if (!is.null(pattern)) { computeRestarts <- base::computeRestarts grepl <- base::grepl restarts <- computeRestarts(cond) for (restart in restarts) { name <- restart$name if (is.null(name)) next if (!grepl(pattern, name)) next invokeRestart(restart) muffled <- TRUE break } } } invisible(muffled) } muffleCondition(cond, pattern = "^muffle") } } else { if (TRUE) { muffleCondition <- function (cond, pattern = "^muffle") { inherits <- base::inherits invokeRestart <- base::invokeRestart is.null <- base::is.null muffled <- FALSE if (inherits(cond, "message")) { muffled <- grepl(pattern, "muffleMessage") if (muffled) invokeRestart("muffleMessage") } else if (inherits(cond, "warning")) { muffled <- grepl(pattern, "muffleWarning") if (muffled) invokeRestart("muffleWarning") } else if (inherits(cond, "condition")) { if (!is.null(pattern)) { computeRestarts <- base::computeRestarts grepl <- base::grepl restarts <- computeRestarts(cond) for (restart in restarts) { name <- restart$name if (is.null(name)) next if (!grepl(pattern, name)) next invokeRestart(restart) muffled <- TRUE break } } } invisible(muffled) } muffleCondition(cond, pattern = "^muffle") } } } })) }, error = function(ex) { base::structure(base::list(value = NULL, visible = NULL, conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, ...future.rng), started = ...future.startTime, finished = Sys.time(), session_uuid = NA_character_, version = "1.8"), class = "FutureResult") }, finally = { if (!identical(...future.workdir, getwd())) setwd(...future.workdir) { if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { ...future.oldOptions$nwarnings <- NULL } base::options(...future.oldOptions) if (.Platform$OS.type == "windows") { old_names <- names(...future.oldEnvVars) envs <- base::Sys.getenv() names <- names(envs) common <- intersect(names, old_names) added <- setdiff(names, old_names) removed <- setdiff(old_names, names) changed <- common[...future.oldEnvVars[common] != envs[common]] NAMES <- toupper(changed) args <- list() for (kk in seq_along(NAMES)) { name <- changed[[kk]] NAME <- NAMES[[kk]] if (name != NAME && is.element(NAME, old_names)) next args[[name]] <- ...future.oldEnvVars[[name]] } NAMES <- toupper(added) for (kk in seq_along(NAMES)) { name <- added[[kk]] NAME <- NAMES[[kk]] if (name != NAME && is.element(NAME, old_names)) next args[[name]] <- "" } NAMES <- toupper(removed) for (kk in seq_along(NAMES)) { name <- removed[[kk]] NAME <- NAMES[[kk]] if (name != NAME && is.element(NAME, old_names)) next args[[name]] <- ...future.oldEnvVars[[name]] } if (length(args) > 0) base::do.call(base::Sys.setenv, args = args) args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL } else { base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) } { if (base::length(...future.futureOptionsAdded) > 0L) { opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) base::names(opts) <- ...future.futureOptionsAdded base::options(opts) } { NULL options(future.plan = NULL) if (is.na(NA_character_)) Sys.unsetenv("R_FUTURE_PLAN") else Sys.setenv(R_FUTURE_PLAN = NA_character_) future::plan(list(function (...) { Future(1) }), .cleanup = FALSE, .init = FALSE) } } } }) if (TRUE) { base::sink(type = "output", split = FALSE) if (TRUE) { ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) } else { ...future.result["stdout"] <- base::list(NULL) } base::close(...future.stdout) ...future.stdout <- NULL } ...future.result$conditions <- ...future.conditions ...future.result$finished <- base::Sys.time() ...future.result } > stopifnot(is.call(expr)) > > clazzes <- list( + sequential = SequentialFuture, + multisession = function(...) MultisessionFuture(..., workers = 2L), + sequential = SequentialFuture + ) > if (supportsMulticore()) { + clazzes$multicore = function(...) MulticoreFuture(..., workers = 2L) + } > > for (clazz in clazzes) { + ## Calling run() more than once + f <- clazz({ 42L }) + print(f) + run(f) + res <- tryCatch(run(f), error = identity) + stopifnot(inherits(res, "error")) + v <- value(f) + print(v) + stopifnot(v == 42L) + + ## Call value() without run() + f <- clazz({ 42L }) + v <- value(f) + print(v) + stopifnot(v == 42L) + } [18:00:55.094] getGlobalsAndPackages() ... [18:00:55.094] Searching for globals... [18:00:55.098] - globals found: [1] '{' [18:00:55.098] Searching for globals ... DONE [18:00:55.098] Resolving globals: FALSE [18:00:55.099] [18:00:55.099] [18:00:55.099] getGlobalsAndPackages() ... DONE SequentialFuture: Label: '' Expression: { 42L } Lazy evaluation: FALSE Asynchronous evaluation: FALSE Local evaluation: TRUE Environment: R_GlobalEnv Capture standard output: TRUE Capture condition classes: 'condition' (excluding 'nothing') Globals: Packages: L'Ecuyer-CMRG RNG seed: (seed = FALSE) Resolved: FALSE Value: Conditions captured: Early signaling: FALSE Owner process: 97062dac-0aca-6709-451b-785afd987bc5 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:55.100] Packages needed by the future expression (n = 0): [18:00:55.100] Packages needed by future strategies (n = 0): [18:00:55.101] { [18:00:55.101] { [18:00:55.101] { [18:00:55.101] ...future.startTime <- base::Sys.time() [18:00:55.101] { [18:00:55.101] { [18:00:55.101] { [18:00:55.101] base::local({ [18:00:55.101] has_future <- base::requireNamespace("future", [18:00:55.101] quietly = TRUE) [18:00:55.101] if (has_future) { [18:00:55.101] ns <- base::getNamespace("future") [18:00:55.101] version <- ns[[".package"]][["version"]] [18:00:55.101] if (is.null(version)) [18:00:55.101] version <- utils::packageVersion("future") [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] version <- NULL [18:00:55.101] } [18:00:55.101] if (!has_future || version < "1.8.0") { [18:00:55.101] info <- base::c(r_version = base::gsub("R version ", [18:00:55.101] "", base::R.version$version.string), [18:00:55.101] platform = base::sprintf("%s (%s-bit)", [18:00:55.101] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:55.101] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:55.101] "release", "version")], collapse = " "), [18:00:55.101] hostname = base::Sys.info()[["nodename"]]) [18:00:55.101] info <- base::sprintf("%s: %s", base::names(info), [18:00:55.101] info) [18:00:55.101] info <- base::paste(info, collapse = "; ") [18:00:55.101] if (!has_future) { [18:00:55.101] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:55.101] info) [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:55.101] info, version) [18:00:55.101] } [18:00:55.101] base::stop(msg) [18:00:55.101] } [18:00:55.101] }) [18:00:55.101] } [18:00:55.101] options(future.plan = NULL) [18:00:55.101] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.101] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:55.101] } [18:00:55.101] ...future.workdir <- getwd() [18:00:55.101] } [18:00:55.101] ...future.oldOptions <- base::as.list(base::.Options) [18:00:55.101] ...future.oldEnvVars <- base::Sys.getenv() [18:00:55.101] } [18:00:55.101] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:55.101] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:55.101] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:55.101] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:55.101] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:55.101] future.stdout.windows.reencode = NULL, width = 80L) [18:00:55.101] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:55.101] base::names(...future.oldOptions)) [18:00:55.101] } [18:00:55.101] if (FALSE) { [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] if (TRUE) { [18:00:55.101] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:55.101] open = "w") [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:55.101] windows = "NUL", "/dev/null"), open = "w") [18:00:55.101] } [18:00:55.101] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:55.101] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:55.101] base::sink(type = "output", split = FALSE) [18:00:55.101] base::close(...future.stdout) [18:00:55.101] }, add = TRUE) [18:00:55.101] } [18:00:55.101] ...future.frame <- base::sys.nframe() [18:00:55.101] ...future.conditions <- base::list() [18:00:55.101] ...future.rng <- base::globalenv()$.Random.seed [18:00:55.101] if (FALSE) { [18:00:55.101] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:55.101] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:55.101] } [18:00:55.101] ...future.result <- base::tryCatch({ [18:00:55.101] base::withCallingHandlers({ [18:00:55.101] ...future.value <- base::withVisible(base::local({ [18:00:55.101] 42L [18:00:55.101] })) [18:00:55.101] future::FutureResult(value = ...future.value$value, [18:00:55.101] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.101] ...future.rng), globalenv = if (FALSE) [18:00:55.101] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:55.101] ...future.globalenv.names)) [18:00:55.101] else NULL, started = ...future.startTime, version = "1.8") [18:00:55.101] }, condition = base::local({ [18:00:55.101] c <- base::c [18:00:55.101] inherits <- base::inherits [18:00:55.101] invokeRestart <- base::invokeRestart [18:00:55.101] length <- base::length [18:00:55.101] list <- base::list [18:00:55.101] seq.int <- base::seq.int [18:00:55.101] signalCondition <- base::signalCondition [18:00:55.101] sys.calls <- base::sys.calls [18:00:55.101] `[[` <- base::`[[` [18:00:55.101] `+` <- base::`+` [18:00:55.101] `<<-` <- base::`<<-` [18:00:55.101] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:55.101] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:55.101] 3L)] [18:00:55.101] } [18:00:55.101] function(cond) { [18:00:55.101] is_error <- inherits(cond, "error") [18:00:55.101] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:55.101] NULL) [18:00:55.101] if (is_error) { [18:00:55.101] sessionInformation <- function() { [18:00:55.101] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:55.101] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:55.101] search = base::search(), system = base::Sys.info()) [18:00:55.101] } [18:00:55.101] ...future.conditions[[length(...future.conditions) + [18:00:55.101] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:55.101] cond$call), session = sessionInformation(), [18:00:55.101] timestamp = base::Sys.time(), signaled = 0L) [18:00:55.101] signalCondition(cond) [18:00:55.101] } [18:00:55.101] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:55.101] "immediateCondition"))) { [18:00:55.101] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:55.101] ...future.conditions[[length(...future.conditions) + [18:00:55.101] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:55.101] if (TRUE && !signal) { [18:00:55.101] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.101] { [18:00:55.101] inherits <- base::inherits [18:00:55.101] invokeRestart <- base::invokeRestart [18:00:55.101] is.null <- base::is.null [18:00:55.101] muffled <- FALSE [18:00:55.101] if (inherits(cond, "message")) { [18:00:55.101] muffled <- grepl(pattern, "muffleMessage") [18:00:55.101] if (muffled) [18:00:55.101] invokeRestart("muffleMessage") [18:00:55.101] } [18:00:55.101] else if (inherits(cond, "warning")) { [18:00:55.101] muffled <- grepl(pattern, "muffleWarning") [18:00:55.101] if (muffled) [18:00:55.101] invokeRestart("muffleWarning") [18:00:55.101] } [18:00:55.101] else if (inherits(cond, "condition")) { [18:00:55.101] if (!is.null(pattern)) { [18:00:55.101] computeRestarts <- base::computeRestarts [18:00:55.101] grepl <- base::grepl [18:00:55.101] restarts <- computeRestarts(cond) [18:00:55.101] for (restart in restarts) { [18:00:55.101] name <- restart$name [18:00:55.101] if (is.null(name)) [18:00:55.101] next [18:00:55.101] if (!grepl(pattern, name)) [18:00:55.101] next [18:00:55.101] invokeRestart(restart) [18:00:55.101] muffled <- TRUE [18:00:55.101] break [18:00:55.101] } [18:00:55.101] } [18:00:55.101] } [18:00:55.101] invisible(muffled) [18:00:55.101] } [18:00:55.101] muffleCondition(cond, pattern = "^muffle") [18:00:55.101] } [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] if (TRUE) { [18:00:55.101] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.101] { [18:00:55.101] inherits <- base::inherits [18:00:55.101] invokeRestart <- base::invokeRestart [18:00:55.101] is.null <- base::is.null [18:00:55.101] muffled <- FALSE [18:00:55.101] if (inherits(cond, "message")) { [18:00:55.101] muffled <- grepl(pattern, "muffleMessage") [18:00:55.101] if (muffled) [18:00:55.101] invokeRestart("muffleMessage") [18:00:55.101] } [18:00:55.101] else if (inherits(cond, "warning")) { [18:00:55.101] muffled <- grepl(pattern, "muffleWarning") [18:00:55.101] if (muffled) [18:00:55.101] invokeRestart("muffleWarning") [18:00:55.101] } [18:00:55.101] else if (inherits(cond, "condition")) { [18:00:55.101] if (!is.null(pattern)) { [18:00:55.101] computeRestarts <- base::computeRestarts [18:00:55.101] grepl <- base::grepl [18:00:55.101] restarts <- computeRestarts(cond) [18:00:55.101] for (restart in restarts) { [18:00:55.101] name <- restart$name [18:00:55.101] if (is.null(name)) [18:00:55.101] next [18:00:55.101] if (!grepl(pattern, name)) [18:00:55.101] next [18:00:55.101] invokeRestart(restart) [18:00:55.101] muffled <- TRUE [18:00:55.101] break [18:00:55.101] } [18:00:55.101] } [18:00:55.101] } [18:00:55.101] invisible(muffled) [18:00:55.101] } [18:00:55.101] muffleCondition(cond, pattern = "^muffle") [18:00:55.101] } [18:00:55.101] } [18:00:55.101] } [18:00:55.101] })) [18:00:55.101] }, error = function(ex) { [18:00:55.101] base::structure(base::list(value = NULL, visible = NULL, [18:00:55.101] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.101] ...future.rng), started = ...future.startTime, [18:00:55.101] finished = Sys.time(), session_uuid = NA_character_, [18:00:55.101] version = "1.8"), class = "FutureResult") [18:00:55.101] }, finally = { [18:00:55.101] if (!identical(...future.workdir, getwd())) [18:00:55.101] setwd(...future.workdir) [18:00:55.101] { [18:00:55.101] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:55.101] ...future.oldOptions$nwarnings <- NULL [18:00:55.101] } [18:00:55.101] base::options(...future.oldOptions) [18:00:55.101] if (.Platform$OS.type == "windows") { [18:00:55.101] old_names <- names(...future.oldEnvVars) [18:00:55.101] envs <- base::Sys.getenv() [18:00:55.101] names <- names(envs) [18:00:55.101] common <- intersect(names, old_names) [18:00:55.101] added <- setdiff(names, old_names) [18:00:55.101] removed <- setdiff(old_names, names) [18:00:55.101] changed <- common[...future.oldEnvVars[common] != [18:00:55.101] envs[common]] [18:00:55.101] NAMES <- toupper(changed) [18:00:55.101] args <- list() [18:00:55.101] for (kk in seq_along(NAMES)) { [18:00:55.101] name <- changed[[kk]] [18:00:55.101] NAME <- NAMES[[kk]] [18:00:55.101] if (name != NAME && is.element(NAME, old_names)) [18:00:55.101] next [18:00:55.101] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.101] } [18:00:55.101] NAMES <- toupper(added) [18:00:55.101] for (kk in seq_along(NAMES)) { [18:00:55.101] name <- added[[kk]] [18:00:55.101] NAME <- NAMES[[kk]] [18:00:55.101] if (name != NAME && is.element(NAME, old_names)) [18:00:55.101] next [18:00:55.101] args[[name]] <- "" [18:00:55.101] } [18:00:55.101] NAMES <- toupper(removed) [18:00:55.101] for (kk in seq_along(NAMES)) { [18:00:55.101] name <- removed[[kk]] [18:00:55.101] NAME <- NAMES[[kk]] [18:00:55.101] if (name != NAME && is.element(NAME, old_names)) [18:00:55.101] next [18:00:55.101] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.101] } [18:00:55.101] if (length(args) > 0) [18:00:55.101] base::do.call(base::Sys.setenv, args = args) [18:00:55.101] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:55.101] } [18:00:55.101] { [18:00:55.101] if (base::length(...future.futureOptionsAdded) > [18:00:55.101] 0L) { [18:00:55.101] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:55.101] base::names(opts) <- ...future.futureOptionsAdded [18:00:55.101] base::options(opts) [18:00:55.101] } [18:00:55.101] { [18:00:55.101] { [18:00:55.101] NULL [18:00:55.101] RNGkind("Mersenne-Twister") [18:00:55.101] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:55.101] inherits = FALSE) [18:00:55.101] } [18:00:55.101] options(future.plan = NULL) [18:00:55.101] if (is.na(NA_character_)) [18:00:55.101] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.101] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:55.101] future::plan(list(function (...) [18:00:55.101] { [18:00:55.101] Future(1) [18:00:55.101] }), .cleanup = FALSE, .init = FALSE) [18:00:55.101] } [18:00:55.101] } [18:00:55.101] } [18:00:55.101] }) [18:00:55.101] if (TRUE) { [18:00:55.101] base::sink(type = "output", split = FALSE) [18:00:55.101] if (TRUE) { [18:00:55.101] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:55.101] } [18:00:55.101] else { [18:00:55.101] ...future.result["stdout"] <- base::list(NULL) [18:00:55.101] } [18:00:55.101] base::close(...future.stdout) [18:00:55.101] ...future.stdout <- NULL [18:00:55.101] } [18:00:55.101] ...future.result$conditions <- ...future.conditions [18:00:55.101] ...future.result$finished <- base::Sys.time() [18:00:55.101] ...future.result [18:00:55.101] } [18:00:55.105] plan(): Setting new future strategy stack: [18:00:55.105] List of future strategies: [18:00:55.105] 1. sequential: [18:00:55.105] - args: function (..., envir = parent.frame()) [18:00:55.105] - tweaked: FALSE [18:00:55.105] - call: NULL [18:00:55.106] plan(): nbrOfWorkers() = 1 [18:00:55.108] plan(): Setting new future strategy stack: [18:00:55.108] List of future strategies: [18:00:55.108] 1. future: [18:00:55.108] - args: function (...) [18:00:55.108] - tweaked: FALSE [18:00:55.108] - call: plan(foo) [18:00:55.108] plan(): nbrOfWorkers() = Inf [18:00:55.109] SequentialFuture started (and completed) [1] 42 [18:00:55.110] getGlobalsAndPackages() ... [18:00:55.110] Searching for globals... [18:00:55.110] - globals found: [1] '{' [18:00:55.111] Searching for globals ... DONE [18:00:55.111] Resolving globals: FALSE [18:00:55.111] [18:00:55.111] [18:00:55.111] getGlobalsAndPackages() ... DONE [18:00:55.112] Packages needed by the future expression (n = 0): [18:00:55.112] Packages needed by future strategies (n = 0): [18:00:55.113] { [18:00:55.113] { [18:00:55.113] { [18:00:55.113] ...future.startTime <- base::Sys.time() [18:00:55.113] { [18:00:55.113] { [18:00:55.113] { [18:00:55.113] base::local({ [18:00:55.113] has_future <- base::requireNamespace("future", [18:00:55.113] quietly = TRUE) [18:00:55.113] if (has_future) { [18:00:55.113] ns <- base::getNamespace("future") [18:00:55.113] version <- ns[[".package"]][["version"]] [18:00:55.113] if (is.null(version)) [18:00:55.113] version <- utils::packageVersion("future") [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] version <- NULL [18:00:55.113] } [18:00:55.113] if (!has_future || version < "1.8.0") { [18:00:55.113] info <- base::c(r_version = base::gsub("R version ", [18:00:55.113] "", base::R.version$version.string), [18:00:55.113] platform = base::sprintf("%s (%s-bit)", [18:00:55.113] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:55.113] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:55.113] "release", "version")], collapse = " "), [18:00:55.113] hostname = base::Sys.info()[["nodename"]]) [18:00:55.113] info <- base::sprintf("%s: %s", base::names(info), [18:00:55.113] info) [18:00:55.113] info <- base::paste(info, collapse = "; ") [18:00:55.113] if (!has_future) { [18:00:55.113] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:55.113] info) [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:55.113] info, version) [18:00:55.113] } [18:00:55.113] base::stop(msg) [18:00:55.113] } [18:00:55.113] }) [18:00:55.113] } [18:00:55.113] options(future.plan = NULL) [18:00:55.113] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.113] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:55.113] } [18:00:55.113] ...future.workdir <- getwd() [18:00:55.113] } [18:00:55.113] ...future.oldOptions <- base::as.list(base::.Options) [18:00:55.113] ...future.oldEnvVars <- base::Sys.getenv() [18:00:55.113] } [18:00:55.113] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:55.113] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:55.113] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:55.113] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:55.113] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:55.113] future.stdout.windows.reencode = NULL, width = 80L) [18:00:55.113] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:55.113] base::names(...future.oldOptions)) [18:00:55.113] } [18:00:55.113] if (FALSE) { [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] if (TRUE) { [18:00:55.113] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:55.113] open = "w") [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:55.113] windows = "NUL", "/dev/null"), open = "w") [18:00:55.113] } [18:00:55.113] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:55.113] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:55.113] base::sink(type = "output", split = FALSE) [18:00:55.113] base::close(...future.stdout) [18:00:55.113] }, add = TRUE) [18:00:55.113] } [18:00:55.113] ...future.frame <- base::sys.nframe() [18:00:55.113] ...future.conditions <- base::list() [18:00:55.113] ...future.rng <- base::globalenv()$.Random.seed [18:00:55.113] if (FALSE) { [18:00:55.113] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:55.113] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:55.113] } [18:00:55.113] ...future.result <- base::tryCatch({ [18:00:55.113] base::withCallingHandlers({ [18:00:55.113] ...future.value <- base::withVisible(base::local({ [18:00:55.113] 42L [18:00:55.113] })) [18:00:55.113] future::FutureResult(value = ...future.value$value, [18:00:55.113] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.113] ...future.rng), globalenv = if (FALSE) [18:00:55.113] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:55.113] ...future.globalenv.names)) [18:00:55.113] else NULL, started = ...future.startTime, version = "1.8") [18:00:55.113] }, condition = base::local({ [18:00:55.113] c <- base::c [18:00:55.113] inherits <- base::inherits [18:00:55.113] invokeRestart <- base::invokeRestart [18:00:55.113] length <- base::length [18:00:55.113] list <- base::list [18:00:55.113] seq.int <- base::seq.int [18:00:55.113] signalCondition <- base::signalCondition [18:00:55.113] sys.calls <- base::sys.calls [18:00:55.113] `[[` <- base::`[[` [18:00:55.113] `+` <- base::`+` [18:00:55.113] `<<-` <- base::`<<-` [18:00:55.113] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:55.113] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:55.113] 3L)] [18:00:55.113] } [18:00:55.113] function(cond) { [18:00:55.113] is_error <- inherits(cond, "error") [18:00:55.113] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:55.113] NULL) [18:00:55.113] if (is_error) { [18:00:55.113] sessionInformation <- function() { [18:00:55.113] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:55.113] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:55.113] search = base::search(), system = base::Sys.info()) [18:00:55.113] } [18:00:55.113] ...future.conditions[[length(...future.conditions) + [18:00:55.113] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:55.113] cond$call), session = sessionInformation(), [18:00:55.113] timestamp = base::Sys.time(), signaled = 0L) [18:00:55.113] signalCondition(cond) [18:00:55.113] } [18:00:55.113] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:55.113] "immediateCondition"))) { [18:00:55.113] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:55.113] ...future.conditions[[length(...future.conditions) + [18:00:55.113] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:55.113] if (TRUE && !signal) { [18:00:55.113] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.113] { [18:00:55.113] inherits <- base::inherits [18:00:55.113] invokeRestart <- base::invokeRestart [18:00:55.113] is.null <- base::is.null [18:00:55.113] muffled <- FALSE [18:00:55.113] if (inherits(cond, "message")) { [18:00:55.113] muffled <- grepl(pattern, "muffleMessage") [18:00:55.113] if (muffled) [18:00:55.113] invokeRestart("muffleMessage") [18:00:55.113] } [18:00:55.113] else if (inherits(cond, "warning")) { [18:00:55.113] muffled <- grepl(pattern, "muffleWarning") [18:00:55.113] if (muffled) [18:00:55.113] invokeRestart("muffleWarning") [18:00:55.113] } [18:00:55.113] else if (inherits(cond, "condition")) { [18:00:55.113] if (!is.null(pattern)) { [18:00:55.113] computeRestarts <- base::computeRestarts [18:00:55.113] grepl <- base::grepl [18:00:55.113] restarts <- computeRestarts(cond) [18:00:55.113] for (restart in restarts) { [18:00:55.113] name <- restart$name [18:00:55.113] if (is.null(name)) [18:00:55.113] next [18:00:55.113] if (!grepl(pattern, name)) [18:00:55.113] next [18:00:55.113] invokeRestart(restart) [18:00:55.113] muffled <- TRUE [18:00:55.113] break [18:00:55.113] } [18:00:55.113] } [18:00:55.113] } [18:00:55.113] invisible(muffled) [18:00:55.113] } [18:00:55.113] muffleCondition(cond, pattern = "^muffle") [18:00:55.113] } [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] if (TRUE) { [18:00:55.113] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.113] { [18:00:55.113] inherits <- base::inherits [18:00:55.113] invokeRestart <- base::invokeRestart [18:00:55.113] is.null <- base::is.null [18:00:55.113] muffled <- FALSE [18:00:55.113] if (inherits(cond, "message")) { [18:00:55.113] muffled <- grepl(pattern, "muffleMessage") [18:00:55.113] if (muffled) [18:00:55.113] invokeRestart("muffleMessage") [18:00:55.113] } [18:00:55.113] else if (inherits(cond, "warning")) { [18:00:55.113] muffled <- grepl(pattern, "muffleWarning") [18:00:55.113] if (muffled) [18:00:55.113] invokeRestart("muffleWarning") [18:00:55.113] } [18:00:55.113] else if (inherits(cond, "condition")) { [18:00:55.113] if (!is.null(pattern)) { [18:00:55.113] computeRestarts <- base::computeRestarts [18:00:55.113] grepl <- base::grepl [18:00:55.113] restarts <- computeRestarts(cond) [18:00:55.113] for (restart in restarts) { [18:00:55.113] name <- restart$name [18:00:55.113] if (is.null(name)) [18:00:55.113] next [18:00:55.113] if (!grepl(pattern, name)) [18:00:55.113] next [18:00:55.113] invokeRestart(restart) [18:00:55.113] muffled <- TRUE [18:00:55.113] break [18:00:55.113] } [18:00:55.113] } [18:00:55.113] } [18:00:55.113] invisible(muffled) [18:00:55.113] } [18:00:55.113] muffleCondition(cond, pattern = "^muffle") [18:00:55.113] } [18:00:55.113] } [18:00:55.113] } [18:00:55.113] })) [18:00:55.113] }, error = function(ex) { [18:00:55.113] base::structure(base::list(value = NULL, visible = NULL, [18:00:55.113] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.113] ...future.rng), started = ...future.startTime, [18:00:55.113] finished = Sys.time(), session_uuid = NA_character_, [18:00:55.113] version = "1.8"), class = "FutureResult") [18:00:55.113] }, finally = { [18:00:55.113] if (!identical(...future.workdir, getwd())) [18:00:55.113] setwd(...future.workdir) [18:00:55.113] { [18:00:55.113] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:55.113] ...future.oldOptions$nwarnings <- NULL [18:00:55.113] } [18:00:55.113] base::options(...future.oldOptions) [18:00:55.113] if (.Platform$OS.type == "windows") { [18:00:55.113] old_names <- names(...future.oldEnvVars) [18:00:55.113] envs <- base::Sys.getenv() [18:00:55.113] names <- names(envs) [18:00:55.113] common <- intersect(names, old_names) [18:00:55.113] added <- setdiff(names, old_names) [18:00:55.113] removed <- setdiff(old_names, names) [18:00:55.113] changed <- common[...future.oldEnvVars[common] != [18:00:55.113] envs[common]] [18:00:55.113] NAMES <- toupper(changed) [18:00:55.113] args <- list() [18:00:55.113] for (kk in seq_along(NAMES)) { [18:00:55.113] name <- changed[[kk]] [18:00:55.113] NAME <- NAMES[[kk]] [18:00:55.113] if (name != NAME && is.element(NAME, old_names)) [18:00:55.113] next [18:00:55.113] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.113] } [18:00:55.113] NAMES <- toupper(added) [18:00:55.113] for (kk in seq_along(NAMES)) { [18:00:55.113] name <- added[[kk]] [18:00:55.113] NAME <- NAMES[[kk]] [18:00:55.113] if (name != NAME && is.element(NAME, old_names)) [18:00:55.113] next [18:00:55.113] args[[name]] <- "" [18:00:55.113] } [18:00:55.113] NAMES <- toupper(removed) [18:00:55.113] for (kk in seq_along(NAMES)) { [18:00:55.113] name <- removed[[kk]] [18:00:55.113] NAME <- NAMES[[kk]] [18:00:55.113] if (name != NAME && is.element(NAME, old_names)) [18:00:55.113] next [18:00:55.113] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.113] } [18:00:55.113] if (length(args) > 0) [18:00:55.113] base::do.call(base::Sys.setenv, args = args) [18:00:55.113] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:55.113] } [18:00:55.113] { [18:00:55.113] if (base::length(...future.futureOptionsAdded) > [18:00:55.113] 0L) { [18:00:55.113] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:55.113] base::names(opts) <- ...future.futureOptionsAdded [18:00:55.113] base::options(opts) [18:00:55.113] } [18:00:55.113] { [18:00:55.113] { [18:00:55.113] NULL [18:00:55.113] RNGkind("Mersenne-Twister") [18:00:55.113] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:55.113] inherits = FALSE) [18:00:55.113] } [18:00:55.113] options(future.plan = NULL) [18:00:55.113] if (is.na(NA_character_)) [18:00:55.113] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.113] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:55.113] future::plan(list(function (...) [18:00:55.113] { [18:00:55.113] Future(1) [18:00:55.113] }), .cleanup = FALSE, .init = FALSE) [18:00:55.113] } [18:00:55.113] } [18:00:55.113] } [18:00:55.113] }) [18:00:55.113] if (TRUE) { [18:00:55.113] base::sink(type = "output", split = FALSE) [18:00:55.113] if (TRUE) { [18:00:55.113] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:55.113] } [18:00:55.113] else { [18:00:55.113] ...future.result["stdout"] <- base::list(NULL) [18:00:55.113] } [18:00:55.113] base::close(...future.stdout) [18:00:55.113] ...future.stdout <- NULL [18:00:55.113] } [18:00:55.113] ...future.result$conditions <- ...future.conditions [18:00:55.113] ...future.result$finished <- base::Sys.time() [18:00:55.113] ...future.result [18:00:55.113] } [18:00:55.117] plan(): Setting new future strategy stack: [18:00:55.117] List of future strategies: [18:00:55.117] 1. sequential: [18:00:55.117] - args: function (..., envir = parent.frame()) [18:00:55.117] - tweaked: FALSE [18:00:55.117] - call: NULL [18:00:55.117] plan(): nbrOfWorkers() = 1 [18:00:55.118] plan(): Setting new future strategy stack: [18:00:55.119] List of future strategies: [18:00:55.119] 1. future: [18:00:55.119] - args: function (...) [18:00:55.119] - tweaked: FALSE [18:00:55.119] - call: plan(foo) [18:00:55.119] plan(): nbrOfWorkers() = Inf [18:00:55.119] SequentialFuture started (and completed) [1] 42 [18:00:55.122] getGlobalsAndPackages() ... [18:00:55.122] [18:00:55.122] - globals: [0] [18:00:55.122] getGlobalsAndPackages() ... DONE [18:00:55.123] [local output] makeClusterPSOCK() ... [18:00:55.155] [local output] Workers: [n = 2] 'localhost', 'localhost' [18:00:55.163] [local output] Base port: 27625 [18:00:55.163] [local output] Getting setup options for 2 cluster nodes ... [18:00:55.163] [local output] - Node 1 of 2 ... [18:00:55.163] [local output] localMachine=TRUE => revtunnel=FALSE [18:00:55.165] Testing if worker's PID can be inferred: '"D:/RCompile/recent/R/bin/x64/Rscript" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpQVqbak/worker.rank=1.parallelly.parent=200836.3108473ff519e.pid\")), silent = TRUE)" -e "file.exists(\"D:/temp/RtmpQVqbak/worker.rank=1.parallelly.parent=200836.3108473ff519e.pid\")"' [18:00:55.600] - Possible to infer worker's PID: TRUE [18:00:55.601] [local output] Rscript port: 27625 [18:00:55.601] [local output] - Node 2 of 2 ... [18:00:55.602] [local output] localMachine=TRUE => revtunnel=FALSE [18:00:55.603] [local output] Rscript port: 27625 [18:00:55.603] [local output] Getting setup options for 2 cluster nodes ... done [18:00:55.604] [local output] - Parallel setup requested for some PSOCK nodes [18:00:55.604] [local output] Setting up PSOCK nodes in parallel [18:00:55.605] List of 36 [18:00:55.605] $ worker : chr "localhost" [18:00:55.605] ..- attr(*, "localhost")= logi TRUE [18:00:55.605] $ master : chr "localhost" [18:00:55.605] $ port : int 27625 [18:00:55.605] $ connectTimeout : num 120 [18:00:55.605] $ timeout : num 120 [18:00:55.605] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [18:00:55.605] $ homogeneous : logi TRUE [18:00:55.605] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=Future-class.R:200836:CRANWIN3:C"| __truncated__ [18:00:55.605] $ rscript_envs : NULL [18:00:55.605] $ rscript_libs : NULL [18:00:55.605] $ rscript_startup : NULL [18:00:55.605] $ rscript_sh : chr "cmd" [18:00:55.605] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:00:55.605] $ methods : logi TRUE [18:00:55.605] $ socketOptions : chr "no-delay" [18:00:55.605] $ useXDR : logi FALSE [18:00:55.605] $ outfile : chr "/dev/null" [18:00:55.605] $ renice : int NA [18:00:55.605] $ rshcmd : NULL [18:00:55.605] $ user : chr(0) [18:00:55.605] $ revtunnel : logi FALSE [18:00:55.605] $ rshlogfile : NULL [18:00:55.605] $ rshopts : chr(0) [18:00:55.605] $ rank : int 1 [18:00:55.605] $ manual : logi FALSE [18:00:55.605] $ dryrun : logi FALSE [18:00:55.605] $ quiet : logi FALSE [18:00:55.605] $ setup_strategy : chr "parallel" [18:00:55.605] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:00:55.605] $ pidfile : chr "D:/temp/RtmpQVqbak/worker.rank=1.parallelly.parent=200836.3108473ff519e.pid" [18:00:55.605] $ rshcmd_label : NULL [18:00:55.605] $ rsh_call : NULL [18:00:55.605] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:00:55.605] $ localMachine : logi TRUE [18:00:55.605] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [18:00:55.605] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [18:00:55.605] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [18:00:55.605] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [18:00:55.605] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [18:00:55.605] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [18:00:55.605] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [18:00:55.605] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [18:00:55.605] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [18:00:55.605] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [18:00:55.605] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [18:00:55.605] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [18:00:55.605] "parallel"), action = c("launch", "options"), verbose = FALSE) [18:00:55.605] $ arguments :List of 28 [18:00:55.605] ..$ worker : chr "localhost" [18:00:55.605] ..$ master : NULL [18:00:55.605] ..$ port : int 27625 [18:00:55.605] ..$ connectTimeout : num 120 [18:00:55.605] ..$ timeout : num 120 [18:00:55.605] ..$ rscript : NULL [18:00:55.605] ..$ homogeneous : NULL [18:00:55.605] ..$ rscript_args : NULL [18:00:55.605] ..$ rscript_envs : NULL [18:00:55.605] ..$ rscript_libs : NULL [18:00:55.605] ..$ rscript_startup : NULL [18:00:55.605] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [18:00:55.605] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:00:55.605] ..$ methods : logi TRUE [18:00:55.605] ..$ socketOptions : chr "no-delay" [18:00:55.605] ..$ useXDR : logi FALSE [18:00:55.605] ..$ outfile : chr "/dev/null" [18:00:55.605] ..$ renice : int NA [18:00:55.605] ..$ rshcmd : NULL [18:00:55.605] ..$ user : NULL [18:00:55.605] ..$ revtunnel : logi NA [18:00:55.605] ..$ rshlogfile : NULL [18:00:55.605] ..$ rshopts : NULL [18:00:55.605] ..$ rank : int 1 [18:00:55.605] ..$ manual : logi FALSE [18:00:55.605] ..$ dryrun : logi FALSE [18:00:55.605] ..$ quiet : logi FALSE [18:00:55.605] ..$ setup_strategy : chr "parallel" [18:00:55.605] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [18:00:55.626] [local output] System call to launch all workers: [18:00:55.626] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=Future-class.R:200836:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpQVqbak/worker.rank=1.parallelly.parent=200836.3108473ff519e.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=27625 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [18:00:55.627] [local output] Starting PSOCK main server [18:00:55.634] [local output] Workers launched [18:00:55.635] [local output] Waiting for workers to connect back [18:00:55.635] - [local output] 0 workers out of 2 ready [18:00:55.805] - [local output] 0 workers out of 2 ready [18:00:55.806] - [local output] 1 workers out of 2 ready [18:00:55.813] - [local output] 1 workers out of 2 ready [18:00:55.813] - [local output] 2 workers out of 2 ready [18:00:55.813] [local output] Launching of workers completed [18:00:55.814] [local output] Collecting session information from workers [18:00:55.815] [local output] - Worker #1 of 2 [18:00:55.815] [local output] - Worker #2 of 2 [18:00:55.816] [local output] makeClusterPSOCK() ... done MultisessionFuture: Label: '' Expression: { 42L } Lazy evaluation: FALSE Asynchronous evaluation: TRUE Local evaluation: TRUE Environment: 0x000001eae805d960 Capture standard output: TRUE Capture condition classes: 'condition' (excluding 'nothing') Globals: Packages: L'Ecuyer-CMRG RNG seed: (seed = FALSE) Resolved: FALSE Value: Conditions captured: Early signaling: FALSE Owner process: 97062dac-0aca-6709-451b-785afd987bc5 Class: 'MultisessionFuture', 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment' [18:00:55.829] Packages needed by the future expression (n = 0): [18:00:55.829] Packages needed by future strategies (n = 0): [18:00:55.830] { [18:00:55.830] { [18:00:55.830] { [18:00:55.830] ...future.startTime <- base::Sys.time() [18:00:55.830] { [18:00:55.830] { [18:00:55.830] { [18:00:55.830] { [18:00:55.830] base::local({ [18:00:55.830] has_future <- base::requireNamespace("future", [18:00:55.830] quietly = TRUE) [18:00:55.830] if (has_future) { [18:00:55.830] ns <- base::getNamespace("future") [18:00:55.830] version <- ns[[".package"]][["version"]] [18:00:55.830] if (is.null(version)) [18:00:55.830] version <- utils::packageVersion("future") [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] version <- NULL [18:00:55.830] } [18:00:55.830] if (!has_future || version < "1.8.0") { [18:00:55.830] info <- base::c(r_version = base::gsub("R version ", [18:00:55.830] "", base::R.version$version.string), [18:00:55.830] platform = base::sprintf("%s (%s-bit)", [18:00:55.830] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:55.830] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:55.830] "release", "version")], collapse = " "), [18:00:55.830] hostname = base::Sys.info()[["nodename"]]) [18:00:55.830] info <- base::sprintf("%s: %s", base::names(info), [18:00:55.830] info) [18:00:55.830] info <- base::paste(info, collapse = "; ") [18:00:55.830] if (!has_future) { [18:00:55.830] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:55.830] info) [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:55.830] info, version) [18:00:55.830] } [18:00:55.830] base::stop(msg) [18:00:55.830] } [18:00:55.830] }) [18:00:55.830] } [18:00:55.830] ...future.mc.cores.old <- base::getOption("mc.cores") [18:00:55.830] base::options(mc.cores = 1L) [18:00:55.830] } [18:00:55.830] options(future.plan = NULL) [18:00:55.830] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.830] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:55.830] } [18:00:55.830] ...future.workdir <- getwd() [18:00:55.830] } [18:00:55.830] ...future.oldOptions <- base::as.list(base::.Options) [18:00:55.830] ...future.oldEnvVars <- base::Sys.getenv() [18:00:55.830] } [18:00:55.830] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:55.830] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:55.830] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:55.830] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:55.830] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:55.830] future.stdout.windows.reencode = NULL, width = 80L) [18:00:55.830] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:55.830] base::names(...future.oldOptions)) [18:00:55.830] } [18:00:55.830] if (FALSE) { [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] if (TRUE) { [18:00:55.830] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:55.830] open = "w") [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:55.830] windows = "NUL", "/dev/null"), open = "w") [18:00:55.830] } [18:00:55.830] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:55.830] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:55.830] base::sink(type = "output", split = FALSE) [18:00:55.830] base::close(...future.stdout) [18:00:55.830] }, add = TRUE) [18:00:55.830] } [18:00:55.830] ...future.frame <- base::sys.nframe() [18:00:55.830] ...future.conditions <- base::list() [18:00:55.830] ...future.rng <- base::globalenv()$.Random.seed [18:00:55.830] if (FALSE) { [18:00:55.830] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:55.830] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:55.830] } [18:00:55.830] ...future.result <- base::tryCatch({ [18:00:55.830] base::withCallingHandlers({ [18:00:55.830] ...future.value <- base::withVisible(base::local({ [18:00:55.830] ...future.makeSendCondition <- local({ [18:00:55.830] sendCondition <- NULL [18:00:55.830] function(frame = 1L) { [18:00:55.830] if (is.function(sendCondition)) [18:00:55.830] return(sendCondition) [18:00:55.830] ns <- getNamespace("parallel") [18:00:55.830] if (exists("sendData", mode = "function", [18:00:55.830] envir = ns)) { [18:00:55.830] parallel_sendData <- get("sendData", mode = "function", [18:00:55.830] envir = ns) [18:00:55.830] envir <- sys.frame(frame) [18:00:55.830] master <- NULL [18:00:55.830] while (!identical(envir, .GlobalEnv) && [18:00:55.830] !identical(envir, emptyenv())) { [18:00:55.830] if (exists("master", mode = "list", envir = envir, [18:00:55.830] inherits = FALSE)) { [18:00:55.830] master <- get("master", mode = "list", [18:00:55.830] envir = envir, inherits = FALSE) [18:00:55.830] if (inherits(master, c("SOCKnode", [18:00:55.830] "SOCK0node"))) { [18:00:55.830] sendCondition <<- function(cond) { [18:00:55.830] data <- list(type = "VALUE", value = cond, [18:00:55.830] success = TRUE) [18:00:55.830] parallel_sendData(master, data) [18:00:55.830] } [18:00:55.830] return(sendCondition) [18:00:55.830] } [18:00:55.830] } [18:00:55.830] frame <- frame + 1L [18:00:55.830] envir <- sys.frame(frame) [18:00:55.830] } [18:00:55.830] } [18:00:55.830] sendCondition <<- function(cond) NULL [18:00:55.830] } [18:00:55.830] }) [18:00:55.830] withCallingHandlers({ [18:00:55.830] { [18:00:55.830] 42L [18:00:55.830] } [18:00:55.830] }, immediateCondition = function(cond) { [18:00:55.830] sendCondition <- ...future.makeSendCondition() [18:00:55.830] sendCondition(cond) [18:00:55.830] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.830] { [18:00:55.830] inherits <- base::inherits [18:00:55.830] invokeRestart <- base::invokeRestart [18:00:55.830] is.null <- base::is.null [18:00:55.830] muffled <- FALSE [18:00:55.830] if (inherits(cond, "message")) { [18:00:55.830] muffled <- grepl(pattern, "muffleMessage") [18:00:55.830] if (muffled) [18:00:55.830] invokeRestart("muffleMessage") [18:00:55.830] } [18:00:55.830] else if (inherits(cond, "warning")) { [18:00:55.830] muffled <- grepl(pattern, "muffleWarning") [18:00:55.830] if (muffled) [18:00:55.830] invokeRestart("muffleWarning") [18:00:55.830] } [18:00:55.830] else if (inherits(cond, "condition")) { [18:00:55.830] if (!is.null(pattern)) { [18:00:55.830] computeRestarts <- base::computeRestarts [18:00:55.830] grepl <- base::grepl [18:00:55.830] restarts <- computeRestarts(cond) [18:00:55.830] for (restart in restarts) { [18:00:55.830] name <- restart$name [18:00:55.830] if (is.null(name)) [18:00:55.830] next [18:00:55.830] if (!grepl(pattern, name)) [18:00:55.830] next [18:00:55.830] invokeRestart(restart) [18:00:55.830] muffled <- TRUE [18:00:55.830] break [18:00:55.830] } [18:00:55.830] } [18:00:55.830] } [18:00:55.830] invisible(muffled) [18:00:55.830] } [18:00:55.830] muffleCondition(cond) [18:00:55.830] }) [18:00:55.830] })) [18:00:55.830] future::FutureResult(value = ...future.value$value, [18:00:55.830] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.830] ...future.rng), globalenv = if (FALSE) [18:00:55.830] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:55.830] ...future.globalenv.names)) [18:00:55.830] else NULL, started = ...future.startTime, version = "1.8") [18:00:55.830] }, condition = base::local({ [18:00:55.830] c <- base::c [18:00:55.830] inherits <- base::inherits [18:00:55.830] invokeRestart <- base::invokeRestart [18:00:55.830] length <- base::length [18:00:55.830] list <- base::list [18:00:55.830] seq.int <- base::seq.int [18:00:55.830] signalCondition <- base::signalCondition [18:00:55.830] sys.calls <- base::sys.calls [18:00:55.830] `[[` <- base::`[[` [18:00:55.830] `+` <- base::`+` [18:00:55.830] `<<-` <- base::`<<-` [18:00:55.830] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:55.830] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:55.830] 3L)] [18:00:55.830] } [18:00:55.830] function(cond) { [18:00:55.830] is_error <- inherits(cond, "error") [18:00:55.830] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:55.830] NULL) [18:00:55.830] if (is_error) { [18:00:55.830] sessionInformation <- function() { [18:00:55.830] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:55.830] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:55.830] search = base::search(), system = base::Sys.info()) [18:00:55.830] } [18:00:55.830] ...future.conditions[[length(...future.conditions) + [18:00:55.830] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:55.830] cond$call), session = sessionInformation(), [18:00:55.830] timestamp = base::Sys.time(), signaled = 0L) [18:00:55.830] signalCondition(cond) [18:00:55.830] } [18:00:55.830] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:55.830] "immediateCondition"))) { [18:00:55.830] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:55.830] ...future.conditions[[length(...future.conditions) + [18:00:55.830] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:55.830] if (TRUE && !signal) { [18:00:55.830] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.830] { [18:00:55.830] inherits <- base::inherits [18:00:55.830] invokeRestart <- base::invokeRestart [18:00:55.830] is.null <- base::is.null [18:00:55.830] muffled <- FALSE [18:00:55.830] if (inherits(cond, "message")) { [18:00:55.830] muffled <- grepl(pattern, "muffleMessage") [18:00:55.830] if (muffled) [18:00:55.830] invokeRestart("muffleMessage") [18:00:55.830] } [18:00:55.830] else if (inherits(cond, "warning")) { [18:00:55.830] muffled <- grepl(pattern, "muffleWarning") [18:00:55.830] if (muffled) [18:00:55.830] invokeRestart("muffleWarning") [18:00:55.830] } [18:00:55.830] else if (inherits(cond, "condition")) { [18:00:55.830] if (!is.null(pattern)) { [18:00:55.830] computeRestarts <- base::computeRestarts [18:00:55.830] grepl <- base::grepl [18:00:55.830] restarts <- computeRestarts(cond) [18:00:55.830] for (restart in restarts) { [18:00:55.830] name <- restart$name [18:00:55.830] if (is.null(name)) [18:00:55.830] next [18:00:55.830] if (!grepl(pattern, name)) [18:00:55.830] next [18:00:55.830] invokeRestart(restart) [18:00:55.830] muffled <- TRUE [18:00:55.830] break [18:00:55.830] } [18:00:55.830] } [18:00:55.830] } [18:00:55.830] invisible(muffled) [18:00:55.830] } [18:00:55.830] muffleCondition(cond, pattern = "^muffle") [18:00:55.830] } [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] if (TRUE) { [18:00:55.830] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.830] { [18:00:55.830] inherits <- base::inherits [18:00:55.830] invokeRestart <- base::invokeRestart [18:00:55.830] is.null <- base::is.null [18:00:55.830] muffled <- FALSE [18:00:55.830] if (inherits(cond, "message")) { [18:00:55.830] muffled <- grepl(pattern, "muffleMessage") [18:00:55.830] if (muffled) [18:00:55.830] invokeRestart("muffleMessage") [18:00:55.830] } [18:00:55.830] else if (inherits(cond, "warning")) { [18:00:55.830] muffled <- grepl(pattern, "muffleWarning") [18:00:55.830] if (muffled) [18:00:55.830] invokeRestart("muffleWarning") [18:00:55.830] } [18:00:55.830] else if (inherits(cond, "condition")) { [18:00:55.830] if (!is.null(pattern)) { [18:00:55.830] computeRestarts <- base::computeRestarts [18:00:55.830] grepl <- base::grepl [18:00:55.830] restarts <- computeRestarts(cond) [18:00:55.830] for (restart in restarts) { [18:00:55.830] name <- restart$name [18:00:55.830] if (is.null(name)) [18:00:55.830] next [18:00:55.830] if (!grepl(pattern, name)) [18:00:55.830] next [18:00:55.830] invokeRestart(restart) [18:00:55.830] muffled <- TRUE [18:00:55.830] break [18:00:55.830] } [18:00:55.830] } [18:00:55.830] } [18:00:55.830] invisible(muffled) [18:00:55.830] } [18:00:55.830] muffleCondition(cond, pattern = "^muffle") [18:00:55.830] } [18:00:55.830] } [18:00:55.830] } [18:00:55.830] })) [18:00:55.830] }, error = function(ex) { [18:00:55.830] base::structure(base::list(value = NULL, visible = NULL, [18:00:55.830] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.830] ...future.rng), started = ...future.startTime, [18:00:55.830] finished = Sys.time(), session_uuid = NA_character_, [18:00:55.830] version = "1.8"), class = "FutureResult") [18:00:55.830] }, finally = { [18:00:55.830] if (!identical(...future.workdir, getwd())) [18:00:55.830] setwd(...future.workdir) [18:00:55.830] { [18:00:55.830] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:55.830] ...future.oldOptions$nwarnings <- NULL [18:00:55.830] } [18:00:55.830] base::options(...future.oldOptions) [18:00:55.830] if (.Platform$OS.type == "windows") { [18:00:55.830] old_names <- names(...future.oldEnvVars) [18:00:55.830] envs <- base::Sys.getenv() [18:00:55.830] names <- names(envs) [18:00:55.830] common <- intersect(names, old_names) [18:00:55.830] added <- setdiff(names, old_names) [18:00:55.830] removed <- setdiff(old_names, names) [18:00:55.830] changed <- common[...future.oldEnvVars[common] != [18:00:55.830] envs[common]] [18:00:55.830] NAMES <- toupper(changed) [18:00:55.830] args <- list() [18:00:55.830] for (kk in seq_along(NAMES)) { [18:00:55.830] name <- changed[[kk]] [18:00:55.830] NAME <- NAMES[[kk]] [18:00:55.830] if (name != NAME && is.element(NAME, old_names)) [18:00:55.830] next [18:00:55.830] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.830] } [18:00:55.830] NAMES <- toupper(added) [18:00:55.830] for (kk in seq_along(NAMES)) { [18:00:55.830] name <- added[[kk]] [18:00:55.830] NAME <- NAMES[[kk]] [18:00:55.830] if (name != NAME && is.element(NAME, old_names)) [18:00:55.830] next [18:00:55.830] args[[name]] <- "" [18:00:55.830] } [18:00:55.830] NAMES <- toupper(removed) [18:00:55.830] for (kk in seq_along(NAMES)) { [18:00:55.830] name <- removed[[kk]] [18:00:55.830] NAME <- NAMES[[kk]] [18:00:55.830] if (name != NAME && is.element(NAME, old_names)) [18:00:55.830] next [18:00:55.830] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.830] } [18:00:55.830] if (length(args) > 0) [18:00:55.830] base::do.call(base::Sys.setenv, args = args) [18:00:55.830] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:55.830] } [18:00:55.830] { [18:00:55.830] if (base::length(...future.futureOptionsAdded) > [18:00:55.830] 0L) { [18:00:55.830] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:55.830] base::names(opts) <- ...future.futureOptionsAdded [18:00:55.830] base::options(opts) [18:00:55.830] } [18:00:55.830] { [18:00:55.830] { [18:00:55.830] base::options(mc.cores = ...future.mc.cores.old) [18:00:55.830] NULL [18:00:55.830] } [18:00:55.830] options(future.plan = NULL) [18:00:55.830] if (is.na(NA_character_)) [18:00:55.830] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.830] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:55.830] future::plan(list(function (...) [18:00:55.830] { [18:00:55.830] Future(1) [18:00:55.830] }), .cleanup = FALSE, .init = FALSE) [18:00:55.830] } [18:00:55.830] } [18:00:55.830] } [18:00:55.830] }) [18:00:55.830] if (TRUE) { [18:00:55.830] base::sink(type = "output", split = FALSE) [18:00:55.830] if (TRUE) { [18:00:55.830] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:55.830] } [18:00:55.830] else { [18:00:55.830] ...future.result["stdout"] <- base::list(NULL) [18:00:55.830] } [18:00:55.830] base::close(...future.stdout) [18:00:55.830] ...future.stdout <- NULL [18:00:55.830] } [18:00:55.830] ...future.result$conditions <- ...future.conditions [18:00:55.830] ...future.result$finished <- base::Sys.time() [18:00:55.830] ...future.result [18:00:55.830] } [18:00:55.912] MultisessionFuture started [18:00:55.912] result() for ClusterFuture ... [18:00:55.913] receiveMessageFromWorker() for ClusterFuture ... [18:00:55.913] - Validating connection of MultisessionFuture [18:00:55.966] - received message: FutureResult [18:00:55.966] - Received FutureResult [18:00:55.970] - Erased future from FutureRegistry [18:00:55.970] result() for ClusterFuture ... [18:00:55.970] - result already collected: FutureResult [18:00:55.970] result() for ClusterFuture ... done [18:00:55.970] receiveMessageFromWorker() for ClusterFuture ... done [18:00:55.971] result() for ClusterFuture ... done [18:00:55.971] result() for ClusterFuture ... [18:00:55.971] - result already collected: FutureResult [18:00:55.971] result() for ClusterFuture ... done [1] 42 [18:00:55.973] getGlobalsAndPackages() ... [18:00:55.973] [18:00:55.973] - globals: [0] [18:00:55.973] getGlobalsAndPackages() ... DONE [18:00:55.985] Packages needed by the future expression (n = 0): [18:00:55.986] Packages needed by future strategies (n = 0): [18:00:55.986] { [18:00:55.986] { [18:00:55.986] { [18:00:55.986] ...future.startTime <- base::Sys.time() [18:00:55.986] { [18:00:55.986] { [18:00:55.986] { [18:00:55.986] { [18:00:55.986] base::local({ [18:00:55.986] has_future <- base::requireNamespace("future", [18:00:55.986] quietly = TRUE) [18:00:55.986] if (has_future) { [18:00:55.986] ns <- base::getNamespace("future") [18:00:55.986] version <- ns[[".package"]][["version"]] [18:00:55.986] if (is.null(version)) [18:00:55.986] version <- utils::packageVersion("future") [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] version <- NULL [18:00:55.986] } [18:00:55.986] if (!has_future || version < "1.8.0") { [18:00:55.986] info <- base::c(r_version = base::gsub("R version ", [18:00:55.986] "", base::R.version$version.string), [18:00:55.986] platform = base::sprintf("%s (%s-bit)", [18:00:55.986] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:55.986] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:55.986] "release", "version")], collapse = " "), [18:00:55.986] hostname = base::Sys.info()[["nodename"]]) [18:00:55.986] info <- base::sprintf("%s: %s", base::names(info), [18:00:55.986] info) [18:00:55.986] info <- base::paste(info, collapse = "; ") [18:00:55.986] if (!has_future) { [18:00:55.986] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:55.986] info) [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:55.986] info, version) [18:00:55.986] } [18:00:55.986] base::stop(msg) [18:00:55.986] } [18:00:55.986] }) [18:00:55.986] } [18:00:55.986] ...future.mc.cores.old <- base::getOption("mc.cores") [18:00:55.986] base::options(mc.cores = 1L) [18:00:55.986] } [18:00:55.986] options(future.plan = NULL) [18:00:55.986] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.986] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:55.986] } [18:00:55.986] ...future.workdir <- getwd() [18:00:55.986] } [18:00:55.986] ...future.oldOptions <- base::as.list(base::.Options) [18:00:55.986] ...future.oldEnvVars <- base::Sys.getenv() [18:00:55.986] } [18:00:55.986] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:55.986] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:55.986] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:55.986] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:55.986] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:55.986] future.stdout.windows.reencode = NULL, width = 80L) [18:00:55.986] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:55.986] base::names(...future.oldOptions)) [18:00:55.986] } [18:00:55.986] if (FALSE) { [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] if (TRUE) { [18:00:55.986] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:55.986] open = "w") [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:55.986] windows = "NUL", "/dev/null"), open = "w") [18:00:55.986] } [18:00:55.986] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:55.986] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:55.986] base::sink(type = "output", split = FALSE) [18:00:55.986] base::close(...future.stdout) [18:00:55.986] }, add = TRUE) [18:00:55.986] } [18:00:55.986] ...future.frame <- base::sys.nframe() [18:00:55.986] ...future.conditions <- base::list() [18:00:55.986] ...future.rng <- base::globalenv()$.Random.seed [18:00:55.986] if (FALSE) { [18:00:55.986] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:55.986] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:55.986] } [18:00:55.986] ...future.result <- base::tryCatch({ [18:00:55.986] base::withCallingHandlers({ [18:00:55.986] ...future.value <- base::withVisible(base::local({ [18:00:55.986] ...future.makeSendCondition <- local({ [18:00:55.986] sendCondition <- NULL [18:00:55.986] function(frame = 1L) { [18:00:55.986] if (is.function(sendCondition)) [18:00:55.986] return(sendCondition) [18:00:55.986] ns <- getNamespace("parallel") [18:00:55.986] if (exists("sendData", mode = "function", [18:00:55.986] envir = ns)) { [18:00:55.986] parallel_sendData <- get("sendData", mode = "function", [18:00:55.986] envir = ns) [18:00:55.986] envir <- sys.frame(frame) [18:00:55.986] master <- NULL [18:00:55.986] while (!identical(envir, .GlobalEnv) && [18:00:55.986] !identical(envir, emptyenv())) { [18:00:55.986] if (exists("master", mode = "list", envir = envir, [18:00:55.986] inherits = FALSE)) { [18:00:55.986] master <- get("master", mode = "list", [18:00:55.986] envir = envir, inherits = FALSE) [18:00:55.986] if (inherits(master, c("SOCKnode", [18:00:55.986] "SOCK0node"))) { [18:00:55.986] sendCondition <<- function(cond) { [18:00:55.986] data <- list(type = "VALUE", value = cond, [18:00:55.986] success = TRUE) [18:00:55.986] parallel_sendData(master, data) [18:00:55.986] } [18:00:55.986] return(sendCondition) [18:00:55.986] } [18:00:55.986] } [18:00:55.986] frame <- frame + 1L [18:00:55.986] envir <- sys.frame(frame) [18:00:55.986] } [18:00:55.986] } [18:00:55.986] sendCondition <<- function(cond) NULL [18:00:55.986] } [18:00:55.986] }) [18:00:55.986] withCallingHandlers({ [18:00:55.986] { [18:00:55.986] 42L [18:00:55.986] } [18:00:55.986] }, immediateCondition = function(cond) { [18:00:55.986] sendCondition <- ...future.makeSendCondition() [18:00:55.986] sendCondition(cond) [18:00:55.986] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.986] { [18:00:55.986] inherits <- base::inherits [18:00:55.986] invokeRestart <- base::invokeRestart [18:00:55.986] is.null <- base::is.null [18:00:55.986] muffled <- FALSE [18:00:55.986] if (inherits(cond, "message")) { [18:00:55.986] muffled <- grepl(pattern, "muffleMessage") [18:00:55.986] if (muffled) [18:00:55.986] invokeRestart("muffleMessage") [18:00:55.986] } [18:00:55.986] else if (inherits(cond, "warning")) { [18:00:55.986] muffled <- grepl(pattern, "muffleWarning") [18:00:55.986] if (muffled) [18:00:55.986] invokeRestart("muffleWarning") [18:00:55.986] } [18:00:55.986] else if (inherits(cond, "condition")) { [18:00:55.986] if (!is.null(pattern)) { [18:00:55.986] computeRestarts <- base::computeRestarts [18:00:55.986] grepl <- base::grepl [18:00:55.986] restarts <- computeRestarts(cond) [18:00:55.986] for (restart in restarts) { [18:00:55.986] name <- restart$name [18:00:55.986] if (is.null(name)) [18:00:55.986] next [18:00:55.986] if (!grepl(pattern, name)) [18:00:55.986] next [18:00:55.986] invokeRestart(restart) [18:00:55.986] muffled <- TRUE [18:00:55.986] break [18:00:55.986] } [18:00:55.986] } [18:00:55.986] } [18:00:55.986] invisible(muffled) [18:00:55.986] } [18:00:55.986] muffleCondition(cond) [18:00:55.986] }) [18:00:55.986] })) [18:00:55.986] future::FutureResult(value = ...future.value$value, [18:00:55.986] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.986] ...future.rng), globalenv = if (FALSE) [18:00:55.986] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:55.986] ...future.globalenv.names)) [18:00:55.986] else NULL, started = ...future.startTime, version = "1.8") [18:00:55.986] }, condition = base::local({ [18:00:55.986] c <- base::c [18:00:55.986] inherits <- base::inherits [18:00:55.986] invokeRestart <- base::invokeRestart [18:00:55.986] length <- base::length [18:00:55.986] list <- base::list [18:00:55.986] seq.int <- base::seq.int [18:00:55.986] signalCondition <- base::signalCondition [18:00:55.986] sys.calls <- base::sys.calls [18:00:55.986] `[[` <- base::`[[` [18:00:55.986] `+` <- base::`+` [18:00:55.986] `<<-` <- base::`<<-` [18:00:55.986] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:55.986] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:55.986] 3L)] [18:00:55.986] } [18:00:55.986] function(cond) { [18:00:55.986] is_error <- inherits(cond, "error") [18:00:55.986] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:55.986] NULL) [18:00:55.986] if (is_error) { [18:00:55.986] sessionInformation <- function() { [18:00:55.986] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:55.986] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:55.986] search = base::search(), system = base::Sys.info()) [18:00:55.986] } [18:00:55.986] ...future.conditions[[length(...future.conditions) + [18:00:55.986] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:55.986] cond$call), session = sessionInformation(), [18:00:55.986] timestamp = base::Sys.time(), signaled = 0L) [18:00:55.986] signalCondition(cond) [18:00:55.986] } [18:00:55.986] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:55.986] "immediateCondition"))) { [18:00:55.986] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:55.986] ...future.conditions[[length(...future.conditions) + [18:00:55.986] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:55.986] if (TRUE && !signal) { [18:00:55.986] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.986] { [18:00:55.986] inherits <- base::inherits [18:00:55.986] invokeRestart <- base::invokeRestart [18:00:55.986] is.null <- base::is.null [18:00:55.986] muffled <- FALSE [18:00:55.986] if (inherits(cond, "message")) { [18:00:55.986] muffled <- grepl(pattern, "muffleMessage") [18:00:55.986] if (muffled) [18:00:55.986] invokeRestart("muffleMessage") [18:00:55.986] } [18:00:55.986] else if (inherits(cond, "warning")) { [18:00:55.986] muffled <- grepl(pattern, "muffleWarning") [18:00:55.986] if (muffled) [18:00:55.986] invokeRestart("muffleWarning") [18:00:55.986] } [18:00:55.986] else if (inherits(cond, "condition")) { [18:00:55.986] if (!is.null(pattern)) { [18:00:55.986] computeRestarts <- base::computeRestarts [18:00:55.986] grepl <- base::grepl [18:00:55.986] restarts <- computeRestarts(cond) [18:00:55.986] for (restart in restarts) { [18:00:55.986] name <- restart$name [18:00:55.986] if (is.null(name)) [18:00:55.986] next [18:00:55.986] if (!grepl(pattern, name)) [18:00:55.986] next [18:00:55.986] invokeRestart(restart) [18:00:55.986] muffled <- TRUE [18:00:55.986] break [18:00:55.986] } [18:00:55.986] } [18:00:55.986] } [18:00:55.986] invisible(muffled) [18:00:55.986] } [18:00:55.986] muffleCondition(cond, pattern = "^muffle") [18:00:55.986] } [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] if (TRUE) { [18:00:55.986] muffleCondition <- function (cond, pattern = "^muffle") [18:00:55.986] { [18:00:55.986] inherits <- base::inherits [18:00:55.986] invokeRestart <- base::invokeRestart [18:00:55.986] is.null <- base::is.null [18:00:55.986] muffled <- FALSE [18:00:55.986] if (inherits(cond, "message")) { [18:00:55.986] muffled <- grepl(pattern, "muffleMessage") [18:00:55.986] if (muffled) [18:00:55.986] invokeRestart("muffleMessage") [18:00:55.986] } [18:00:55.986] else if (inherits(cond, "warning")) { [18:00:55.986] muffled <- grepl(pattern, "muffleWarning") [18:00:55.986] if (muffled) [18:00:55.986] invokeRestart("muffleWarning") [18:00:55.986] } [18:00:55.986] else if (inherits(cond, "condition")) { [18:00:55.986] if (!is.null(pattern)) { [18:00:55.986] computeRestarts <- base::computeRestarts [18:00:55.986] grepl <- base::grepl [18:00:55.986] restarts <- computeRestarts(cond) [18:00:55.986] for (restart in restarts) { [18:00:55.986] name <- restart$name [18:00:55.986] if (is.null(name)) [18:00:55.986] next [18:00:55.986] if (!grepl(pattern, name)) [18:00:55.986] next [18:00:55.986] invokeRestart(restart) [18:00:55.986] muffled <- TRUE [18:00:55.986] break [18:00:55.986] } [18:00:55.986] } [18:00:55.986] } [18:00:55.986] invisible(muffled) [18:00:55.986] } [18:00:55.986] muffleCondition(cond, pattern = "^muffle") [18:00:55.986] } [18:00:55.986] } [18:00:55.986] } [18:00:55.986] })) [18:00:55.986] }, error = function(ex) { [18:00:55.986] base::structure(base::list(value = NULL, visible = NULL, [18:00:55.986] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:55.986] ...future.rng), started = ...future.startTime, [18:00:55.986] finished = Sys.time(), session_uuid = NA_character_, [18:00:55.986] version = "1.8"), class = "FutureResult") [18:00:55.986] }, finally = { [18:00:55.986] if (!identical(...future.workdir, getwd())) [18:00:55.986] setwd(...future.workdir) [18:00:55.986] { [18:00:55.986] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:55.986] ...future.oldOptions$nwarnings <- NULL [18:00:55.986] } [18:00:55.986] base::options(...future.oldOptions) [18:00:55.986] if (.Platform$OS.type == "windows") { [18:00:55.986] old_names <- names(...future.oldEnvVars) [18:00:55.986] envs <- base::Sys.getenv() [18:00:55.986] names <- names(envs) [18:00:55.986] common <- intersect(names, old_names) [18:00:55.986] added <- setdiff(names, old_names) [18:00:55.986] removed <- setdiff(old_names, names) [18:00:55.986] changed <- common[...future.oldEnvVars[common] != [18:00:55.986] envs[common]] [18:00:55.986] NAMES <- toupper(changed) [18:00:55.986] args <- list() [18:00:55.986] for (kk in seq_along(NAMES)) { [18:00:55.986] name <- changed[[kk]] [18:00:55.986] NAME <- NAMES[[kk]] [18:00:55.986] if (name != NAME && is.element(NAME, old_names)) [18:00:55.986] next [18:00:55.986] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.986] } [18:00:55.986] NAMES <- toupper(added) [18:00:55.986] for (kk in seq_along(NAMES)) { [18:00:55.986] name <- added[[kk]] [18:00:55.986] NAME <- NAMES[[kk]] [18:00:55.986] if (name != NAME && is.element(NAME, old_names)) [18:00:55.986] next [18:00:55.986] args[[name]] <- "" [18:00:55.986] } [18:00:55.986] NAMES <- toupper(removed) [18:00:55.986] for (kk in seq_along(NAMES)) { [18:00:55.986] name <- removed[[kk]] [18:00:55.986] NAME <- NAMES[[kk]] [18:00:55.986] if (name != NAME && is.element(NAME, old_names)) [18:00:55.986] next [18:00:55.986] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:55.986] } [18:00:55.986] if (length(args) > 0) [18:00:55.986] base::do.call(base::Sys.setenv, args = args) [18:00:55.986] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:55.986] } [18:00:55.986] { [18:00:55.986] if (base::length(...future.futureOptionsAdded) > [18:00:55.986] 0L) { [18:00:55.986] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:55.986] base::names(opts) <- ...future.futureOptionsAdded [18:00:55.986] base::options(opts) [18:00:55.986] } [18:00:55.986] { [18:00:55.986] { [18:00:55.986] base::options(mc.cores = ...future.mc.cores.old) [18:00:55.986] NULL [18:00:55.986] } [18:00:55.986] options(future.plan = NULL) [18:00:55.986] if (is.na(NA_character_)) [18:00:55.986] Sys.unsetenv("R_FUTURE_PLAN") [18:00:55.986] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:55.986] future::plan(list(function (...) [18:00:55.986] { [18:00:55.986] Future(1) [18:00:55.986] }), .cleanup = FALSE, .init = FALSE) [18:00:55.986] } [18:00:55.986] } [18:00:55.986] } [18:00:55.986] }) [18:00:55.986] if (TRUE) { [18:00:55.986] base::sink(type = "output", split = FALSE) [18:00:55.986] if (TRUE) { [18:00:55.986] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:55.986] } [18:00:55.986] else { [18:00:55.986] ...future.result["stdout"] <- base::list(NULL) [18:00:55.986] } [18:00:55.986] base::close(...future.stdout) [18:00:55.986] ...future.stdout <- NULL [18:00:55.986] } [18:00:55.986] ...future.result$conditions <- ...future.conditions [18:00:55.986] ...future.result$finished <- base::Sys.time() [18:00:55.986] ...future.result [18:00:55.986] } [18:00:55.992] MultisessionFuture started [18:00:55.992] result() for ClusterFuture ... [18:00:55.992] receiveMessageFromWorker() for ClusterFuture ... [18:00:55.993] - Validating connection of MultisessionFuture [18:00:56.007] - received message: FutureResult [18:00:56.007] - Received FutureResult [18:00:56.008] - Erased future from FutureRegistry [18:00:56.008] result() for ClusterFuture ... [18:00:56.008] - result already collected: FutureResult [18:00:56.008] result() for ClusterFuture ... done [18:00:56.008] receiveMessageFromWorker() for ClusterFuture ... done [18:00:56.009] result() for ClusterFuture ... done [18:00:56.009] result() for ClusterFuture ... [18:00:56.009] - result already collected: FutureResult [18:00:56.009] result() for ClusterFuture ... done [1] 42 [18:00:56.009] getGlobalsAndPackages() ... [18:00:56.010] Searching for globals... [18:00:56.011] - globals found: [1] '{' [18:00:56.011] Searching for globals ... DONE [18:00:56.011] Resolving globals: FALSE [18:00:56.012] [18:00:56.012] [18:00:56.012] getGlobalsAndPackages() ... DONE SequentialFuture: Label: '' Expression: { 42L } Lazy evaluation: FALSE Asynchronous evaluation: FALSE Local evaluation: TRUE Environment: R_GlobalEnv Capture standard output: TRUE Capture condition classes: 'condition' (excluding 'nothing') Globals: Packages: L'Ecuyer-CMRG RNG seed: (seed = FALSE) Resolved: FALSE Value: Conditions captured: Early signaling: FALSE Owner process: 97062dac-0aca-6709-451b-785afd987bc5 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:56.013] Packages needed by the future expression (n = 0): [18:00:56.013] Packages needed by future strategies (n = 0): [18:00:56.014] { [18:00:56.014] { [18:00:56.014] { [18:00:56.014] ...future.startTime <- base::Sys.time() [18:00:56.014] { [18:00:56.014] { [18:00:56.014] { [18:00:56.014] base::local({ [18:00:56.014] has_future <- base::requireNamespace("future", [18:00:56.014] quietly = TRUE) [18:00:56.014] if (has_future) { [18:00:56.014] ns <- base::getNamespace("future") [18:00:56.014] version <- ns[[".package"]][["version"]] [18:00:56.014] if (is.null(version)) [18:00:56.014] version <- utils::packageVersion("future") [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] version <- NULL [18:00:56.014] } [18:00:56.014] if (!has_future || version < "1.8.0") { [18:00:56.014] info <- base::c(r_version = base::gsub("R version ", [18:00:56.014] "", base::R.version$version.string), [18:00:56.014] platform = base::sprintf("%s (%s-bit)", [18:00:56.014] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:56.014] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:56.014] "release", "version")], collapse = " "), [18:00:56.014] hostname = base::Sys.info()[["nodename"]]) [18:00:56.014] info <- base::sprintf("%s: %s", base::names(info), [18:00:56.014] info) [18:00:56.014] info <- base::paste(info, collapse = "; ") [18:00:56.014] if (!has_future) { [18:00:56.014] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:56.014] info) [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:56.014] info, version) [18:00:56.014] } [18:00:56.014] base::stop(msg) [18:00:56.014] } [18:00:56.014] }) [18:00:56.014] } [18:00:56.014] options(future.plan = NULL) [18:00:56.014] Sys.unsetenv("R_FUTURE_PLAN") [18:00:56.014] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:56.014] } [18:00:56.014] ...future.workdir <- getwd() [18:00:56.014] } [18:00:56.014] ...future.oldOptions <- base::as.list(base::.Options) [18:00:56.014] ...future.oldEnvVars <- base::Sys.getenv() [18:00:56.014] } [18:00:56.014] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:56.014] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:56.014] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:56.014] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:56.014] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:56.014] future.stdout.windows.reencode = NULL, width = 80L) [18:00:56.014] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:56.014] base::names(...future.oldOptions)) [18:00:56.014] } [18:00:56.014] if (FALSE) { [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] if (TRUE) { [18:00:56.014] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:56.014] open = "w") [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:56.014] windows = "NUL", "/dev/null"), open = "w") [18:00:56.014] } [18:00:56.014] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:56.014] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:56.014] base::sink(type = "output", split = FALSE) [18:00:56.014] base::close(...future.stdout) [18:00:56.014] }, add = TRUE) [18:00:56.014] } [18:00:56.014] ...future.frame <- base::sys.nframe() [18:00:56.014] ...future.conditions <- base::list() [18:00:56.014] ...future.rng <- base::globalenv()$.Random.seed [18:00:56.014] if (FALSE) { [18:00:56.014] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:56.014] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:56.014] } [18:00:56.014] ...future.result <- base::tryCatch({ [18:00:56.014] base::withCallingHandlers({ [18:00:56.014] ...future.value <- base::withVisible(base::local({ [18:00:56.014] 42L [18:00:56.014] })) [18:00:56.014] future::FutureResult(value = ...future.value$value, [18:00:56.014] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:56.014] ...future.rng), globalenv = if (FALSE) [18:00:56.014] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:56.014] ...future.globalenv.names)) [18:00:56.014] else NULL, started = ...future.startTime, version = "1.8") [18:00:56.014] }, condition = base::local({ [18:00:56.014] c <- base::c [18:00:56.014] inherits <- base::inherits [18:00:56.014] invokeRestart <- base::invokeRestart [18:00:56.014] length <- base::length [18:00:56.014] list <- base::list [18:00:56.014] seq.int <- base::seq.int [18:00:56.014] signalCondition <- base::signalCondition [18:00:56.014] sys.calls <- base::sys.calls [18:00:56.014] `[[` <- base::`[[` [18:00:56.014] `+` <- base::`+` [18:00:56.014] `<<-` <- base::`<<-` [18:00:56.014] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:56.014] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:56.014] 3L)] [18:00:56.014] } [18:00:56.014] function(cond) { [18:00:56.014] is_error <- inherits(cond, "error") [18:00:56.014] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:56.014] NULL) [18:00:56.014] if (is_error) { [18:00:56.014] sessionInformation <- function() { [18:00:56.014] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:56.014] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:56.014] search = base::search(), system = base::Sys.info()) [18:00:56.014] } [18:00:56.014] ...future.conditions[[length(...future.conditions) + [18:00:56.014] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:56.014] cond$call), session = sessionInformation(), [18:00:56.014] timestamp = base::Sys.time(), signaled = 0L) [18:00:56.014] signalCondition(cond) [18:00:56.014] } [18:00:56.014] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:56.014] "immediateCondition"))) { [18:00:56.014] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:56.014] ...future.conditions[[length(...future.conditions) + [18:00:56.014] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:56.014] if (TRUE && !signal) { [18:00:56.014] muffleCondition <- function (cond, pattern = "^muffle") [18:00:56.014] { [18:00:56.014] inherits <- base::inherits [18:00:56.014] invokeRestart <- base::invokeRestart [18:00:56.014] is.null <- base::is.null [18:00:56.014] muffled <- FALSE [18:00:56.014] if (inherits(cond, "message")) { [18:00:56.014] muffled <- grepl(pattern, "muffleMessage") [18:00:56.014] if (muffled) [18:00:56.014] invokeRestart("muffleMessage") [18:00:56.014] } [18:00:56.014] else if (inherits(cond, "warning")) { [18:00:56.014] muffled <- grepl(pattern, "muffleWarning") [18:00:56.014] if (muffled) [18:00:56.014] invokeRestart("muffleWarning") [18:00:56.014] } [18:00:56.014] else if (inherits(cond, "condition")) { [18:00:56.014] if (!is.null(pattern)) { [18:00:56.014] computeRestarts <- base::computeRestarts [18:00:56.014] grepl <- base::grepl [18:00:56.014] restarts <- computeRestarts(cond) [18:00:56.014] for (restart in restarts) { [18:00:56.014] name <- restart$name [18:00:56.014] if (is.null(name)) [18:00:56.014] next [18:00:56.014] if (!grepl(pattern, name)) [18:00:56.014] next [18:00:56.014] invokeRestart(restart) [18:00:56.014] muffled <- TRUE [18:00:56.014] break [18:00:56.014] } [18:00:56.014] } [18:00:56.014] } [18:00:56.014] invisible(muffled) [18:00:56.014] } [18:00:56.014] muffleCondition(cond, pattern = "^muffle") [18:00:56.014] } [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] if (TRUE) { [18:00:56.014] muffleCondition <- function (cond, pattern = "^muffle") [18:00:56.014] { [18:00:56.014] inherits <- base::inherits [18:00:56.014] invokeRestart <- base::invokeRestart [18:00:56.014] is.null <- base::is.null [18:00:56.014] muffled <- FALSE [18:00:56.014] if (inherits(cond, "message")) { [18:00:56.014] muffled <- grepl(pattern, "muffleMessage") [18:00:56.014] if (muffled) [18:00:56.014] invokeRestart("muffleMessage") [18:00:56.014] } [18:00:56.014] else if (inherits(cond, "warning")) { [18:00:56.014] muffled <- grepl(pattern, "muffleWarning") [18:00:56.014] if (muffled) [18:00:56.014] invokeRestart("muffleWarning") [18:00:56.014] } [18:00:56.014] else if (inherits(cond, "condition")) { [18:00:56.014] if (!is.null(pattern)) { [18:00:56.014] computeRestarts <- base::computeRestarts [18:00:56.014] grepl <- base::grepl [18:00:56.014] restarts <- computeRestarts(cond) [18:00:56.014] for (restart in restarts) { [18:00:56.014] name <- restart$name [18:00:56.014] if (is.null(name)) [18:00:56.014] next [18:00:56.014] if (!grepl(pattern, name)) [18:00:56.014] next [18:00:56.014] invokeRestart(restart) [18:00:56.014] muffled <- TRUE [18:00:56.014] break [18:00:56.014] } [18:00:56.014] } [18:00:56.014] } [18:00:56.014] invisible(muffled) [18:00:56.014] } [18:00:56.014] muffleCondition(cond, pattern = "^muffle") [18:00:56.014] } [18:00:56.014] } [18:00:56.014] } [18:00:56.014] })) [18:00:56.014] }, error = function(ex) { [18:00:56.014] base::structure(base::list(value = NULL, visible = NULL, [18:00:56.014] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:56.014] ...future.rng), started = ...future.startTime, [18:00:56.014] finished = Sys.time(), session_uuid = NA_character_, [18:00:56.014] version = "1.8"), class = "FutureResult") [18:00:56.014] }, finally = { [18:00:56.014] if (!identical(...future.workdir, getwd())) [18:00:56.014] setwd(...future.workdir) [18:00:56.014] { [18:00:56.014] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:56.014] ...future.oldOptions$nwarnings <- NULL [18:00:56.014] } [18:00:56.014] base::options(...future.oldOptions) [18:00:56.014] if (.Platform$OS.type == "windows") { [18:00:56.014] old_names <- names(...future.oldEnvVars) [18:00:56.014] envs <- base::Sys.getenv() [18:00:56.014] names <- names(envs) [18:00:56.014] common <- intersect(names, old_names) [18:00:56.014] added <- setdiff(names, old_names) [18:00:56.014] removed <- setdiff(old_names, names) [18:00:56.014] changed <- common[...future.oldEnvVars[common] != [18:00:56.014] envs[common]] [18:00:56.014] NAMES <- toupper(changed) [18:00:56.014] args <- list() [18:00:56.014] for (kk in seq_along(NAMES)) { [18:00:56.014] name <- changed[[kk]] [18:00:56.014] NAME <- NAMES[[kk]] [18:00:56.014] if (name != NAME && is.element(NAME, old_names)) [18:00:56.014] next [18:00:56.014] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:56.014] } [18:00:56.014] NAMES <- toupper(added) [18:00:56.014] for (kk in seq_along(NAMES)) { [18:00:56.014] name <- added[[kk]] [18:00:56.014] NAME <- NAMES[[kk]] [18:00:56.014] if (name != NAME && is.element(NAME, old_names)) [18:00:56.014] next [18:00:56.014] args[[name]] <- "" [18:00:56.014] } [18:00:56.014] NAMES <- toupper(removed) [18:00:56.014] for (kk in seq_along(NAMES)) { [18:00:56.014] name <- removed[[kk]] [18:00:56.014] NAME <- NAMES[[kk]] [18:00:56.014] if (name != NAME && is.element(NAME, old_names)) [18:00:56.014] next [18:00:56.014] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:56.014] } [18:00:56.014] if (length(args) > 0) [18:00:56.014] base::do.call(base::Sys.setenv, args = args) [18:00:56.014] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:56.014] } [18:00:56.014] { [18:00:56.014] if (base::length(...future.futureOptionsAdded) > [18:00:56.014] 0L) { [18:00:56.014] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:56.014] base::names(opts) <- ...future.futureOptionsAdded [18:00:56.014] base::options(opts) [18:00:56.014] } [18:00:56.014] { [18:00:56.014] { [18:00:56.014] NULL [18:00:56.014] RNGkind("Mersenne-Twister") [18:00:56.014] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:56.014] inherits = FALSE) [18:00:56.014] } [18:00:56.014] options(future.plan = NULL) [18:00:56.014] if (is.na(NA_character_)) [18:00:56.014] Sys.unsetenv("R_FUTURE_PLAN") [18:00:56.014] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:56.014] future::plan(list(function (...) [18:00:56.014] { [18:00:56.014] Future(1) [18:00:56.014] }), .cleanup = FALSE, .init = FALSE) [18:00:56.014] } [18:00:56.014] } [18:00:56.014] } [18:00:56.014] }) [18:00:56.014] if (TRUE) { [18:00:56.014] base::sink(type = "output", split = FALSE) [18:00:56.014] if (TRUE) { [18:00:56.014] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:56.014] } [18:00:56.014] else { [18:00:56.014] ...future.result["stdout"] <- base::list(NULL) [18:00:56.014] } [18:00:56.014] base::close(...future.stdout) [18:00:56.014] ...future.stdout <- NULL [18:00:56.014] } [18:00:56.014] ...future.result$conditions <- ...future.conditions [18:00:56.014] ...future.result$finished <- base::Sys.time() [18:00:56.014] ...future.result [18:00:56.014] } [18:00:56.018] plan(): Setting new future strategy stack: [18:00:56.018] List of future strategies: [18:00:56.018] 1. sequential: [18:00:56.018] - args: function (..., envir = parent.frame()) [18:00:56.018] - tweaked: FALSE [18:00:56.018] - call: NULL [18:00:56.019] plan(): nbrOfWorkers() = 1 [18:00:56.020] plan(): Setting new future strategy stack: [18:00:56.020] List of future strategies: [18:00:56.020] 1. future: [18:00:56.020] - args: function (...) [18:00:56.020] - tweaked: FALSE [18:00:56.020] - call: plan(foo) [18:00:56.021] plan(): nbrOfWorkers() = Inf [18:00:56.021] SequentialFuture started (and completed) [1] 42 [18:00:56.022] getGlobalsAndPackages() ... [18:00:56.022] Searching for globals... [18:00:56.023] - globals found: [1] '{' [18:00:56.023] Searching for globals ... DONE [18:00:56.023] Resolving globals: FALSE [18:00:56.024] [18:00:56.024] [18:00:56.024] getGlobalsAndPackages() ... DONE [18:00:56.025] Packages needed by the future expression (n = 0): [18:00:56.025] Packages needed by future strategies (n = 0): [18:00:56.026] { [18:00:56.026] { [18:00:56.026] { [18:00:56.026] ...future.startTime <- base::Sys.time() [18:00:56.026] { [18:00:56.026] { [18:00:56.026] { [18:00:56.026] base::local({ [18:00:56.026] has_future <- base::requireNamespace("future", [18:00:56.026] quietly = TRUE) [18:00:56.026] if (has_future) { [18:00:56.026] ns <- base::getNamespace("future") [18:00:56.026] version <- ns[[".package"]][["version"]] [18:00:56.026] if (is.null(version)) [18:00:56.026] version <- utils::packageVersion("future") [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] version <- NULL [18:00:56.026] } [18:00:56.026] if (!has_future || version < "1.8.0") { [18:00:56.026] info <- base::c(r_version = base::gsub("R version ", [18:00:56.026] "", base::R.version$version.string), [18:00:56.026] platform = base::sprintf("%s (%s-bit)", [18:00:56.026] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:56.026] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:56.026] "release", "version")], collapse = " "), [18:00:56.026] hostname = base::Sys.info()[["nodename"]]) [18:00:56.026] info <- base::sprintf("%s: %s", base::names(info), [18:00:56.026] info) [18:00:56.026] info <- base::paste(info, collapse = "; ") [18:00:56.026] if (!has_future) { [18:00:56.026] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:56.026] info) [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:56.026] info, version) [18:00:56.026] } [18:00:56.026] base::stop(msg) [18:00:56.026] } [18:00:56.026] }) [18:00:56.026] } [18:00:56.026] options(future.plan = NULL) [18:00:56.026] Sys.unsetenv("R_FUTURE_PLAN") [18:00:56.026] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:56.026] } [18:00:56.026] ...future.workdir <- getwd() [18:00:56.026] } [18:00:56.026] ...future.oldOptions <- base::as.list(base::.Options) [18:00:56.026] ...future.oldEnvVars <- base::Sys.getenv() [18:00:56.026] } [18:00:56.026] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:56.026] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:56.026] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:56.026] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:56.026] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:56.026] future.stdout.windows.reencode = NULL, width = 80L) [18:00:56.026] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:56.026] base::names(...future.oldOptions)) [18:00:56.026] } [18:00:56.026] if (FALSE) { [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] if (TRUE) { [18:00:56.026] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:56.026] open = "w") [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:56.026] windows = "NUL", "/dev/null"), open = "w") [18:00:56.026] } [18:00:56.026] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:56.026] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:56.026] base::sink(type = "output", split = FALSE) [18:00:56.026] base::close(...future.stdout) [18:00:56.026] }, add = TRUE) [18:00:56.026] } [18:00:56.026] ...future.frame <- base::sys.nframe() [18:00:56.026] ...future.conditions <- base::list() [18:00:56.026] ...future.rng <- base::globalenv()$.Random.seed [18:00:56.026] if (FALSE) { [18:00:56.026] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:56.026] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:56.026] } [18:00:56.026] ...future.result <- base::tryCatch({ [18:00:56.026] base::withCallingHandlers({ [18:00:56.026] ...future.value <- base::withVisible(base::local({ [18:00:56.026] 42L [18:00:56.026] })) [18:00:56.026] future::FutureResult(value = ...future.value$value, [18:00:56.026] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:56.026] ...future.rng), globalenv = if (FALSE) [18:00:56.026] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:56.026] ...future.globalenv.names)) [18:00:56.026] else NULL, started = ...future.startTime, version = "1.8") [18:00:56.026] }, condition = base::local({ [18:00:56.026] c <- base::c [18:00:56.026] inherits <- base::inherits [18:00:56.026] invokeRestart <- base::invokeRestart [18:00:56.026] length <- base::length [18:00:56.026] list <- base::list [18:00:56.026] seq.int <- base::seq.int [18:00:56.026] signalCondition <- base::signalCondition [18:00:56.026] sys.calls <- base::sys.calls [18:00:56.026] `[[` <- base::`[[` [18:00:56.026] `+` <- base::`+` [18:00:56.026] `<<-` <- base::`<<-` [18:00:56.026] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:56.026] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:56.026] 3L)] [18:00:56.026] } [18:00:56.026] function(cond) { [18:00:56.026] is_error <- inherits(cond, "error") [18:00:56.026] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:56.026] NULL) [18:00:56.026] if (is_error) { [18:00:56.026] sessionInformation <- function() { [18:00:56.026] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:56.026] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:56.026] search = base::search(), system = base::Sys.info()) [18:00:56.026] } [18:00:56.026] ...future.conditions[[length(...future.conditions) + [18:00:56.026] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:56.026] cond$call), session = sessionInformation(), [18:00:56.026] timestamp = base::Sys.time(), signaled = 0L) [18:00:56.026] signalCondition(cond) [18:00:56.026] } [18:00:56.026] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:56.026] "immediateCondition"))) { [18:00:56.026] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:56.026] ...future.conditions[[length(...future.conditions) + [18:00:56.026] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:56.026] if (TRUE && !signal) { [18:00:56.026] muffleCondition <- function (cond, pattern = "^muffle") [18:00:56.026] { [18:00:56.026] inherits <- base::inherits [18:00:56.026] invokeRestart <- base::invokeRestart [18:00:56.026] is.null <- base::is.null [18:00:56.026] muffled <- FALSE [18:00:56.026] if (inherits(cond, "message")) { [18:00:56.026] muffled <- grepl(pattern, "muffleMessage") [18:00:56.026] if (muffled) [18:00:56.026] invokeRestart("muffleMessage") [18:00:56.026] } [18:00:56.026] else if (inherits(cond, "warning")) { [18:00:56.026] muffled <- grepl(pattern, "muffleWarning") [18:00:56.026] if (muffled) [18:00:56.026] invokeRestart("muffleWarning") [18:00:56.026] } [18:00:56.026] else if (inherits(cond, "condition")) { [18:00:56.026] if (!is.null(pattern)) { [18:00:56.026] computeRestarts <- base::computeRestarts [18:00:56.026] grepl <- base::grepl [18:00:56.026] restarts <- computeRestarts(cond) [18:00:56.026] for (restart in restarts) { [18:00:56.026] name <- restart$name [18:00:56.026] if (is.null(name)) [18:00:56.026] next [18:00:56.026] if (!grepl(pattern, name)) [18:00:56.026] next [18:00:56.026] invokeRestart(restart) [18:00:56.026] muffled <- TRUE [18:00:56.026] break [18:00:56.026] } [18:00:56.026] } [18:00:56.026] } [18:00:56.026] invisible(muffled) [18:00:56.026] } [18:00:56.026] muffleCondition(cond, pattern = "^muffle") [18:00:56.026] } [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] if (TRUE) { [18:00:56.026] muffleCondition <- function (cond, pattern = "^muffle") [18:00:56.026] { [18:00:56.026] inherits <- base::inherits [18:00:56.026] invokeRestart <- base::invokeRestart [18:00:56.026] is.null <- base::is.null [18:00:56.026] muffled <- FALSE [18:00:56.026] if (inherits(cond, "message")) { [18:00:56.026] muffled <- grepl(pattern, "muffleMessage") [18:00:56.026] if (muffled) [18:00:56.026] invokeRestart("muffleMessage") [18:00:56.026] } [18:00:56.026] else if (inherits(cond, "warning")) { [18:00:56.026] muffled <- grepl(pattern, "muffleWarning") [18:00:56.026] if (muffled) [18:00:56.026] invokeRestart("muffleWarning") [18:00:56.026] } [18:00:56.026] else if (inherits(cond, "condition")) { [18:00:56.026] if (!is.null(pattern)) { [18:00:56.026] computeRestarts <- base::computeRestarts [18:00:56.026] grepl <- base::grepl [18:00:56.026] restarts <- computeRestarts(cond) [18:00:56.026] for (restart in restarts) { [18:00:56.026] name <- restart$name [18:00:56.026] if (is.null(name)) [18:00:56.026] next [18:00:56.026] if (!grepl(pattern, name)) [18:00:56.026] next [18:00:56.026] invokeRestart(restart) [18:00:56.026] muffled <- TRUE [18:00:56.026] break [18:00:56.026] } [18:00:56.026] } [18:00:56.026] } [18:00:56.026] invisible(muffled) [18:00:56.026] } [18:00:56.026] muffleCondition(cond, pattern = "^muffle") [18:00:56.026] } [18:00:56.026] } [18:00:56.026] } [18:00:56.026] })) [18:00:56.026] }, error = function(ex) { [18:00:56.026] base::structure(base::list(value = NULL, visible = NULL, [18:00:56.026] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:56.026] ...future.rng), started = ...future.startTime, [18:00:56.026] finished = Sys.time(), session_uuid = NA_character_, [18:00:56.026] version = "1.8"), class = "FutureResult") [18:00:56.026] }, finally = { [18:00:56.026] if (!identical(...future.workdir, getwd())) [18:00:56.026] setwd(...future.workdir) [18:00:56.026] { [18:00:56.026] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:56.026] ...future.oldOptions$nwarnings <- NULL [18:00:56.026] } [18:00:56.026] base::options(...future.oldOptions) [18:00:56.026] if (.Platform$OS.type == "windows") { [18:00:56.026] old_names <- names(...future.oldEnvVars) [18:00:56.026] envs <- base::Sys.getenv() [18:00:56.026] names <- names(envs) [18:00:56.026] common <- intersect(names, old_names) [18:00:56.026] added <- setdiff(names, old_names) [18:00:56.026] removed <- setdiff(old_names, names) [18:00:56.026] changed <- common[...future.oldEnvVars[common] != [18:00:56.026] envs[common]] [18:00:56.026] NAMES <- toupper(changed) [18:00:56.026] args <- list() [18:00:56.026] for (kk in seq_along(NAMES)) { [18:00:56.026] name <- changed[[kk]] [18:00:56.026] NAME <- NAMES[[kk]] [18:00:56.026] if (name != NAME && is.element(NAME, old_names)) [18:00:56.026] next [18:00:56.026] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:56.026] } [18:00:56.026] NAMES <- toupper(added) [18:00:56.026] for (kk in seq_along(NAMES)) { [18:00:56.026] name <- added[[kk]] [18:00:56.026] NAME <- NAMES[[kk]] [18:00:56.026] if (name != NAME && is.element(NAME, old_names)) [18:00:56.026] next [18:00:56.026] args[[name]] <- "" [18:00:56.026] } [18:00:56.026] NAMES <- toupper(removed) [18:00:56.026] for (kk in seq_along(NAMES)) { [18:00:56.026] name <- removed[[kk]] [18:00:56.026] NAME <- NAMES[[kk]] [18:00:56.026] if (name != NAME && is.element(NAME, old_names)) [18:00:56.026] next [18:00:56.026] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:56.026] } [18:00:56.026] if (length(args) > 0) [18:00:56.026] base::do.call(base::Sys.setenv, args = args) [18:00:56.026] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:56.026] } [18:00:56.026] { [18:00:56.026] if (base::length(...future.futureOptionsAdded) > [18:00:56.026] 0L) { [18:00:56.026] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:56.026] base::names(opts) <- ...future.futureOptionsAdded [18:00:56.026] base::options(opts) [18:00:56.026] } [18:00:56.026] { [18:00:56.026] { [18:00:56.026] NULL [18:00:56.026] RNGkind("Mersenne-Twister") [18:00:56.026] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:56.026] inherits = FALSE) [18:00:56.026] } [18:00:56.026] options(future.plan = NULL) [18:00:56.026] if (is.na(NA_character_)) [18:00:56.026] Sys.unsetenv("R_FUTURE_PLAN") [18:00:56.026] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:56.026] future::plan(list(function (...) [18:00:56.026] { [18:00:56.026] Future(1) [18:00:56.026] }), .cleanup = FALSE, .init = FALSE) [18:00:56.026] } [18:00:56.026] } [18:00:56.026] } [18:00:56.026] }) [18:00:56.026] if (TRUE) { [18:00:56.026] base::sink(type = "output", split = FALSE) [18:00:56.026] if (TRUE) { [18:00:56.026] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:56.026] } [18:00:56.026] else { [18:00:56.026] ...future.result["stdout"] <- base::list(NULL) [18:00:56.026] } [18:00:56.026] base::close(...future.stdout) [18:00:56.026] ...future.stdout <- NULL [18:00:56.026] } [18:00:56.026] ...future.result$conditions <- ...future.conditions [18:00:56.026] ...future.result$finished <- base::Sys.time() [18:00:56.026] ...future.result [18:00:56.026] } [18:00:56.030] plan(): Setting new future strategy stack: [18:00:56.030] List of future strategies: [18:00:56.030] 1. sequential: [18:00:56.030] - args: function (..., envir = parent.frame()) [18:00:56.030] - tweaked: FALSE [18:00:56.030] - call: NULL [18:00:56.030] plan(): nbrOfWorkers() = 1 [18:00:56.032] plan(): Setting new future strategy stack: [18:00:56.032] List of future strategies: [18:00:56.032] 1. future: [18:00:56.032] - args: function (...) [18:00:56.032] - tweaked: FALSE [18:00:56.032] - call: plan(foo) [18:00:56.033] plan(): nbrOfWorkers() = Inf [18:00:56.033] SequentialFuture started (and completed) [1] 42 > > message("*** Future class - exception ... DONE") *** Future class - exception ... DONE > > message("*** Future class ... DONE") *** Future class ... DONE > > source("incl/end.R") [18:00:56.034] plan(): Setting new future strategy stack: [18:00:56.034] List of future strategies: [18:00:56.034] 1. FutureStrategy: [18:00:56.034] - args: function (..., envir = parent.frame()) [18:00:56.034] - tweaked: FALSE [18:00:56.034] - call: future::plan(oplan) [18:00:56.035] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=201] '!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', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RETICULATE_AUTOCONFIGURE', '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_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_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_', '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.50 0.12 1.32