R Under development (unstable) (2023-12-20 r85713 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > source("incl/start.R") [01:27:01.118] plan(): Setting new future strategy stack: [01:27:01.119] List of future strategies: [01:27:01.119] 1. sequential: [01:27:01.119] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.119] - tweaked: FALSE [01:27:01.119] - call: future::plan("sequential") [01:27:01.137] 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-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'list') ... list() *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'add') ... [01:27:01.178] getGlobalsAndPackages() ... [01:27:01.178] Searching for globals... [01:27:01.182] - globals found: [1] '{' [01:27:01.182] Searching for globals ... DONE [01:27:01.182] Resolving globals: FALSE [01:27:01.183] [01:27:01.183] [01:27:01.183] getGlobalsAndPackages() ... DONE [01:27:01.184] run() for 'Future' ... [01:27:01.184] - state: 'created' [01:27:01.184] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.185] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.185] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.185] - Field: 'label' [01:27:01.185] - Field: 'local' [01:27:01.186] - Field: 'owner' [01:27:01.186] - Field: 'envir' [01:27:01.186] - Field: 'packages' [01:27:01.186] - Field: 'gc' [01:27:01.186] - Field: 'conditions' [01:27:01.187] - Field: 'expr' [01:27:01.187] - Field: 'uuid' [01:27:01.187] - Field: 'seed' [01:27:01.187] - Field: 'version' [01:27:01.187] - Field: 'result' [01:27:01.187] - Field: 'asynchronous' [01:27:01.188] - Field: 'calls' [01:27:01.188] - Field: 'globals' [01:27:01.188] - Field: 'stdout' [01:27:01.188] - Field: 'earlySignal' [01:27:01.189] - Field: 'lazy' [01:27:01.189] - Field: 'state' [01:27:01.189] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.189] - Launch lazy future ... [01:27:01.190] Packages needed by the future expression (n = 0): [01:27:01.190] Packages needed by future strategies (n = 0): [01:27:01.191] { [01:27:01.191] { [01:27:01.191] { [01:27:01.191] ...future.startTime <- base::Sys.time() [01:27:01.191] { [01:27:01.191] { [01:27:01.191] { [01:27:01.191] base::local({ [01:27:01.191] has_future <- base::requireNamespace("future", [01:27:01.191] quietly = TRUE) [01:27:01.191] if (has_future) { [01:27:01.191] ns <- base::getNamespace("future") [01:27:01.191] version <- ns[[".package"]][["version"]] [01:27:01.191] if (is.null(version)) [01:27:01.191] version <- utils::packageVersion("future") [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] version <- NULL [01:27:01.191] } [01:27:01.191] if (!has_future || version < "1.8.0") { [01:27:01.191] info <- base::c(r_version = base::gsub("R version ", [01:27:01.191] "", base::R.version$version.string), [01:27:01.191] platform = base::sprintf("%s (%s-bit)", [01:27:01.191] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.191] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.191] "release", "version")], collapse = " "), [01:27:01.191] hostname = base::Sys.info()[["nodename"]]) [01:27:01.191] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.191] info) [01:27:01.191] info <- base::paste(info, collapse = "; ") [01:27:01.191] if (!has_future) { [01:27:01.191] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.191] info) [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.191] info, version) [01:27:01.191] } [01:27:01.191] base::stop(msg) [01:27:01.191] } [01:27:01.191] }) [01:27:01.191] } [01:27:01.191] options(future.plan = NULL) [01:27:01.191] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.191] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.191] } [01:27:01.191] ...future.workdir <- getwd() [01:27:01.191] } [01:27:01.191] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.191] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.191] } [01:27:01.191] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.191] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.191] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.191] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.191] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.191] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.191] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.191] base::names(...future.oldOptions)) [01:27:01.191] } [01:27:01.191] if (FALSE) { [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] if (TRUE) { [01:27:01.191] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.191] open = "w") [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.191] windows = "NUL", "/dev/null"), open = "w") [01:27:01.191] } [01:27:01.191] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.191] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.191] base::sink(type = "output", split = FALSE) [01:27:01.191] base::close(...future.stdout) [01:27:01.191] }, add = TRUE) [01:27:01.191] } [01:27:01.191] ...future.frame <- base::sys.nframe() [01:27:01.191] ...future.conditions <- base::list() [01:27:01.191] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.191] if (FALSE) { [01:27:01.191] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.191] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.191] } [01:27:01.191] ...future.result <- base::tryCatch({ [01:27:01.191] base::withCallingHandlers({ [01:27:01.191] ...future.value <- base::withVisible(base::local({ [01:27:01.191] 1 [01:27:01.191] })) [01:27:01.191] future::FutureResult(value = ...future.value$value, [01:27:01.191] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.191] ...future.rng), globalenv = if (FALSE) [01:27:01.191] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.191] ...future.globalenv.names)) [01:27:01.191] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.191] }, condition = base::local({ [01:27:01.191] c <- base::c [01:27:01.191] inherits <- base::inherits [01:27:01.191] invokeRestart <- base::invokeRestart [01:27:01.191] length <- base::length [01:27:01.191] list <- base::list [01:27:01.191] seq.int <- base::seq.int [01:27:01.191] signalCondition <- base::signalCondition [01:27:01.191] sys.calls <- base::sys.calls [01:27:01.191] `[[` <- base::`[[` [01:27:01.191] `+` <- base::`+` [01:27:01.191] `<<-` <- base::`<<-` [01:27:01.191] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.191] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.191] 3L)] [01:27:01.191] } [01:27:01.191] function(cond) { [01:27:01.191] is_error <- inherits(cond, "error") [01:27:01.191] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.191] NULL) [01:27:01.191] if (is_error) { [01:27:01.191] sessionInformation <- function() { [01:27:01.191] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.191] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.191] search = base::search(), system = base::Sys.info()) [01:27:01.191] } [01:27:01.191] ...future.conditions[[length(...future.conditions) + [01:27:01.191] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.191] cond$call), session = sessionInformation(), [01:27:01.191] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.191] signalCondition(cond) [01:27:01.191] } [01:27:01.191] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.191] "immediateCondition"))) { [01:27:01.191] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.191] ...future.conditions[[length(...future.conditions) + [01:27:01.191] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.191] if (TRUE && !signal) { [01:27:01.191] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.191] { [01:27:01.191] inherits <- base::inherits [01:27:01.191] invokeRestart <- base::invokeRestart [01:27:01.191] is.null <- base::is.null [01:27:01.191] muffled <- FALSE [01:27:01.191] if (inherits(cond, "message")) { [01:27:01.191] muffled <- grepl(pattern, "muffleMessage") [01:27:01.191] if (muffled) [01:27:01.191] invokeRestart("muffleMessage") [01:27:01.191] } [01:27:01.191] else if (inherits(cond, "warning")) { [01:27:01.191] muffled <- grepl(pattern, "muffleWarning") [01:27:01.191] if (muffled) [01:27:01.191] invokeRestart("muffleWarning") [01:27:01.191] } [01:27:01.191] else if (inherits(cond, "condition")) { [01:27:01.191] if (!is.null(pattern)) { [01:27:01.191] computeRestarts <- base::computeRestarts [01:27:01.191] grepl <- base::grepl [01:27:01.191] restarts <- computeRestarts(cond) [01:27:01.191] for (restart in restarts) { [01:27:01.191] name <- restart$name [01:27:01.191] if (is.null(name)) [01:27:01.191] next [01:27:01.191] if (!grepl(pattern, name)) [01:27:01.191] next [01:27:01.191] invokeRestart(restart) [01:27:01.191] muffled <- TRUE [01:27:01.191] break [01:27:01.191] } [01:27:01.191] } [01:27:01.191] } [01:27:01.191] invisible(muffled) [01:27:01.191] } [01:27:01.191] muffleCondition(cond, pattern = "^muffle") [01:27:01.191] } [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] if (TRUE) { [01:27:01.191] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.191] { [01:27:01.191] inherits <- base::inherits [01:27:01.191] invokeRestart <- base::invokeRestart [01:27:01.191] is.null <- base::is.null [01:27:01.191] muffled <- FALSE [01:27:01.191] if (inherits(cond, "message")) { [01:27:01.191] muffled <- grepl(pattern, "muffleMessage") [01:27:01.191] if (muffled) [01:27:01.191] invokeRestart("muffleMessage") [01:27:01.191] } [01:27:01.191] else if (inherits(cond, "warning")) { [01:27:01.191] muffled <- grepl(pattern, "muffleWarning") [01:27:01.191] if (muffled) [01:27:01.191] invokeRestart("muffleWarning") [01:27:01.191] } [01:27:01.191] else if (inherits(cond, "condition")) { [01:27:01.191] if (!is.null(pattern)) { [01:27:01.191] computeRestarts <- base::computeRestarts [01:27:01.191] grepl <- base::grepl [01:27:01.191] restarts <- computeRestarts(cond) [01:27:01.191] for (restart in restarts) { [01:27:01.191] name <- restart$name [01:27:01.191] if (is.null(name)) [01:27:01.191] next [01:27:01.191] if (!grepl(pattern, name)) [01:27:01.191] next [01:27:01.191] invokeRestart(restart) [01:27:01.191] muffled <- TRUE [01:27:01.191] break [01:27:01.191] } [01:27:01.191] } [01:27:01.191] } [01:27:01.191] invisible(muffled) [01:27:01.191] } [01:27:01.191] muffleCondition(cond, pattern = "^muffle") [01:27:01.191] } [01:27:01.191] } [01:27:01.191] } [01:27:01.191] })) [01:27:01.191] }, error = function(ex) { [01:27:01.191] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.191] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.191] ...future.rng), started = ...future.startTime, [01:27:01.191] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.191] version = "1.8"), class = "FutureResult") [01:27:01.191] }, finally = { [01:27:01.191] if (!identical(...future.workdir, getwd())) [01:27:01.191] setwd(...future.workdir) [01:27:01.191] { [01:27:01.191] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.191] ...future.oldOptions$nwarnings <- NULL [01:27:01.191] } [01:27:01.191] base::options(...future.oldOptions) [01:27:01.191] if (.Platform$OS.type == "windows") { [01:27:01.191] old_names <- names(...future.oldEnvVars) [01:27:01.191] envs <- base::Sys.getenv() [01:27:01.191] names <- names(envs) [01:27:01.191] common <- intersect(names, old_names) [01:27:01.191] added <- setdiff(names, old_names) [01:27:01.191] removed <- setdiff(old_names, names) [01:27:01.191] changed <- common[...future.oldEnvVars[common] != [01:27:01.191] envs[common]] [01:27:01.191] NAMES <- toupper(changed) [01:27:01.191] args <- list() [01:27:01.191] for (kk in seq_along(NAMES)) { [01:27:01.191] name <- changed[[kk]] [01:27:01.191] NAME <- NAMES[[kk]] [01:27:01.191] if (name != NAME && is.element(NAME, old_names)) [01:27:01.191] next [01:27:01.191] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.191] } [01:27:01.191] NAMES <- toupper(added) [01:27:01.191] for (kk in seq_along(NAMES)) { [01:27:01.191] name <- added[[kk]] [01:27:01.191] NAME <- NAMES[[kk]] [01:27:01.191] if (name != NAME && is.element(NAME, old_names)) [01:27:01.191] next [01:27:01.191] args[[name]] <- "" [01:27:01.191] } [01:27:01.191] NAMES <- toupper(removed) [01:27:01.191] for (kk in seq_along(NAMES)) { [01:27:01.191] name <- removed[[kk]] [01:27:01.191] NAME <- NAMES[[kk]] [01:27:01.191] if (name != NAME && is.element(NAME, old_names)) [01:27:01.191] next [01:27:01.191] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.191] } [01:27:01.191] if (length(args) > 0) [01:27:01.191] base::do.call(base::Sys.setenv, args = args) [01:27:01.191] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.191] } [01:27:01.191] { [01:27:01.191] if (base::length(...future.futureOptionsAdded) > [01:27:01.191] 0L) { [01:27:01.191] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.191] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.191] base::options(opts) [01:27:01.191] } [01:27:01.191] { [01:27:01.191] { [01:27:01.191] NULL [01:27:01.191] RNGkind("Mersenne-Twister") [01:27:01.191] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.191] inherits = FALSE) [01:27:01.191] } [01:27:01.191] options(future.plan = NULL) [01:27:01.191] if (is.na(NA_character_)) [01:27:01.191] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.191] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.191] future::plan(list(function (..., envir = parent.frame()) [01:27:01.191] { [01:27:01.191] future <- SequentialFuture(..., envir = envir) [01:27:01.191] if (!future$lazy) [01:27:01.191] future <- run(future) [01:27:01.191] invisible(future) [01:27:01.191] }), .cleanup = FALSE, .init = FALSE) [01:27:01.191] } [01:27:01.191] } [01:27:01.191] } [01:27:01.191] }) [01:27:01.191] if (TRUE) { [01:27:01.191] base::sink(type = "output", split = FALSE) [01:27:01.191] if (TRUE) { [01:27:01.191] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.191] } [01:27:01.191] else { [01:27:01.191] ...future.result["stdout"] <- base::list(NULL) [01:27:01.191] } [01:27:01.191] base::close(...future.stdout) [01:27:01.191] ...future.stdout <- NULL [01:27:01.191] } [01:27:01.191] ...future.result$conditions <- ...future.conditions [01:27:01.191] ...future.result$finished <- base::Sys.time() [01:27:01.191] ...future.result [01:27:01.191] } [01:27:01.196] plan(): Setting new future strategy stack: [01:27:01.196] List of future strategies: [01:27:01.196] 1. sequential: [01:27:01.196] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.196] - tweaked: FALSE [01:27:01.196] - call: NULL [01:27:01.196] plan(): nbrOfWorkers() = 1 [01:27:01.199] plan(): Setting new future strategy stack: [01:27:01.199] List of future strategies: [01:27:01.199] 1. sequential: [01:27:01.199] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.199] - tweaked: FALSE [01:27:01.199] - call: future::plan("sequential") [01:27:01.199] plan(): nbrOfWorkers() = 1 [01:27:01.200] SequentialFuture started (and completed) [01:27:01.200] - Launch lazy future ... done [01:27:01.201] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', '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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'remove') ... *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'list') ... list() *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'add') ... [01:27:01.208] getGlobalsAndPackages() ... [01:27:01.208] Searching for globals... [01:27:01.208] - globals found: [1] '{' [01:27:01.209] Searching for globals ... DONE [01:27:01.209] Resolving globals: FALSE [01:27:01.209] [01:27:01.209] [01:27:01.210] getGlobalsAndPackages() ... DONE [01:27:01.210] run() for 'Future' ... [01:27:01.210] - state: 'created' [01:27:01.210] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.211] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.211] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.211] - Field: 'label' [01:27:01.211] - Field: 'local' [01:27:01.211] - Field: 'owner' [01:27:01.212] - Field: 'envir' [01:27:01.212] - Field: 'packages' [01:27:01.212] - Field: 'gc' [01:27:01.212] - Field: 'conditions' [01:27:01.212] - Field: 'expr' [01:27:01.213] - Field: 'uuid' [01:27:01.213] - Field: 'seed' [01:27:01.213] - Field: 'version' [01:27:01.213] - Field: 'result' [01:27:01.213] - Field: 'asynchronous' [01:27:01.213] - Field: 'calls' [01:27:01.214] - Field: 'globals' [01:27:01.214] - Field: 'stdout' [01:27:01.214] - Field: 'earlySignal' [01:27:01.214] - Field: 'lazy' [01:27:01.214] - Field: 'state' [01:27:01.215] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.215] - Launch lazy future ... [01:27:01.215] Packages needed by the future expression (n = 0): [01:27:01.215] Packages needed by future strategies (n = 0): [01:27:01.216] { [01:27:01.216] { [01:27:01.216] { [01:27:01.216] ...future.startTime <- base::Sys.time() [01:27:01.216] { [01:27:01.216] { [01:27:01.216] { [01:27:01.216] base::local({ [01:27:01.216] has_future <- base::requireNamespace("future", [01:27:01.216] quietly = TRUE) [01:27:01.216] if (has_future) { [01:27:01.216] ns <- base::getNamespace("future") [01:27:01.216] version <- ns[[".package"]][["version"]] [01:27:01.216] if (is.null(version)) [01:27:01.216] version <- utils::packageVersion("future") [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] version <- NULL [01:27:01.216] } [01:27:01.216] if (!has_future || version < "1.8.0") { [01:27:01.216] info <- base::c(r_version = base::gsub("R version ", [01:27:01.216] "", base::R.version$version.string), [01:27:01.216] platform = base::sprintf("%s (%s-bit)", [01:27:01.216] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.216] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.216] "release", "version")], collapse = " "), [01:27:01.216] hostname = base::Sys.info()[["nodename"]]) [01:27:01.216] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.216] info) [01:27:01.216] info <- base::paste(info, collapse = "; ") [01:27:01.216] if (!has_future) { [01:27:01.216] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.216] info) [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.216] info, version) [01:27:01.216] } [01:27:01.216] base::stop(msg) [01:27:01.216] } [01:27:01.216] }) [01:27:01.216] } [01:27:01.216] options(future.plan = NULL) [01:27:01.216] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.216] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.216] } [01:27:01.216] ...future.workdir <- getwd() [01:27:01.216] } [01:27:01.216] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.216] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.216] } [01:27:01.216] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.216] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.216] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.216] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.216] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.216] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.216] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.216] base::names(...future.oldOptions)) [01:27:01.216] } [01:27:01.216] if (FALSE) { [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] if (TRUE) { [01:27:01.216] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.216] open = "w") [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.216] windows = "NUL", "/dev/null"), open = "w") [01:27:01.216] } [01:27:01.216] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.216] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.216] base::sink(type = "output", split = FALSE) [01:27:01.216] base::close(...future.stdout) [01:27:01.216] }, add = TRUE) [01:27:01.216] } [01:27:01.216] ...future.frame <- base::sys.nframe() [01:27:01.216] ...future.conditions <- base::list() [01:27:01.216] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.216] if (FALSE) { [01:27:01.216] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.216] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.216] } [01:27:01.216] ...future.result <- base::tryCatch({ [01:27:01.216] base::withCallingHandlers({ [01:27:01.216] ...future.value <- base::withVisible(base::local({ [01:27:01.216] 2 [01:27:01.216] })) [01:27:01.216] future::FutureResult(value = ...future.value$value, [01:27:01.216] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.216] ...future.rng), globalenv = if (FALSE) [01:27:01.216] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.216] ...future.globalenv.names)) [01:27:01.216] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.216] }, condition = base::local({ [01:27:01.216] c <- base::c [01:27:01.216] inherits <- base::inherits [01:27:01.216] invokeRestart <- base::invokeRestart [01:27:01.216] length <- base::length [01:27:01.216] list <- base::list [01:27:01.216] seq.int <- base::seq.int [01:27:01.216] signalCondition <- base::signalCondition [01:27:01.216] sys.calls <- base::sys.calls [01:27:01.216] `[[` <- base::`[[` [01:27:01.216] `+` <- base::`+` [01:27:01.216] `<<-` <- base::`<<-` [01:27:01.216] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.216] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.216] 3L)] [01:27:01.216] } [01:27:01.216] function(cond) { [01:27:01.216] is_error <- inherits(cond, "error") [01:27:01.216] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.216] NULL) [01:27:01.216] if (is_error) { [01:27:01.216] sessionInformation <- function() { [01:27:01.216] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.216] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.216] search = base::search(), system = base::Sys.info()) [01:27:01.216] } [01:27:01.216] ...future.conditions[[length(...future.conditions) + [01:27:01.216] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.216] cond$call), session = sessionInformation(), [01:27:01.216] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.216] signalCondition(cond) [01:27:01.216] } [01:27:01.216] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.216] "immediateCondition"))) { [01:27:01.216] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.216] ...future.conditions[[length(...future.conditions) + [01:27:01.216] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.216] if (TRUE && !signal) { [01:27:01.216] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.216] { [01:27:01.216] inherits <- base::inherits [01:27:01.216] invokeRestart <- base::invokeRestart [01:27:01.216] is.null <- base::is.null [01:27:01.216] muffled <- FALSE [01:27:01.216] if (inherits(cond, "message")) { [01:27:01.216] muffled <- grepl(pattern, "muffleMessage") [01:27:01.216] if (muffled) [01:27:01.216] invokeRestart("muffleMessage") [01:27:01.216] } [01:27:01.216] else if (inherits(cond, "warning")) { [01:27:01.216] muffled <- grepl(pattern, "muffleWarning") [01:27:01.216] if (muffled) [01:27:01.216] invokeRestart("muffleWarning") [01:27:01.216] } [01:27:01.216] else if (inherits(cond, "condition")) { [01:27:01.216] if (!is.null(pattern)) { [01:27:01.216] computeRestarts <- base::computeRestarts [01:27:01.216] grepl <- base::grepl [01:27:01.216] restarts <- computeRestarts(cond) [01:27:01.216] for (restart in restarts) { [01:27:01.216] name <- restart$name [01:27:01.216] if (is.null(name)) [01:27:01.216] next [01:27:01.216] if (!grepl(pattern, name)) [01:27:01.216] next [01:27:01.216] invokeRestart(restart) [01:27:01.216] muffled <- TRUE [01:27:01.216] break [01:27:01.216] } [01:27:01.216] } [01:27:01.216] } [01:27:01.216] invisible(muffled) [01:27:01.216] } [01:27:01.216] muffleCondition(cond, pattern = "^muffle") [01:27:01.216] } [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] if (TRUE) { [01:27:01.216] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.216] { [01:27:01.216] inherits <- base::inherits [01:27:01.216] invokeRestart <- base::invokeRestart [01:27:01.216] is.null <- base::is.null [01:27:01.216] muffled <- FALSE [01:27:01.216] if (inherits(cond, "message")) { [01:27:01.216] muffled <- grepl(pattern, "muffleMessage") [01:27:01.216] if (muffled) [01:27:01.216] invokeRestart("muffleMessage") [01:27:01.216] } [01:27:01.216] else if (inherits(cond, "warning")) { [01:27:01.216] muffled <- grepl(pattern, "muffleWarning") [01:27:01.216] if (muffled) [01:27:01.216] invokeRestart("muffleWarning") [01:27:01.216] } [01:27:01.216] else if (inherits(cond, "condition")) { [01:27:01.216] if (!is.null(pattern)) { [01:27:01.216] computeRestarts <- base::computeRestarts [01:27:01.216] grepl <- base::grepl [01:27:01.216] restarts <- computeRestarts(cond) [01:27:01.216] for (restart in restarts) { [01:27:01.216] name <- restart$name [01:27:01.216] if (is.null(name)) [01:27:01.216] next [01:27:01.216] if (!grepl(pattern, name)) [01:27:01.216] next [01:27:01.216] invokeRestart(restart) [01:27:01.216] muffled <- TRUE [01:27:01.216] break [01:27:01.216] } [01:27:01.216] } [01:27:01.216] } [01:27:01.216] invisible(muffled) [01:27:01.216] } [01:27:01.216] muffleCondition(cond, pattern = "^muffle") [01:27:01.216] } [01:27:01.216] } [01:27:01.216] } [01:27:01.216] })) [01:27:01.216] }, error = function(ex) { [01:27:01.216] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.216] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.216] ...future.rng), started = ...future.startTime, [01:27:01.216] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.216] version = "1.8"), class = "FutureResult") [01:27:01.216] }, finally = { [01:27:01.216] if (!identical(...future.workdir, getwd())) [01:27:01.216] setwd(...future.workdir) [01:27:01.216] { [01:27:01.216] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.216] ...future.oldOptions$nwarnings <- NULL [01:27:01.216] } [01:27:01.216] base::options(...future.oldOptions) [01:27:01.216] if (.Platform$OS.type == "windows") { [01:27:01.216] old_names <- names(...future.oldEnvVars) [01:27:01.216] envs <- base::Sys.getenv() [01:27:01.216] names <- names(envs) [01:27:01.216] common <- intersect(names, old_names) [01:27:01.216] added <- setdiff(names, old_names) [01:27:01.216] removed <- setdiff(old_names, names) [01:27:01.216] changed <- common[...future.oldEnvVars[common] != [01:27:01.216] envs[common]] [01:27:01.216] NAMES <- toupper(changed) [01:27:01.216] args <- list() [01:27:01.216] for (kk in seq_along(NAMES)) { [01:27:01.216] name <- changed[[kk]] [01:27:01.216] NAME <- NAMES[[kk]] [01:27:01.216] if (name != NAME && is.element(NAME, old_names)) [01:27:01.216] next [01:27:01.216] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.216] } [01:27:01.216] NAMES <- toupper(added) [01:27:01.216] for (kk in seq_along(NAMES)) { [01:27:01.216] name <- added[[kk]] [01:27:01.216] NAME <- NAMES[[kk]] [01:27:01.216] if (name != NAME && is.element(NAME, old_names)) [01:27:01.216] next [01:27:01.216] args[[name]] <- "" [01:27:01.216] } [01:27:01.216] NAMES <- toupper(removed) [01:27:01.216] for (kk in seq_along(NAMES)) { [01:27:01.216] name <- removed[[kk]] [01:27:01.216] NAME <- NAMES[[kk]] [01:27:01.216] if (name != NAME && is.element(NAME, old_names)) [01:27:01.216] next [01:27:01.216] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.216] } [01:27:01.216] if (length(args) > 0) [01:27:01.216] base::do.call(base::Sys.setenv, args = args) [01:27:01.216] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.216] } [01:27:01.216] { [01:27:01.216] if (base::length(...future.futureOptionsAdded) > [01:27:01.216] 0L) { [01:27:01.216] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.216] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.216] base::options(opts) [01:27:01.216] } [01:27:01.216] { [01:27:01.216] { [01:27:01.216] NULL [01:27:01.216] RNGkind("Mersenne-Twister") [01:27:01.216] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.216] inherits = FALSE) [01:27:01.216] } [01:27:01.216] options(future.plan = NULL) [01:27:01.216] if (is.na(NA_character_)) [01:27:01.216] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.216] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.216] future::plan(list(function (..., envir = parent.frame()) [01:27:01.216] { [01:27:01.216] future <- SequentialFuture(..., envir = envir) [01:27:01.216] if (!future$lazy) [01:27:01.216] future <- run(future) [01:27:01.216] invisible(future) [01:27:01.216] }), .cleanup = FALSE, .init = FALSE) [01:27:01.216] } [01:27:01.216] } [01:27:01.216] } [01:27:01.216] }) [01:27:01.216] if (TRUE) { [01:27:01.216] base::sink(type = "output", split = FALSE) [01:27:01.216] if (TRUE) { [01:27:01.216] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.216] } [01:27:01.216] else { [01:27:01.216] ...future.result["stdout"] <- base::list(NULL) [01:27:01.216] } [01:27:01.216] base::close(...future.stdout) [01:27:01.216] ...future.stdout <- NULL [01:27:01.216] } [01:27:01.216] ...future.result$conditions <- ...future.conditions [01:27:01.216] ...future.result$finished <- base::Sys.time() [01:27:01.216] ...future.result [01:27:01.216] } [01:27:01.220] plan(): Setting new future strategy stack: [01:27:01.220] List of future strategies: [01:27:01.220] 1. sequential: [01:27:01.220] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.220] - tweaked: FALSE [01:27:01.220] - call: NULL [01:27:01.221] plan(): nbrOfWorkers() = 1 [01:27:01.222] plan(): Setting new future strategy stack: [01:27:01.222] List of future strategies: [01:27:01.222] 1. sequential: [01:27:01.222] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.222] - tweaked: FALSE [01:27:01.222] - call: future::plan("sequential") [01:27:01.223] plan(): nbrOfWorkers() = 1 [01:27:01.223] SequentialFuture started (and completed) [01:27:01.224] - Launch lazy future ... done [01:27:01.224] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', '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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'collect-first') ... [01:27:01.225] resolved() for 'SequentialFuture' ... [01:27:01.225] - state: 'finished' [01:27:01.226] - run: FALSE [01:27:01.226] - result: 'FutureResult' [01:27:01.226] resolved() for 'SequentialFuture' ... done list() *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'add') ... [01:27:01.227] getGlobalsAndPackages() ... [01:27:01.227] Searching for globals... [01:27:01.228] - globals found: [1] '{' [01:27:01.228] Searching for globals ... DONE [01:27:01.228] Resolving globals: FALSE [01:27:01.228] [01:27:01.228] [01:27:01.229] getGlobalsAndPackages() ... DONE [01:27:01.229] run() for 'Future' ... [01:27:01.229] - state: 'created' [01:27:01.229] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.230] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.230] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.230] - Field: 'label' [01:27:01.230] - Field: 'local' [01:27:01.230] - Field: 'owner' [01:27:01.231] - Field: 'envir' [01:27:01.231] - Field: 'packages' [01:27:01.231] - Field: 'gc' [01:27:01.231] - Field: 'conditions' [01:27:01.231] - Field: 'expr' [01:27:01.231] - Field: 'uuid' [01:27:01.232] - Field: 'seed' [01:27:01.232] - Field: 'version' [01:27:01.232] - Field: 'result' [01:27:01.232] - Field: 'asynchronous' [01:27:01.232] - Field: 'calls' [01:27:01.232] - Field: 'globals' [01:27:01.233] - Field: 'stdout' [01:27:01.233] - Field: 'earlySignal' [01:27:01.233] - Field: 'lazy' [01:27:01.233] - Field: 'state' [01:27:01.233] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.234] - Launch lazy future ... [01:27:01.234] Packages needed by the future expression (n = 0): [01:27:01.234] Packages needed by future strategies (n = 0): [01:27:01.234] { [01:27:01.234] { [01:27:01.234] { [01:27:01.234] ...future.startTime <- base::Sys.time() [01:27:01.234] { [01:27:01.234] { [01:27:01.234] { [01:27:01.234] base::local({ [01:27:01.234] has_future <- base::requireNamespace("future", [01:27:01.234] quietly = TRUE) [01:27:01.234] if (has_future) { [01:27:01.234] ns <- base::getNamespace("future") [01:27:01.234] version <- ns[[".package"]][["version"]] [01:27:01.234] if (is.null(version)) [01:27:01.234] version <- utils::packageVersion("future") [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] version <- NULL [01:27:01.234] } [01:27:01.234] if (!has_future || version < "1.8.0") { [01:27:01.234] info <- base::c(r_version = base::gsub("R version ", [01:27:01.234] "", base::R.version$version.string), [01:27:01.234] platform = base::sprintf("%s (%s-bit)", [01:27:01.234] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.234] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.234] "release", "version")], collapse = " "), [01:27:01.234] hostname = base::Sys.info()[["nodename"]]) [01:27:01.234] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.234] info) [01:27:01.234] info <- base::paste(info, collapse = "; ") [01:27:01.234] if (!has_future) { [01:27:01.234] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.234] info) [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.234] info, version) [01:27:01.234] } [01:27:01.234] base::stop(msg) [01:27:01.234] } [01:27:01.234] }) [01:27:01.234] } [01:27:01.234] options(future.plan = NULL) [01:27:01.234] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.234] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.234] } [01:27:01.234] ...future.workdir <- getwd() [01:27:01.234] } [01:27:01.234] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.234] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.234] } [01:27:01.234] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.234] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.234] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.234] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.234] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.234] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.234] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.234] base::names(...future.oldOptions)) [01:27:01.234] } [01:27:01.234] if (FALSE) { [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] if (TRUE) { [01:27:01.234] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.234] open = "w") [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.234] windows = "NUL", "/dev/null"), open = "w") [01:27:01.234] } [01:27:01.234] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.234] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.234] base::sink(type = "output", split = FALSE) [01:27:01.234] base::close(...future.stdout) [01:27:01.234] }, add = TRUE) [01:27:01.234] } [01:27:01.234] ...future.frame <- base::sys.nframe() [01:27:01.234] ...future.conditions <- base::list() [01:27:01.234] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.234] if (FALSE) { [01:27:01.234] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.234] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.234] } [01:27:01.234] ...future.result <- base::tryCatch({ [01:27:01.234] base::withCallingHandlers({ [01:27:01.234] ...future.value <- base::withVisible(base::local({ [01:27:01.234] 2 [01:27:01.234] })) [01:27:01.234] future::FutureResult(value = ...future.value$value, [01:27:01.234] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.234] ...future.rng), globalenv = if (FALSE) [01:27:01.234] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.234] ...future.globalenv.names)) [01:27:01.234] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.234] }, condition = base::local({ [01:27:01.234] c <- base::c [01:27:01.234] inherits <- base::inherits [01:27:01.234] invokeRestart <- base::invokeRestart [01:27:01.234] length <- base::length [01:27:01.234] list <- base::list [01:27:01.234] seq.int <- base::seq.int [01:27:01.234] signalCondition <- base::signalCondition [01:27:01.234] sys.calls <- base::sys.calls [01:27:01.234] `[[` <- base::`[[` [01:27:01.234] `+` <- base::`+` [01:27:01.234] `<<-` <- base::`<<-` [01:27:01.234] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.234] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.234] 3L)] [01:27:01.234] } [01:27:01.234] function(cond) { [01:27:01.234] is_error <- inherits(cond, "error") [01:27:01.234] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.234] NULL) [01:27:01.234] if (is_error) { [01:27:01.234] sessionInformation <- function() { [01:27:01.234] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.234] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.234] search = base::search(), system = base::Sys.info()) [01:27:01.234] } [01:27:01.234] ...future.conditions[[length(...future.conditions) + [01:27:01.234] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.234] cond$call), session = sessionInformation(), [01:27:01.234] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.234] signalCondition(cond) [01:27:01.234] } [01:27:01.234] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.234] "immediateCondition"))) { [01:27:01.234] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.234] ...future.conditions[[length(...future.conditions) + [01:27:01.234] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.234] if (TRUE && !signal) { [01:27:01.234] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.234] { [01:27:01.234] inherits <- base::inherits [01:27:01.234] invokeRestart <- base::invokeRestart [01:27:01.234] is.null <- base::is.null [01:27:01.234] muffled <- FALSE [01:27:01.234] if (inherits(cond, "message")) { [01:27:01.234] muffled <- grepl(pattern, "muffleMessage") [01:27:01.234] if (muffled) [01:27:01.234] invokeRestart("muffleMessage") [01:27:01.234] } [01:27:01.234] else if (inherits(cond, "warning")) { [01:27:01.234] muffled <- grepl(pattern, "muffleWarning") [01:27:01.234] if (muffled) [01:27:01.234] invokeRestart("muffleWarning") [01:27:01.234] } [01:27:01.234] else if (inherits(cond, "condition")) { [01:27:01.234] if (!is.null(pattern)) { [01:27:01.234] computeRestarts <- base::computeRestarts [01:27:01.234] grepl <- base::grepl [01:27:01.234] restarts <- computeRestarts(cond) [01:27:01.234] for (restart in restarts) { [01:27:01.234] name <- restart$name [01:27:01.234] if (is.null(name)) [01:27:01.234] next [01:27:01.234] if (!grepl(pattern, name)) [01:27:01.234] next [01:27:01.234] invokeRestart(restart) [01:27:01.234] muffled <- TRUE [01:27:01.234] break [01:27:01.234] } [01:27:01.234] } [01:27:01.234] } [01:27:01.234] invisible(muffled) [01:27:01.234] } [01:27:01.234] muffleCondition(cond, pattern = "^muffle") [01:27:01.234] } [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] if (TRUE) { [01:27:01.234] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.234] { [01:27:01.234] inherits <- base::inherits [01:27:01.234] invokeRestart <- base::invokeRestart [01:27:01.234] is.null <- base::is.null [01:27:01.234] muffled <- FALSE [01:27:01.234] if (inherits(cond, "message")) { [01:27:01.234] muffled <- grepl(pattern, "muffleMessage") [01:27:01.234] if (muffled) [01:27:01.234] invokeRestart("muffleMessage") [01:27:01.234] } [01:27:01.234] else if (inherits(cond, "warning")) { [01:27:01.234] muffled <- grepl(pattern, "muffleWarning") [01:27:01.234] if (muffled) [01:27:01.234] invokeRestart("muffleWarning") [01:27:01.234] } [01:27:01.234] else if (inherits(cond, "condition")) { [01:27:01.234] if (!is.null(pattern)) { [01:27:01.234] computeRestarts <- base::computeRestarts [01:27:01.234] grepl <- base::grepl [01:27:01.234] restarts <- computeRestarts(cond) [01:27:01.234] for (restart in restarts) { [01:27:01.234] name <- restart$name [01:27:01.234] if (is.null(name)) [01:27:01.234] next [01:27:01.234] if (!grepl(pattern, name)) [01:27:01.234] next [01:27:01.234] invokeRestart(restart) [01:27:01.234] muffled <- TRUE [01:27:01.234] break [01:27:01.234] } [01:27:01.234] } [01:27:01.234] } [01:27:01.234] invisible(muffled) [01:27:01.234] } [01:27:01.234] muffleCondition(cond, pattern = "^muffle") [01:27:01.234] } [01:27:01.234] } [01:27:01.234] } [01:27:01.234] })) [01:27:01.234] }, error = function(ex) { [01:27:01.234] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.234] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.234] ...future.rng), started = ...future.startTime, [01:27:01.234] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.234] version = "1.8"), class = "FutureResult") [01:27:01.234] }, finally = { [01:27:01.234] if (!identical(...future.workdir, getwd())) [01:27:01.234] setwd(...future.workdir) [01:27:01.234] { [01:27:01.234] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.234] ...future.oldOptions$nwarnings <- NULL [01:27:01.234] } [01:27:01.234] base::options(...future.oldOptions) [01:27:01.234] if (.Platform$OS.type == "windows") { [01:27:01.234] old_names <- names(...future.oldEnvVars) [01:27:01.234] envs <- base::Sys.getenv() [01:27:01.234] names <- names(envs) [01:27:01.234] common <- intersect(names, old_names) [01:27:01.234] added <- setdiff(names, old_names) [01:27:01.234] removed <- setdiff(old_names, names) [01:27:01.234] changed <- common[...future.oldEnvVars[common] != [01:27:01.234] envs[common]] [01:27:01.234] NAMES <- toupper(changed) [01:27:01.234] args <- list() [01:27:01.234] for (kk in seq_along(NAMES)) { [01:27:01.234] name <- changed[[kk]] [01:27:01.234] NAME <- NAMES[[kk]] [01:27:01.234] if (name != NAME && is.element(NAME, old_names)) [01:27:01.234] next [01:27:01.234] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.234] } [01:27:01.234] NAMES <- toupper(added) [01:27:01.234] for (kk in seq_along(NAMES)) { [01:27:01.234] name <- added[[kk]] [01:27:01.234] NAME <- NAMES[[kk]] [01:27:01.234] if (name != NAME && is.element(NAME, old_names)) [01:27:01.234] next [01:27:01.234] args[[name]] <- "" [01:27:01.234] } [01:27:01.234] NAMES <- toupper(removed) [01:27:01.234] for (kk in seq_along(NAMES)) { [01:27:01.234] name <- removed[[kk]] [01:27:01.234] NAME <- NAMES[[kk]] [01:27:01.234] if (name != NAME && is.element(NAME, old_names)) [01:27:01.234] next [01:27:01.234] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.234] } [01:27:01.234] if (length(args) > 0) [01:27:01.234] base::do.call(base::Sys.setenv, args = args) [01:27:01.234] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.234] } [01:27:01.234] { [01:27:01.234] if (base::length(...future.futureOptionsAdded) > [01:27:01.234] 0L) { [01:27:01.234] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.234] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.234] base::options(opts) [01:27:01.234] } [01:27:01.234] { [01:27:01.234] { [01:27:01.234] NULL [01:27:01.234] RNGkind("Mersenne-Twister") [01:27:01.234] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.234] inherits = FALSE) [01:27:01.234] } [01:27:01.234] options(future.plan = NULL) [01:27:01.234] if (is.na(NA_character_)) [01:27:01.234] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.234] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.234] future::plan(list(function (..., envir = parent.frame()) [01:27:01.234] { [01:27:01.234] future <- SequentialFuture(..., envir = envir) [01:27:01.234] if (!future$lazy) [01:27:01.234] future <- run(future) [01:27:01.234] invisible(future) [01:27:01.234] }), .cleanup = FALSE, .init = FALSE) [01:27:01.234] } [01:27:01.234] } [01:27:01.234] } [01:27:01.234] }) [01:27:01.234] if (TRUE) { [01:27:01.234] base::sink(type = "output", split = FALSE) [01:27:01.234] if (TRUE) { [01:27:01.234] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.234] } [01:27:01.234] else { [01:27:01.234] ...future.result["stdout"] <- base::list(NULL) [01:27:01.234] } [01:27:01.234] base::close(...future.stdout) [01:27:01.234] ...future.stdout <- NULL [01:27:01.234] } [01:27:01.234] ...future.result$conditions <- ...future.conditions [01:27:01.234] ...future.result$finished <- base::Sys.time() [01:27:01.234] ...future.result [01:27:01.234] } [01:27:01.238] plan(): Setting new future strategy stack: [01:27:01.239] List of future strategies: [01:27:01.239] 1. sequential: [01:27:01.239] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.239] - tweaked: FALSE [01:27:01.239] - call: NULL [01:27:01.239] plan(): nbrOfWorkers() = 1 [01:27:01.240] plan(): Setting new future strategy stack: [01:27:01.241] List of future strategies: [01:27:01.241] 1. sequential: [01:27:01.241] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.241] - tweaked: FALSE [01:27:01.241] - call: future::plan("sequential") [01:27:01.241] plan(): nbrOfWorkers() = 1 [01:27:01.242] SequentialFuture started (and completed) [01:27:01.242] - Launch lazy future ... done [01:27:01.242] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'reset') ... *** FutureRegistry('multicore-dcec5c30-05ac-c0d1-add1-e6695ceb11e9', 'list') ... list() *** FutureRegistry('rscript', 'list') ... list() *** FutureRegistry('rscript', 'add') ... [01:27:01.243] getGlobalsAndPackages() ... [01:27:01.243] Searching for globals... [01:27:01.244] - globals found: [1] '{' [01:27:01.244] Searching for globals ... DONE [01:27:01.244] Resolving globals: FALSE [01:27:01.245] [01:27:01.245] [01:27:01.245] getGlobalsAndPackages() ... DONE [01:27:01.245] run() for 'Future' ... [01:27:01.245] - state: 'created' [01:27:01.246] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.246] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.246] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.246] - Field: 'label' [01:27:01.247] - Field: 'local' [01:27:01.247] - Field: 'owner' [01:27:01.247] - Field: 'envir' [01:27:01.247] - Field: 'packages' [01:27:01.247] - Field: 'gc' [01:27:01.247] - Field: 'conditions' [01:27:01.248] - Field: 'expr' [01:27:01.248] - Field: 'uuid' [01:27:01.248] - Field: 'seed' [01:27:01.248] - Field: 'version' [01:27:01.248] - Field: 'result' [01:27:01.248] - Field: 'asynchronous' [01:27:01.249] - Field: 'calls' [01:27:01.249] - Field: 'globals' [01:27:01.249] - Field: 'stdout' [01:27:01.249] - Field: 'earlySignal' [01:27:01.249] - Field: 'lazy' [01:27:01.250] - Field: 'state' [01:27:01.250] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.250] - Launch lazy future ... [01:27:01.250] Packages needed by the future expression (n = 0): [01:27:01.250] Packages needed by future strategies (n = 0): [01:27:01.252] { [01:27:01.252] { [01:27:01.252] { [01:27:01.252] ...future.startTime <- base::Sys.time() [01:27:01.252] { [01:27:01.252] { [01:27:01.252] { [01:27:01.252] base::local({ [01:27:01.252] has_future <- base::requireNamespace("future", [01:27:01.252] quietly = TRUE) [01:27:01.252] if (has_future) { [01:27:01.252] ns <- base::getNamespace("future") [01:27:01.252] version <- ns[[".package"]][["version"]] [01:27:01.252] if (is.null(version)) [01:27:01.252] version <- utils::packageVersion("future") [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] version <- NULL [01:27:01.252] } [01:27:01.252] if (!has_future || version < "1.8.0") { [01:27:01.252] info <- base::c(r_version = base::gsub("R version ", [01:27:01.252] "", base::R.version$version.string), [01:27:01.252] platform = base::sprintf("%s (%s-bit)", [01:27:01.252] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.252] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.252] "release", "version")], collapse = " "), [01:27:01.252] hostname = base::Sys.info()[["nodename"]]) [01:27:01.252] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.252] info) [01:27:01.252] info <- base::paste(info, collapse = "; ") [01:27:01.252] if (!has_future) { [01:27:01.252] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.252] info) [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.252] info, version) [01:27:01.252] } [01:27:01.252] base::stop(msg) [01:27:01.252] } [01:27:01.252] }) [01:27:01.252] } [01:27:01.252] options(future.plan = NULL) [01:27:01.252] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.252] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.252] } [01:27:01.252] ...future.workdir <- getwd() [01:27:01.252] } [01:27:01.252] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.252] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.252] } [01:27:01.252] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.252] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.252] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.252] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.252] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.252] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.252] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.252] base::names(...future.oldOptions)) [01:27:01.252] } [01:27:01.252] if (FALSE) { [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] if (TRUE) { [01:27:01.252] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.252] open = "w") [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.252] windows = "NUL", "/dev/null"), open = "w") [01:27:01.252] } [01:27:01.252] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.252] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.252] base::sink(type = "output", split = FALSE) [01:27:01.252] base::close(...future.stdout) [01:27:01.252] }, add = TRUE) [01:27:01.252] } [01:27:01.252] ...future.frame <- base::sys.nframe() [01:27:01.252] ...future.conditions <- base::list() [01:27:01.252] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.252] if (FALSE) { [01:27:01.252] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.252] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.252] } [01:27:01.252] ...future.result <- base::tryCatch({ [01:27:01.252] base::withCallingHandlers({ [01:27:01.252] ...future.value <- base::withVisible(base::local({ [01:27:01.252] 1 [01:27:01.252] })) [01:27:01.252] future::FutureResult(value = ...future.value$value, [01:27:01.252] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.252] ...future.rng), globalenv = if (FALSE) [01:27:01.252] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.252] ...future.globalenv.names)) [01:27:01.252] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.252] }, condition = base::local({ [01:27:01.252] c <- base::c [01:27:01.252] inherits <- base::inherits [01:27:01.252] invokeRestart <- base::invokeRestart [01:27:01.252] length <- base::length [01:27:01.252] list <- base::list [01:27:01.252] seq.int <- base::seq.int [01:27:01.252] signalCondition <- base::signalCondition [01:27:01.252] sys.calls <- base::sys.calls [01:27:01.252] `[[` <- base::`[[` [01:27:01.252] `+` <- base::`+` [01:27:01.252] `<<-` <- base::`<<-` [01:27:01.252] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.252] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.252] 3L)] [01:27:01.252] } [01:27:01.252] function(cond) { [01:27:01.252] is_error <- inherits(cond, "error") [01:27:01.252] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.252] NULL) [01:27:01.252] if (is_error) { [01:27:01.252] sessionInformation <- function() { [01:27:01.252] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.252] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.252] search = base::search(), system = base::Sys.info()) [01:27:01.252] } [01:27:01.252] ...future.conditions[[length(...future.conditions) + [01:27:01.252] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.252] cond$call), session = sessionInformation(), [01:27:01.252] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.252] signalCondition(cond) [01:27:01.252] } [01:27:01.252] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.252] "immediateCondition"))) { [01:27:01.252] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.252] ...future.conditions[[length(...future.conditions) + [01:27:01.252] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.252] if (TRUE && !signal) { [01:27:01.252] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.252] { [01:27:01.252] inherits <- base::inherits [01:27:01.252] invokeRestart <- base::invokeRestart [01:27:01.252] is.null <- base::is.null [01:27:01.252] muffled <- FALSE [01:27:01.252] if (inherits(cond, "message")) { [01:27:01.252] muffled <- grepl(pattern, "muffleMessage") [01:27:01.252] if (muffled) [01:27:01.252] invokeRestart("muffleMessage") [01:27:01.252] } [01:27:01.252] else if (inherits(cond, "warning")) { [01:27:01.252] muffled <- grepl(pattern, "muffleWarning") [01:27:01.252] if (muffled) [01:27:01.252] invokeRestart("muffleWarning") [01:27:01.252] } [01:27:01.252] else if (inherits(cond, "condition")) { [01:27:01.252] if (!is.null(pattern)) { [01:27:01.252] computeRestarts <- base::computeRestarts [01:27:01.252] grepl <- base::grepl [01:27:01.252] restarts <- computeRestarts(cond) [01:27:01.252] for (restart in restarts) { [01:27:01.252] name <- restart$name [01:27:01.252] if (is.null(name)) [01:27:01.252] next [01:27:01.252] if (!grepl(pattern, name)) [01:27:01.252] next [01:27:01.252] invokeRestart(restart) [01:27:01.252] muffled <- TRUE [01:27:01.252] break [01:27:01.252] } [01:27:01.252] } [01:27:01.252] } [01:27:01.252] invisible(muffled) [01:27:01.252] } [01:27:01.252] muffleCondition(cond, pattern = "^muffle") [01:27:01.252] } [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] if (TRUE) { [01:27:01.252] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.252] { [01:27:01.252] inherits <- base::inherits [01:27:01.252] invokeRestart <- base::invokeRestart [01:27:01.252] is.null <- base::is.null [01:27:01.252] muffled <- FALSE [01:27:01.252] if (inherits(cond, "message")) { [01:27:01.252] muffled <- grepl(pattern, "muffleMessage") [01:27:01.252] if (muffled) [01:27:01.252] invokeRestart("muffleMessage") [01:27:01.252] } [01:27:01.252] else if (inherits(cond, "warning")) { [01:27:01.252] muffled <- grepl(pattern, "muffleWarning") [01:27:01.252] if (muffled) [01:27:01.252] invokeRestart("muffleWarning") [01:27:01.252] } [01:27:01.252] else if (inherits(cond, "condition")) { [01:27:01.252] if (!is.null(pattern)) { [01:27:01.252] computeRestarts <- base::computeRestarts [01:27:01.252] grepl <- base::grepl [01:27:01.252] restarts <- computeRestarts(cond) [01:27:01.252] for (restart in restarts) { [01:27:01.252] name <- restart$name [01:27:01.252] if (is.null(name)) [01:27:01.252] next [01:27:01.252] if (!grepl(pattern, name)) [01:27:01.252] next [01:27:01.252] invokeRestart(restart) [01:27:01.252] muffled <- TRUE [01:27:01.252] break [01:27:01.252] } [01:27:01.252] } [01:27:01.252] } [01:27:01.252] invisible(muffled) [01:27:01.252] } [01:27:01.252] muffleCondition(cond, pattern = "^muffle") [01:27:01.252] } [01:27:01.252] } [01:27:01.252] } [01:27:01.252] })) [01:27:01.252] }, error = function(ex) { [01:27:01.252] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.252] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.252] ...future.rng), started = ...future.startTime, [01:27:01.252] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.252] version = "1.8"), class = "FutureResult") [01:27:01.252] }, finally = { [01:27:01.252] if (!identical(...future.workdir, getwd())) [01:27:01.252] setwd(...future.workdir) [01:27:01.252] { [01:27:01.252] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.252] ...future.oldOptions$nwarnings <- NULL [01:27:01.252] } [01:27:01.252] base::options(...future.oldOptions) [01:27:01.252] if (.Platform$OS.type == "windows") { [01:27:01.252] old_names <- names(...future.oldEnvVars) [01:27:01.252] envs <- base::Sys.getenv() [01:27:01.252] names <- names(envs) [01:27:01.252] common <- intersect(names, old_names) [01:27:01.252] added <- setdiff(names, old_names) [01:27:01.252] removed <- setdiff(old_names, names) [01:27:01.252] changed <- common[...future.oldEnvVars[common] != [01:27:01.252] envs[common]] [01:27:01.252] NAMES <- toupper(changed) [01:27:01.252] args <- list() [01:27:01.252] for (kk in seq_along(NAMES)) { [01:27:01.252] name <- changed[[kk]] [01:27:01.252] NAME <- NAMES[[kk]] [01:27:01.252] if (name != NAME && is.element(NAME, old_names)) [01:27:01.252] next [01:27:01.252] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.252] } [01:27:01.252] NAMES <- toupper(added) [01:27:01.252] for (kk in seq_along(NAMES)) { [01:27:01.252] name <- added[[kk]] [01:27:01.252] NAME <- NAMES[[kk]] [01:27:01.252] if (name != NAME && is.element(NAME, old_names)) [01:27:01.252] next [01:27:01.252] args[[name]] <- "" [01:27:01.252] } [01:27:01.252] NAMES <- toupper(removed) [01:27:01.252] for (kk in seq_along(NAMES)) { [01:27:01.252] name <- removed[[kk]] [01:27:01.252] NAME <- NAMES[[kk]] [01:27:01.252] if (name != NAME && is.element(NAME, old_names)) [01:27:01.252] next [01:27:01.252] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.252] } [01:27:01.252] if (length(args) > 0) [01:27:01.252] base::do.call(base::Sys.setenv, args = args) [01:27:01.252] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.252] } [01:27:01.252] { [01:27:01.252] if (base::length(...future.futureOptionsAdded) > [01:27:01.252] 0L) { [01:27:01.252] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.252] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.252] base::options(opts) [01:27:01.252] } [01:27:01.252] { [01:27:01.252] { [01:27:01.252] NULL [01:27:01.252] RNGkind("Mersenne-Twister") [01:27:01.252] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.252] inherits = FALSE) [01:27:01.252] } [01:27:01.252] options(future.plan = NULL) [01:27:01.252] if (is.na(NA_character_)) [01:27:01.252] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.252] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.252] future::plan(list(function (..., envir = parent.frame()) [01:27:01.252] { [01:27:01.252] future <- SequentialFuture(..., envir = envir) [01:27:01.252] if (!future$lazy) [01:27:01.252] future <- run(future) [01:27:01.252] invisible(future) [01:27:01.252] }), .cleanup = FALSE, .init = FALSE) [01:27:01.252] } [01:27:01.252] } [01:27:01.252] } [01:27:01.252] }) [01:27:01.252] if (TRUE) { [01:27:01.252] base::sink(type = "output", split = FALSE) [01:27:01.252] if (TRUE) { [01:27:01.252] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.252] } [01:27:01.252] else { [01:27:01.252] ...future.result["stdout"] <- base::list(NULL) [01:27:01.252] } [01:27:01.252] base::close(...future.stdout) [01:27:01.252] ...future.stdout <- NULL [01:27:01.252] } [01:27:01.252] ...future.result$conditions <- ...future.conditions [01:27:01.252] ...future.result$finished <- base::Sys.time() [01:27:01.252] ...future.result [01:27:01.252] } [01:27:01.257] plan(): Setting new future strategy stack: [01:27:01.258] List of future strategies: [01:27:01.258] 1. sequential: [01:27:01.258] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.258] - tweaked: FALSE [01:27:01.258] - call: NULL [01:27:01.258] plan(): nbrOfWorkers() = 1 [01:27:01.259] plan(): Setting new future strategy stack: [01:27:01.260] List of future strategies: [01:27:01.260] 1. sequential: [01:27:01.260] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.260] - tweaked: FALSE [01:27:01.260] - call: future::plan("sequential") [01:27:01.260] plan(): nbrOfWorkers() = 1 [01:27:01.261] SequentialFuture started (and completed) [01:27:01.261] - Launch lazy future ... done [01:27:01.261] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'remove') ... *** FutureRegistry('rscript', 'list') ... list() *** FutureRegistry('rscript', 'add') ... [01:27:01.263] getGlobalsAndPackages() ... [01:27:01.263] Searching for globals... [01:27:01.263] - globals found: [1] '{' [01:27:01.264] Searching for globals ... DONE [01:27:01.264] Resolving globals: FALSE [01:27:01.264] [01:27:01.264] [01:27:01.265] getGlobalsAndPackages() ... DONE [01:27:01.265] run() for 'Future' ... [01:27:01.265] - state: 'created' [01:27:01.265] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.266] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.266] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.266] - Field: 'label' [01:27:01.266] - Field: 'local' [01:27:01.267] - Field: 'owner' [01:27:01.267] - Field: 'envir' [01:27:01.267] - Field: 'packages' [01:27:01.267] - Field: 'gc' [01:27:01.267] - Field: 'conditions' [01:27:01.268] - Field: 'expr' [01:27:01.268] - Field: 'uuid' [01:27:01.268] - Field: 'seed' [01:27:01.268] - Field: 'version' [01:27:01.268] - Field: 'result' [01:27:01.269] - Field: 'asynchronous' [01:27:01.269] - Field: 'calls' [01:27:01.269] - Field: 'globals' [01:27:01.269] - Field: 'stdout' [01:27:01.269] - Field: 'earlySignal' [01:27:01.270] - Field: 'lazy' [01:27:01.270] - Field: 'state' [01:27:01.270] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.270] - Launch lazy future ... [01:27:01.270] Packages needed by the future expression (n = 0): [01:27:01.271] Packages needed by future strategies (n = 0): [01:27:01.271] { [01:27:01.271] { [01:27:01.271] { [01:27:01.271] ...future.startTime <- base::Sys.time() [01:27:01.271] { [01:27:01.271] { [01:27:01.271] { [01:27:01.271] base::local({ [01:27:01.271] has_future <- base::requireNamespace("future", [01:27:01.271] quietly = TRUE) [01:27:01.271] if (has_future) { [01:27:01.271] ns <- base::getNamespace("future") [01:27:01.271] version <- ns[[".package"]][["version"]] [01:27:01.271] if (is.null(version)) [01:27:01.271] version <- utils::packageVersion("future") [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] version <- NULL [01:27:01.271] } [01:27:01.271] if (!has_future || version < "1.8.0") { [01:27:01.271] info <- base::c(r_version = base::gsub("R version ", [01:27:01.271] "", base::R.version$version.string), [01:27:01.271] platform = base::sprintf("%s (%s-bit)", [01:27:01.271] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.271] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.271] "release", "version")], collapse = " "), [01:27:01.271] hostname = base::Sys.info()[["nodename"]]) [01:27:01.271] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.271] info) [01:27:01.271] info <- base::paste(info, collapse = "; ") [01:27:01.271] if (!has_future) { [01:27:01.271] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.271] info) [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.271] info, version) [01:27:01.271] } [01:27:01.271] base::stop(msg) [01:27:01.271] } [01:27:01.271] }) [01:27:01.271] } [01:27:01.271] options(future.plan = NULL) [01:27:01.271] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.271] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.271] } [01:27:01.271] ...future.workdir <- getwd() [01:27:01.271] } [01:27:01.271] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.271] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.271] } [01:27:01.271] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.271] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.271] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.271] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.271] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.271] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.271] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.271] base::names(...future.oldOptions)) [01:27:01.271] } [01:27:01.271] if (FALSE) { [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] if (TRUE) { [01:27:01.271] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.271] open = "w") [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.271] windows = "NUL", "/dev/null"), open = "w") [01:27:01.271] } [01:27:01.271] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.271] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.271] base::sink(type = "output", split = FALSE) [01:27:01.271] base::close(...future.stdout) [01:27:01.271] }, add = TRUE) [01:27:01.271] } [01:27:01.271] ...future.frame <- base::sys.nframe() [01:27:01.271] ...future.conditions <- base::list() [01:27:01.271] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.271] if (FALSE) { [01:27:01.271] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.271] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.271] } [01:27:01.271] ...future.result <- base::tryCatch({ [01:27:01.271] base::withCallingHandlers({ [01:27:01.271] ...future.value <- base::withVisible(base::local({ [01:27:01.271] 2 [01:27:01.271] })) [01:27:01.271] future::FutureResult(value = ...future.value$value, [01:27:01.271] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.271] ...future.rng), globalenv = if (FALSE) [01:27:01.271] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.271] ...future.globalenv.names)) [01:27:01.271] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.271] }, condition = base::local({ [01:27:01.271] c <- base::c [01:27:01.271] inherits <- base::inherits [01:27:01.271] invokeRestart <- base::invokeRestart [01:27:01.271] length <- base::length [01:27:01.271] list <- base::list [01:27:01.271] seq.int <- base::seq.int [01:27:01.271] signalCondition <- base::signalCondition [01:27:01.271] sys.calls <- base::sys.calls [01:27:01.271] `[[` <- base::`[[` [01:27:01.271] `+` <- base::`+` [01:27:01.271] `<<-` <- base::`<<-` [01:27:01.271] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.271] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.271] 3L)] [01:27:01.271] } [01:27:01.271] function(cond) { [01:27:01.271] is_error <- inherits(cond, "error") [01:27:01.271] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.271] NULL) [01:27:01.271] if (is_error) { [01:27:01.271] sessionInformation <- function() { [01:27:01.271] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.271] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.271] search = base::search(), system = base::Sys.info()) [01:27:01.271] } [01:27:01.271] ...future.conditions[[length(...future.conditions) + [01:27:01.271] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.271] cond$call), session = sessionInformation(), [01:27:01.271] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.271] signalCondition(cond) [01:27:01.271] } [01:27:01.271] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.271] "immediateCondition"))) { [01:27:01.271] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.271] ...future.conditions[[length(...future.conditions) + [01:27:01.271] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.271] if (TRUE && !signal) { [01:27:01.271] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.271] { [01:27:01.271] inherits <- base::inherits [01:27:01.271] invokeRestart <- base::invokeRestart [01:27:01.271] is.null <- base::is.null [01:27:01.271] muffled <- FALSE [01:27:01.271] if (inherits(cond, "message")) { [01:27:01.271] muffled <- grepl(pattern, "muffleMessage") [01:27:01.271] if (muffled) [01:27:01.271] invokeRestart("muffleMessage") [01:27:01.271] } [01:27:01.271] else if (inherits(cond, "warning")) { [01:27:01.271] muffled <- grepl(pattern, "muffleWarning") [01:27:01.271] if (muffled) [01:27:01.271] invokeRestart("muffleWarning") [01:27:01.271] } [01:27:01.271] else if (inherits(cond, "condition")) { [01:27:01.271] if (!is.null(pattern)) { [01:27:01.271] computeRestarts <- base::computeRestarts [01:27:01.271] grepl <- base::grepl [01:27:01.271] restarts <- computeRestarts(cond) [01:27:01.271] for (restart in restarts) { [01:27:01.271] name <- restart$name [01:27:01.271] if (is.null(name)) [01:27:01.271] next [01:27:01.271] if (!grepl(pattern, name)) [01:27:01.271] next [01:27:01.271] invokeRestart(restart) [01:27:01.271] muffled <- TRUE [01:27:01.271] break [01:27:01.271] } [01:27:01.271] } [01:27:01.271] } [01:27:01.271] invisible(muffled) [01:27:01.271] } [01:27:01.271] muffleCondition(cond, pattern = "^muffle") [01:27:01.271] } [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] if (TRUE) { [01:27:01.271] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.271] { [01:27:01.271] inherits <- base::inherits [01:27:01.271] invokeRestart <- base::invokeRestart [01:27:01.271] is.null <- base::is.null [01:27:01.271] muffled <- FALSE [01:27:01.271] if (inherits(cond, "message")) { [01:27:01.271] muffled <- grepl(pattern, "muffleMessage") [01:27:01.271] if (muffled) [01:27:01.271] invokeRestart("muffleMessage") [01:27:01.271] } [01:27:01.271] else if (inherits(cond, "warning")) { [01:27:01.271] muffled <- grepl(pattern, "muffleWarning") [01:27:01.271] if (muffled) [01:27:01.271] invokeRestart("muffleWarning") [01:27:01.271] } [01:27:01.271] else if (inherits(cond, "condition")) { [01:27:01.271] if (!is.null(pattern)) { [01:27:01.271] computeRestarts <- base::computeRestarts [01:27:01.271] grepl <- base::grepl [01:27:01.271] restarts <- computeRestarts(cond) [01:27:01.271] for (restart in restarts) { [01:27:01.271] name <- restart$name [01:27:01.271] if (is.null(name)) [01:27:01.271] next [01:27:01.271] if (!grepl(pattern, name)) [01:27:01.271] next [01:27:01.271] invokeRestart(restart) [01:27:01.271] muffled <- TRUE [01:27:01.271] break [01:27:01.271] } [01:27:01.271] } [01:27:01.271] } [01:27:01.271] invisible(muffled) [01:27:01.271] } [01:27:01.271] muffleCondition(cond, pattern = "^muffle") [01:27:01.271] } [01:27:01.271] } [01:27:01.271] } [01:27:01.271] })) [01:27:01.271] }, error = function(ex) { [01:27:01.271] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.271] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.271] ...future.rng), started = ...future.startTime, [01:27:01.271] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.271] version = "1.8"), class = "FutureResult") [01:27:01.271] }, finally = { [01:27:01.271] if (!identical(...future.workdir, getwd())) [01:27:01.271] setwd(...future.workdir) [01:27:01.271] { [01:27:01.271] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.271] ...future.oldOptions$nwarnings <- NULL [01:27:01.271] } [01:27:01.271] base::options(...future.oldOptions) [01:27:01.271] if (.Platform$OS.type == "windows") { [01:27:01.271] old_names <- names(...future.oldEnvVars) [01:27:01.271] envs <- base::Sys.getenv() [01:27:01.271] names <- names(envs) [01:27:01.271] common <- intersect(names, old_names) [01:27:01.271] added <- setdiff(names, old_names) [01:27:01.271] removed <- setdiff(old_names, names) [01:27:01.271] changed <- common[...future.oldEnvVars[common] != [01:27:01.271] envs[common]] [01:27:01.271] NAMES <- toupper(changed) [01:27:01.271] args <- list() [01:27:01.271] for (kk in seq_along(NAMES)) { [01:27:01.271] name <- changed[[kk]] [01:27:01.271] NAME <- NAMES[[kk]] [01:27:01.271] if (name != NAME && is.element(NAME, old_names)) [01:27:01.271] next [01:27:01.271] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.271] } [01:27:01.271] NAMES <- toupper(added) [01:27:01.271] for (kk in seq_along(NAMES)) { [01:27:01.271] name <- added[[kk]] [01:27:01.271] NAME <- NAMES[[kk]] [01:27:01.271] if (name != NAME && is.element(NAME, old_names)) [01:27:01.271] next [01:27:01.271] args[[name]] <- "" [01:27:01.271] } [01:27:01.271] NAMES <- toupper(removed) [01:27:01.271] for (kk in seq_along(NAMES)) { [01:27:01.271] name <- removed[[kk]] [01:27:01.271] NAME <- NAMES[[kk]] [01:27:01.271] if (name != NAME && is.element(NAME, old_names)) [01:27:01.271] next [01:27:01.271] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.271] } [01:27:01.271] if (length(args) > 0) [01:27:01.271] base::do.call(base::Sys.setenv, args = args) [01:27:01.271] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.271] } [01:27:01.271] { [01:27:01.271] if (base::length(...future.futureOptionsAdded) > [01:27:01.271] 0L) { [01:27:01.271] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.271] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.271] base::options(opts) [01:27:01.271] } [01:27:01.271] { [01:27:01.271] { [01:27:01.271] NULL [01:27:01.271] RNGkind("Mersenne-Twister") [01:27:01.271] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.271] inherits = FALSE) [01:27:01.271] } [01:27:01.271] options(future.plan = NULL) [01:27:01.271] if (is.na(NA_character_)) [01:27:01.271] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.271] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.271] future::plan(list(function (..., envir = parent.frame()) [01:27:01.271] { [01:27:01.271] future <- SequentialFuture(..., envir = envir) [01:27:01.271] if (!future$lazy) [01:27:01.271] future <- run(future) [01:27:01.271] invisible(future) [01:27:01.271] }), .cleanup = FALSE, .init = FALSE) [01:27:01.271] } [01:27:01.271] } [01:27:01.271] } [01:27:01.271] }) [01:27:01.271] if (TRUE) { [01:27:01.271] base::sink(type = "output", split = FALSE) [01:27:01.271] if (TRUE) { [01:27:01.271] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.271] } [01:27:01.271] else { [01:27:01.271] ...future.result["stdout"] <- base::list(NULL) [01:27:01.271] } [01:27:01.271] base::close(...future.stdout) [01:27:01.271] ...future.stdout <- NULL [01:27:01.271] } [01:27:01.271] ...future.result$conditions <- ...future.conditions [01:27:01.271] ...future.result$finished <- base::Sys.time() [01:27:01.271] ...future.result [01:27:01.271] } [01:27:01.275] plan(): Setting new future strategy stack: [01:27:01.275] List of future strategies: [01:27:01.275] 1. sequential: [01:27:01.275] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.275] - tweaked: FALSE [01:27:01.275] - call: NULL [01:27:01.276] plan(): nbrOfWorkers() = 1 [01:27:01.277] plan(): Setting new future strategy stack: [01:27:01.277] List of future strategies: [01:27:01.277] 1. sequential: [01:27:01.277] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.277] - tweaked: FALSE [01:27:01.277] - call: future::plan("sequential") [01:27:01.278] plan(): nbrOfWorkers() = 1 [01:27:01.278] SequentialFuture started (and completed) [01:27:01.278] - Launch lazy future ... done [01:27:01.278] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'collect-first') ... [01:27:01.289] resolved() for 'SequentialFuture' ... [01:27:01.289] - state: 'finished' [01:27:01.289] - run: FALSE [01:27:01.290] - result: 'FutureResult' [01:27:01.290] resolved() for 'SequentialFuture' ... done list() *** FutureRegistry('rscript', 'add') ... [01:27:01.290] getGlobalsAndPackages() ... [01:27:01.292] Searching for globals... [01:27:01.293] - globals found: [1] '{' [01:27:01.293] Searching for globals ... DONE [01:27:01.293] Resolving globals: FALSE [01:27:01.293] [01:27:01.294] [01:27:01.294] getGlobalsAndPackages() ... DONE [01:27:01.294] run() for 'Future' ... [01:27:01.294] - state: 'created' [01:27:01.294] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.295] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.295] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.295] - Field: 'label' [01:27:01.295] - Field: 'local' [01:27:01.296] - Field: 'owner' [01:27:01.296] - Field: 'envir' [01:27:01.296] - Field: 'packages' [01:27:01.296] - Field: 'gc' [01:27:01.296] - Field: 'conditions' [01:27:01.296] - Field: 'expr' [01:27:01.297] - Field: 'uuid' [01:27:01.297] - Field: 'seed' [01:27:01.297] - Field: 'version' [01:27:01.297] - Field: 'result' [01:27:01.297] - Field: 'asynchronous' [01:27:01.298] - Field: 'calls' [01:27:01.298] - Field: 'globals' [01:27:01.298] - Field: 'stdout' [01:27:01.298] - Field: 'earlySignal' [01:27:01.298] - Field: 'lazy' [01:27:01.299] - Field: 'state' [01:27:01.299] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.299] - Launch lazy future ... [01:27:01.299] Packages needed by the future expression (n = 0): [01:27:01.299] Packages needed by future strategies (n = 0): [01:27:01.300] { [01:27:01.300] { [01:27:01.300] { [01:27:01.300] ...future.startTime <- base::Sys.time() [01:27:01.300] { [01:27:01.300] { [01:27:01.300] { [01:27:01.300] base::local({ [01:27:01.300] has_future <- base::requireNamespace("future", [01:27:01.300] quietly = TRUE) [01:27:01.300] if (has_future) { [01:27:01.300] ns <- base::getNamespace("future") [01:27:01.300] version <- ns[[".package"]][["version"]] [01:27:01.300] if (is.null(version)) [01:27:01.300] version <- utils::packageVersion("future") [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] version <- NULL [01:27:01.300] } [01:27:01.300] if (!has_future || version < "1.8.0") { [01:27:01.300] info <- base::c(r_version = base::gsub("R version ", [01:27:01.300] "", base::R.version$version.string), [01:27:01.300] platform = base::sprintf("%s (%s-bit)", [01:27:01.300] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.300] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.300] "release", "version")], collapse = " "), [01:27:01.300] hostname = base::Sys.info()[["nodename"]]) [01:27:01.300] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.300] info) [01:27:01.300] info <- base::paste(info, collapse = "; ") [01:27:01.300] if (!has_future) { [01:27:01.300] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.300] info) [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.300] info, version) [01:27:01.300] } [01:27:01.300] base::stop(msg) [01:27:01.300] } [01:27:01.300] }) [01:27:01.300] } [01:27:01.300] options(future.plan = NULL) [01:27:01.300] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.300] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.300] } [01:27:01.300] ...future.workdir <- getwd() [01:27:01.300] } [01:27:01.300] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.300] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.300] } [01:27:01.300] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.300] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.300] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.300] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.300] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.300] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.300] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.300] base::names(...future.oldOptions)) [01:27:01.300] } [01:27:01.300] if (FALSE) { [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] if (TRUE) { [01:27:01.300] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.300] open = "w") [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.300] windows = "NUL", "/dev/null"), open = "w") [01:27:01.300] } [01:27:01.300] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.300] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.300] base::sink(type = "output", split = FALSE) [01:27:01.300] base::close(...future.stdout) [01:27:01.300] }, add = TRUE) [01:27:01.300] } [01:27:01.300] ...future.frame <- base::sys.nframe() [01:27:01.300] ...future.conditions <- base::list() [01:27:01.300] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.300] if (FALSE) { [01:27:01.300] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.300] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.300] } [01:27:01.300] ...future.result <- base::tryCatch({ [01:27:01.300] base::withCallingHandlers({ [01:27:01.300] ...future.value <- base::withVisible(base::local({ [01:27:01.300] 2 [01:27:01.300] })) [01:27:01.300] future::FutureResult(value = ...future.value$value, [01:27:01.300] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.300] ...future.rng), globalenv = if (FALSE) [01:27:01.300] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.300] ...future.globalenv.names)) [01:27:01.300] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.300] }, condition = base::local({ [01:27:01.300] c <- base::c [01:27:01.300] inherits <- base::inherits [01:27:01.300] invokeRestart <- base::invokeRestart [01:27:01.300] length <- base::length [01:27:01.300] list <- base::list [01:27:01.300] seq.int <- base::seq.int [01:27:01.300] signalCondition <- base::signalCondition [01:27:01.300] sys.calls <- base::sys.calls [01:27:01.300] `[[` <- base::`[[` [01:27:01.300] `+` <- base::`+` [01:27:01.300] `<<-` <- base::`<<-` [01:27:01.300] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.300] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.300] 3L)] [01:27:01.300] } [01:27:01.300] function(cond) { [01:27:01.300] is_error <- inherits(cond, "error") [01:27:01.300] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.300] NULL) [01:27:01.300] if (is_error) { [01:27:01.300] sessionInformation <- function() { [01:27:01.300] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.300] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.300] search = base::search(), system = base::Sys.info()) [01:27:01.300] } [01:27:01.300] ...future.conditions[[length(...future.conditions) + [01:27:01.300] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.300] cond$call), session = sessionInformation(), [01:27:01.300] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.300] signalCondition(cond) [01:27:01.300] } [01:27:01.300] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.300] "immediateCondition"))) { [01:27:01.300] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.300] ...future.conditions[[length(...future.conditions) + [01:27:01.300] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.300] if (TRUE && !signal) { [01:27:01.300] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.300] { [01:27:01.300] inherits <- base::inherits [01:27:01.300] invokeRestart <- base::invokeRestart [01:27:01.300] is.null <- base::is.null [01:27:01.300] muffled <- FALSE [01:27:01.300] if (inherits(cond, "message")) { [01:27:01.300] muffled <- grepl(pattern, "muffleMessage") [01:27:01.300] if (muffled) [01:27:01.300] invokeRestart("muffleMessage") [01:27:01.300] } [01:27:01.300] else if (inherits(cond, "warning")) { [01:27:01.300] muffled <- grepl(pattern, "muffleWarning") [01:27:01.300] if (muffled) [01:27:01.300] invokeRestart("muffleWarning") [01:27:01.300] } [01:27:01.300] else if (inherits(cond, "condition")) { [01:27:01.300] if (!is.null(pattern)) { [01:27:01.300] computeRestarts <- base::computeRestarts [01:27:01.300] grepl <- base::grepl [01:27:01.300] restarts <- computeRestarts(cond) [01:27:01.300] for (restart in restarts) { [01:27:01.300] name <- restart$name [01:27:01.300] if (is.null(name)) [01:27:01.300] next [01:27:01.300] if (!grepl(pattern, name)) [01:27:01.300] next [01:27:01.300] invokeRestart(restart) [01:27:01.300] muffled <- TRUE [01:27:01.300] break [01:27:01.300] } [01:27:01.300] } [01:27:01.300] } [01:27:01.300] invisible(muffled) [01:27:01.300] } [01:27:01.300] muffleCondition(cond, pattern = "^muffle") [01:27:01.300] } [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] if (TRUE) { [01:27:01.300] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.300] { [01:27:01.300] inherits <- base::inherits [01:27:01.300] invokeRestart <- base::invokeRestart [01:27:01.300] is.null <- base::is.null [01:27:01.300] muffled <- FALSE [01:27:01.300] if (inherits(cond, "message")) { [01:27:01.300] muffled <- grepl(pattern, "muffleMessage") [01:27:01.300] if (muffled) [01:27:01.300] invokeRestart("muffleMessage") [01:27:01.300] } [01:27:01.300] else if (inherits(cond, "warning")) { [01:27:01.300] muffled <- grepl(pattern, "muffleWarning") [01:27:01.300] if (muffled) [01:27:01.300] invokeRestart("muffleWarning") [01:27:01.300] } [01:27:01.300] else if (inherits(cond, "condition")) { [01:27:01.300] if (!is.null(pattern)) { [01:27:01.300] computeRestarts <- base::computeRestarts [01:27:01.300] grepl <- base::grepl [01:27:01.300] restarts <- computeRestarts(cond) [01:27:01.300] for (restart in restarts) { [01:27:01.300] name <- restart$name [01:27:01.300] if (is.null(name)) [01:27:01.300] next [01:27:01.300] if (!grepl(pattern, name)) [01:27:01.300] next [01:27:01.300] invokeRestart(restart) [01:27:01.300] muffled <- TRUE [01:27:01.300] break [01:27:01.300] } [01:27:01.300] } [01:27:01.300] } [01:27:01.300] invisible(muffled) [01:27:01.300] } [01:27:01.300] muffleCondition(cond, pattern = "^muffle") [01:27:01.300] } [01:27:01.300] } [01:27:01.300] } [01:27:01.300] })) [01:27:01.300] }, error = function(ex) { [01:27:01.300] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.300] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.300] ...future.rng), started = ...future.startTime, [01:27:01.300] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.300] version = "1.8"), class = "FutureResult") [01:27:01.300] }, finally = { [01:27:01.300] if (!identical(...future.workdir, getwd())) [01:27:01.300] setwd(...future.workdir) [01:27:01.300] { [01:27:01.300] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.300] ...future.oldOptions$nwarnings <- NULL [01:27:01.300] } [01:27:01.300] base::options(...future.oldOptions) [01:27:01.300] if (.Platform$OS.type == "windows") { [01:27:01.300] old_names <- names(...future.oldEnvVars) [01:27:01.300] envs <- base::Sys.getenv() [01:27:01.300] names <- names(envs) [01:27:01.300] common <- intersect(names, old_names) [01:27:01.300] added <- setdiff(names, old_names) [01:27:01.300] removed <- setdiff(old_names, names) [01:27:01.300] changed <- common[...future.oldEnvVars[common] != [01:27:01.300] envs[common]] [01:27:01.300] NAMES <- toupper(changed) [01:27:01.300] args <- list() [01:27:01.300] for (kk in seq_along(NAMES)) { [01:27:01.300] name <- changed[[kk]] [01:27:01.300] NAME <- NAMES[[kk]] [01:27:01.300] if (name != NAME && is.element(NAME, old_names)) [01:27:01.300] next [01:27:01.300] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.300] } [01:27:01.300] NAMES <- toupper(added) [01:27:01.300] for (kk in seq_along(NAMES)) { [01:27:01.300] name <- added[[kk]] [01:27:01.300] NAME <- NAMES[[kk]] [01:27:01.300] if (name != NAME && is.element(NAME, old_names)) [01:27:01.300] next [01:27:01.300] args[[name]] <- "" [01:27:01.300] } [01:27:01.300] NAMES <- toupper(removed) [01:27:01.300] for (kk in seq_along(NAMES)) { [01:27:01.300] name <- removed[[kk]] [01:27:01.300] NAME <- NAMES[[kk]] [01:27:01.300] if (name != NAME && is.element(NAME, old_names)) [01:27:01.300] next [01:27:01.300] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.300] } [01:27:01.300] if (length(args) > 0) [01:27:01.300] base::do.call(base::Sys.setenv, args = args) [01:27:01.300] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.300] } [01:27:01.300] { [01:27:01.300] if (base::length(...future.futureOptionsAdded) > [01:27:01.300] 0L) { [01:27:01.300] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.300] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.300] base::options(opts) [01:27:01.300] } [01:27:01.300] { [01:27:01.300] { [01:27:01.300] NULL [01:27:01.300] RNGkind("Mersenne-Twister") [01:27:01.300] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.300] inherits = FALSE) [01:27:01.300] } [01:27:01.300] options(future.plan = NULL) [01:27:01.300] if (is.na(NA_character_)) [01:27:01.300] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.300] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.300] future::plan(list(function (..., envir = parent.frame()) [01:27:01.300] { [01:27:01.300] future <- SequentialFuture(..., envir = envir) [01:27:01.300] if (!future$lazy) [01:27:01.300] future <- run(future) [01:27:01.300] invisible(future) [01:27:01.300] }), .cleanup = FALSE, .init = FALSE) [01:27:01.300] } [01:27:01.300] } [01:27:01.300] } [01:27:01.300] }) [01:27:01.300] if (TRUE) { [01:27:01.300] base::sink(type = "output", split = FALSE) [01:27:01.300] if (TRUE) { [01:27:01.300] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.300] } [01:27:01.300] else { [01:27:01.300] ...future.result["stdout"] <- base::list(NULL) [01:27:01.300] } [01:27:01.300] base::close(...future.stdout) [01:27:01.300] ...future.stdout <- NULL [01:27:01.300] } [01:27:01.300] ...future.result$conditions <- ...future.conditions [01:27:01.300] ...future.result$finished <- base::Sys.time() [01:27:01.300] ...future.result [01:27:01.300] } [01:27:01.304] plan(): Setting new future strategy stack: [01:27:01.304] List of future strategies: [01:27:01.304] 1. sequential: [01:27:01.304] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.304] - tweaked: FALSE [01:27:01.304] - call: NULL [01:27:01.305] plan(): nbrOfWorkers() = 1 [01:27:01.306] plan(): Setting new future strategy stack: [01:27:01.306] List of future strategies: [01:27:01.306] 1. sequential: [01:27:01.306] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.306] - tweaked: FALSE [01:27:01.306] - call: future::plan("sequential") [01:27:01.307] plan(): nbrOfWorkers() = 1 [01:27:01.307] SequentialFuture started (and completed) [01:27:01.307] - Launch lazy future ... done [01:27:01.308] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 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) [01:27:01.309] getGlobalsAndPackages() ... [01:27:01.309] Searching for globals... [01:27:01.309] [01:27:01.309] Searching for globals ... DONE [01:27:01.310] - globals: [0] [01:27:01.310] getGlobalsAndPackages() ... DONE [01:27:01.310] run() for 'Future' ... [01:27:01.310] - state: 'created' [01:27:01.310] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [01:27:01.311] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [01:27:01.311] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [01:27:01.311] - Field: 'label' [01:27:01.311] - Field: 'local' [01:27:01.312] - Field: 'owner' [01:27:01.312] - Field: 'envir' [01:27:01.312] - Field: 'packages' [01:27:01.312] - Field: 'gc' [01:27:01.312] - Field: 'conditions' [01:27:01.312] - Field: 'expr' [01:27:01.313] - Field: 'uuid' [01:27:01.313] - Field: 'seed' [01:27:01.313] - Field: 'version' [01:27:01.313] - Field: 'result' [01:27:01.313] - Field: 'asynchronous' [01:27:01.313] - Field: 'calls' [01:27:01.314] - Field: 'globals' [01:27:01.314] - Field: 'stdout' [01:27:01.314] - Field: 'earlySignal' [01:27:01.314] - Field: 'lazy' [01:27:01.314] - Field: 'state' [01:27:01.315] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [01:27:01.315] - Launch lazy future ... [01:27:01.315] Packages needed by the future expression (n = 0): [01:27:01.315] Packages needed by future strategies (n = 0): [01:27:01.316] { [01:27:01.316] { [01:27:01.316] { [01:27:01.316] ...future.startTime <- base::Sys.time() [01:27:01.316] { [01:27:01.316] { [01:27:01.316] { [01:27:01.316] base::local({ [01:27:01.316] has_future <- base::requireNamespace("future", [01:27:01.316] quietly = TRUE) [01:27:01.316] if (has_future) { [01:27:01.316] ns <- base::getNamespace("future") [01:27:01.316] version <- ns[[".package"]][["version"]] [01:27:01.316] if (is.null(version)) [01:27:01.316] version <- utils::packageVersion("future") [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] version <- NULL [01:27:01.316] } [01:27:01.316] if (!has_future || version < "1.8.0") { [01:27:01.316] info <- base::c(r_version = base::gsub("R version ", [01:27:01.316] "", base::R.version$version.string), [01:27:01.316] platform = base::sprintf("%s (%s-bit)", [01:27:01.316] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [01:27:01.316] os = base::paste(base::Sys.info()[base::c("sysname", [01:27:01.316] "release", "version")], collapse = " "), [01:27:01.316] hostname = base::Sys.info()[["nodename"]]) [01:27:01.316] info <- base::sprintf("%s: %s", base::names(info), [01:27:01.316] info) [01:27:01.316] info <- base::paste(info, collapse = "; ") [01:27:01.316] if (!has_future) { [01:27:01.316] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [01:27:01.316] info) [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [01:27:01.316] info, version) [01:27:01.316] } [01:27:01.316] base::stop(msg) [01:27:01.316] } [01:27:01.316] }) [01:27:01.316] } [01:27:01.316] options(future.plan = NULL) [01:27:01.316] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.316] future::plan("default", .cleanup = FALSE, .init = FALSE) [01:27:01.316] } [01:27:01.316] ...future.workdir <- getwd() [01:27:01.316] } [01:27:01.316] ...future.oldOptions <- base::as.list(base::.Options) [01:27:01.316] ...future.oldEnvVars <- base::Sys.getenv() [01:27:01.316] } [01:27:01.316] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [01:27:01.316] future.globals.maxSize = NULL, future.globals.method = NULL, [01:27:01.316] future.globals.onMissing = NULL, future.globals.onReference = NULL, [01:27:01.316] future.globals.resolve = NULL, future.resolve.recursive = NULL, [01:27:01.316] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [01:27:01.316] future.stdout.windows.reencode = NULL, width = 80L) [01:27:01.316] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [01:27:01.316] base::names(...future.oldOptions)) [01:27:01.316] } [01:27:01.316] if (FALSE) { [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] if (TRUE) { [01:27:01.316] ...future.stdout <- base::rawConnection(base::raw(0L), [01:27:01.316] open = "w") [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [01:27:01.316] windows = "NUL", "/dev/null"), open = "w") [01:27:01.316] } [01:27:01.316] base::sink(...future.stdout, type = "output", split = FALSE) [01:27:01.316] base::on.exit(if (!base::is.null(...future.stdout)) { [01:27:01.316] base::sink(type = "output", split = FALSE) [01:27:01.316] base::close(...future.stdout) [01:27:01.316] }, add = TRUE) [01:27:01.316] } [01:27:01.316] ...future.frame <- base::sys.nframe() [01:27:01.316] ...future.conditions <- base::list() [01:27:01.316] ...future.rng <- base::globalenv()$.Random.seed [01:27:01.316] if (FALSE) { [01:27:01.316] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [01:27:01.316] "...future.value", "...future.globalenv.names", ".Random.seed") [01:27:01.316] } [01:27:01.316] ...future.result <- base::tryCatch({ [01:27:01.316] base::withCallingHandlers({ [01:27:01.316] ...future.value <- base::withVisible(base::local(1)) [01:27:01.316] future::FutureResult(value = ...future.value$value, [01:27:01.316] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.316] ...future.rng), globalenv = if (FALSE) [01:27:01.316] list(added = base::setdiff(base::names(base::.GlobalEnv), [01:27:01.316] ...future.globalenv.names)) [01:27:01.316] else NULL, started = ...future.startTime, version = "1.8") [01:27:01.316] }, condition = base::local({ [01:27:01.316] c <- base::c [01:27:01.316] inherits <- base::inherits [01:27:01.316] invokeRestart <- base::invokeRestart [01:27:01.316] length <- base::length [01:27:01.316] list <- base::list [01:27:01.316] seq.int <- base::seq.int [01:27:01.316] signalCondition <- base::signalCondition [01:27:01.316] sys.calls <- base::sys.calls [01:27:01.316] `[[` <- base::`[[` [01:27:01.316] `+` <- base::`+` [01:27:01.316] `<<-` <- base::`<<-` [01:27:01.316] sysCalls <- function(calls = sys.calls(), from = 1L) { [01:27:01.316] calls[seq.int(from = from + 12L, to = length(calls) - [01:27:01.316] 3L)] [01:27:01.316] } [01:27:01.316] function(cond) { [01:27:01.316] is_error <- inherits(cond, "error") [01:27:01.316] ignore <- !is_error && !is.null(NULL) && inherits(cond, [01:27:01.316] NULL) [01:27:01.316] if (is_error) { [01:27:01.316] sessionInformation <- function() { [01:27:01.316] list(r = base::R.Version(), locale = base::Sys.getlocale(), [01:27:01.316] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [01:27:01.316] search = base::search(), system = base::Sys.info()) [01:27:01.316] } [01:27:01.316] ...future.conditions[[length(...future.conditions) + [01:27:01.316] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [01:27:01.316] cond$call), session = sessionInformation(), [01:27:01.316] timestamp = base::Sys.time(), signaled = 0L) [01:27:01.316] signalCondition(cond) [01:27:01.316] } [01:27:01.316] else if (!ignore && TRUE && inherits(cond, c("condition", [01:27:01.316] "immediateCondition"))) { [01:27:01.316] signal <- TRUE && inherits(cond, "immediateCondition") [01:27:01.316] ...future.conditions[[length(...future.conditions) + [01:27:01.316] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [01:27:01.316] if (TRUE && !signal) { [01:27:01.316] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.316] { [01:27:01.316] inherits <- base::inherits [01:27:01.316] invokeRestart <- base::invokeRestart [01:27:01.316] is.null <- base::is.null [01:27:01.316] muffled <- FALSE [01:27:01.316] if (inherits(cond, "message")) { [01:27:01.316] muffled <- grepl(pattern, "muffleMessage") [01:27:01.316] if (muffled) [01:27:01.316] invokeRestart("muffleMessage") [01:27:01.316] } [01:27:01.316] else if (inherits(cond, "warning")) { [01:27:01.316] muffled <- grepl(pattern, "muffleWarning") [01:27:01.316] if (muffled) [01:27:01.316] invokeRestart("muffleWarning") [01:27:01.316] } [01:27:01.316] else if (inherits(cond, "condition")) { [01:27:01.316] if (!is.null(pattern)) { [01:27:01.316] computeRestarts <- base::computeRestarts [01:27:01.316] grepl <- base::grepl [01:27:01.316] restarts <- computeRestarts(cond) [01:27:01.316] for (restart in restarts) { [01:27:01.316] name <- restart$name [01:27:01.316] if (is.null(name)) [01:27:01.316] next [01:27:01.316] if (!grepl(pattern, name)) [01:27:01.316] next [01:27:01.316] invokeRestart(restart) [01:27:01.316] muffled <- TRUE [01:27:01.316] break [01:27:01.316] } [01:27:01.316] } [01:27:01.316] } [01:27:01.316] invisible(muffled) [01:27:01.316] } [01:27:01.316] muffleCondition(cond, pattern = "^muffle") [01:27:01.316] } [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] if (TRUE) { [01:27:01.316] muffleCondition <- function (cond, pattern = "^muffle") [01:27:01.316] { [01:27:01.316] inherits <- base::inherits [01:27:01.316] invokeRestart <- base::invokeRestart [01:27:01.316] is.null <- base::is.null [01:27:01.316] muffled <- FALSE [01:27:01.316] if (inherits(cond, "message")) { [01:27:01.316] muffled <- grepl(pattern, "muffleMessage") [01:27:01.316] if (muffled) [01:27:01.316] invokeRestart("muffleMessage") [01:27:01.316] } [01:27:01.316] else if (inherits(cond, "warning")) { [01:27:01.316] muffled <- grepl(pattern, "muffleWarning") [01:27:01.316] if (muffled) [01:27:01.316] invokeRestart("muffleWarning") [01:27:01.316] } [01:27:01.316] else if (inherits(cond, "condition")) { [01:27:01.316] if (!is.null(pattern)) { [01:27:01.316] computeRestarts <- base::computeRestarts [01:27:01.316] grepl <- base::grepl [01:27:01.316] restarts <- computeRestarts(cond) [01:27:01.316] for (restart in restarts) { [01:27:01.316] name <- restart$name [01:27:01.316] if (is.null(name)) [01:27:01.316] next [01:27:01.316] if (!grepl(pattern, name)) [01:27:01.316] next [01:27:01.316] invokeRestart(restart) [01:27:01.316] muffled <- TRUE [01:27:01.316] break [01:27:01.316] } [01:27:01.316] } [01:27:01.316] } [01:27:01.316] invisible(muffled) [01:27:01.316] } [01:27:01.316] muffleCondition(cond, pattern = "^muffle") [01:27:01.316] } [01:27:01.316] } [01:27:01.316] } [01:27:01.316] })) [01:27:01.316] }, error = function(ex) { [01:27:01.316] base::structure(base::list(value = NULL, visible = NULL, [01:27:01.316] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [01:27:01.316] ...future.rng), started = ...future.startTime, [01:27:01.316] finished = Sys.time(), session_uuid = NA_character_, [01:27:01.316] version = "1.8"), class = "FutureResult") [01:27:01.316] }, finally = { [01:27:01.316] if (!identical(...future.workdir, getwd())) [01:27:01.316] setwd(...future.workdir) [01:27:01.316] { [01:27:01.316] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [01:27:01.316] ...future.oldOptions$nwarnings <- NULL [01:27:01.316] } [01:27:01.316] base::options(...future.oldOptions) [01:27:01.316] if (.Platform$OS.type == "windows") { [01:27:01.316] old_names <- names(...future.oldEnvVars) [01:27:01.316] envs <- base::Sys.getenv() [01:27:01.316] names <- names(envs) [01:27:01.316] common <- intersect(names, old_names) [01:27:01.316] added <- setdiff(names, old_names) [01:27:01.316] removed <- setdiff(old_names, names) [01:27:01.316] changed <- common[...future.oldEnvVars[common] != [01:27:01.316] envs[common]] [01:27:01.316] NAMES <- toupper(changed) [01:27:01.316] args <- list() [01:27:01.316] for (kk in seq_along(NAMES)) { [01:27:01.316] name <- changed[[kk]] [01:27:01.316] NAME <- NAMES[[kk]] [01:27:01.316] if (name != NAME && is.element(NAME, old_names)) [01:27:01.316] next [01:27:01.316] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.316] } [01:27:01.316] NAMES <- toupper(added) [01:27:01.316] for (kk in seq_along(NAMES)) { [01:27:01.316] name <- added[[kk]] [01:27:01.316] NAME <- NAMES[[kk]] [01:27:01.316] if (name != NAME && is.element(NAME, old_names)) [01:27:01.316] next [01:27:01.316] args[[name]] <- "" [01:27:01.316] } [01:27:01.316] NAMES <- toupper(removed) [01:27:01.316] for (kk in seq_along(NAMES)) { [01:27:01.316] name <- removed[[kk]] [01:27:01.316] NAME <- NAMES[[kk]] [01:27:01.316] if (name != NAME && is.element(NAME, old_names)) [01:27:01.316] next [01:27:01.316] args[[name]] <- ...future.oldEnvVars[[name]] [01:27:01.316] } [01:27:01.316] if (length(args) > 0) [01:27:01.316] base::do.call(base::Sys.setenv, args = args) [01:27:01.316] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [01:27:01.316] } [01:27:01.316] { [01:27:01.316] if (base::length(...future.futureOptionsAdded) > [01:27:01.316] 0L) { [01:27:01.316] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [01:27:01.316] base::names(opts) <- ...future.futureOptionsAdded [01:27:01.316] base::options(opts) [01:27:01.316] } [01:27:01.316] { [01:27:01.316] { [01:27:01.316] NULL [01:27:01.316] RNGkind("Mersenne-Twister") [01:27:01.316] base::rm(list = ".Random.seed", envir = base::globalenv(), [01:27:01.316] inherits = FALSE) [01:27:01.316] } [01:27:01.316] options(future.plan = NULL) [01:27:01.316] if (is.na(NA_character_)) [01:27:01.316] Sys.unsetenv("R_FUTURE_PLAN") [01:27:01.316] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [01:27:01.316] future::plan(list(function (..., envir = parent.frame()) [01:27:01.316] { [01:27:01.316] future <- SequentialFuture(..., envir = envir) [01:27:01.316] if (!future$lazy) [01:27:01.316] future <- run(future) [01:27:01.316] invisible(future) [01:27:01.316] }), .cleanup = FALSE, .init = FALSE) [01:27:01.316] } [01:27:01.316] } [01:27:01.316] } [01:27:01.316] }) [01:27:01.316] if (TRUE) { [01:27:01.316] base::sink(type = "output", split = FALSE) [01:27:01.316] if (TRUE) { [01:27:01.316] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [01:27:01.316] } [01:27:01.316] else { [01:27:01.316] ...future.result["stdout"] <- base::list(NULL) [01:27:01.316] } [01:27:01.316] base::close(...future.stdout) [01:27:01.316] ...future.stdout <- NULL [01:27:01.316] } [01:27:01.316] ...future.result$conditions <- ...future.conditions [01:27:01.316] ...future.result$finished <- base::Sys.time() [01:27:01.316] ...future.result [01:27:01.316] } [01:27:01.320] plan(): Setting new future strategy stack: [01:27:01.320] List of future strategies: [01:27:01.320] 1. sequential: [01:27:01.320] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.320] - tweaked: FALSE [01:27:01.320] - call: NULL [01:27:01.320] plan(): nbrOfWorkers() = 1 [01:27:01.321] plan(): Setting new future strategy stack: [01:27:01.322] List of future strategies: [01:27:01.322] 1. sequential: [01:27:01.322] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.322] - tweaked: FALSE [01:27:01.322] - call: future::plan("sequential") [01:27:01.322] plan(): nbrOfWorkers() = 1 [01:27:01.323] SequentialFuture started (and completed) [01:27:01.323] - Launch lazy future ... done [01:27:01.323] 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: dcec5c30-05ac-c0d1-add1-e6695ceb11e9 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) [01:27:01.324] 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) [01:27:01.324] 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) [01:27:01.325] 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") [01:27:01.326] plan(): Setting new future strategy stack: [01:27:01.326] List of future strategies: [01:27:01.326] 1. FutureStrategy: [01:27:01.326] - args: function (..., envir = parent.frame(), workers = "") [01:27:01.326] - tweaked: FALSE [01:27:01.326] - call: future::plan(oplan) [01:27:01.341] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=204] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OCL', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RTOOLS43_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS43_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_', '_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_', '_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_', '_R_CHECK_CRAN_INCOMING_REMOTE_', '_R_CHECK_CRAN_INCOMING_USE_ASPELL_', '_R_CHECK_DATALIST_', '_R_CHECK_DEPRECATED_DEFUNCT_', '_R_CHECK_DOC_SIZES2_', '_R_CHECK_DOT_FIRSTLIB_', '_R_CHECK_DOT_INTERNAL_', '_R_CHECK_EXAMPLE_TIMING_THRESHOLD_', '_R_CHECK_EXECUTABLES_', '_R_CHECK_EXECUTABLES_EXCLUSIONS_', '_R_CHECK_FF_CALLS_', '_R_CHECK_FF_DUP_', '_R_CHECK_FORCE_SUGGESTS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_', '_R_CHECK_HAVE_MYSQL_', '_R_CHECK_HAVE_ODBC_', '_R_CHECK_HAVE_PERL_', '_R_CHECK_HAVE_POSTGRES_', '_R_CHECK_INSTALL_DEPENDS_', '_R_CHECK_INTERNALS2_', '_R_CHECK_LENGTH_1_CONDITION_', '_R_CHECK_LICENSE_', '_R_CHECK_LIMIT_CORES_', '_R_CHECK_MATRIX_DATA_', '_R_CHECK_MBCS_CONVERSION_FAILURE_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_NOTE_LOST_BRACES_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUBDIRS_STRICT_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_INSTALL_TIME_PATCHES_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '__R_CHECK_DOC_FILES_NOTE_IF_ALL_SPECIAL__', 'maj.version', 'nextArg--timingsnextArg--install' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: List of 3 $ name : chr "MAKEFLAGS" $ expected: 'Dlist' chr "" $ actual : 'Dlist' chr NA > > proc.time() user system elapsed 0.51 0.01 0.53