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:57.145] plan(): Setting new future strategy stack: [18:00:57.146] List of future strategies: [18:00:57.146] 1. sequential: [18:00:57.146] - args: function (..., envir = parent.frame()) [18:00:57.146] - tweaked: FALSE [18:00:57.146] - call: future::plan("sequential") [18:00:57.162] plan(): nbrOfWorkers() = 1 > > message("*** FutureRegistry() ...") *** FutureRegistry() ... > > for (where in c(sprintf("multicore-%s", future:::session_uuid()), "rscript")) { + message(sprintf("*** FutureRegistry('%s', 'list') ...", where)) + futures <- FutureRegistry(where, action = "list") + print(futures) + stopifnot(length(futures) == 0L) + + + message(sprintf("*** FutureRegistry('%s', 'add') ...", where)) + f <- future({ 1 }) + print(f) + FutureRegistry(where, action = "add", future = f) + + + message(sprintf("*** FutureRegistry('%s', 'list') ...", where)) + futures <- FutureRegistry(where, action = "list") + print(futures) + stopifnot(length(futures) == 1L) + + + message(sprintf("*** FutureRegistry('%s', 'remove') ...", where)) + FutureRegistry(where, action = "remove", future = f) + + + message(sprintf("*** FutureRegistry('%s', 'list') ...", where)) + futures <- FutureRegistry(where, action = "list") + print(futures) + stopifnot(length(futures) == 0L) + + + message(sprintf("*** FutureRegistry('%s', 'add') ...", where)) + f <- future({ 2 }) + print(f) + FutureRegistry(where, action = "add", future = f) + + + message(sprintf("*** FutureRegistry('%s', 'list') ...", where)) + futures <- FutureRegistry(where, action = "list") + print(futures) + stopifnot(length(futures) == 1L) + + + message(sprintf("*** FutureRegistry('%s', 'collect-first') ...", where)) + FutureRegistry(where, action = "collect-first") + + futures <- FutureRegistry(where, action = "list") + print(futures) + stopifnot(length(futures) < 1L) + + message(sprintf("*** FutureRegistry('%s', 'add') ...", where)) + f <- future({ 2 }) + print(f) + FutureRegistry(where, action = "add", future = f) + + + message(sprintf("*** FutureRegistry('%s', 'reset') ...", where)) + FutureRegistry(where, action = "reset") + + + message(sprintf("*** FutureRegistry('%s', 'list') ...", where)) + futures <- FutureRegistry(where, action = "list") + print(futures) + stopifnot(length(futures) == 0L) + } *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'list') ... list() *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'add') ... [18:00:57.201] getGlobalsAndPackages() ... [18:00:57.202] Searching for globals... [18:00:57.205] - globals found: [1] '{' [18:00:57.206] Searching for globals ... DONE [18:00:57.206] Resolving globals: FALSE [18:00:57.207] [18:00:57.207] [18:00:57.207] getGlobalsAndPackages() ... DONE [18:00:57.208] run() for 'Future' ... [18:00:57.208] - state: 'created' [18:00:57.208] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.209] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.209] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.209] - Field: 'label' [18:00:57.209] - Field: 'local' [18:00:57.209] - Field: 'owner' [18:00:57.210] - Field: 'envir' [18:00:57.210] - Field: 'packages' [18:00:57.210] - Field: 'gc' [18:00:57.210] - Field: 'conditions' [18:00:57.210] - Field: 'expr' [18:00:57.211] - Field: 'uuid' [18:00:57.211] - Field: 'seed' [18:00:57.211] - Field: 'version' [18:00:57.211] - Field: 'result' [18:00:57.211] - Field: 'asynchronous' [18:00:57.212] - Field: 'calls' [18:00:57.212] - Field: 'globals' [18:00:57.212] - Field: 'stdout' [18:00:57.212] - Field: 'earlySignal' [18:00:57.212] - Field: 'lazy' [18:00:57.212] - Field: 'state' [18:00:57.213] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.213] - Launch lazy future ... [18:00:57.214] Packages needed by the future expression (n = 0): [18:00:57.214] Packages needed by future strategies (n = 0): [18:00:57.215] { [18:00:57.215] { [18:00:57.215] { [18:00:57.215] ...future.startTime <- base::Sys.time() [18:00:57.215] { [18:00:57.215] { [18:00:57.215] { [18:00:57.215] base::local({ [18:00:57.215] has_future <- base::requireNamespace("future", [18:00:57.215] quietly = TRUE) [18:00:57.215] if (has_future) { [18:00:57.215] ns <- base::getNamespace("future") [18:00:57.215] version <- ns[[".package"]][["version"]] [18:00:57.215] if (is.null(version)) [18:00:57.215] version <- utils::packageVersion("future") [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] version <- NULL [18:00:57.215] } [18:00:57.215] if (!has_future || version < "1.8.0") { [18:00:57.215] info <- base::c(r_version = base::gsub("R version ", [18:00:57.215] "", base::R.version$version.string), [18:00:57.215] platform = base::sprintf("%s (%s-bit)", [18:00:57.215] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.215] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.215] "release", "version")], collapse = " "), [18:00:57.215] hostname = base::Sys.info()[["nodename"]]) [18:00:57.215] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.215] info) [18:00:57.215] info <- base::paste(info, collapse = "; ") [18:00:57.215] if (!has_future) { [18:00:57.215] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.215] info) [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.215] info, version) [18:00:57.215] } [18:00:57.215] base::stop(msg) [18:00:57.215] } [18:00:57.215] }) [18:00:57.215] } [18:00:57.215] options(future.plan = NULL) [18:00:57.215] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.215] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.215] } [18:00:57.215] ...future.workdir <- getwd() [18:00:57.215] } [18:00:57.215] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.215] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.215] } [18:00:57.215] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.215] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.215] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.215] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.215] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.215] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.215] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.215] base::names(...future.oldOptions)) [18:00:57.215] } [18:00:57.215] if (FALSE) { [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] if (TRUE) { [18:00:57.215] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.215] open = "w") [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.215] windows = "NUL", "/dev/null"), open = "w") [18:00:57.215] } [18:00:57.215] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.215] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.215] base::sink(type = "output", split = FALSE) [18:00:57.215] base::close(...future.stdout) [18:00:57.215] }, add = TRUE) [18:00:57.215] } [18:00:57.215] ...future.frame <- base::sys.nframe() [18:00:57.215] ...future.conditions <- base::list() [18:00:57.215] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.215] if (FALSE) { [18:00:57.215] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.215] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.215] } [18:00:57.215] ...future.result <- base::tryCatch({ [18:00:57.215] base::withCallingHandlers({ [18:00:57.215] ...future.value <- base::withVisible(base::local({ [18:00:57.215] 1 [18:00:57.215] })) [18:00:57.215] future::FutureResult(value = ...future.value$value, [18:00:57.215] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.215] ...future.rng), globalenv = if (FALSE) [18:00:57.215] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.215] ...future.globalenv.names)) [18:00:57.215] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.215] }, condition = base::local({ [18:00:57.215] c <- base::c [18:00:57.215] inherits <- base::inherits [18:00:57.215] invokeRestart <- base::invokeRestart [18:00:57.215] length <- base::length [18:00:57.215] list <- base::list [18:00:57.215] seq.int <- base::seq.int [18:00:57.215] signalCondition <- base::signalCondition [18:00:57.215] sys.calls <- base::sys.calls [18:00:57.215] `[[` <- base::`[[` [18:00:57.215] `+` <- base::`+` [18:00:57.215] `<<-` <- base::`<<-` [18:00:57.215] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.215] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.215] 3L)] [18:00:57.215] } [18:00:57.215] function(cond) { [18:00:57.215] is_error <- inherits(cond, "error") [18:00:57.215] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.215] NULL) [18:00:57.215] if (is_error) { [18:00:57.215] sessionInformation <- function() { [18:00:57.215] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.215] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.215] search = base::search(), system = base::Sys.info()) [18:00:57.215] } [18:00:57.215] ...future.conditions[[length(...future.conditions) + [18:00:57.215] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.215] cond$call), session = sessionInformation(), [18:00:57.215] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.215] signalCondition(cond) [18:00:57.215] } [18:00:57.215] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.215] "immediateCondition"))) { [18:00:57.215] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.215] ...future.conditions[[length(...future.conditions) + [18:00:57.215] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.215] if (TRUE && !signal) { [18:00:57.215] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.215] { [18:00:57.215] inherits <- base::inherits [18:00:57.215] invokeRestart <- base::invokeRestart [18:00:57.215] is.null <- base::is.null [18:00:57.215] muffled <- FALSE [18:00:57.215] if (inherits(cond, "message")) { [18:00:57.215] muffled <- grepl(pattern, "muffleMessage") [18:00:57.215] if (muffled) [18:00:57.215] invokeRestart("muffleMessage") [18:00:57.215] } [18:00:57.215] else if (inherits(cond, "warning")) { [18:00:57.215] muffled <- grepl(pattern, "muffleWarning") [18:00:57.215] if (muffled) [18:00:57.215] invokeRestart("muffleWarning") [18:00:57.215] } [18:00:57.215] else if (inherits(cond, "condition")) { [18:00:57.215] if (!is.null(pattern)) { [18:00:57.215] computeRestarts <- base::computeRestarts [18:00:57.215] grepl <- base::grepl [18:00:57.215] restarts <- computeRestarts(cond) [18:00:57.215] for (restart in restarts) { [18:00:57.215] name <- restart$name [18:00:57.215] if (is.null(name)) [18:00:57.215] next [18:00:57.215] if (!grepl(pattern, name)) [18:00:57.215] next [18:00:57.215] invokeRestart(restart) [18:00:57.215] muffled <- TRUE [18:00:57.215] break [18:00:57.215] } [18:00:57.215] } [18:00:57.215] } [18:00:57.215] invisible(muffled) [18:00:57.215] } [18:00:57.215] muffleCondition(cond, pattern = "^muffle") [18:00:57.215] } [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] if (TRUE) { [18:00:57.215] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.215] { [18:00:57.215] inherits <- base::inherits [18:00:57.215] invokeRestart <- base::invokeRestart [18:00:57.215] is.null <- base::is.null [18:00:57.215] muffled <- FALSE [18:00:57.215] if (inherits(cond, "message")) { [18:00:57.215] muffled <- grepl(pattern, "muffleMessage") [18:00:57.215] if (muffled) [18:00:57.215] invokeRestart("muffleMessage") [18:00:57.215] } [18:00:57.215] else if (inherits(cond, "warning")) { [18:00:57.215] muffled <- grepl(pattern, "muffleWarning") [18:00:57.215] if (muffled) [18:00:57.215] invokeRestart("muffleWarning") [18:00:57.215] } [18:00:57.215] else if (inherits(cond, "condition")) { [18:00:57.215] if (!is.null(pattern)) { [18:00:57.215] computeRestarts <- base::computeRestarts [18:00:57.215] grepl <- base::grepl [18:00:57.215] restarts <- computeRestarts(cond) [18:00:57.215] for (restart in restarts) { [18:00:57.215] name <- restart$name [18:00:57.215] if (is.null(name)) [18:00:57.215] next [18:00:57.215] if (!grepl(pattern, name)) [18:00:57.215] next [18:00:57.215] invokeRestart(restart) [18:00:57.215] muffled <- TRUE [18:00:57.215] break [18:00:57.215] } [18:00:57.215] } [18:00:57.215] } [18:00:57.215] invisible(muffled) [18:00:57.215] } [18:00:57.215] muffleCondition(cond, pattern = "^muffle") [18:00:57.215] } [18:00:57.215] } [18:00:57.215] } [18:00:57.215] })) [18:00:57.215] }, error = function(ex) { [18:00:57.215] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.215] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.215] ...future.rng), started = ...future.startTime, [18:00:57.215] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.215] version = "1.8"), class = "FutureResult") [18:00:57.215] }, finally = { [18:00:57.215] if (!identical(...future.workdir, getwd())) [18:00:57.215] setwd(...future.workdir) [18:00:57.215] { [18:00:57.215] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.215] ...future.oldOptions$nwarnings <- NULL [18:00:57.215] } [18:00:57.215] base::options(...future.oldOptions) [18:00:57.215] if (.Platform$OS.type == "windows") { [18:00:57.215] old_names <- names(...future.oldEnvVars) [18:00:57.215] envs <- base::Sys.getenv() [18:00:57.215] names <- names(envs) [18:00:57.215] common <- intersect(names, old_names) [18:00:57.215] added <- setdiff(names, old_names) [18:00:57.215] removed <- setdiff(old_names, names) [18:00:57.215] changed <- common[...future.oldEnvVars[common] != [18:00:57.215] envs[common]] [18:00:57.215] NAMES <- toupper(changed) [18:00:57.215] args <- list() [18:00:57.215] for (kk in seq_along(NAMES)) { [18:00:57.215] name <- changed[[kk]] [18:00:57.215] NAME <- NAMES[[kk]] [18:00:57.215] if (name != NAME && is.element(NAME, old_names)) [18:00:57.215] next [18:00:57.215] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.215] } [18:00:57.215] NAMES <- toupper(added) [18:00:57.215] for (kk in seq_along(NAMES)) { [18:00:57.215] name <- added[[kk]] [18:00:57.215] NAME <- NAMES[[kk]] [18:00:57.215] if (name != NAME && is.element(NAME, old_names)) [18:00:57.215] next [18:00:57.215] args[[name]] <- "" [18:00:57.215] } [18:00:57.215] NAMES <- toupper(removed) [18:00:57.215] for (kk in seq_along(NAMES)) { [18:00:57.215] name <- removed[[kk]] [18:00:57.215] NAME <- NAMES[[kk]] [18:00:57.215] if (name != NAME && is.element(NAME, old_names)) [18:00:57.215] next [18:00:57.215] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.215] } [18:00:57.215] if (length(args) > 0) [18:00:57.215] base::do.call(base::Sys.setenv, args = args) [18:00:57.215] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.215] } [18:00:57.215] { [18:00:57.215] if (base::length(...future.futureOptionsAdded) > [18:00:57.215] 0L) { [18:00:57.215] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.215] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.215] base::options(opts) [18:00:57.215] } [18:00:57.215] { [18:00:57.215] { [18:00:57.215] NULL [18:00:57.215] RNGkind("Mersenne-Twister") [18:00:57.215] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.215] inherits = FALSE) [18:00:57.215] } [18:00:57.215] options(future.plan = NULL) [18:00:57.215] if (is.na(NA_character_)) [18:00:57.215] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.215] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.215] future::plan(list(function (..., envir = parent.frame()) [18:00:57.215] { [18:00:57.215] future <- SequentialFuture(..., envir = envir) [18:00:57.215] if (!future$lazy) [18:00:57.215] future <- run(future) [18:00:57.215] invisible(future) [18:00:57.215] }), .cleanup = FALSE, .init = FALSE) [18:00:57.215] } [18:00:57.215] } [18:00:57.215] } [18:00:57.215] }) [18:00:57.215] if (TRUE) { [18:00:57.215] base::sink(type = "output", split = FALSE) [18:00:57.215] if (TRUE) { [18:00:57.215] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.215] } [18:00:57.215] else { [18:00:57.215] ...future.result["stdout"] <- base::list(NULL) [18:00:57.215] } [18:00:57.215] base::close(...future.stdout) [18:00:57.215] ...future.stdout <- NULL [18:00:57.215] } [18:00:57.215] ...future.result$conditions <- ...future.conditions [18:00:57.215] ...future.result$finished <- base::Sys.time() [18:00:57.215] ...future.result [18:00:57.215] } [18:00:57.219] plan(): Setting new future strategy stack: [18:00:57.219] List of future strategies: [18:00:57.219] 1. sequential: [18:00:57.219] - args: function (..., envir = parent.frame()) [18:00:57.219] - tweaked: FALSE [18:00:57.219] - call: NULL [18:00:57.220] plan(): nbrOfWorkers() = 1 [18:00:57.222] plan(): Setting new future strategy stack: [18:00:57.222] List of future strategies: [18:00:57.222] 1. sequential: [18:00:57.222] - args: function (..., envir = parent.frame()) [18:00:57.222] - tweaked: FALSE [18:00:57.222] - call: future::plan("sequential") [18:00:57.222] plan(): nbrOfWorkers() = 1 [18:00:57.223] SequentialFuture started (and completed) [18:00:57.223] - Launch lazy future ... done [18:00:57.224] run() for 'SequentialFuture' ... done SequentialFuture: Label: '' Expression: { 1 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'list') ... [[1]] SequentialFuture: Label: '' Expression: { 1 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'remove') ... *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'list') ... list() *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'add') ... [18:00:57.228] getGlobalsAndPackages() ... [18:00:57.228] Searching for globals... [18:00:57.229] - globals found: [1] '{' [18:00:57.229] Searching for globals ... DONE [18:00:57.230] Resolving globals: FALSE [18:00:57.230] [18:00:57.230] [18:00:57.230] getGlobalsAndPackages() ... DONE [18:00:57.231] run() for 'Future' ... [18:00:57.231] - state: 'created' [18:00:57.231] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.231] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.232] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.232] - Field: 'label' [18:00:57.232] - Field: 'local' [18:00:57.232] - Field: 'owner' [18:00:57.232] - Field: 'envir' [18:00:57.232] - Field: 'packages' [18:00:57.233] - Field: 'gc' [18:00:57.233] - Field: 'conditions' [18:00:57.233] - Field: 'expr' [18:00:57.233] - Field: 'uuid' [18:00:57.233] - Field: 'seed' [18:00:57.233] - Field: 'version' [18:00:57.234] - Field: 'result' [18:00:57.234] - Field: 'asynchronous' [18:00:57.234] - Field: 'calls' [18:00:57.234] - Field: 'globals' [18:00:57.234] - Field: 'stdout' [18:00:57.235] - Field: 'earlySignal' [18:00:57.235] - Field: 'lazy' [18:00:57.235] - Field: 'state' [18:00:57.235] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.235] - Launch lazy future ... [18:00:57.236] Packages needed by the future expression (n = 0): [18:00:57.236] Packages needed by future strategies (n = 0): [18:00:57.236] { [18:00:57.236] { [18:00:57.236] { [18:00:57.236] ...future.startTime <- base::Sys.time() [18:00:57.236] { [18:00:57.236] { [18:00:57.236] { [18:00:57.236] base::local({ [18:00:57.236] has_future <- base::requireNamespace("future", [18:00:57.236] quietly = TRUE) [18:00:57.236] if (has_future) { [18:00:57.236] ns <- base::getNamespace("future") [18:00:57.236] version <- ns[[".package"]][["version"]] [18:00:57.236] if (is.null(version)) [18:00:57.236] version <- utils::packageVersion("future") [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] version <- NULL [18:00:57.236] } [18:00:57.236] if (!has_future || version < "1.8.0") { [18:00:57.236] info <- base::c(r_version = base::gsub("R version ", [18:00:57.236] "", base::R.version$version.string), [18:00:57.236] platform = base::sprintf("%s (%s-bit)", [18:00:57.236] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.236] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.236] "release", "version")], collapse = " "), [18:00:57.236] hostname = base::Sys.info()[["nodename"]]) [18:00:57.236] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.236] info) [18:00:57.236] info <- base::paste(info, collapse = "; ") [18:00:57.236] if (!has_future) { [18:00:57.236] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.236] info) [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.236] info, version) [18:00:57.236] } [18:00:57.236] base::stop(msg) [18:00:57.236] } [18:00:57.236] }) [18:00:57.236] } [18:00:57.236] options(future.plan = NULL) [18:00:57.236] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.236] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.236] } [18:00:57.236] ...future.workdir <- getwd() [18:00:57.236] } [18:00:57.236] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.236] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.236] } [18:00:57.236] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.236] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.236] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.236] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.236] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.236] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.236] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.236] base::names(...future.oldOptions)) [18:00:57.236] } [18:00:57.236] if (FALSE) { [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] if (TRUE) { [18:00:57.236] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.236] open = "w") [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.236] windows = "NUL", "/dev/null"), open = "w") [18:00:57.236] } [18:00:57.236] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.236] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.236] base::sink(type = "output", split = FALSE) [18:00:57.236] base::close(...future.stdout) [18:00:57.236] }, add = TRUE) [18:00:57.236] } [18:00:57.236] ...future.frame <- base::sys.nframe() [18:00:57.236] ...future.conditions <- base::list() [18:00:57.236] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.236] if (FALSE) { [18:00:57.236] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.236] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.236] } [18:00:57.236] ...future.result <- base::tryCatch({ [18:00:57.236] base::withCallingHandlers({ [18:00:57.236] ...future.value <- base::withVisible(base::local({ [18:00:57.236] 2 [18:00:57.236] })) [18:00:57.236] future::FutureResult(value = ...future.value$value, [18:00:57.236] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.236] ...future.rng), globalenv = if (FALSE) [18:00:57.236] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.236] ...future.globalenv.names)) [18:00:57.236] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.236] }, condition = base::local({ [18:00:57.236] c <- base::c [18:00:57.236] inherits <- base::inherits [18:00:57.236] invokeRestart <- base::invokeRestart [18:00:57.236] length <- base::length [18:00:57.236] list <- base::list [18:00:57.236] seq.int <- base::seq.int [18:00:57.236] signalCondition <- base::signalCondition [18:00:57.236] sys.calls <- base::sys.calls [18:00:57.236] `[[` <- base::`[[` [18:00:57.236] `+` <- base::`+` [18:00:57.236] `<<-` <- base::`<<-` [18:00:57.236] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.236] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.236] 3L)] [18:00:57.236] } [18:00:57.236] function(cond) { [18:00:57.236] is_error <- inherits(cond, "error") [18:00:57.236] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.236] NULL) [18:00:57.236] if (is_error) { [18:00:57.236] sessionInformation <- function() { [18:00:57.236] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.236] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.236] search = base::search(), system = base::Sys.info()) [18:00:57.236] } [18:00:57.236] ...future.conditions[[length(...future.conditions) + [18:00:57.236] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.236] cond$call), session = sessionInformation(), [18:00:57.236] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.236] signalCondition(cond) [18:00:57.236] } [18:00:57.236] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.236] "immediateCondition"))) { [18:00:57.236] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.236] ...future.conditions[[length(...future.conditions) + [18:00:57.236] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.236] if (TRUE && !signal) { [18:00:57.236] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.236] { [18:00:57.236] inherits <- base::inherits [18:00:57.236] invokeRestart <- base::invokeRestart [18:00:57.236] is.null <- base::is.null [18:00:57.236] muffled <- FALSE [18:00:57.236] if (inherits(cond, "message")) { [18:00:57.236] muffled <- grepl(pattern, "muffleMessage") [18:00:57.236] if (muffled) [18:00:57.236] invokeRestart("muffleMessage") [18:00:57.236] } [18:00:57.236] else if (inherits(cond, "warning")) { [18:00:57.236] muffled <- grepl(pattern, "muffleWarning") [18:00:57.236] if (muffled) [18:00:57.236] invokeRestart("muffleWarning") [18:00:57.236] } [18:00:57.236] else if (inherits(cond, "condition")) { [18:00:57.236] if (!is.null(pattern)) { [18:00:57.236] computeRestarts <- base::computeRestarts [18:00:57.236] grepl <- base::grepl [18:00:57.236] restarts <- computeRestarts(cond) [18:00:57.236] for (restart in restarts) { [18:00:57.236] name <- restart$name [18:00:57.236] if (is.null(name)) [18:00:57.236] next [18:00:57.236] if (!grepl(pattern, name)) [18:00:57.236] next [18:00:57.236] invokeRestart(restart) [18:00:57.236] muffled <- TRUE [18:00:57.236] break [18:00:57.236] } [18:00:57.236] } [18:00:57.236] } [18:00:57.236] invisible(muffled) [18:00:57.236] } [18:00:57.236] muffleCondition(cond, pattern = "^muffle") [18:00:57.236] } [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] if (TRUE) { [18:00:57.236] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.236] { [18:00:57.236] inherits <- base::inherits [18:00:57.236] invokeRestart <- base::invokeRestart [18:00:57.236] is.null <- base::is.null [18:00:57.236] muffled <- FALSE [18:00:57.236] if (inherits(cond, "message")) { [18:00:57.236] muffled <- grepl(pattern, "muffleMessage") [18:00:57.236] if (muffled) [18:00:57.236] invokeRestart("muffleMessage") [18:00:57.236] } [18:00:57.236] else if (inherits(cond, "warning")) { [18:00:57.236] muffled <- grepl(pattern, "muffleWarning") [18:00:57.236] if (muffled) [18:00:57.236] invokeRestart("muffleWarning") [18:00:57.236] } [18:00:57.236] else if (inherits(cond, "condition")) { [18:00:57.236] if (!is.null(pattern)) { [18:00:57.236] computeRestarts <- base::computeRestarts [18:00:57.236] grepl <- base::grepl [18:00:57.236] restarts <- computeRestarts(cond) [18:00:57.236] for (restart in restarts) { [18:00:57.236] name <- restart$name [18:00:57.236] if (is.null(name)) [18:00:57.236] next [18:00:57.236] if (!grepl(pattern, name)) [18:00:57.236] next [18:00:57.236] invokeRestart(restart) [18:00:57.236] muffled <- TRUE [18:00:57.236] break [18:00:57.236] } [18:00:57.236] } [18:00:57.236] } [18:00:57.236] invisible(muffled) [18:00:57.236] } [18:00:57.236] muffleCondition(cond, pattern = "^muffle") [18:00:57.236] } [18:00:57.236] } [18:00:57.236] } [18:00:57.236] })) [18:00:57.236] }, error = function(ex) { [18:00:57.236] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.236] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.236] ...future.rng), started = ...future.startTime, [18:00:57.236] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.236] version = "1.8"), class = "FutureResult") [18:00:57.236] }, finally = { [18:00:57.236] if (!identical(...future.workdir, getwd())) [18:00:57.236] setwd(...future.workdir) [18:00:57.236] { [18:00:57.236] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.236] ...future.oldOptions$nwarnings <- NULL [18:00:57.236] } [18:00:57.236] base::options(...future.oldOptions) [18:00:57.236] if (.Platform$OS.type == "windows") { [18:00:57.236] old_names <- names(...future.oldEnvVars) [18:00:57.236] envs <- base::Sys.getenv() [18:00:57.236] names <- names(envs) [18:00:57.236] common <- intersect(names, old_names) [18:00:57.236] added <- setdiff(names, old_names) [18:00:57.236] removed <- setdiff(old_names, names) [18:00:57.236] changed <- common[...future.oldEnvVars[common] != [18:00:57.236] envs[common]] [18:00:57.236] NAMES <- toupper(changed) [18:00:57.236] args <- list() [18:00:57.236] for (kk in seq_along(NAMES)) { [18:00:57.236] name <- changed[[kk]] [18:00:57.236] NAME <- NAMES[[kk]] [18:00:57.236] if (name != NAME && is.element(NAME, old_names)) [18:00:57.236] next [18:00:57.236] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.236] } [18:00:57.236] NAMES <- toupper(added) [18:00:57.236] for (kk in seq_along(NAMES)) { [18:00:57.236] name <- added[[kk]] [18:00:57.236] NAME <- NAMES[[kk]] [18:00:57.236] if (name != NAME && is.element(NAME, old_names)) [18:00:57.236] next [18:00:57.236] args[[name]] <- "" [18:00:57.236] } [18:00:57.236] NAMES <- toupper(removed) [18:00:57.236] for (kk in seq_along(NAMES)) { [18:00:57.236] name <- removed[[kk]] [18:00:57.236] NAME <- NAMES[[kk]] [18:00:57.236] if (name != NAME && is.element(NAME, old_names)) [18:00:57.236] next [18:00:57.236] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.236] } [18:00:57.236] if (length(args) > 0) [18:00:57.236] base::do.call(base::Sys.setenv, args = args) [18:00:57.236] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.236] } [18:00:57.236] { [18:00:57.236] if (base::length(...future.futureOptionsAdded) > [18:00:57.236] 0L) { [18:00:57.236] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.236] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.236] base::options(opts) [18:00:57.236] } [18:00:57.236] { [18:00:57.236] { [18:00:57.236] NULL [18:00:57.236] RNGkind("Mersenne-Twister") [18:00:57.236] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.236] inherits = FALSE) [18:00:57.236] } [18:00:57.236] options(future.plan = NULL) [18:00:57.236] if (is.na(NA_character_)) [18:00:57.236] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.236] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.236] future::plan(list(function (..., envir = parent.frame()) [18:00:57.236] { [18:00:57.236] future <- SequentialFuture(..., envir = envir) [18:00:57.236] if (!future$lazy) [18:00:57.236] future <- run(future) [18:00:57.236] invisible(future) [18:00:57.236] }), .cleanup = FALSE, .init = FALSE) [18:00:57.236] } [18:00:57.236] } [18:00:57.236] } [18:00:57.236] }) [18:00:57.236] if (TRUE) { [18:00:57.236] base::sink(type = "output", split = FALSE) [18:00:57.236] if (TRUE) { [18:00:57.236] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.236] } [18:00:57.236] else { [18:00:57.236] ...future.result["stdout"] <- base::list(NULL) [18:00:57.236] } [18:00:57.236] base::close(...future.stdout) [18:00:57.236] ...future.stdout <- NULL [18:00:57.236] } [18:00:57.236] ...future.result$conditions <- ...future.conditions [18:00:57.236] ...future.result$finished <- base::Sys.time() [18:00:57.236] ...future.result [18:00:57.236] } [18:00:57.240] plan(): Setting new future strategy stack: [18:00:57.241] List of future strategies: [18:00:57.241] 1. sequential: [18:00:57.241] - args: function (..., envir = parent.frame()) [18:00:57.241] - tweaked: FALSE [18:00:57.241] - call: NULL [18:00:57.241] plan(): nbrOfWorkers() = 1 [18:00:57.242] plan(): Setting new future strategy stack: [18:00:57.242] List of future strategies: [18:00:57.242] 1. sequential: [18:00:57.242] - args: function (..., envir = parent.frame()) [18:00:57.242] - tweaked: FALSE [18:00:57.242] - call: future::plan("sequential") [18:00:57.243] plan(): nbrOfWorkers() = 1 [18:00:57.243] SequentialFuture started (and completed) [18:00:57.243] - Launch lazy future ... done [18:00:57.244] run() for 'SequentialFuture' ... done SequentialFuture: Label: '' Expression: { 2 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'list') ... [[1]] SequentialFuture: Label: '' Expression: { 2 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'collect-first') ... [18:00:57.245] resolved() for 'SequentialFuture' ... [18:00:57.245] - state: 'finished' [18:00:57.246] - run: FALSE [18:00:57.246] - result: 'FutureResult' [18:00:57.246] resolved() for 'SequentialFuture' ... done list() *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'add') ... [18:00:57.247] getGlobalsAndPackages() ... [18:00:57.247] Searching for globals... [18:00:57.249] - globals found: [1] '{' [18:00:57.249] Searching for globals ... DONE [18:00:57.249] Resolving globals: FALSE [18:00:57.250] [18:00:57.250] [18:00:57.250] getGlobalsAndPackages() ... DONE [18:00:57.250] run() for 'Future' ... [18:00:57.251] - state: 'created' [18:00:57.251] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.251] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.251] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.252] - Field: 'label' [18:00:57.252] - Field: 'local' [18:00:57.252] - Field: 'owner' [18:00:57.252] - Field: 'envir' [18:00:57.252] - Field: 'packages' [18:00:57.252] - Field: 'gc' [18:00:57.253] - Field: 'conditions' [18:00:57.253] - Field: 'expr' [18:00:57.253] - Field: 'uuid' [18:00:57.253] - Field: 'seed' [18:00:57.253] - Field: 'version' [18:00:57.254] - Field: 'result' [18:00:57.254] - Field: 'asynchronous' [18:00:57.254] - Field: 'calls' [18:00:57.254] - Field: 'globals' [18:00:57.254] - Field: 'stdout' [18:00:57.254] - Field: 'earlySignal' [18:00:57.255] - Field: 'lazy' [18:00:57.255] - Field: 'state' [18:00:57.255] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.255] - Launch lazy future ... [18:00:57.255] Packages needed by the future expression (n = 0): [18:00:57.256] Packages needed by future strategies (n = 0): [18:00:57.256] { [18:00:57.256] { [18:00:57.256] { [18:00:57.256] ...future.startTime <- base::Sys.time() [18:00:57.256] { [18:00:57.256] { [18:00:57.256] { [18:00:57.256] base::local({ [18:00:57.256] has_future <- base::requireNamespace("future", [18:00:57.256] quietly = TRUE) [18:00:57.256] if (has_future) { [18:00:57.256] ns <- base::getNamespace("future") [18:00:57.256] version <- ns[[".package"]][["version"]] [18:00:57.256] if (is.null(version)) [18:00:57.256] version <- utils::packageVersion("future") [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] version <- NULL [18:00:57.256] } [18:00:57.256] if (!has_future || version < "1.8.0") { [18:00:57.256] info <- base::c(r_version = base::gsub("R version ", [18:00:57.256] "", base::R.version$version.string), [18:00:57.256] platform = base::sprintf("%s (%s-bit)", [18:00:57.256] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.256] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.256] "release", "version")], collapse = " "), [18:00:57.256] hostname = base::Sys.info()[["nodename"]]) [18:00:57.256] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.256] info) [18:00:57.256] info <- base::paste(info, collapse = "; ") [18:00:57.256] if (!has_future) { [18:00:57.256] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.256] info) [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.256] info, version) [18:00:57.256] } [18:00:57.256] base::stop(msg) [18:00:57.256] } [18:00:57.256] }) [18:00:57.256] } [18:00:57.256] options(future.plan = NULL) [18:00:57.256] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.256] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.256] } [18:00:57.256] ...future.workdir <- getwd() [18:00:57.256] } [18:00:57.256] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.256] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.256] } [18:00:57.256] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.256] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.256] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.256] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.256] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.256] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.256] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.256] base::names(...future.oldOptions)) [18:00:57.256] } [18:00:57.256] if (FALSE) { [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] if (TRUE) { [18:00:57.256] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.256] open = "w") [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.256] windows = "NUL", "/dev/null"), open = "w") [18:00:57.256] } [18:00:57.256] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.256] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.256] base::sink(type = "output", split = FALSE) [18:00:57.256] base::close(...future.stdout) [18:00:57.256] }, add = TRUE) [18:00:57.256] } [18:00:57.256] ...future.frame <- base::sys.nframe() [18:00:57.256] ...future.conditions <- base::list() [18:00:57.256] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.256] if (FALSE) { [18:00:57.256] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.256] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.256] } [18:00:57.256] ...future.result <- base::tryCatch({ [18:00:57.256] base::withCallingHandlers({ [18:00:57.256] ...future.value <- base::withVisible(base::local({ [18:00:57.256] 2 [18:00:57.256] })) [18:00:57.256] future::FutureResult(value = ...future.value$value, [18:00:57.256] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.256] ...future.rng), globalenv = if (FALSE) [18:00:57.256] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.256] ...future.globalenv.names)) [18:00:57.256] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.256] }, condition = base::local({ [18:00:57.256] c <- base::c [18:00:57.256] inherits <- base::inherits [18:00:57.256] invokeRestart <- base::invokeRestart [18:00:57.256] length <- base::length [18:00:57.256] list <- base::list [18:00:57.256] seq.int <- base::seq.int [18:00:57.256] signalCondition <- base::signalCondition [18:00:57.256] sys.calls <- base::sys.calls [18:00:57.256] `[[` <- base::`[[` [18:00:57.256] `+` <- base::`+` [18:00:57.256] `<<-` <- base::`<<-` [18:00:57.256] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.256] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.256] 3L)] [18:00:57.256] } [18:00:57.256] function(cond) { [18:00:57.256] is_error <- inherits(cond, "error") [18:00:57.256] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.256] NULL) [18:00:57.256] if (is_error) { [18:00:57.256] sessionInformation <- function() { [18:00:57.256] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.256] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.256] search = base::search(), system = base::Sys.info()) [18:00:57.256] } [18:00:57.256] ...future.conditions[[length(...future.conditions) + [18:00:57.256] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.256] cond$call), session = sessionInformation(), [18:00:57.256] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.256] signalCondition(cond) [18:00:57.256] } [18:00:57.256] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.256] "immediateCondition"))) { [18:00:57.256] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.256] ...future.conditions[[length(...future.conditions) + [18:00:57.256] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.256] if (TRUE && !signal) { [18:00:57.256] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.256] { [18:00:57.256] inherits <- base::inherits [18:00:57.256] invokeRestart <- base::invokeRestart [18:00:57.256] is.null <- base::is.null [18:00:57.256] muffled <- FALSE [18:00:57.256] if (inherits(cond, "message")) { [18:00:57.256] muffled <- grepl(pattern, "muffleMessage") [18:00:57.256] if (muffled) [18:00:57.256] invokeRestart("muffleMessage") [18:00:57.256] } [18:00:57.256] else if (inherits(cond, "warning")) { [18:00:57.256] muffled <- grepl(pattern, "muffleWarning") [18:00:57.256] if (muffled) [18:00:57.256] invokeRestart("muffleWarning") [18:00:57.256] } [18:00:57.256] else if (inherits(cond, "condition")) { [18:00:57.256] if (!is.null(pattern)) { [18:00:57.256] computeRestarts <- base::computeRestarts [18:00:57.256] grepl <- base::grepl [18:00:57.256] restarts <- computeRestarts(cond) [18:00:57.256] for (restart in restarts) { [18:00:57.256] name <- restart$name [18:00:57.256] if (is.null(name)) [18:00:57.256] next [18:00:57.256] if (!grepl(pattern, name)) [18:00:57.256] next [18:00:57.256] invokeRestart(restart) [18:00:57.256] muffled <- TRUE [18:00:57.256] break [18:00:57.256] } [18:00:57.256] } [18:00:57.256] } [18:00:57.256] invisible(muffled) [18:00:57.256] } [18:00:57.256] muffleCondition(cond, pattern = "^muffle") [18:00:57.256] } [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] if (TRUE) { [18:00:57.256] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.256] { [18:00:57.256] inherits <- base::inherits [18:00:57.256] invokeRestart <- base::invokeRestart [18:00:57.256] is.null <- base::is.null [18:00:57.256] muffled <- FALSE [18:00:57.256] if (inherits(cond, "message")) { [18:00:57.256] muffled <- grepl(pattern, "muffleMessage") [18:00:57.256] if (muffled) [18:00:57.256] invokeRestart("muffleMessage") [18:00:57.256] } [18:00:57.256] else if (inherits(cond, "warning")) { [18:00:57.256] muffled <- grepl(pattern, "muffleWarning") [18:00:57.256] if (muffled) [18:00:57.256] invokeRestart("muffleWarning") [18:00:57.256] } [18:00:57.256] else if (inherits(cond, "condition")) { [18:00:57.256] if (!is.null(pattern)) { [18:00:57.256] computeRestarts <- base::computeRestarts [18:00:57.256] grepl <- base::grepl [18:00:57.256] restarts <- computeRestarts(cond) [18:00:57.256] for (restart in restarts) { [18:00:57.256] name <- restart$name [18:00:57.256] if (is.null(name)) [18:00:57.256] next [18:00:57.256] if (!grepl(pattern, name)) [18:00:57.256] next [18:00:57.256] invokeRestart(restart) [18:00:57.256] muffled <- TRUE [18:00:57.256] break [18:00:57.256] } [18:00:57.256] } [18:00:57.256] } [18:00:57.256] invisible(muffled) [18:00:57.256] } [18:00:57.256] muffleCondition(cond, pattern = "^muffle") [18:00:57.256] } [18:00:57.256] } [18:00:57.256] } [18:00:57.256] })) [18:00:57.256] }, error = function(ex) { [18:00:57.256] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.256] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.256] ...future.rng), started = ...future.startTime, [18:00:57.256] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.256] version = "1.8"), class = "FutureResult") [18:00:57.256] }, finally = { [18:00:57.256] if (!identical(...future.workdir, getwd())) [18:00:57.256] setwd(...future.workdir) [18:00:57.256] { [18:00:57.256] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.256] ...future.oldOptions$nwarnings <- NULL [18:00:57.256] } [18:00:57.256] base::options(...future.oldOptions) [18:00:57.256] if (.Platform$OS.type == "windows") { [18:00:57.256] old_names <- names(...future.oldEnvVars) [18:00:57.256] envs <- base::Sys.getenv() [18:00:57.256] names <- names(envs) [18:00:57.256] common <- intersect(names, old_names) [18:00:57.256] added <- setdiff(names, old_names) [18:00:57.256] removed <- setdiff(old_names, names) [18:00:57.256] changed <- common[...future.oldEnvVars[common] != [18:00:57.256] envs[common]] [18:00:57.256] NAMES <- toupper(changed) [18:00:57.256] args <- list() [18:00:57.256] for (kk in seq_along(NAMES)) { [18:00:57.256] name <- changed[[kk]] [18:00:57.256] NAME <- NAMES[[kk]] [18:00:57.256] if (name != NAME && is.element(NAME, old_names)) [18:00:57.256] next [18:00:57.256] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.256] } [18:00:57.256] NAMES <- toupper(added) [18:00:57.256] for (kk in seq_along(NAMES)) { [18:00:57.256] name <- added[[kk]] [18:00:57.256] NAME <- NAMES[[kk]] [18:00:57.256] if (name != NAME && is.element(NAME, old_names)) [18:00:57.256] next [18:00:57.256] args[[name]] <- "" [18:00:57.256] } [18:00:57.256] NAMES <- toupper(removed) [18:00:57.256] for (kk in seq_along(NAMES)) { [18:00:57.256] name <- removed[[kk]] [18:00:57.256] NAME <- NAMES[[kk]] [18:00:57.256] if (name != NAME && is.element(NAME, old_names)) [18:00:57.256] next [18:00:57.256] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.256] } [18:00:57.256] if (length(args) > 0) [18:00:57.256] base::do.call(base::Sys.setenv, args = args) [18:00:57.256] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.256] } [18:00:57.256] { [18:00:57.256] if (base::length(...future.futureOptionsAdded) > [18:00:57.256] 0L) { [18:00:57.256] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.256] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.256] base::options(opts) [18:00:57.256] } [18:00:57.256] { [18:00:57.256] { [18:00:57.256] NULL [18:00:57.256] RNGkind("Mersenne-Twister") [18:00:57.256] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.256] inherits = FALSE) [18:00:57.256] } [18:00:57.256] options(future.plan = NULL) [18:00:57.256] if (is.na(NA_character_)) [18:00:57.256] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.256] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.256] future::plan(list(function (..., envir = parent.frame()) [18:00:57.256] { [18:00:57.256] future <- SequentialFuture(..., envir = envir) [18:00:57.256] if (!future$lazy) [18:00:57.256] future <- run(future) [18:00:57.256] invisible(future) [18:00:57.256] }), .cleanup = FALSE, .init = FALSE) [18:00:57.256] } [18:00:57.256] } [18:00:57.256] } [18:00:57.256] }) [18:00:57.256] if (TRUE) { [18:00:57.256] base::sink(type = "output", split = FALSE) [18:00:57.256] if (TRUE) { [18:00:57.256] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.256] } [18:00:57.256] else { [18:00:57.256] ...future.result["stdout"] <- base::list(NULL) [18:00:57.256] } [18:00:57.256] base::close(...future.stdout) [18:00:57.256] ...future.stdout <- NULL [18:00:57.256] } [18:00:57.256] ...future.result$conditions <- ...future.conditions [18:00:57.256] ...future.result$finished <- base::Sys.time() [18:00:57.256] ...future.result [18:00:57.256] } [18:00:57.260] plan(): Setting new future strategy stack: [18:00:57.260] List of future strategies: [18:00:57.260] 1. sequential: [18:00:57.260] - args: function (..., envir = parent.frame()) [18:00:57.260] - tweaked: FALSE [18:00:57.260] - call: NULL [18:00:57.261] plan(): nbrOfWorkers() = 1 [18:00:57.262] plan(): Setting new future strategy stack: [18:00:57.262] List of future strategies: [18:00:57.262] 1. sequential: [18:00:57.262] - args: function (..., envir = parent.frame()) [18:00:57.262] - tweaked: FALSE [18:00:57.262] - call: future::plan("sequential") [18:00:57.263] plan(): nbrOfWorkers() = 1 [18:00:57.263] SequentialFuture started (and completed) [18:00:57.263] - Launch lazy future ... done [18:00:57.263] run() for 'SequentialFuture' ... done SequentialFuture: Label: '' Expression: { 2 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'reset') ... *** FutureRegistry('multicore-bc962a57-1075-a46c-26b8-13994ccd258c', 'list') ... list() *** FutureRegistry('rscript', 'list') ... list() *** FutureRegistry('rscript', 'add') ... [18:00:57.264] getGlobalsAndPackages() ... [18:00:57.264] Searching for globals... [18:00:57.265] - globals found: [1] '{' [18:00:57.265] Searching for globals ... DONE [18:00:57.265] Resolving globals: FALSE [18:00:57.266] [18:00:57.266] [18:00:57.266] getGlobalsAndPackages() ... DONE [18:00:57.266] run() for 'Future' ... [18:00:57.267] - state: 'created' [18:00:57.267] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.267] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.267] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.268] - Field: 'label' [18:00:57.268] - Field: 'local' [18:00:57.268] - Field: 'owner' [18:00:57.268] - Field: 'envir' [18:00:57.268] - Field: 'packages' [18:00:57.268] - Field: 'gc' [18:00:57.269] - Field: 'conditions' [18:00:57.269] - Field: 'expr' [18:00:57.269] - Field: 'uuid' [18:00:57.269] - Field: 'seed' [18:00:57.269] - Field: 'version' [18:00:57.270] - Field: 'result' [18:00:57.270] - Field: 'asynchronous' [18:00:57.270] - Field: 'calls' [18:00:57.270] - Field: 'globals' [18:00:57.270] - Field: 'stdout' [18:00:57.270] - Field: 'earlySignal' [18:00:57.271] - Field: 'lazy' [18:00:57.271] - Field: 'state' [18:00:57.271] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.271] - Launch lazy future ... [18:00:57.271] Packages needed by the future expression (n = 0): [18:00:57.272] Packages needed by future strategies (n = 0): [18:00:57.272] { [18:00:57.272] { [18:00:57.272] { [18:00:57.272] ...future.startTime <- base::Sys.time() [18:00:57.272] { [18:00:57.272] { [18:00:57.272] { [18:00:57.272] base::local({ [18:00:57.272] has_future <- base::requireNamespace("future", [18:00:57.272] quietly = TRUE) [18:00:57.272] if (has_future) { [18:00:57.272] ns <- base::getNamespace("future") [18:00:57.272] version <- ns[[".package"]][["version"]] [18:00:57.272] if (is.null(version)) [18:00:57.272] version <- utils::packageVersion("future") [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] version <- NULL [18:00:57.272] } [18:00:57.272] if (!has_future || version < "1.8.0") { [18:00:57.272] info <- base::c(r_version = base::gsub("R version ", [18:00:57.272] "", base::R.version$version.string), [18:00:57.272] platform = base::sprintf("%s (%s-bit)", [18:00:57.272] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.272] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.272] "release", "version")], collapse = " "), [18:00:57.272] hostname = base::Sys.info()[["nodename"]]) [18:00:57.272] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.272] info) [18:00:57.272] info <- base::paste(info, collapse = "; ") [18:00:57.272] if (!has_future) { [18:00:57.272] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.272] info) [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.272] info, version) [18:00:57.272] } [18:00:57.272] base::stop(msg) [18:00:57.272] } [18:00:57.272] }) [18:00:57.272] } [18:00:57.272] options(future.plan = NULL) [18:00:57.272] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.272] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.272] } [18:00:57.272] ...future.workdir <- getwd() [18:00:57.272] } [18:00:57.272] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.272] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.272] } [18:00:57.272] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.272] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.272] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.272] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.272] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.272] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.272] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.272] base::names(...future.oldOptions)) [18:00:57.272] } [18:00:57.272] if (FALSE) { [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] if (TRUE) { [18:00:57.272] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.272] open = "w") [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.272] windows = "NUL", "/dev/null"), open = "w") [18:00:57.272] } [18:00:57.272] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.272] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.272] base::sink(type = "output", split = FALSE) [18:00:57.272] base::close(...future.stdout) [18:00:57.272] }, add = TRUE) [18:00:57.272] } [18:00:57.272] ...future.frame <- base::sys.nframe() [18:00:57.272] ...future.conditions <- base::list() [18:00:57.272] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.272] if (FALSE) { [18:00:57.272] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.272] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.272] } [18:00:57.272] ...future.result <- base::tryCatch({ [18:00:57.272] base::withCallingHandlers({ [18:00:57.272] ...future.value <- base::withVisible(base::local({ [18:00:57.272] 1 [18:00:57.272] })) [18:00:57.272] future::FutureResult(value = ...future.value$value, [18:00:57.272] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.272] ...future.rng), globalenv = if (FALSE) [18:00:57.272] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.272] ...future.globalenv.names)) [18:00:57.272] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.272] }, condition = base::local({ [18:00:57.272] c <- base::c [18:00:57.272] inherits <- base::inherits [18:00:57.272] invokeRestart <- base::invokeRestart [18:00:57.272] length <- base::length [18:00:57.272] list <- base::list [18:00:57.272] seq.int <- base::seq.int [18:00:57.272] signalCondition <- base::signalCondition [18:00:57.272] sys.calls <- base::sys.calls [18:00:57.272] `[[` <- base::`[[` [18:00:57.272] `+` <- base::`+` [18:00:57.272] `<<-` <- base::`<<-` [18:00:57.272] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.272] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.272] 3L)] [18:00:57.272] } [18:00:57.272] function(cond) { [18:00:57.272] is_error <- inherits(cond, "error") [18:00:57.272] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.272] NULL) [18:00:57.272] if (is_error) { [18:00:57.272] sessionInformation <- function() { [18:00:57.272] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.272] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.272] search = base::search(), system = base::Sys.info()) [18:00:57.272] } [18:00:57.272] ...future.conditions[[length(...future.conditions) + [18:00:57.272] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.272] cond$call), session = sessionInformation(), [18:00:57.272] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.272] signalCondition(cond) [18:00:57.272] } [18:00:57.272] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.272] "immediateCondition"))) { [18:00:57.272] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.272] ...future.conditions[[length(...future.conditions) + [18:00:57.272] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.272] if (TRUE && !signal) { [18:00:57.272] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.272] { [18:00:57.272] inherits <- base::inherits [18:00:57.272] invokeRestart <- base::invokeRestart [18:00:57.272] is.null <- base::is.null [18:00:57.272] muffled <- FALSE [18:00:57.272] if (inherits(cond, "message")) { [18:00:57.272] muffled <- grepl(pattern, "muffleMessage") [18:00:57.272] if (muffled) [18:00:57.272] invokeRestart("muffleMessage") [18:00:57.272] } [18:00:57.272] else if (inherits(cond, "warning")) { [18:00:57.272] muffled <- grepl(pattern, "muffleWarning") [18:00:57.272] if (muffled) [18:00:57.272] invokeRestart("muffleWarning") [18:00:57.272] } [18:00:57.272] else if (inherits(cond, "condition")) { [18:00:57.272] if (!is.null(pattern)) { [18:00:57.272] computeRestarts <- base::computeRestarts [18:00:57.272] grepl <- base::grepl [18:00:57.272] restarts <- computeRestarts(cond) [18:00:57.272] for (restart in restarts) { [18:00:57.272] name <- restart$name [18:00:57.272] if (is.null(name)) [18:00:57.272] next [18:00:57.272] if (!grepl(pattern, name)) [18:00:57.272] next [18:00:57.272] invokeRestart(restart) [18:00:57.272] muffled <- TRUE [18:00:57.272] break [18:00:57.272] } [18:00:57.272] } [18:00:57.272] } [18:00:57.272] invisible(muffled) [18:00:57.272] } [18:00:57.272] muffleCondition(cond, pattern = "^muffle") [18:00:57.272] } [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] if (TRUE) { [18:00:57.272] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.272] { [18:00:57.272] inherits <- base::inherits [18:00:57.272] invokeRestart <- base::invokeRestart [18:00:57.272] is.null <- base::is.null [18:00:57.272] muffled <- FALSE [18:00:57.272] if (inherits(cond, "message")) { [18:00:57.272] muffled <- grepl(pattern, "muffleMessage") [18:00:57.272] if (muffled) [18:00:57.272] invokeRestart("muffleMessage") [18:00:57.272] } [18:00:57.272] else if (inherits(cond, "warning")) { [18:00:57.272] muffled <- grepl(pattern, "muffleWarning") [18:00:57.272] if (muffled) [18:00:57.272] invokeRestart("muffleWarning") [18:00:57.272] } [18:00:57.272] else if (inherits(cond, "condition")) { [18:00:57.272] if (!is.null(pattern)) { [18:00:57.272] computeRestarts <- base::computeRestarts [18:00:57.272] grepl <- base::grepl [18:00:57.272] restarts <- computeRestarts(cond) [18:00:57.272] for (restart in restarts) { [18:00:57.272] name <- restart$name [18:00:57.272] if (is.null(name)) [18:00:57.272] next [18:00:57.272] if (!grepl(pattern, name)) [18:00:57.272] next [18:00:57.272] invokeRestart(restart) [18:00:57.272] muffled <- TRUE [18:00:57.272] break [18:00:57.272] } [18:00:57.272] } [18:00:57.272] } [18:00:57.272] invisible(muffled) [18:00:57.272] } [18:00:57.272] muffleCondition(cond, pattern = "^muffle") [18:00:57.272] } [18:00:57.272] } [18:00:57.272] } [18:00:57.272] })) [18:00:57.272] }, error = function(ex) { [18:00:57.272] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.272] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.272] ...future.rng), started = ...future.startTime, [18:00:57.272] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.272] version = "1.8"), class = "FutureResult") [18:00:57.272] }, finally = { [18:00:57.272] if (!identical(...future.workdir, getwd())) [18:00:57.272] setwd(...future.workdir) [18:00:57.272] { [18:00:57.272] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.272] ...future.oldOptions$nwarnings <- NULL [18:00:57.272] } [18:00:57.272] base::options(...future.oldOptions) [18:00:57.272] if (.Platform$OS.type == "windows") { [18:00:57.272] old_names <- names(...future.oldEnvVars) [18:00:57.272] envs <- base::Sys.getenv() [18:00:57.272] names <- names(envs) [18:00:57.272] common <- intersect(names, old_names) [18:00:57.272] added <- setdiff(names, old_names) [18:00:57.272] removed <- setdiff(old_names, names) [18:00:57.272] changed <- common[...future.oldEnvVars[common] != [18:00:57.272] envs[common]] [18:00:57.272] NAMES <- toupper(changed) [18:00:57.272] args <- list() [18:00:57.272] for (kk in seq_along(NAMES)) { [18:00:57.272] name <- changed[[kk]] [18:00:57.272] NAME <- NAMES[[kk]] [18:00:57.272] if (name != NAME && is.element(NAME, old_names)) [18:00:57.272] next [18:00:57.272] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.272] } [18:00:57.272] NAMES <- toupper(added) [18:00:57.272] for (kk in seq_along(NAMES)) { [18:00:57.272] name <- added[[kk]] [18:00:57.272] NAME <- NAMES[[kk]] [18:00:57.272] if (name != NAME && is.element(NAME, old_names)) [18:00:57.272] next [18:00:57.272] args[[name]] <- "" [18:00:57.272] } [18:00:57.272] NAMES <- toupper(removed) [18:00:57.272] for (kk in seq_along(NAMES)) { [18:00:57.272] name <- removed[[kk]] [18:00:57.272] NAME <- NAMES[[kk]] [18:00:57.272] if (name != NAME && is.element(NAME, old_names)) [18:00:57.272] next [18:00:57.272] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.272] } [18:00:57.272] if (length(args) > 0) [18:00:57.272] base::do.call(base::Sys.setenv, args = args) [18:00:57.272] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.272] } [18:00:57.272] { [18:00:57.272] if (base::length(...future.futureOptionsAdded) > [18:00:57.272] 0L) { [18:00:57.272] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.272] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.272] base::options(opts) [18:00:57.272] } [18:00:57.272] { [18:00:57.272] { [18:00:57.272] NULL [18:00:57.272] RNGkind("Mersenne-Twister") [18:00:57.272] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.272] inherits = FALSE) [18:00:57.272] } [18:00:57.272] options(future.plan = NULL) [18:00:57.272] if (is.na(NA_character_)) [18:00:57.272] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.272] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.272] future::plan(list(function (..., envir = parent.frame()) [18:00:57.272] { [18:00:57.272] future <- SequentialFuture(..., envir = envir) [18:00:57.272] if (!future$lazy) [18:00:57.272] future <- run(future) [18:00:57.272] invisible(future) [18:00:57.272] }), .cleanup = FALSE, .init = FALSE) [18:00:57.272] } [18:00:57.272] } [18:00:57.272] } [18:00:57.272] }) [18:00:57.272] if (TRUE) { [18:00:57.272] base::sink(type = "output", split = FALSE) [18:00:57.272] if (TRUE) { [18:00:57.272] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.272] } [18:00:57.272] else { [18:00:57.272] ...future.result["stdout"] <- base::list(NULL) [18:00:57.272] } [18:00:57.272] base::close(...future.stdout) [18:00:57.272] ...future.stdout <- NULL [18:00:57.272] } [18:00:57.272] ...future.result$conditions <- ...future.conditions [18:00:57.272] ...future.result$finished <- base::Sys.time() [18:00:57.272] ...future.result [18:00:57.272] } [18:00:57.276] plan(): Setting new future strategy stack: [18:00:57.276] List of future strategies: [18:00:57.276] 1. sequential: [18:00:57.276] - args: function (..., envir = parent.frame()) [18:00:57.276] - tweaked: FALSE [18:00:57.276] - call: NULL [18:00:57.277] plan(): nbrOfWorkers() = 1 [18:00:57.278] plan(): Setting new future strategy stack: [18:00:57.278] List of future strategies: [18:00:57.278] 1. sequential: [18:00:57.278] - args: function (..., envir = parent.frame()) [18:00:57.278] - tweaked: FALSE [18:00:57.278] - call: future::plan("sequential") [18:00:57.278] plan(): nbrOfWorkers() = 1 [18:00:57.279] SequentialFuture started (and completed) [18:00:57.279] - Launch lazy future ... done [18:00:57.279] run() for 'SequentialFuture' ... done SequentialFuture: Label: '' Expression: { 1 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'list') ... [[1]] SequentialFuture: Label: '' Expression: { 1 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'remove') ... *** FutureRegistry('rscript', 'list') ... list() *** FutureRegistry('rscript', 'add') ... [18:00:57.281] getGlobalsAndPackages() ... [18:00:57.281] Searching for globals... [18:00:57.281] - globals found: [1] '{' [18:00:57.282] Searching for globals ... DONE [18:00:57.282] Resolving globals: FALSE [18:00:57.282] [18:00:57.282] [18:00:57.282] getGlobalsAndPackages() ... DONE [18:00:57.283] run() for 'Future' ... [18:00:57.283] - state: 'created' [18:00:57.283] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.284] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.284] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.284] - Field: 'label' [18:00:57.284] - Field: 'local' [18:00:57.284] - Field: 'owner' [18:00:57.284] - Field: 'envir' [18:00:57.285] - Field: 'packages' [18:00:57.285] - Field: 'gc' [18:00:57.285] - Field: 'conditions' [18:00:57.285] - Field: 'expr' [18:00:57.285] - Field: 'uuid' [18:00:57.285] - Field: 'seed' [18:00:57.286] - Field: 'version' [18:00:57.286] - Field: 'result' [18:00:57.286] - Field: 'asynchronous' [18:00:57.286] - Field: 'calls' [18:00:57.286] - Field: 'globals' [18:00:57.287] - Field: 'stdout' [18:00:57.287] - Field: 'earlySignal' [18:00:57.287] - Field: 'lazy' [18:00:57.287] - Field: 'state' [18:00:57.287] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.287] - Launch lazy future ... [18:00:57.288] Packages needed by the future expression (n = 0): [18:00:57.288] Packages needed by future strategies (n = 0): [18:00:57.288] { [18:00:57.288] { [18:00:57.288] { [18:00:57.288] ...future.startTime <- base::Sys.time() [18:00:57.288] { [18:00:57.288] { [18:00:57.288] { [18:00:57.288] base::local({ [18:00:57.288] has_future <- base::requireNamespace("future", [18:00:57.288] quietly = TRUE) [18:00:57.288] if (has_future) { [18:00:57.288] ns <- base::getNamespace("future") [18:00:57.288] version <- ns[[".package"]][["version"]] [18:00:57.288] if (is.null(version)) [18:00:57.288] version <- utils::packageVersion("future") [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] version <- NULL [18:00:57.288] } [18:00:57.288] if (!has_future || version < "1.8.0") { [18:00:57.288] info <- base::c(r_version = base::gsub("R version ", [18:00:57.288] "", base::R.version$version.string), [18:00:57.288] platform = base::sprintf("%s (%s-bit)", [18:00:57.288] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.288] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.288] "release", "version")], collapse = " "), [18:00:57.288] hostname = base::Sys.info()[["nodename"]]) [18:00:57.288] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.288] info) [18:00:57.288] info <- base::paste(info, collapse = "; ") [18:00:57.288] if (!has_future) { [18:00:57.288] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.288] info) [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.288] info, version) [18:00:57.288] } [18:00:57.288] base::stop(msg) [18:00:57.288] } [18:00:57.288] }) [18:00:57.288] } [18:00:57.288] options(future.plan = NULL) [18:00:57.288] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.288] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.288] } [18:00:57.288] ...future.workdir <- getwd() [18:00:57.288] } [18:00:57.288] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.288] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.288] } [18:00:57.288] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.288] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.288] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.288] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.288] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.288] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.288] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.288] base::names(...future.oldOptions)) [18:00:57.288] } [18:00:57.288] if (FALSE) { [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] if (TRUE) { [18:00:57.288] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.288] open = "w") [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.288] windows = "NUL", "/dev/null"), open = "w") [18:00:57.288] } [18:00:57.288] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.288] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.288] base::sink(type = "output", split = FALSE) [18:00:57.288] base::close(...future.stdout) [18:00:57.288] }, add = TRUE) [18:00:57.288] } [18:00:57.288] ...future.frame <- base::sys.nframe() [18:00:57.288] ...future.conditions <- base::list() [18:00:57.288] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.288] if (FALSE) { [18:00:57.288] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.288] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.288] } [18:00:57.288] ...future.result <- base::tryCatch({ [18:00:57.288] base::withCallingHandlers({ [18:00:57.288] ...future.value <- base::withVisible(base::local({ [18:00:57.288] 2 [18:00:57.288] })) [18:00:57.288] future::FutureResult(value = ...future.value$value, [18:00:57.288] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.288] ...future.rng), globalenv = if (FALSE) [18:00:57.288] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.288] ...future.globalenv.names)) [18:00:57.288] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.288] }, condition = base::local({ [18:00:57.288] c <- base::c [18:00:57.288] inherits <- base::inherits [18:00:57.288] invokeRestart <- base::invokeRestart [18:00:57.288] length <- base::length [18:00:57.288] list <- base::list [18:00:57.288] seq.int <- base::seq.int [18:00:57.288] signalCondition <- base::signalCondition [18:00:57.288] sys.calls <- base::sys.calls [18:00:57.288] `[[` <- base::`[[` [18:00:57.288] `+` <- base::`+` [18:00:57.288] `<<-` <- base::`<<-` [18:00:57.288] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.288] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.288] 3L)] [18:00:57.288] } [18:00:57.288] function(cond) { [18:00:57.288] is_error <- inherits(cond, "error") [18:00:57.288] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.288] NULL) [18:00:57.288] if (is_error) { [18:00:57.288] sessionInformation <- function() { [18:00:57.288] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.288] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.288] search = base::search(), system = base::Sys.info()) [18:00:57.288] } [18:00:57.288] ...future.conditions[[length(...future.conditions) + [18:00:57.288] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.288] cond$call), session = sessionInformation(), [18:00:57.288] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.288] signalCondition(cond) [18:00:57.288] } [18:00:57.288] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.288] "immediateCondition"))) { [18:00:57.288] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.288] ...future.conditions[[length(...future.conditions) + [18:00:57.288] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.288] if (TRUE && !signal) { [18:00:57.288] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.288] { [18:00:57.288] inherits <- base::inherits [18:00:57.288] invokeRestart <- base::invokeRestart [18:00:57.288] is.null <- base::is.null [18:00:57.288] muffled <- FALSE [18:00:57.288] if (inherits(cond, "message")) { [18:00:57.288] muffled <- grepl(pattern, "muffleMessage") [18:00:57.288] if (muffled) [18:00:57.288] invokeRestart("muffleMessage") [18:00:57.288] } [18:00:57.288] else if (inherits(cond, "warning")) { [18:00:57.288] muffled <- grepl(pattern, "muffleWarning") [18:00:57.288] if (muffled) [18:00:57.288] invokeRestart("muffleWarning") [18:00:57.288] } [18:00:57.288] else if (inherits(cond, "condition")) { [18:00:57.288] if (!is.null(pattern)) { [18:00:57.288] computeRestarts <- base::computeRestarts [18:00:57.288] grepl <- base::grepl [18:00:57.288] restarts <- computeRestarts(cond) [18:00:57.288] for (restart in restarts) { [18:00:57.288] name <- restart$name [18:00:57.288] if (is.null(name)) [18:00:57.288] next [18:00:57.288] if (!grepl(pattern, name)) [18:00:57.288] next [18:00:57.288] invokeRestart(restart) [18:00:57.288] muffled <- TRUE [18:00:57.288] break [18:00:57.288] } [18:00:57.288] } [18:00:57.288] } [18:00:57.288] invisible(muffled) [18:00:57.288] } [18:00:57.288] muffleCondition(cond, pattern = "^muffle") [18:00:57.288] } [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] if (TRUE) { [18:00:57.288] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.288] { [18:00:57.288] inherits <- base::inherits [18:00:57.288] invokeRestart <- base::invokeRestart [18:00:57.288] is.null <- base::is.null [18:00:57.288] muffled <- FALSE [18:00:57.288] if (inherits(cond, "message")) { [18:00:57.288] muffled <- grepl(pattern, "muffleMessage") [18:00:57.288] if (muffled) [18:00:57.288] invokeRestart("muffleMessage") [18:00:57.288] } [18:00:57.288] else if (inherits(cond, "warning")) { [18:00:57.288] muffled <- grepl(pattern, "muffleWarning") [18:00:57.288] if (muffled) [18:00:57.288] invokeRestart("muffleWarning") [18:00:57.288] } [18:00:57.288] else if (inherits(cond, "condition")) { [18:00:57.288] if (!is.null(pattern)) { [18:00:57.288] computeRestarts <- base::computeRestarts [18:00:57.288] grepl <- base::grepl [18:00:57.288] restarts <- computeRestarts(cond) [18:00:57.288] for (restart in restarts) { [18:00:57.288] name <- restart$name [18:00:57.288] if (is.null(name)) [18:00:57.288] next [18:00:57.288] if (!grepl(pattern, name)) [18:00:57.288] next [18:00:57.288] invokeRestart(restart) [18:00:57.288] muffled <- TRUE [18:00:57.288] break [18:00:57.288] } [18:00:57.288] } [18:00:57.288] } [18:00:57.288] invisible(muffled) [18:00:57.288] } [18:00:57.288] muffleCondition(cond, pattern = "^muffle") [18:00:57.288] } [18:00:57.288] } [18:00:57.288] } [18:00:57.288] })) [18:00:57.288] }, error = function(ex) { [18:00:57.288] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.288] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.288] ...future.rng), started = ...future.startTime, [18:00:57.288] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.288] version = "1.8"), class = "FutureResult") [18:00:57.288] }, finally = { [18:00:57.288] if (!identical(...future.workdir, getwd())) [18:00:57.288] setwd(...future.workdir) [18:00:57.288] { [18:00:57.288] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.288] ...future.oldOptions$nwarnings <- NULL [18:00:57.288] } [18:00:57.288] base::options(...future.oldOptions) [18:00:57.288] if (.Platform$OS.type == "windows") { [18:00:57.288] old_names <- names(...future.oldEnvVars) [18:00:57.288] envs <- base::Sys.getenv() [18:00:57.288] names <- names(envs) [18:00:57.288] common <- intersect(names, old_names) [18:00:57.288] added <- setdiff(names, old_names) [18:00:57.288] removed <- setdiff(old_names, names) [18:00:57.288] changed <- common[...future.oldEnvVars[common] != [18:00:57.288] envs[common]] [18:00:57.288] NAMES <- toupper(changed) [18:00:57.288] args <- list() [18:00:57.288] for (kk in seq_along(NAMES)) { [18:00:57.288] name <- changed[[kk]] [18:00:57.288] NAME <- NAMES[[kk]] [18:00:57.288] if (name != NAME && is.element(NAME, old_names)) [18:00:57.288] next [18:00:57.288] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.288] } [18:00:57.288] NAMES <- toupper(added) [18:00:57.288] for (kk in seq_along(NAMES)) { [18:00:57.288] name <- added[[kk]] [18:00:57.288] NAME <- NAMES[[kk]] [18:00:57.288] if (name != NAME && is.element(NAME, old_names)) [18:00:57.288] next [18:00:57.288] args[[name]] <- "" [18:00:57.288] } [18:00:57.288] NAMES <- toupper(removed) [18:00:57.288] for (kk in seq_along(NAMES)) { [18:00:57.288] name <- removed[[kk]] [18:00:57.288] NAME <- NAMES[[kk]] [18:00:57.288] if (name != NAME && is.element(NAME, old_names)) [18:00:57.288] next [18:00:57.288] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.288] } [18:00:57.288] if (length(args) > 0) [18:00:57.288] base::do.call(base::Sys.setenv, args = args) [18:00:57.288] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.288] } [18:00:57.288] { [18:00:57.288] if (base::length(...future.futureOptionsAdded) > [18:00:57.288] 0L) { [18:00:57.288] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.288] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.288] base::options(opts) [18:00:57.288] } [18:00:57.288] { [18:00:57.288] { [18:00:57.288] NULL [18:00:57.288] RNGkind("Mersenne-Twister") [18:00:57.288] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.288] inherits = FALSE) [18:00:57.288] } [18:00:57.288] options(future.plan = NULL) [18:00:57.288] if (is.na(NA_character_)) [18:00:57.288] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.288] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.288] future::plan(list(function (..., envir = parent.frame()) [18:00:57.288] { [18:00:57.288] future <- SequentialFuture(..., envir = envir) [18:00:57.288] if (!future$lazy) [18:00:57.288] future <- run(future) [18:00:57.288] invisible(future) [18:00:57.288] }), .cleanup = FALSE, .init = FALSE) [18:00:57.288] } [18:00:57.288] } [18:00:57.288] } [18:00:57.288] }) [18:00:57.288] if (TRUE) { [18:00:57.288] base::sink(type = "output", split = FALSE) [18:00:57.288] if (TRUE) { [18:00:57.288] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.288] } [18:00:57.288] else { [18:00:57.288] ...future.result["stdout"] <- base::list(NULL) [18:00:57.288] } [18:00:57.288] base::close(...future.stdout) [18:00:57.288] ...future.stdout <- NULL [18:00:57.288] } [18:00:57.288] ...future.result$conditions <- ...future.conditions [18:00:57.288] ...future.result$finished <- base::Sys.time() [18:00:57.288] ...future.result [18:00:57.288] } [18:00:57.292] plan(): Setting new future strategy stack: [18:00:57.293] List of future strategies: [18:00:57.293] 1. sequential: [18:00:57.293] - args: function (..., envir = parent.frame()) [18:00:57.293] - tweaked: FALSE [18:00:57.293] - call: NULL [18:00:57.293] plan(): nbrOfWorkers() = 1 [18:00:57.294] plan(): Setting new future strategy stack: [18:00:57.294] List of future strategies: [18:00:57.294] 1. sequential: [18:00:57.294] - args: function (..., envir = parent.frame()) [18:00:57.294] - tweaked: FALSE [18:00:57.294] - call: future::plan("sequential") [18:00:57.295] plan(): nbrOfWorkers() = 1 [18:00:57.295] SequentialFuture started (and completed) [18:00:57.295] - Launch lazy future ... done [18:00:57.296] run() for 'SequentialFuture' ... done SequentialFuture: Label: '' Expression: { 2 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'list') ... [[1]] SequentialFuture: Label: '' Expression: { 2 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'collect-first') ... [18:00:57.307] resolved() for 'SequentialFuture' ... [18:00:57.307] - state: 'finished' [18:00:57.307] - run: FALSE [18:00:57.308] - result: 'FutureResult' [18:00:57.308] resolved() for 'SequentialFuture' ... done list() *** FutureRegistry('rscript', 'add') ... [18:00:57.308] getGlobalsAndPackages() ... [18:00:57.308] Searching for globals... [18:00:57.309] - globals found: [1] '{' [18:00:57.309] Searching for globals ... DONE [18:00:57.309] Resolving globals: FALSE [18:00:57.310] [18:00:57.310] [18:00:57.310] getGlobalsAndPackages() ... DONE [18:00:57.310] run() for 'Future' ... [18:00:57.311] - state: 'created' [18:00:57.311] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.311] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.311] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.312] - Field: 'label' [18:00:57.312] - Field: 'local' [18:00:57.312] - Field: 'owner' [18:00:57.312] - Field: 'envir' [18:00:57.312] - Field: 'packages' [18:00:57.312] - Field: 'gc' [18:00:57.313] - Field: 'conditions' [18:00:57.313] - Field: 'expr' [18:00:57.313] - Field: 'uuid' [18:00:57.313] - Field: 'seed' [18:00:57.313] - Field: 'version' [18:00:57.313] - Field: 'result' [18:00:57.314] - Field: 'asynchronous' [18:00:57.314] - Field: 'calls' [18:00:57.314] - Field: 'globals' [18:00:57.314] - Field: 'stdout' [18:00:57.314] - Field: 'earlySignal' [18:00:57.315] - Field: 'lazy' [18:00:57.315] - Field: 'state' [18:00:57.315] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.315] - Launch lazy future ... [18:00:57.315] Packages needed by the future expression (n = 0): [18:00:57.315] Packages needed by future strategies (n = 0): [18:00:57.316] { [18:00:57.316] { [18:00:57.316] { [18:00:57.316] ...future.startTime <- base::Sys.time() [18:00:57.316] { [18:00:57.316] { [18:00:57.316] { [18:00:57.316] base::local({ [18:00:57.316] has_future <- base::requireNamespace("future", [18:00:57.316] quietly = TRUE) [18:00:57.316] if (has_future) { [18:00:57.316] ns <- base::getNamespace("future") [18:00:57.316] version <- ns[[".package"]][["version"]] [18:00:57.316] if (is.null(version)) [18:00:57.316] version <- utils::packageVersion("future") [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] version <- NULL [18:00:57.316] } [18:00:57.316] if (!has_future || version < "1.8.0") { [18:00:57.316] info <- base::c(r_version = base::gsub("R version ", [18:00:57.316] "", base::R.version$version.string), [18:00:57.316] platform = base::sprintf("%s (%s-bit)", [18:00:57.316] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.316] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.316] "release", "version")], collapse = " "), [18:00:57.316] hostname = base::Sys.info()[["nodename"]]) [18:00:57.316] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.316] info) [18:00:57.316] info <- base::paste(info, collapse = "; ") [18:00:57.316] if (!has_future) { [18:00:57.316] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.316] info) [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.316] info, version) [18:00:57.316] } [18:00:57.316] base::stop(msg) [18:00:57.316] } [18:00:57.316] }) [18:00:57.316] } [18:00:57.316] options(future.plan = NULL) [18:00:57.316] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.316] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.316] } [18:00:57.316] ...future.workdir <- getwd() [18:00:57.316] } [18:00:57.316] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.316] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.316] } [18:00:57.316] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.316] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.316] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.316] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.316] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.316] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.316] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.316] base::names(...future.oldOptions)) [18:00:57.316] } [18:00:57.316] if (FALSE) { [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] if (TRUE) { [18:00:57.316] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.316] open = "w") [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.316] windows = "NUL", "/dev/null"), open = "w") [18:00:57.316] } [18:00:57.316] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.316] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.316] base::sink(type = "output", split = FALSE) [18:00:57.316] base::close(...future.stdout) [18:00:57.316] }, add = TRUE) [18:00:57.316] } [18:00:57.316] ...future.frame <- base::sys.nframe() [18:00:57.316] ...future.conditions <- base::list() [18:00:57.316] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.316] if (FALSE) { [18:00:57.316] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.316] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.316] } [18:00:57.316] ...future.result <- base::tryCatch({ [18:00:57.316] base::withCallingHandlers({ [18:00:57.316] ...future.value <- base::withVisible(base::local({ [18:00:57.316] 2 [18:00:57.316] })) [18:00:57.316] future::FutureResult(value = ...future.value$value, [18:00:57.316] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.316] ...future.rng), globalenv = if (FALSE) [18:00:57.316] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.316] ...future.globalenv.names)) [18:00:57.316] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.316] }, condition = base::local({ [18:00:57.316] c <- base::c [18:00:57.316] inherits <- base::inherits [18:00:57.316] invokeRestart <- base::invokeRestart [18:00:57.316] length <- base::length [18:00:57.316] list <- base::list [18:00:57.316] seq.int <- base::seq.int [18:00:57.316] signalCondition <- base::signalCondition [18:00:57.316] sys.calls <- base::sys.calls [18:00:57.316] `[[` <- base::`[[` [18:00:57.316] `+` <- base::`+` [18:00:57.316] `<<-` <- base::`<<-` [18:00:57.316] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.316] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.316] 3L)] [18:00:57.316] } [18:00:57.316] function(cond) { [18:00:57.316] is_error <- inherits(cond, "error") [18:00:57.316] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.316] NULL) [18:00:57.316] if (is_error) { [18:00:57.316] sessionInformation <- function() { [18:00:57.316] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.316] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.316] search = base::search(), system = base::Sys.info()) [18:00:57.316] } [18:00:57.316] ...future.conditions[[length(...future.conditions) + [18:00:57.316] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.316] cond$call), session = sessionInformation(), [18:00:57.316] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.316] signalCondition(cond) [18:00:57.316] } [18:00:57.316] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.316] "immediateCondition"))) { [18:00:57.316] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.316] ...future.conditions[[length(...future.conditions) + [18:00:57.316] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.316] if (TRUE && !signal) { [18:00:57.316] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.316] { [18:00:57.316] inherits <- base::inherits [18:00:57.316] invokeRestart <- base::invokeRestart [18:00:57.316] is.null <- base::is.null [18:00:57.316] muffled <- FALSE [18:00:57.316] if (inherits(cond, "message")) { [18:00:57.316] muffled <- grepl(pattern, "muffleMessage") [18:00:57.316] if (muffled) [18:00:57.316] invokeRestart("muffleMessage") [18:00:57.316] } [18:00:57.316] else if (inherits(cond, "warning")) { [18:00:57.316] muffled <- grepl(pattern, "muffleWarning") [18:00:57.316] if (muffled) [18:00:57.316] invokeRestart("muffleWarning") [18:00:57.316] } [18:00:57.316] else if (inherits(cond, "condition")) { [18:00:57.316] if (!is.null(pattern)) { [18:00:57.316] computeRestarts <- base::computeRestarts [18:00:57.316] grepl <- base::grepl [18:00:57.316] restarts <- computeRestarts(cond) [18:00:57.316] for (restart in restarts) { [18:00:57.316] name <- restart$name [18:00:57.316] if (is.null(name)) [18:00:57.316] next [18:00:57.316] if (!grepl(pattern, name)) [18:00:57.316] next [18:00:57.316] invokeRestart(restart) [18:00:57.316] muffled <- TRUE [18:00:57.316] break [18:00:57.316] } [18:00:57.316] } [18:00:57.316] } [18:00:57.316] invisible(muffled) [18:00:57.316] } [18:00:57.316] muffleCondition(cond, pattern = "^muffle") [18:00:57.316] } [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] if (TRUE) { [18:00:57.316] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.316] { [18:00:57.316] inherits <- base::inherits [18:00:57.316] invokeRestart <- base::invokeRestart [18:00:57.316] is.null <- base::is.null [18:00:57.316] muffled <- FALSE [18:00:57.316] if (inherits(cond, "message")) { [18:00:57.316] muffled <- grepl(pattern, "muffleMessage") [18:00:57.316] if (muffled) [18:00:57.316] invokeRestart("muffleMessage") [18:00:57.316] } [18:00:57.316] else if (inherits(cond, "warning")) { [18:00:57.316] muffled <- grepl(pattern, "muffleWarning") [18:00:57.316] if (muffled) [18:00:57.316] invokeRestart("muffleWarning") [18:00:57.316] } [18:00:57.316] else if (inherits(cond, "condition")) { [18:00:57.316] if (!is.null(pattern)) { [18:00:57.316] computeRestarts <- base::computeRestarts [18:00:57.316] grepl <- base::grepl [18:00:57.316] restarts <- computeRestarts(cond) [18:00:57.316] for (restart in restarts) { [18:00:57.316] name <- restart$name [18:00:57.316] if (is.null(name)) [18:00:57.316] next [18:00:57.316] if (!grepl(pattern, name)) [18:00:57.316] next [18:00:57.316] invokeRestart(restart) [18:00:57.316] muffled <- TRUE [18:00:57.316] break [18:00:57.316] } [18:00:57.316] } [18:00:57.316] } [18:00:57.316] invisible(muffled) [18:00:57.316] } [18:00:57.316] muffleCondition(cond, pattern = "^muffle") [18:00:57.316] } [18:00:57.316] } [18:00:57.316] } [18:00:57.316] })) [18:00:57.316] }, error = function(ex) { [18:00:57.316] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.316] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.316] ...future.rng), started = ...future.startTime, [18:00:57.316] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.316] version = "1.8"), class = "FutureResult") [18:00:57.316] }, finally = { [18:00:57.316] if (!identical(...future.workdir, getwd())) [18:00:57.316] setwd(...future.workdir) [18:00:57.316] { [18:00:57.316] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.316] ...future.oldOptions$nwarnings <- NULL [18:00:57.316] } [18:00:57.316] base::options(...future.oldOptions) [18:00:57.316] if (.Platform$OS.type == "windows") { [18:00:57.316] old_names <- names(...future.oldEnvVars) [18:00:57.316] envs <- base::Sys.getenv() [18:00:57.316] names <- names(envs) [18:00:57.316] common <- intersect(names, old_names) [18:00:57.316] added <- setdiff(names, old_names) [18:00:57.316] removed <- setdiff(old_names, names) [18:00:57.316] changed <- common[...future.oldEnvVars[common] != [18:00:57.316] envs[common]] [18:00:57.316] NAMES <- toupper(changed) [18:00:57.316] args <- list() [18:00:57.316] for (kk in seq_along(NAMES)) { [18:00:57.316] name <- changed[[kk]] [18:00:57.316] NAME <- NAMES[[kk]] [18:00:57.316] if (name != NAME && is.element(NAME, old_names)) [18:00:57.316] next [18:00:57.316] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.316] } [18:00:57.316] NAMES <- toupper(added) [18:00:57.316] for (kk in seq_along(NAMES)) { [18:00:57.316] name <- added[[kk]] [18:00:57.316] NAME <- NAMES[[kk]] [18:00:57.316] if (name != NAME && is.element(NAME, old_names)) [18:00:57.316] next [18:00:57.316] args[[name]] <- "" [18:00:57.316] } [18:00:57.316] NAMES <- toupper(removed) [18:00:57.316] for (kk in seq_along(NAMES)) { [18:00:57.316] name <- removed[[kk]] [18:00:57.316] NAME <- NAMES[[kk]] [18:00:57.316] if (name != NAME && is.element(NAME, old_names)) [18:00:57.316] next [18:00:57.316] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.316] } [18:00:57.316] if (length(args) > 0) [18:00:57.316] base::do.call(base::Sys.setenv, args = args) [18:00:57.316] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.316] } [18:00:57.316] { [18:00:57.316] if (base::length(...future.futureOptionsAdded) > [18:00:57.316] 0L) { [18:00:57.316] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.316] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.316] base::options(opts) [18:00:57.316] } [18:00:57.316] { [18:00:57.316] { [18:00:57.316] NULL [18:00:57.316] RNGkind("Mersenne-Twister") [18:00:57.316] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.316] inherits = FALSE) [18:00:57.316] } [18:00:57.316] options(future.plan = NULL) [18:00:57.316] if (is.na(NA_character_)) [18:00:57.316] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.316] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.316] future::plan(list(function (..., envir = parent.frame()) [18:00:57.316] { [18:00:57.316] future <- SequentialFuture(..., envir = envir) [18:00:57.316] if (!future$lazy) [18:00:57.316] future <- run(future) [18:00:57.316] invisible(future) [18:00:57.316] }), .cleanup = FALSE, .init = FALSE) [18:00:57.316] } [18:00:57.316] } [18:00:57.316] } [18:00:57.316] }) [18:00:57.316] if (TRUE) { [18:00:57.316] base::sink(type = "output", split = FALSE) [18:00:57.316] if (TRUE) { [18:00:57.316] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.316] } [18:00:57.316] else { [18:00:57.316] ...future.result["stdout"] <- base::list(NULL) [18:00:57.316] } [18:00:57.316] base::close(...future.stdout) [18:00:57.316] ...future.stdout <- NULL [18:00:57.316] } [18:00:57.316] ...future.result$conditions <- ...future.conditions [18:00:57.316] ...future.result$finished <- base::Sys.time() [18:00:57.316] ...future.result [18:00:57.316] } [18:00:57.320] plan(): Setting new future strategy stack: [18:00:57.320] List of future strategies: [18:00:57.320] 1. sequential: [18:00:57.320] - args: function (..., envir = parent.frame()) [18:00:57.320] - tweaked: FALSE [18:00:57.320] - call: NULL [18:00:57.321] plan(): nbrOfWorkers() = 1 [18:00:57.322] plan(): Setting new future strategy stack: [18:00:57.322] List of future strategies: [18:00:57.322] 1. sequential: [18:00:57.322] - args: function (..., envir = parent.frame()) [18:00:57.322] - tweaked: FALSE [18:00:57.322] - call: future::plan("sequential") [18:00:57.322] plan(): nbrOfWorkers() = 1 [18:00:57.323] SequentialFuture started (and completed) [18:00:57.323] - Launch lazy future ... done [18:00:57.323] run() for 'SequentialFuture' ... done SequentialFuture: Label: '' Expression: { 2 } 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'reset') ... *** FutureRegistry('rscript', 'list') ... list() > > > message("*** FutureRegistry() - exceptions ...") *** FutureRegistry() - exceptions ... > > futures <- FutureRegistry(where = "test", action = "list") > stopifnot(length(futures) == 0) > > f <- future(1) [18:00:57.324] getGlobalsAndPackages() ... [18:00:57.324] Searching for globals... [18:00:57.325] [18:00:57.325] Searching for globals ... DONE [18:00:57.325] - globals: [0] [18:00:57.325] getGlobalsAndPackages() ... DONE [18:00:57.325] run() for 'Future' ... [18:00:57.326] - state: 'created' [18:00:57.326] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:00:57.326] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:00:57.326] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:00:57.326] - Field: 'label' [18:00:57.327] - Field: 'local' [18:00:57.327] - Field: 'owner' [18:00:57.327] - Field: 'envir' [18:00:57.327] - Field: 'packages' [18:00:57.327] - Field: 'gc' [18:00:57.328] - Field: 'conditions' [18:00:57.328] - Field: 'expr' [18:00:57.328] - Field: 'uuid' [18:00:57.328] - Field: 'seed' [18:00:57.328] - Field: 'version' [18:00:57.328] - Field: 'result' [18:00:57.329] - Field: 'asynchronous' [18:00:57.329] - Field: 'calls' [18:00:57.329] - Field: 'globals' [18:00:57.329] - Field: 'stdout' [18:00:57.329] - Field: 'earlySignal' [18:00:57.329] - Field: 'lazy' [18:00:57.330] - Field: 'state' [18:00:57.330] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:00:57.330] - Launch lazy future ... [18:00:57.330] Packages needed by the future expression (n = 0): [18:00:57.330] Packages needed by future strategies (n = 0): [18:00:57.331] { [18:00:57.331] { [18:00:57.331] { [18:00:57.331] ...future.startTime <- base::Sys.time() [18:00:57.331] { [18:00:57.331] { [18:00:57.331] { [18:00:57.331] base::local({ [18:00:57.331] has_future <- base::requireNamespace("future", [18:00:57.331] quietly = TRUE) [18:00:57.331] if (has_future) { [18:00:57.331] ns <- base::getNamespace("future") [18:00:57.331] version <- ns[[".package"]][["version"]] [18:00:57.331] if (is.null(version)) [18:00:57.331] version <- utils::packageVersion("future") [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] version <- NULL [18:00:57.331] } [18:00:57.331] if (!has_future || version < "1.8.0") { [18:00:57.331] info <- base::c(r_version = base::gsub("R version ", [18:00:57.331] "", base::R.version$version.string), [18:00:57.331] platform = base::sprintf("%s (%s-bit)", [18:00:57.331] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:00:57.331] os = base::paste(base::Sys.info()[base::c("sysname", [18:00:57.331] "release", "version")], collapse = " "), [18:00:57.331] hostname = base::Sys.info()[["nodename"]]) [18:00:57.331] info <- base::sprintf("%s: %s", base::names(info), [18:00:57.331] info) [18:00:57.331] info <- base::paste(info, collapse = "; ") [18:00:57.331] if (!has_future) { [18:00:57.331] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:00:57.331] info) [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:00:57.331] info, version) [18:00:57.331] } [18:00:57.331] base::stop(msg) [18:00:57.331] } [18:00:57.331] }) [18:00:57.331] } [18:00:57.331] options(future.plan = NULL) [18:00:57.331] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.331] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:00:57.331] } [18:00:57.331] ...future.workdir <- getwd() [18:00:57.331] } [18:00:57.331] ...future.oldOptions <- base::as.list(base::.Options) [18:00:57.331] ...future.oldEnvVars <- base::Sys.getenv() [18:00:57.331] } [18:00:57.331] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:00:57.331] future.globals.maxSize = NULL, future.globals.method = NULL, [18:00:57.331] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:00:57.331] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:00:57.331] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:00:57.331] future.stdout.windows.reencode = NULL, width = 80L) [18:00:57.331] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:00:57.331] base::names(...future.oldOptions)) [18:00:57.331] } [18:00:57.331] if (FALSE) { [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] if (TRUE) { [18:00:57.331] ...future.stdout <- base::rawConnection(base::raw(0L), [18:00:57.331] open = "w") [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:00:57.331] windows = "NUL", "/dev/null"), open = "w") [18:00:57.331] } [18:00:57.331] base::sink(...future.stdout, type = "output", split = FALSE) [18:00:57.331] base::on.exit(if (!base::is.null(...future.stdout)) { [18:00:57.331] base::sink(type = "output", split = FALSE) [18:00:57.331] base::close(...future.stdout) [18:00:57.331] }, add = TRUE) [18:00:57.331] } [18:00:57.331] ...future.frame <- base::sys.nframe() [18:00:57.331] ...future.conditions <- base::list() [18:00:57.331] ...future.rng <- base::globalenv()$.Random.seed [18:00:57.331] if (FALSE) { [18:00:57.331] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:00:57.331] "...future.value", "...future.globalenv.names", ".Random.seed") [18:00:57.331] } [18:00:57.331] ...future.result <- base::tryCatch({ [18:00:57.331] base::withCallingHandlers({ [18:00:57.331] ...future.value <- base::withVisible(base::local(1)) [18:00:57.331] future::FutureResult(value = ...future.value$value, [18:00:57.331] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.331] ...future.rng), globalenv = if (FALSE) [18:00:57.331] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:00:57.331] ...future.globalenv.names)) [18:00:57.331] else NULL, started = ...future.startTime, version = "1.8") [18:00:57.331] }, condition = base::local({ [18:00:57.331] c <- base::c [18:00:57.331] inherits <- base::inherits [18:00:57.331] invokeRestart <- base::invokeRestart [18:00:57.331] length <- base::length [18:00:57.331] list <- base::list [18:00:57.331] seq.int <- base::seq.int [18:00:57.331] signalCondition <- base::signalCondition [18:00:57.331] sys.calls <- base::sys.calls [18:00:57.331] `[[` <- base::`[[` [18:00:57.331] `+` <- base::`+` [18:00:57.331] `<<-` <- base::`<<-` [18:00:57.331] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:00:57.331] calls[seq.int(from = from + 12L, to = length(calls) - [18:00:57.331] 3L)] [18:00:57.331] } [18:00:57.331] function(cond) { [18:00:57.331] is_error <- inherits(cond, "error") [18:00:57.331] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:00:57.331] NULL) [18:00:57.331] if (is_error) { [18:00:57.331] sessionInformation <- function() { [18:00:57.331] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:00:57.331] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:00:57.331] search = base::search(), system = base::Sys.info()) [18:00:57.331] } [18:00:57.331] ...future.conditions[[length(...future.conditions) + [18:00:57.331] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:00:57.331] cond$call), session = sessionInformation(), [18:00:57.331] timestamp = base::Sys.time(), signaled = 0L) [18:00:57.331] signalCondition(cond) [18:00:57.331] } [18:00:57.331] else if (!ignore && TRUE && inherits(cond, c("condition", [18:00:57.331] "immediateCondition"))) { [18:00:57.331] signal <- TRUE && inherits(cond, "immediateCondition") [18:00:57.331] ...future.conditions[[length(...future.conditions) + [18:00:57.331] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:00:57.331] if (TRUE && !signal) { [18:00:57.331] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.331] { [18:00:57.331] inherits <- base::inherits [18:00:57.331] invokeRestart <- base::invokeRestart [18:00:57.331] is.null <- base::is.null [18:00:57.331] muffled <- FALSE [18:00:57.331] if (inherits(cond, "message")) { [18:00:57.331] muffled <- grepl(pattern, "muffleMessage") [18:00:57.331] if (muffled) [18:00:57.331] invokeRestart("muffleMessage") [18:00:57.331] } [18:00:57.331] else if (inherits(cond, "warning")) { [18:00:57.331] muffled <- grepl(pattern, "muffleWarning") [18:00:57.331] if (muffled) [18:00:57.331] invokeRestart("muffleWarning") [18:00:57.331] } [18:00:57.331] else if (inherits(cond, "condition")) { [18:00:57.331] if (!is.null(pattern)) { [18:00:57.331] computeRestarts <- base::computeRestarts [18:00:57.331] grepl <- base::grepl [18:00:57.331] restarts <- computeRestarts(cond) [18:00:57.331] for (restart in restarts) { [18:00:57.331] name <- restart$name [18:00:57.331] if (is.null(name)) [18:00:57.331] next [18:00:57.331] if (!grepl(pattern, name)) [18:00:57.331] next [18:00:57.331] invokeRestart(restart) [18:00:57.331] muffled <- TRUE [18:00:57.331] break [18:00:57.331] } [18:00:57.331] } [18:00:57.331] } [18:00:57.331] invisible(muffled) [18:00:57.331] } [18:00:57.331] muffleCondition(cond, pattern = "^muffle") [18:00:57.331] } [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] if (TRUE) { [18:00:57.331] muffleCondition <- function (cond, pattern = "^muffle") [18:00:57.331] { [18:00:57.331] inherits <- base::inherits [18:00:57.331] invokeRestart <- base::invokeRestart [18:00:57.331] is.null <- base::is.null [18:00:57.331] muffled <- FALSE [18:00:57.331] if (inherits(cond, "message")) { [18:00:57.331] muffled <- grepl(pattern, "muffleMessage") [18:00:57.331] if (muffled) [18:00:57.331] invokeRestart("muffleMessage") [18:00:57.331] } [18:00:57.331] else if (inherits(cond, "warning")) { [18:00:57.331] muffled <- grepl(pattern, "muffleWarning") [18:00:57.331] if (muffled) [18:00:57.331] invokeRestart("muffleWarning") [18:00:57.331] } [18:00:57.331] else if (inherits(cond, "condition")) { [18:00:57.331] if (!is.null(pattern)) { [18:00:57.331] computeRestarts <- base::computeRestarts [18:00:57.331] grepl <- base::grepl [18:00:57.331] restarts <- computeRestarts(cond) [18:00:57.331] for (restart in restarts) { [18:00:57.331] name <- restart$name [18:00:57.331] if (is.null(name)) [18:00:57.331] next [18:00:57.331] if (!grepl(pattern, name)) [18:00:57.331] next [18:00:57.331] invokeRestart(restart) [18:00:57.331] muffled <- TRUE [18:00:57.331] break [18:00:57.331] } [18:00:57.331] } [18:00:57.331] } [18:00:57.331] invisible(muffled) [18:00:57.331] } [18:00:57.331] muffleCondition(cond, pattern = "^muffle") [18:00:57.331] } [18:00:57.331] } [18:00:57.331] } [18:00:57.331] })) [18:00:57.331] }, error = function(ex) { [18:00:57.331] base::structure(base::list(value = NULL, visible = NULL, [18:00:57.331] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:00:57.331] ...future.rng), started = ...future.startTime, [18:00:57.331] finished = Sys.time(), session_uuid = NA_character_, [18:00:57.331] version = "1.8"), class = "FutureResult") [18:00:57.331] }, finally = { [18:00:57.331] if (!identical(...future.workdir, getwd())) [18:00:57.331] setwd(...future.workdir) [18:00:57.331] { [18:00:57.331] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:00:57.331] ...future.oldOptions$nwarnings <- NULL [18:00:57.331] } [18:00:57.331] base::options(...future.oldOptions) [18:00:57.331] if (.Platform$OS.type == "windows") { [18:00:57.331] old_names <- names(...future.oldEnvVars) [18:00:57.331] envs <- base::Sys.getenv() [18:00:57.331] names <- names(envs) [18:00:57.331] common <- intersect(names, old_names) [18:00:57.331] added <- setdiff(names, old_names) [18:00:57.331] removed <- setdiff(old_names, names) [18:00:57.331] changed <- common[...future.oldEnvVars[common] != [18:00:57.331] envs[common]] [18:00:57.331] NAMES <- toupper(changed) [18:00:57.331] args <- list() [18:00:57.331] for (kk in seq_along(NAMES)) { [18:00:57.331] name <- changed[[kk]] [18:00:57.331] NAME <- NAMES[[kk]] [18:00:57.331] if (name != NAME && is.element(NAME, old_names)) [18:00:57.331] next [18:00:57.331] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.331] } [18:00:57.331] NAMES <- toupper(added) [18:00:57.331] for (kk in seq_along(NAMES)) { [18:00:57.331] name <- added[[kk]] [18:00:57.331] NAME <- NAMES[[kk]] [18:00:57.331] if (name != NAME && is.element(NAME, old_names)) [18:00:57.331] next [18:00:57.331] args[[name]] <- "" [18:00:57.331] } [18:00:57.331] NAMES <- toupper(removed) [18:00:57.331] for (kk in seq_along(NAMES)) { [18:00:57.331] name <- removed[[kk]] [18:00:57.331] NAME <- NAMES[[kk]] [18:00:57.331] if (name != NAME && is.element(NAME, old_names)) [18:00:57.331] next [18:00:57.331] args[[name]] <- ...future.oldEnvVars[[name]] [18:00:57.331] } [18:00:57.331] if (length(args) > 0) [18:00:57.331] base::do.call(base::Sys.setenv, args = args) [18:00:57.331] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:00:57.331] } [18:00:57.331] { [18:00:57.331] if (base::length(...future.futureOptionsAdded) > [18:00:57.331] 0L) { [18:00:57.331] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:00:57.331] base::names(opts) <- ...future.futureOptionsAdded [18:00:57.331] base::options(opts) [18:00:57.331] } [18:00:57.331] { [18:00:57.331] { [18:00:57.331] NULL [18:00:57.331] RNGkind("Mersenne-Twister") [18:00:57.331] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:00:57.331] inherits = FALSE) [18:00:57.331] } [18:00:57.331] options(future.plan = NULL) [18:00:57.331] if (is.na(NA_character_)) [18:00:57.331] Sys.unsetenv("R_FUTURE_PLAN") [18:00:57.331] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:00:57.331] future::plan(list(function (..., envir = parent.frame()) [18:00:57.331] { [18:00:57.331] future <- SequentialFuture(..., envir = envir) [18:00:57.331] if (!future$lazy) [18:00:57.331] future <- run(future) [18:00:57.331] invisible(future) [18:00:57.331] }), .cleanup = FALSE, .init = FALSE) [18:00:57.331] } [18:00:57.331] } [18:00:57.331] } [18:00:57.331] }) [18:00:57.331] if (TRUE) { [18:00:57.331] base::sink(type = "output", split = FALSE) [18:00:57.331] if (TRUE) { [18:00:57.331] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:00:57.331] } [18:00:57.331] else { [18:00:57.331] ...future.result["stdout"] <- base::list(NULL) [18:00:57.331] } [18:00:57.331] base::close(...future.stdout) [18:00:57.331] ...future.stdout <- NULL [18:00:57.331] } [18:00:57.331] ...future.result$conditions <- ...future.conditions [18:00:57.331] ...future.result$finished <- base::Sys.time() [18:00:57.331] ...future.result [18:00:57.331] } [18:00:57.335] plan(): Setting new future strategy stack: [18:00:57.335] List of future strategies: [18:00:57.335] 1. sequential: [18:00:57.335] - args: function (..., envir = parent.frame()) [18:00:57.335] - tweaked: FALSE [18:00:57.335] - call: NULL [18:00:57.335] plan(): nbrOfWorkers() = 1 [18:00:57.337] plan(): Setting new future strategy stack: [18:00:57.337] List of future strategies: [18:00:57.337] 1. sequential: [18:00:57.337] - args: function (..., envir = parent.frame()) [18:00:57.337] - tweaked: FALSE [18:00:57.337] - call: future::plan("sequential") [18:00:57.337] plan(): nbrOfWorkers() = 1 [18:00:57.338] SequentialFuture started (and completed) [18:00:57.338] - Launch lazy future ... done [18:00:57.338] run() for 'SequentialFuture' ... done > FutureRegistry(where = "test", action = "add", future = f) [[1]] SequentialFuture: Label: '' Expression: [1] 1 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: TRUE Value: 56 bytes of class 'numeric' Early signaling: FALSE Owner process: bc962a57-1075-a46c-26b8-13994ccd258c Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > futures <- FutureRegistry(where = "test", action = "list") > stopifnot(length(futures) == 1) > > res <- tryCatch(FutureRegistry(where = "test", action = "add", future = f), error = identity) [18:00:57.339] ERROR: Cannot add to 'test' registry. SequentialFuture is already registered. > stopifnot(inherits(res, "error")) > futures <- FutureRegistry(where = "test", action = "list") > stopifnot(length(futures) == 1) > > > FutureRegistry(where = "test", action = "remove", future = f) list() > futures <- FutureRegistry(where = "test", action = "list") > stopifnot(length(futures) == 0) > > res <- tryCatch(FutureRegistry(where = "test", action = "remove", future = f), error = identity) [18:00:57.339] ERROR: Cannot remove from 'test' registry. SequentialFuture not registered. > stopifnot(inherits(res, "error")) > futures <- FutureRegistry(where = "test", action = "list") > stopifnot(length(futures) == 0) > > FutureRegistry(where = "test", action = "reset") list() > futures <- FutureRegistry(where = "test", action = "list") > stopifnot(length(futures) == 0) > > res <- tryCatch(FutureRegistry(where = "test", action = ""), error = identity) [18:00:57.340] INTERNAL ERROR: Unknown action to 'test' registry: > stopifnot(inherits(res, "error")) > > message("*** FutureRegistry() - exceptions ... DONE") *** FutureRegistry() - exceptions ... DONE > > > message("*** FutureRegistry() ... DONE") *** FutureRegistry() ... DONE > > source("incl/end.R") [18:00:57.341] plan(): Setting new future strategy stack: [18:00:57.341] List of future strategies: [18:00:57.341] 1. FutureStrategy: [18:00:57.341] - args: function (..., envir = parent.frame()) [18:00:57.341] - tweaked: FALSE [18:00:57.341] - call: future::plan(oplan) [18:00:57.355] 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.4 0.1 0.5