R Under development (unstable) (2024-03-25 r86192 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > source("incl/start.R") [17:25:58.949] plan(): Setting new future strategy stack: [17:25:58.951] List of future strategies: [17:25:58.951] 1. sequential: [17:25:58.951] - args: function (..., envir = parent.frame(), workers = "") [17:25:58.951] - tweaked: FALSE [17:25:58.951] - call: future::plan("sequential") [17:25:58.967] 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-c626cb99-e247-d1a4-171f-caa370ab16a9', 'list') ... list() *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'add') ... [17:25:59.006] getGlobalsAndPackages() ... [17:25:59.006] Searching for globals... [17:25:59.010] - globals found: [1] '{' [17:25:59.010] Searching for globals ... DONE [17:25:59.010] Resolving globals: FALSE [17:25:59.011] [17:25:59.011] [17:25:59.011] getGlobalsAndPackages() ... DONE [17:25:59.012] run() for 'Future' ... [17:25:59.012] - state: 'created' [17:25:59.012] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.013] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.013] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.013] - Field: 'label' [17:25:59.013] - Field: 'local' [17:25:59.013] - Field: 'owner' [17:25:59.013] - Field: 'envir' [17:25:59.014] - Field: 'packages' [17:25:59.014] - Field: 'gc' [17:25:59.014] - Field: 'conditions' [17:25:59.014] - Field: 'expr' [17:25:59.014] - Field: 'uuid' [17:25:59.015] - Field: 'seed' [17:25:59.015] - Field: 'version' [17:25:59.015] - Field: 'result' [17:25:59.015] - Field: 'asynchronous' [17:25:59.015] - Field: 'calls' [17:25:59.015] - Field: 'globals' [17:25:59.016] - Field: 'stdout' [17:25:59.016] - Field: 'earlySignal' [17:25:59.016] - Field: 'lazy' [17:25:59.016] - Field: 'state' [17:25:59.016] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.016] - Launch lazy future ... [17:25:59.017] Packages needed by the future expression (n = 0): [17:25:59.017] Packages needed by future strategies (n = 0): [17:25:59.018] { [17:25:59.018] { [17:25:59.018] { [17:25:59.018] ...future.startTime <- base::Sys.time() [17:25:59.018] { [17:25:59.018] { [17:25:59.018] { [17:25:59.018] base::local({ [17:25:59.018] has_future <- base::requireNamespace("future", [17:25:59.018] quietly = TRUE) [17:25:59.018] if (has_future) { [17:25:59.018] ns <- base::getNamespace("future") [17:25:59.018] version <- ns[[".package"]][["version"]] [17:25:59.018] if (is.null(version)) [17:25:59.018] version <- utils::packageVersion("future") [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] version <- NULL [17:25:59.018] } [17:25:59.018] if (!has_future || version < "1.8.0") { [17:25:59.018] info <- base::c(r_version = base::gsub("R version ", [17:25:59.018] "", base::R.version$version.string), [17:25:59.018] platform = base::sprintf("%s (%s-bit)", [17:25:59.018] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.018] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.018] "release", "version")], collapse = " "), [17:25:59.018] hostname = base::Sys.info()[["nodename"]]) [17:25:59.018] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.018] info) [17:25:59.018] info <- base::paste(info, collapse = "; ") [17:25:59.018] if (!has_future) { [17:25:59.018] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.018] info) [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.018] info, version) [17:25:59.018] } [17:25:59.018] base::stop(msg) [17:25:59.018] } [17:25:59.018] }) [17:25:59.018] } [17:25:59.018] ...future.strategy.old <- future::plan("list") [17:25:59.018] options(future.plan = NULL) [17:25:59.018] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.018] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.018] } [17:25:59.018] ...future.workdir <- getwd() [17:25:59.018] } [17:25:59.018] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.018] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.018] } [17:25:59.018] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.018] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.018] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.018] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.018] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.018] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.018] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.018] base::names(...future.oldOptions)) [17:25:59.018] } [17:25:59.018] if (FALSE) { [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] if (TRUE) { [17:25:59.018] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.018] open = "w") [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.018] windows = "NUL", "/dev/null"), open = "w") [17:25:59.018] } [17:25:59.018] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.018] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.018] base::sink(type = "output", split = FALSE) [17:25:59.018] base::close(...future.stdout) [17:25:59.018] }, add = TRUE) [17:25:59.018] } [17:25:59.018] ...future.frame <- base::sys.nframe() [17:25:59.018] ...future.conditions <- base::list() [17:25:59.018] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.018] if (FALSE) { [17:25:59.018] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.018] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.018] } [17:25:59.018] ...future.result <- base::tryCatch({ [17:25:59.018] base::withCallingHandlers({ [17:25:59.018] ...future.value <- base::withVisible(base::local({ [17:25:59.018] 1 [17:25:59.018] })) [17:25:59.018] future::FutureResult(value = ...future.value$value, [17:25:59.018] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.018] ...future.rng), globalenv = if (FALSE) [17:25:59.018] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.018] ...future.globalenv.names)) [17:25:59.018] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.018] }, condition = base::local({ [17:25:59.018] c <- base::c [17:25:59.018] inherits <- base::inherits [17:25:59.018] invokeRestart <- base::invokeRestart [17:25:59.018] length <- base::length [17:25:59.018] list <- base::list [17:25:59.018] seq.int <- base::seq.int [17:25:59.018] signalCondition <- base::signalCondition [17:25:59.018] sys.calls <- base::sys.calls [17:25:59.018] `[[` <- base::`[[` [17:25:59.018] `+` <- base::`+` [17:25:59.018] `<<-` <- base::`<<-` [17:25:59.018] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.018] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.018] 3L)] [17:25:59.018] } [17:25:59.018] function(cond) { [17:25:59.018] is_error <- inherits(cond, "error") [17:25:59.018] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.018] NULL) [17:25:59.018] if (is_error) { [17:25:59.018] sessionInformation <- function() { [17:25:59.018] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.018] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.018] search = base::search(), system = base::Sys.info()) [17:25:59.018] } [17:25:59.018] ...future.conditions[[length(...future.conditions) + [17:25:59.018] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.018] cond$call), session = sessionInformation(), [17:25:59.018] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.018] signalCondition(cond) [17:25:59.018] } [17:25:59.018] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.018] "immediateCondition"))) { [17:25:59.018] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.018] ...future.conditions[[length(...future.conditions) + [17:25:59.018] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.018] if (TRUE && !signal) { [17:25:59.018] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.018] { [17:25:59.018] inherits <- base::inherits [17:25:59.018] invokeRestart <- base::invokeRestart [17:25:59.018] is.null <- base::is.null [17:25:59.018] muffled <- FALSE [17:25:59.018] if (inherits(cond, "message")) { [17:25:59.018] muffled <- grepl(pattern, "muffleMessage") [17:25:59.018] if (muffled) [17:25:59.018] invokeRestart("muffleMessage") [17:25:59.018] } [17:25:59.018] else if (inherits(cond, "warning")) { [17:25:59.018] muffled <- grepl(pattern, "muffleWarning") [17:25:59.018] if (muffled) [17:25:59.018] invokeRestart("muffleWarning") [17:25:59.018] } [17:25:59.018] else if (inherits(cond, "condition")) { [17:25:59.018] if (!is.null(pattern)) { [17:25:59.018] computeRestarts <- base::computeRestarts [17:25:59.018] grepl <- base::grepl [17:25:59.018] restarts <- computeRestarts(cond) [17:25:59.018] for (restart in restarts) { [17:25:59.018] name <- restart$name [17:25:59.018] if (is.null(name)) [17:25:59.018] next [17:25:59.018] if (!grepl(pattern, name)) [17:25:59.018] next [17:25:59.018] invokeRestart(restart) [17:25:59.018] muffled <- TRUE [17:25:59.018] break [17:25:59.018] } [17:25:59.018] } [17:25:59.018] } [17:25:59.018] invisible(muffled) [17:25:59.018] } [17:25:59.018] muffleCondition(cond, pattern = "^muffle") [17:25:59.018] } [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] if (TRUE) { [17:25:59.018] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.018] { [17:25:59.018] inherits <- base::inherits [17:25:59.018] invokeRestart <- base::invokeRestart [17:25:59.018] is.null <- base::is.null [17:25:59.018] muffled <- FALSE [17:25:59.018] if (inherits(cond, "message")) { [17:25:59.018] muffled <- grepl(pattern, "muffleMessage") [17:25:59.018] if (muffled) [17:25:59.018] invokeRestart("muffleMessage") [17:25:59.018] } [17:25:59.018] else if (inherits(cond, "warning")) { [17:25:59.018] muffled <- grepl(pattern, "muffleWarning") [17:25:59.018] if (muffled) [17:25:59.018] invokeRestart("muffleWarning") [17:25:59.018] } [17:25:59.018] else if (inherits(cond, "condition")) { [17:25:59.018] if (!is.null(pattern)) { [17:25:59.018] computeRestarts <- base::computeRestarts [17:25:59.018] grepl <- base::grepl [17:25:59.018] restarts <- computeRestarts(cond) [17:25:59.018] for (restart in restarts) { [17:25:59.018] name <- restart$name [17:25:59.018] if (is.null(name)) [17:25:59.018] next [17:25:59.018] if (!grepl(pattern, name)) [17:25:59.018] next [17:25:59.018] invokeRestart(restart) [17:25:59.018] muffled <- TRUE [17:25:59.018] break [17:25:59.018] } [17:25:59.018] } [17:25:59.018] } [17:25:59.018] invisible(muffled) [17:25:59.018] } [17:25:59.018] muffleCondition(cond, pattern = "^muffle") [17:25:59.018] } [17:25:59.018] } [17:25:59.018] } [17:25:59.018] })) [17:25:59.018] }, error = function(ex) { [17:25:59.018] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.018] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.018] ...future.rng), started = ...future.startTime, [17:25:59.018] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.018] version = "1.8"), class = "FutureResult") [17:25:59.018] }, finally = { [17:25:59.018] if (!identical(...future.workdir, getwd())) [17:25:59.018] setwd(...future.workdir) [17:25:59.018] { [17:25:59.018] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.018] ...future.oldOptions$nwarnings <- NULL [17:25:59.018] } [17:25:59.018] base::options(...future.oldOptions) [17:25:59.018] if (.Platform$OS.type == "windows") { [17:25:59.018] old_names <- names(...future.oldEnvVars) [17:25:59.018] envs <- base::Sys.getenv() [17:25:59.018] names <- names(envs) [17:25:59.018] common <- intersect(names, old_names) [17:25:59.018] added <- setdiff(names, old_names) [17:25:59.018] removed <- setdiff(old_names, names) [17:25:59.018] changed <- common[...future.oldEnvVars[common] != [17:25:59.018] envs[common]] [17:25:59.018] NAMES <- toupper(changed) [17:25:59.018] args <- list() [17:25:59.018] for (kk in seq_along(NAMES)) { [17:25:59.018] name <- changed[[kk]] [17:25:59.018] NAME <- NAMES[[kk]] [17:25:59.018] if (name != NAME && is.element(NAME, old_names)) [17:25:59.018] next [17:25:59.018] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.018] } [17:25:59.018] NAMES <- toupper(added) [17:25:59.018] for (kk in seq_along(NAMES)) { [17:25:59.018] name <- added[[kk]] [17:25:59.018] NAME <- NAMES[[kk]] [17:25:59.018] if (name != NAME && is.element(NAME, old_names)) [17:25:59.018] next [17:25:59.018] args[[name]] <- "" [17:25:59.018] } [17:25:59.018] NAMES <- toupper(removed) [17:25:59.018] for (kk in seq_along(NAMES)) { [17:25:59.018] name <- removed[[kk]] [17:25:59.018] NAME <- NAMES[[kk]] [17:25:59.018] if (name != NAME && is.element(NAME, old_names)) [17:25:59.018] next [17:25:59.018] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.018] } [17:25:59.018] if (length(args) > 0) [17:25:59.018] base::do.call(base::Sys.setenv, args = args) [17:25:59.018] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.018] } [17:25:59.018] { [17:25:59.018] if (base::length(...future.futureOptionsAdded) > [17:25:59.018] 0L) { [17:25:59.018] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.018] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.018] base::options(opts) [17:25:59.018] } [17:25:59.018] { [17:25:59.018] { [17:25:59.018] NULL [17:25:59.018] RNGkind("Mersenne-Twister") [17:25:59.018] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.018] inherits = FALSE) [17:25:59.018] } [17:25:59.018] options(future.plan = NULL) [17:25:59.018] if (is.na(NA_character_)) [17:25:59.018] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.018] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.018] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.018] .init = FALSE) [17:25:59.018] } [17:25:59.018] } [17:25:59.018] } [17:25:59.018] }) [17:25:59.018] if (TRUE) { [17:25:59.018] base::sink(type = "output", split = FALSE) [17:25:59.018] if (TRUE) { [17:25:59.018] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.018] } [17:25:59.018] else { [17:25:59.018] ...future.result["stdout"] <- base::list(NULL) [17:25:59.018] } [17:25:59.018] base::close(...future.stdout) [17:25:59.018] ...future.stdout <- NULL [17:25:59.018] } [17:25:59.018] ...future.result$conditions <- ...future.conditions [17:25:59.018] ...future.result$finished <- base::Sys.time() [17:25:59.018] ...future.result [17:25:59.018] } [17:25:59.023] plan(): Setting new future strategy stack: [17:25:59.023] List of future strategies: [17:25:59.023] 1. sequential: [17:25:59.023] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.023] - tweaked: FALSE [17:25:59.023] - call: NULL [17:25:59.023] plan(): nbrOfWorkers() = 1 [17:25:59.025] plan(): Setting new future strategy stack: [17:25:59.026] List of future strategies: [17:25:59.026] 1. sequential: [17:25:59.026] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.026] - tweaked: FALSE [17:25:59.026] - call: future::plan("sequential") [17:25:59.026] plan(): nbrOfWorkers() = 1 [17:25:59.026] SequentialFuture started (and completed) [17:25:59.027] - Launch lazy future ... done [17:25:59.027] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', '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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'remove') ... *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'list') ... list() *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'add') ... [17:25:59.033] getGlobalsAndPackages() ... [17:25:59.033] Searching for globals... [17:25:59.034] - globals found: [1] '{' [17:25:59.034] Searching for globals ... DONE [17:25:59.034] Resolving globals: FALSE [17:25:59.035] [17:25:59.035] [17:25:59.035] getGlobalsAndPackages() ... DONE [17:25:59.035] run() for 'Future' ... [17:25:59.036] - state: 'created' [17:25:59.036] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.036] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.036] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.037] - Field: 'label' [17:25:59.037] - Field: 'local' [17:25:59.037] - Field: 'owner' [17:25:59.037] - Field: 'envir' [17:25:59.037] - Field: 'packages' [17:25:59.038] - Field: 'gc' [17:25:59.038] - Field: 'conditions' [17:25:59.038] - Field: 'expr' [17:25:59.038] - Field: 'uuid' [17:25:59.038] - Field: 'seed' [17:25:59.038] - Field: 'version' [17:25:59.039] - Field: 'result' [17:25:59.039] - Field: 'asynchronous' [17:25:59.039] - Field: 'calls' [17:25:59.039] - Field: 'globals' [17:25:59.039] - Field: 'stdout' [17:25:59.039] - Field: 'earlySignal' [17:25:59.040] - Field: 'lazy' [17:25:59.040] - Field: 'state' [17:25:59.040] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.040] - Launch lazy future ... [17:25:59.040] Packages needed by the future expression (n = 0): [17:25:59.041] Packages needed by future strategies (n = 0): [17:25:59.041] { [17:25:59.041] { [17:25:59.041] { [17:25:59.041] ...future.startTime <- base::Sys.time() [17:25:59.041] { [17:25:59.041] { [17:25:59.041] { [17:25:59.041] base::local({ [17:25:59.041] has_future <- base::requireNamespace("future", [17:25:59.041] quietly = TRUE) [17:25:59.041] if (has_future) { [17:25:59.041] ns <- base::getNamespace("future") [17:25:59.041] version <- ns[[".package"]][["version"]] [17:25:59.041] if (is.null(version)) [17:25:59.041] version <- utils::packageVersion("future") [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] version <- NULL [17:25:59.041] } [17:25:59.041] if (!has_future || version < "1.8.0") { [17:25:59.041] info <- base::c(r_version = base::gsub("R version ", [17:25:59.041] "", base::R.version$version.string), [17:25:59.041] platform = base::sprintf("%s (%s-bit)", [17:25:59.041] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.041] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.041] "release", "version")], collapse = " "), [17:25:59.041] hostname = base::Sys.info()[["nodename"]]) [17:25:59.041] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.041] info) [17:25:59.041] info <- base::paste(info, collapse = "; ") [17:25:59.041] if (!has_future) { [17:25:59.041] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.041] info) [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.041] info, version) [17:25:59.041] } [17:25:59.041] base::stop(msg) [17:25:59.041] } [17:25:59.041] }) [17:25:59.041] } [17:25:59.041] ...future.strategy.old <- future::plan("list") [17:25:59.041] options(future.plan = NULL) [17:25:59.041] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.041] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.041] } [17:25:59.041] ...future.workdir <- getwd() [17:25:59.041] } [17:25:59.041] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.041] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.041] } [17:25:59.041] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.041] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.041] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.041] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.041] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.041] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.041] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.041] base::names(...future.oldOptions)) [17:25:59.041] } [17:25:59.041] if (FALSE) { [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] if (TRUE) { [17:25:59.041] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.041] open = "w") [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.041] windows = "NUL", "/dev/null"), open = "w") [17:25:59.041] } [17:25:59.041] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.041] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.041] base::sink(type = "output", split = FALSE) [17:25:59.041] base::close(...future.stdout) [17:25:59.041] }, add = TRUE) [17:25:59.041] } [17:25:59.041] ...future.frame <- base::sys.nframe() [17:25:59.041] ...future.conditions <- base::list() [17:25:59.041] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.041] if (FALSE) { [17:25:59.041] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.041] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.041] } [17:25:59.041] ...future.result <- base::tryCatch({ [17:25:59.041] base::withCallingHandlers({ [17:25:59.041] ...future.value <- base::withVisible(base::local({ [17:25:59.041] 2 [17:25:59.041] })) [17:25:59.041] future::FutureResult(value = ...future.value$value, [17:25:59.041] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.041] ...future.rng), globalenv = if (FALSE) [17:25:59.041] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.041] ...future.globalenv.names)) [17:25:59.041] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.041] }, condition = base::local({ [17:25:59.041] c <- base::c [17:25:59.041] inherits <- base::inherits [17:25:59.041] invokeRestart <- base::invokeRestart [17:25:59.041] length <- base::length [17:25:59.041] list <- base::list [17:25:59.041] seq.int <- base::seq.int [17:25:59.041] signalCondition <- base::signalCondition [17:25:59.041] sys.calls <- base::sys.calls [17:25:59.041] `[[` <- base::`[[` [17:25:59.041] `+` <- base::`+` [17:25:59.041] `<<-` <- base::`<<-` [17:25:59.041] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.041] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.041] 3L)] [17:25:59.041] } [17:25:59.041] function(cond) { [17:25:59.041] is_error <- inherits(cond, "error") [17:25:59.041] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.041] NULL) [17:25:59.041] if (is_error) { [17:25:59.041] sessionInformation <- function() { [17:25:59.041] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.041] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.041] search = base::search(), system = base::Sys.info()) [17:25:59.041] } [17:25:59.041] ...future.conditions[[length(...future.conditions) + [17:25:59.041] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.041] cond$call), session = sessionInformation(), [17:25:59.041] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.041] signalCondition(cond) [17:25:59.041] } [17:25:59.041] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.041] "immediateCondition"))) { [17:25:59.041] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.041] ...future.conditions[[length(...future.conditions) + [17:25:59.041] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.041] if (TRUE && !signal) { [17:25:59.041] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.041] { [17:25:59.041] inherits <- base::inherits [17:25:59.041] invokeRestart <- base::invokeRestart [17:25:59.041] is.null <- base::is.null [17:25:59.041] muffled <- FALSE [17:25:59.041] if (inherits(cond, "message")) { [17:25:59.041] muffled <- grepl(pattern, "muffleMessage") [17:25:59.041] if (muffled) [17:25:59.041] invokeRestart("muffleMessage") [17:25:59.041] } [17:25:59.041] else if (inherits(cond, "warning")) { [17:25:59.041] muffled <- grepl(pattern, "muffleWarning") [17:25:59.041] if (muffled) [17:25:59.041] invokeRestart("muffleWarning") [17:25:59.041] } [17:25:59.041] else if (inherits(cond, "condition")) { [17:25:59.041] if (!is.null(pattern)) { [17:25:59.041] computeRestarts <- base::computeRestarts [17:25:59.041] grepl <- base::grepl [17:25:59.041] restarts <- computeRestarts(cond) [17:25:59.041] for (restart in restarts) { [17:25:59.041] name <- restart$name [17:25:59.041] if (is.null(name)) [17:25:59.041] next [17:25:59.041] if (!grepl(pattern, name)) [17:25:59.041] next [17:25:59.041] invokeRestart(restart) [17:25:59.041] muffled <- TRUE [17:25:59.041] break [17:25:59.041] } [17:25:59.041] } [17:25:59.041] } [17:25:59.041] invisible(muffled) [17:25:59.041] } [17:25:59.041] muffleCondition(cond, pattern = "^muffle") [17:25:59.041] } [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] if (TRUE) { [17:25:59.041] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.041] { [17:25:59.041] inherits <- base::inherits [17:25:59.041] invokeRestart <- base::invokeRestart [17:25:59.041] is.null <- base::is.null [17:25:59.041] muffled <- FALSE [17:25:59.041] if (inherits(cond, "message")) { [17:25:59.041] muffled <- grepl(pattern, "muffleMessage") [17:25:59.041] if (muffled) [17:25:59.041] invokeRestart("muffleMessage") [17:25:59.041] } [17:25:59.041] else if (inherits(cond, "warning")) { [17:25:59.041] muffled <- grepl(pattern, "muffleWarning") [17:25:59.041] if (muffled) [17:25:59.041] invokeRestart("muffleWarning") [17:25:59.041] } [17:25:59.041] else if (inherits(cond, "condition")) { [17:25:59.041] if (!is.null(pattern)) { [17:25:59.041] computeRestarts <- base::computeRestarts [17:25:59.041] grepl <- base::grepl [17:25:59.041] restarts <- computeRestarts(cond) [17:25:59.041] for (restart in restarts) { [17:25:59.041] name <- restart$name [17:25:59.041] if (is.null(name)) [17:25:59.041] next [17:25:59.041] if (!grepl(pattern, name)) [17:25:59.041] next [17:25:59.041] invokeRestart(restart) [17:25:59.041] muffled <- TRUE [17:25:59.041] break [17:25:59.041] } [17:25:59.041] } [17:25:59.041] } [17:25:59.041] invisible(muffled) [17:25:59.041] } [17:25:59.041] muffleCondition(cond, pattern = "^muffle") [17:25:59.041] } [17:25:59.041] } [17:25:59.041] } [17:25:59.041] })) [17:25:59.041] }, error = function(ex) { [17:25:59.041] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.041] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.041] ...future.rng), started = ...future.startTime, [17:25:59.041] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.041] version = "1.8"), class = "FutureResult") [17:25:59.041] }, finally = { [17:25:59.041] if (!identical(...future.workdir, getwd())) [17:25:59.041] setwd(...future.workdir) [17:25:59.041] { [17:25:59.041] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.041] ...future.oldOptions$nwarnings <- NULL [17:25:59.041] } [17:25:59.041] base::options(...future.oldOptions) [17:25:59.041] if (.Platform$OS.type == "windows") { [17:25:59.041] old_names <- names(...future.oldEnvVars) [17:25:59.041] envs <- base::Sys.getenv() [17:25:59.041] names <- names(envs) [17:25:59.041] common <- intersect(names, old_names) [17:25:59.041] added <- setdiff(names, old_names) [17:25:59.041] removed <- setdiff(old_names, names) [17:25:59.041] changed <- common[...future.oldEnvVars[common] != [17:25:59.041] envs[common]] [17:25:59.041] NAMES <- toupper(changed) [17:25:59.041] args <- list() [17:25:59.041] for (kk in seq_along(NAMES)) { [17:25:59.041] name <- changed[[kk]] [17:25:59.041] NAME <- NAMES[[kk]] [17:25:59.041] if (name != NAME && is.element(NAME, old_names)) [17:25:59.041] next [17:25:59.041] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.041] } [17:25:59.041] NAMES <- toupper(added) [17:25:59.041] for (kk in seq_along(NAMES)) { [17:25:59.041] name <- added[[kk]] [17:25:59.041] NAME <- NAMES[[kk]] [17:25:59.041] if (name != NAME && is.element(NAME, old_names)) [17:25:59.041] next [17:25:59.041] args[[name]] <- "" [17:25:59.041] } [17:25:59.041] NAMES <- toupper(removed) [17:25:59.041] for (kk in seq_along(NAMES)) { [17:25:59.041] name <- removed[[kk]] [17:25:59.041] NAME <- NAMES[[kk]] [17:25:59.041] if (name != NAME && is.element(NAME, old_names)) [17:25:59.041] next [17:25:59.041] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.041] } [17:25:59.041] if (length(args) > 0) [17:25:59.041] base::do.call(base::Sys.setenv, args = args) [17:25:59.041] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.041] } [17:25:59.041] { [17:25:59.041] if (base::length(...future.futureOptionsAdded) > [17:25:59.041] 0L) { [17:25:59.041] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.041] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.041] base::options(opts) [17:25:59.041] } [17:25:59.041] { [17:25:59.041] { [17:25:59.041] NULL [17:25:59.041] RNGkind("Mersenne-Twister") [17:25:59.041] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.041] inherits = FALSE) [17:25:59.041] } [17:25:59.041] options(future.plan = NULL) [17:25:59.041] if (is.na(NA_character_)) [17:25:59.041] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.041] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.041] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.041] .init = FALSE) [17:25:59.041] } [17:25:59.041] } [17:25:59.041] } [17:25:59.041] }) [17:25:59.041] if (TRUE) { [17:25:59.041] base::sink(type = "output", split = FALSE) [17:25:59.041] if (TRUE) { [17:25:59.041] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.041] } [17:25:59.041] else { [17:25:59.041] ...future.result["stdout"] <- base::list(NULL) [17:25:59.041] } [17:25:59.041] base::close(...future.stdout) [17:25:59.041] ...future.stdout <- NULL [17:25:59.041] } [17:25:59.041] ...future.result$conditions <- ...future.conditions [17:25:59.041] ...future.result$finished <- base::Sys.time() [17:25:59.041] ...future.result [17:25:59.041] } [17:25:59.045] plan(): Setting new future strategy stack: [17:25:59.045] List of future strategies: [17:25:59.045] 1. sequential: [17:25:59.045] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.045] - tweaked: FALSE [17:25:59.045] - call: NULL [17:25:59.046] plan(): nbrOfWorkers() = 1 [17:25:59.047] plan(): Setting new future strategy stack: [17:25:59.047] List of future strategies: [17:25:59.047] 1. sequential: [17:25:59.047] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.047] - tweaked: FALSE [17:25:59.047] - call: future::plan("sequential") [17:25:59.048] plan(): nbrOfWorkers() = 1 [17:25:59.048] SequentialFuture started (and completed) [17:25:59.048] - Launch lazy future ... done [17:25:59.049] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', '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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'collect-first') ... [17:25:59.050] resolved() for 'SequentialFuture' ... [17:25:59.050] - state: 'finished' [17:25:59.050] - run: FALSE [17:25:59.051] - result: 'FutureResult' [17:25:59.051] resolved() for 'SequentialFuture' ... done list() *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'add') ... [17:25:59.051] getGlobalsAndPackages() ... [17:25:59.052] Searching for globals... [17:25:59.052] - globals found: [1] '{' [17:25:59.052] Searching for globals ... DONE [17:25:59.053] Resolving globals: FALSE [17:25:59.053] [17:25:59.053] [17:25:59.053] getGlobalsAndPackages() ... DONE [17:25:59.054] run() for 'Future' ... [17:25:59.054] - state: 'created' [17:25:59.054] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.054] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.055] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.055] - Field: 'label' [17:25:59.055] - Field: 'local' [17:25:59.055] - Field: 'owner' [17:25:59.055] - Field: 'envir' [17:25:59.055] - Field: 'packages' [17:25:59.056] - Field: 'gc' [17:25:59.056] - Field: 'conditions' [17:25:59.056] - Field: 'expr' [17:25:59.056] - Field: 'uuid' [17:25:59.056] - Field: 'seed' [17:25:59.056] - Field: 'version' [17:25:59.057] - Field: 'result' [17:25:59.057] - Field: 'asynchronous' [17:25:59.057] - Field: 'calls' [17:25:59.057] - Field: 'globals' [17:25:59.057] - Field: 'stdout' [17:25:59.058] - Field: 'earlySignal' [17:25:59.058] - Field: 'lazy' [17:25:59.058] - Field: 'state' [17:25:59.058] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.058] - Launch lazy future ... [17:25:59.058] Packages needed by the future expression (n = 0): [17:25:59.059] Packages needed by future strategies (n = 0): [17:25:59.059] { [17:25:59.059] { [17:25:59.059] { [17:25:59.059] ...future.startTime <- base::Sys.time() [17:25:59.059] { [17:25:59.059] { [17:25:59.059] { [17:25:59.059] base::local({ [17:25:59.059] has_future <- base::requireNamespace("future", [17:25:59.059] quietly = TRUE) [17:25:59.059] if (has_future) { [17:25:59.059] ns <- base::getNamespace("future") [17:25:59.059] version <- ns[[".package"]][["version"]] [17:25:59.059] if (is.null(version)) [17:25:59.059] version <- utils::packageVersion("future") [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] version <- NULL [17:25:59.059] } [17:25:59.059] if (!has_future || version < "1.8.0") { [17:25:59.059] info <- base::c(r_version = base::gsub("R version ", [17:25:59.059] "", base::R.version$version.string), [17:25:59.059] platform = base::sprintf("%s (%s-bit)", [17:25:59.059] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.059] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.059] "release", "version")], collapse = " "), [17:25:59.059] hostname = base::Sys.info()[["nodename"]]) [17:25:59.059] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.059] info) [17:25:59.059] info <- base::paste(info, collapse = "; ") [17:25:59.059] if (!has_future) { [17:25:59.059] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.059] info) [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.059] info, version) [17:25:59.059] } [17:25:59.059] base::stop(msg) [17:25:59.059] } [17:25:59.059] }) [17:25:59.059] } [17:25:59.059] ...future.strategy.old <- future::plan("list") [17:25:59.059] options(future.plan = NULL) [17:25:59.059] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.059] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.059] } [17:25:59.059] ...future.workdir <- getwd() [17:25:59.059] } [17:25:59.059] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.059] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.059] } [17:25:59.059] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.059] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.059] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.059] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.059] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.059] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.059] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.059] base::names(...future.oldOptions)) [17:25:59.059] } [17:25:59.059] if (FALSE) { [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] if (TRUE) { [17:25:59.059] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.059] open = "w") [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.059] windows = "NUL", "/dev/null"), open = "w") [17:25:59.059] } [17:25:59.059] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.059] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.059] base::sink(type = "output", split = FALSE) [17:25:59.059] base::close(...future.stdout) [17:25:59.059] }, add = TRUE) [17:25:59.059] } [17:25:59.059] ...future.frame <- base::sys.nframe() [17:25:59.059] ...future.conditions <- base::list() [17:25:59.059] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.059] if (FALSE) { [17:25:59.059] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.059] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.059] } [17:25:59.059] ...future.result <- base::tryCatch({ [17:25:59.059] base::withCallingHandlers({ [17:25:59.059] ...future.value <- base::withVisible(base::local({ [17:25:59.059] 2 [17:25:59.059] })) [17:25:59.059] future::FutureResult(value = ...future.value$value, [17:25:59.059] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.059] ...future.rng), globalenv = if (FALSE) [17:25:59.059] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.059] ...future.globalenv.names)) [17:25:59.059] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.059] }, condition = base::local({ [17:25:59.059] c <- base::c [17:25:59.059] inherits <- base::inherits [17:25:59.059] invokeRestart <- base::invokeRestart [17:25:59.059] length <- base::length [17:25:59.059] list <- base::list [17:25:59.059] seq.int <- base::seq.int [17:25:59.059] signalCondition <- base::signalCondition [17:25:59.059] sys.calls <- base::sys.calls [17:25:59.059] `[[` <- base::`[[` [17:25:59.059] `+` <- base::`+` [17:25:59.059] `<<-` <- base::`<<-` [17:25:59.059] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.059] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.059] 3L)] [17:25:59.059] } [17:25:59.059] function(cond) { [17:25:59.059] is_error <- inherits(cond, "error") [17:25:59.059] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.059] NULL) [17:25:59.059] if (is_error) { [17:25:59.059] sessionInformation <- function() { [17:25:59.059] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.059] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.059] search = base::search(), system = base::Sys.info()) [17:25:59.059] } [17:25:59.059] ...future.conditions[[length(...future.conditions) + [17:25:59.059] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.059] cond$call), session = sessionInformation(), [17:25:59.059] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.059] signalCondition(cond) [17:25:59.059] } [17:25:59.059] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.059] "immediateCondition"))) { [17:25:59.059] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.059] ...future.conditions[[length(...future.conditions) + [17:25:59.059] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.059] if (TRUE && !signal) { [17:25:59.059] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.059] { [17:25:59.059] inherits <- base::inherits [17:25:59.059] invokeRestart <- base::invokeRestart [17:25:59.059] is.null <- base::is.null [17:25:59.059] muffled <- FALSE [17:25:59.059] if (inherits(cond, "message")) { [17:25:59.059] muffled <- grepl(pattern, "muffleMessage") [17:25:59.059] if (muffled) [17:25:59.059] invokeRestart("muffleMessage") [17:25:59.059] } [17:25:59.059] else if (inherits(cond, "warning")) { [17:25:59.059] muffled <- grepl(pattern, "muffleWarning") [17:25:59.059] if (muffled) [17:25:59.059] invokeRestart("muffleWarning") [17:25:59.059] } [17:25:59.059] else if (inherits(cond, "condition")) { [17:25:59.059] if (!is.null(pattern)) { [17:25:59.059] computeRestarts <- base::computeRestarts [17:25:59.059] grepl <- base::grepl [17:25:59.059] restarts <- computeRestarts(cond) [17:25:59.059] for (restart in restarts) { [17:25:59.059] name <- restart$name [17:25:59.059] if (is.null(name)) [17:25:59.059] next [17:25:59.059] if (!grepl(pattern, name)) [17:25:59.059] next [17:25:59.059] invokeRestart(restart) [17:25:59.059] muffled <- TRUE [17:25:59.059] break [17:25:59.059] } [17:25:59.059] } [17:25:59.059] } [17:25:59.059] invisible(muffled) [17:25:59.059] } [17:25:59.059] muffleCondition(cond, pattern = "^muffle") [17:25:59.059] } [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] if (TRUE) { [17:25:59.059] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.059] { [17:25:59.059] inherits <- base::inherits [17:25:59.059] invokeRestart <- base::invokeRestart [17:25:59.059] is.null <- base::is.null [17:25:59.059] muffled <- FALSE [17:25:59.059] if (inherits(cond, "message")) { [17:25:59.059] muffled <- grepl(pattern, "muffleMessage") [17:25:59.059] if (muffled) [17:25:59.059] invokeRestart("muffleMessage") [17:25:59.059] } [17:25:59.059] else if (inherits(cond, "warning")) { [17:25:59.059] muffled <- grepl(pattern, "muffleWarning") [17:25:59.059] if (muffled) [17:25:59.059] invokeRestart("muffleWarning") [17:25:59.059] } [17:25:59.059] else if (inherits(cond, "condition")) { [17:25:59.059] if (!is.null(pattern)) { [17:25:59.059] computeRestarts <- base::computeRestarts [17:25:59.059] grepl <- base::grepl [17:25:59.059] restarts <- computeRestarts(cond) [17:25:59.059] for (restart in restarts) { [17:25:59.059] name <- restart$name [17:25:59.059] if (is.null(name)) [17:25:59.059] next [17:25:59.059] if (!grepl(pattern, name)) [17:25:59.059] next [17:25:59.059] invokeRestart(restart) [17:25:59.059] muffled <- TRUE [17:25:59.059] break [17:25:59.059] } [17:25:59.059] } [17:25:59.059] } [17:25:59.059] invisible(muffled) [17:25:59.059] } [17:25:59.059] muffleCondition(cond, pattern = "^muffle") [17:25:59.059] } [17:25:59.059] } [17:25:59.059] } [17:25:59.059] })) [17:25:59.059] }, error = function(ex) { [17:25:59.059] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.059] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.059] ...future.rng), started = ...future.startTime, [17:25:59.059] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.059] version = "1.8"), class = "FutureResult") [17:25:59.059] }, finally = { [17:25:59.059] if (!identical(...future.workdir, getwd())) [17:25:59.059] setwd(...future.workdir) [17:25:59.059] { [17:25:59.059] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.059] ...future.oldOptions$nwarnings <- NULL [17:25:59.059] } [17:25:59.059] base::options(...future.oldOptions) [17:25:59.059] if (.Platform$OS.type == "windows") { [17:25:59.059] old_names <- names(...future.oldEnvVars) [17:25:59.059] envs <- base::Sys.getenv() [17:25:59.059] names <- names(envs) [17:25:59.059] common <- intersect(names, old_names) [17:25:59.059] added <- setdiff(names, old_names) [17:25:59.059] removed <- setdiff(old_names, names) [17:25:59.059] changed <- common[...future.oldEnvVars[common] != [17:25:59.059] envs[common]] [17:25:59.059] NAMES <- toupper(changed) [17:25:59.059] args <- list() [17:25:59.059] for (kk in seq_along(NAMES)) { [17:25:59.059] name <- changed[[kk]] [17:25:59.059] NAME <- NAMES[[kk]] [17:25:59.059] if (name != NAME && is.element(NAME, old_names)) [17:25:59.059] next [17:25:59.059] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.059] } [17:25:59.059] NAMES <- toupper(added) [17:25:59.059] for (kk in seq_along(NAMES)) { [17:25:59.059] name <- added[[kk]] [17:25:59.059] NAME <- NAMES[[kk]] [17:25:59.059] if (name != NAME && is.element(NAME, old_names)) [17:25:59.059] next [17:25:59.059] args[[name]] <- "" [17:25:59.059] } [17:25:59.059] NAMES <- toupper(removed) [17:25:59.059] for (kk in seq_along(NAMES)) { [17:25:59.059] name <- removed[[kk]] [17:25:59.059] NAME <- NAMES[[kk]] [17:25:59.059] if (name != NAME && is.element(NAME, old_names)) [17:25:59.059] next [17:25:59.059] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.059] } [17:25:59.059] if (length(args) > 0) [17:25:59.059] base::do.call(base::Sys.setenv, args = args) [17:25:59.059] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.059] } [17:25:59.059] { [17:25:59.059] if (base::length(...future.futureOptionsAdded) > [17:25:59.059] 0L) { [17:25:59.059] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.059] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.059] base::options(opts) [17:25:59.059] } [17:25:59.059] { [17:25:59.059] { [17:25:59.059] NULL [17:25:59.059] RNGkind("Mersenne-Twister") [17:25:59.059] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.059] inherits = FALSE) [17:25:59.059] } [17:25:59.059] options(future.plan = NULL) [17:25:59.059] if (is.na(NA_character_)) [17:25:59.059] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.059] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.059] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.059] .init = FALSE) [17:25:59.059] } [17:25:59.059] } [17:25:59.059] } [17:25:59.059] }) [17:25:59.059] if (TRUE) { [17:25:59.059] base::sink(type = "output", split = FALSE) [17:25:59.059] if (TRUE) { [17:25:59.059] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.059] } [17:25:59.059] else { [17:25:59.059] ...future.result["stdout"] <- base::list(NULL) [17:25:59.059] } [17:25:59.059] base::close(...future.stdout) [17:25:59.059] ...future.stdout <- NULL [17:25:59.059] } [17:25:59.059] ...future.result$conditions <- ...future.conditions [17:25:59.059] ...future.result$finished <- base::Sys.time() [17:25:59.059] ...future.result [17:25:59.059] } [17:25:59.063] plan(): Setting new future strategy stack: [17:25:59.063] List of future strategies: [17:25:59.063] 1. sequential: [17:25:59.063] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.063] - tweaked: FALSE [17:25:59.063] - call: NULL [17:25:59.064] plan(): nbrOfWorkers() = 1 [17:25:59.065] plan(): Setting new future strategy stack: [17:25:59.065] List of future strategies: [17:25:59.065] 1. sequential: [17:25:59.065] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.065] - tweaked: FALSE [17:25:59.065] - call: future::plan("sequential") [17:25:59.066] plan(): nbrOfWorkers() = 1 [17:25:59.066] SequentialFuture started (and completed) [17:25:59.066] - Launch lazy future ... done [17:25:59.066] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'reset') ... *** FutureRegistry('multicore-c626cb99-e247-d1a4-171f-caa370ab16a9', 'list') ... list() *** FutureRegistry('rscript', 'list') ... list() *** FutureRegistry('rscript', 'add') ... [17:25:59.068] getGlobalsAndPackages() ... [17:25:59.068] Searching for globals... [17:25:59.068] - globals found: [1] '{' [17:25:59.069] Searching for globals ... DONE [17:25:59.069] Resolving globals: FALSE [17:25:59.069] [17:25:59.069] [17:25:59.069] getGlobalsAndPackages() ... DONE [17:25:59.070] run() for 'Future' ... [17:25:59.070] - state: 'created' [17:25:59.070] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.071] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.071] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.071] - Field: 'label' [17:25:59.071] - Field: 'local' [17:25:59.071] - Field: 'owner' [17:25:59.072] - Field: 'envir' [17:25:59.072] - Field: 'packages' [17:25:59.072] - Field: 'gc' [17:25:59.072] - Field: 'conditions' [17:25:59.072] - Field: 'expr' [17:25:59.073] - Field: 'uuid' [17:25:59.074] - Field: 'seed' [17:25:59.074] - Field: 'version' [17:25:59.074] - Field: 'result' [17:25:59.074] - Field: 'asynchronous' [17:25:59.074] - Field: 'calls' [17:25:59.074] - Field: 'globals' [17:25:59.075] - Field: 'stdout' [17:25:59.075] - Field: 'earlySignal' [17:25:59.075] - Field: 'lazy' [17:25:59.075] - Field: 'state' [17:25:59.075] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.075] - Launch lazy future ... [17:25:59.076] Packages needed by the future expression (n = 0): [17:25:59.076] Packages needed by future strategies (n = 0): [17:25:59.076] { [17:25:59.076] { [17:25:59.076] { [17:25:59.076] ...future.startTime <- base::Sys.time() [17:25:59.076] { [17:25:59.076] { [17:25:59.076] { [17:25:59.076] base::local({ [17:25:59.076] has_future <- base::requireNamespace("future", [17:25:59.076] quietly = TRUE) [17:25:59.076] if (has_future) { [17:25:59.076] ns <- base::getNamespace("future") [17:25:59.076] version <- ns[[".package"]][["version"]] [17:25:59.076] if (is.null(version)) [17:25:59.076] version <- utils::packageVersion("future") [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] version <- NULL [17:25:59.076] } [17:25:59.076] if (!has_future || version < "1.8.0") { [17:25:59.076] info <- base::c(r_version = base::gsub("R version ", [17:25:59.076] "", base::R.version$version.string), [17:25:59.076] platform = base::sprintf("%s (%s-bit)", [17:25:59.076] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.076] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.076] "release", "version")], collapse = " "), [17:25:59.076] hostname = base::Sys.info()[["nodename"]]) [17:25:59.076] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.076] info) [17:25:59.076] info <- base::paste(info, collapse = "; ") [17:25:59.076] if (!has_future) { [17:25:59.076] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.076] info) [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.076] info, version) [17:25:59.076] } [17:25:59.076] base::stop(msg) [17:25:59.076] } [17:25:59.076] }) [17:25:59.076] } [17:25:59.076] ...future.strategy.old <- future::plan("list") [17:25:59.076] options(future.plan = NULL) [17:25:59.076] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.076] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.076] } [17:25:59.076] ...future.workdir <- getwd() [17:25:59.076] } [17:25:59.076] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.076] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.076] } [17:25:59.076] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.076] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.076] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.076] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.076] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.076] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.076] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.076] base::names(...future.oldOptions)) [17:25:59.076] } [17:25:59.076] if (FALSE) { [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] if (TRUE) { [17:25:59.076] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.076] open = "w") [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.076] windows = "NUL", "/dev/null"), open = "w") [17:25:59.076] } [17:25:59.076] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.076] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.076] base::sink(type = "output", split = FALSE) [17:25:59.076] base::close(...future.stdout) [17:25:59.076] }, add = TRUE) [17:25:59.076] } [17:25:59.076] ...future.frame <- base::sys.nframe() [17:25:59.076] ...future.conditions <- base::list() [17:25:59.076] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.076] if (FALSE) { [17:25:59.076] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.076] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.076] } [17:25:59.076] ...future.result <- base::tryCatch({ [17:25:59.076] base::withCallingHandlers({ [17:25:59.076] ...future.value <- base::withVisible(base::local({ [17:25:59.076] 1 [17:25:59.076] })) [17:25:59.076] future::FutureResult(value = ...future.value$value, [17:25:59.076] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.076] ...future.rng), globalenv = if (FALSE) [17:25:59.076] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.076] ...future.globalenv.names)) [17:25:59.076] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.076] }, condition = base::local({ [17:25:59.076] c <- base::c [17:25:59.076] inherits <- base::inherits [17:25:59.076] invokeRestart <- base::invokeRestart [17:25:59.076] length <- base::length [17:25:59.076] list <- base::list [17:25:59.076] seq.int <- base::seq.int [17:25:59.076] signalCondition <- base::signalCondition [17:25:59.076] sys.calls <- base::sys.calls [17:25:59.076] `[[` <- base::`[[` [17:25:59.076] `+` <- base::`+` [17:25:59.076] `<<-` <- base::`<<-` [17:25:59.076] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.076] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.076] 3L)] [17:25:59.076] } [17:25:59.076] function(cond) { [17:25:59.076] is_error <- inherits(cond, "error") [17:25:59.076] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.076] NULL) [17:25:59.076] if (is_error) { [17:25:59.076] sessionInformation <- function() { [17:25:59.076] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.076] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.076] search = base::search(), system = base::Sys.info()) [17:25:59.076] } [17:25:59.076] ...future.conditions[[length(...future.conditions) + [17:25:59.076] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.076] cond$call), session = sessionInformation(), [17:25:59.076] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.076] signalCondition(cond) [17:25:59.076] } [17:25:59.076] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.076] "immediateCondition"))) { [17:25:59.076] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.076] ...future.conditions[[length(...future.conditions) + [17:25:59.076] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.076] if (TRUE && !signal) { [17:25:59.076] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.076] { [17:25:59.076] inherits <- base::inherits [17:25:59.076] invokeRestart <- base::invokeRestart [17:25:59.076] is.null <- base::is.null [17:25:59.076] muffled <- FALSE [17:25:59.076] if (inherits(cond, "message")) { [17:25:59.076] muffled <- grepl(pattern, "muffleMessage") [17:25:59.076] if (muffled) [17:25:59.076] invokeRestart("muffleMessage") [17:25:59.076] } [17:25:59.076] else if (inherits(cond, "warning")) { [17:25:59.076] muffled <- grepl(pattern, "muffleWarning") [17:25:59.076] if (muffled) [17:25:59.076] invokeRestart("muffleWarning") [17:25:59.076] } [17:25:59.076] else if (inherits(cond, "condition")) { [17:25:59.076] if (!is.null(pattern)) { [17:25:59.076] computeRestarts <- base::computeRestarts [17:25:59.076] grepl <- base::grepl [17:25:59.076] restarts <- computeRestarts(cond) [17:25:59.076] for (restart in restarts) { [17:25:59.076] name <- restart$name [17:25:59.076] if (is.null(name)) [17:25:59.076] next [17:25:59.076] if (!grepl(pattern, name)) [17:25:59.076] next [17:25:59.076] invokeRestart(restart) [17:25:59.076] muffled <- TRUE [17:25:59.076] break [17:25:59.076] } [17:25:59.076] } [17:25:59.076] } [17:25:59.076] invisible(muffled) [17:25:59.076] } [17:25:59.076] muffleCondition(cond, pattern = "^muffle") [17:25:59.076] } [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] if (TRUE) { [17:25:59.076] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.076] { [17:25:59.076] inherits <- base::inherits [17:25:59.076] invokeRestart <- base::invokeRestart [17:25:59.076] is.null <- base::is.null [17:25:59.076] muffled <- FALSE [17:25:59.076] if (inherits(cond, "message")) { [17:25:59.076] muffled <- grepl(pattern, "muffleMessage") [17:25:59.076] if (muffled) [17:25:59.076] invokeRestart("muffleMessage") [17:25:59.076] } [17:25:59.076] else if (inherits(cond, "warning")) { [17:25:59.076] muffled <- grepl(pattern, "muffleWarning") [17:25:59.076] if (muffled) [17:25:59.076] invokeRestart("muffleWarning") [17:25:59.076] } [17:25:59.076] else if (inherits(cond, "condition")) { [17:25:59.076] if (!is.null(pattern)) { [17:25:59.076] computeRestarts <- base::computeRestarts [17:25:59.076] grepl <- base::grepl [17:25:59.076] restarts <- computeRestarts(cond) [17:25:59.076] for (restart in restarts) { [17:25:59.076] name <- restart$name [17:25:59.076] if (is.null(name)) [17:25:59.076] next [17:25:59.076] if (!grepl(pattern, name)) [17:25:59.076] next [17:25:59.076] invokeRestart(restart) [17:25:59.076] muffled <- TRUE [17:25:59.076] break [17:25:59.076] } [17:25:59.076] } [17:25:59.076] } [17:25:59.076] invisible(muffled) [17:25:59.076] } [17:25:59.076] muffleCondition(cond, pattern = "^muffle") [17:25:59.076] } [17:25:59.076] } [17:25:59.076] } [17:25:59.076] })) [17:25:59.076] }, error = function(ex) { [17:25:59.076] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.076] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.076] ...future.rng), started = ...future.startTime, [17:25:59.076] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.076] version = "1.8"), class = "FutureResult") [17:25:59.076] }, finally = { [17:25:59.076] if (!identical(...future.workdir, getwd())) [17:25:59.076] setwd(...future.workdir) [17:25:59.076] { [17:25:59.076] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.076] ...future.oldOptions$nwarnings <- NULL [17:25:59.076] } [17:25:59.076] base::options(...future.oldOptions) [17:25:59.076] if (.Platform$OS.type == "windows") { [17:25:59.076] old_names <- names(...future.oldEnvVars) [17:25:59.076] envs <- base::Sys.getenv() [17:25:59.076] names <- names(envs) [17:25:59.076] common <- intersect(names, old_names) [17:25:59.076] added <- setdiff(names, old_names) [17:25:59.076] removed <- setdiff(old_names, names) [17:25:59.076] changed <- common[...future.oldEnvVars[common] != [17:25:59.076] envs[common]] [17:25:59.076] NAMES <- toupper(changed) [17:25:59.076] args <- list() [17:25:59.076] for (kk in seq_along(NAMES)) { [17:25:59.076] name <- changed[[kk]] [17:25:59.076] NAME <- NAMES[[kk]] [17:25:59.076] if (name != NAME && is.element(NAME, old_names)) [17:25:59.076] next [17:25:59.076] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.076] } [17:25:59.076] NAMES <- toupper(added) [17:25:59.076] for (kk in seq_along(NAMES)) { [17:25:59.076] name <- added[[kk]] [17:25:59.076] NAME <- NAMES[[kk]] [17:25:59.076] if (name != NAME && is.element(NAME, old_names)) [17:25:59.076] next [17:25:59.076] args[[name]] <- "" [17:25:59.076] } [17:25:59.076] NAMES <- toupper(removed) [17:25:59.076] for (kk in seq_along(NAMES)) { [17:25:59.076] name <- removed[[kk]] [17:25:59.076] NAME <- NAMES[[kk]] [17:25:59.076] if (name != NAME && is.element(NAME, old_names)) [17:25:59.076] next [17:25:59.076] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.076] } [17:25:59.076] if (length(args) > 0) [17:25:59.076] base::do.call(base::Sys.setenv, args = args) [17:25:59.076] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.076] } [17:25:59.076] { [17:25:59.076] if (base::length(...future.futureOptionsAdded) > [17:25:59.076] 0L) { [17:25:59.076] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.076] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.076] base::options(opts) [17:25:59.076] } [17:25:59.076] { [17:25:59.076] { [17:25:59.076] NULL [17:25:59.076] RNGkind("Mersenne-Twister") [17:25:59.076] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.076] inherits = FALSE) [17:25:59.076] } [17:25:59.076] options(future.plan = NULL) [17:25:59.076] if (is.na(NA_character_)) [17:25:59.076] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.076] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.076] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.076] .init = FALSE) [17:25:59.076] } [17:25:59.076] } [17:25:59.076] } [17:25:59.076] }) [17:25:59.076] if (TRUE) { [17:25:59.076] base::sink(type = "output", split = FALSE) [17:25:59.076] if (TRUE) { [17:25:59.076] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.076] } [17:25:59.076] else { [17:25:59.076] ...future.result["stdout"] <- base::list(NULL) [17:25:59.076] } [17:25:59.076] base::close(...future.stdout) [17:25:59.076] ...future.stdout <- NULL [17:25:59.076] } [17:25:59.076] ...future.result$conditions <- ...future.conditions [17:25:59.076] ...future.result$finished <- base::Sys.time() [17:25:59.076] ...future.result [17:25:59.076] } [17:25:59.080] plan(): Setting new future strategy stack: [17:25:59.080] List of future strategies: [17:25:59.080] 1. sequential: [17:25:59.080] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.080] - tweaked: FALSE [17:25:59.080] - call: NULL [17:25:59.081] plan(): nbrOfWorkers() = 1 [17:25:59.082] plan(): Setting new future strategy stack: [17:25:59.082] List of future strategies: [17:25:59.082] 1. sequential: [17:25:59.082] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.082] - tweaked: FALSE [17:25:59.082] - call: future::plan("sequential") [17:25:59.083] plan(): nbrOfWorkers() = 1 [17:25:59.083] SequentialFuture started (and completed) [17:25:59.084] - Launch lazy future ... done [17:25:59.084] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'remove') ... *** FutureRegistry('rscript', 'list') ... list() *** FutureRegistry('rscript', 'add') ... [17:25:59.085] getGlobalsAndPackages() ... [17:25:59.085] Searching for globals... [17:25:59.086] - globals found: [1] '{' [17:25:59.086] Searching for globals ... DONE [17:25:59.086] Resolving globals: FALSE [17:25:59.087] [17:25:59.087] [17:25:59.087] getGlobalsAndPackages() ... DONE [17:25:59.087] run() for 'Future' ... [17:25:59.088] - state: 'created' [17:25:59.088] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.088] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.088] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.089] - Field: 'label' [17:25:59.089] - Field: 'local' [17:25:59.089] - Field: 'owner' [17:25:59.089] - Field: 'envir' [17:25:59.089] - Field: 'packages' [17:25:59.089] - Field: 'gc' [17:25:59.090] - Field: 'conditions' [17:25:59.090] - Field: 'expr' [17:25:59.090] - Field: 'uuid' [17:25:59.090] - Field: 'seed' [17:25:59.090] - Field: 'version' [17:25:59.090] - Field: 'result' [17:25:59.091] - Field: 'asynchronous' [17:25:59.091] - Field: 'calls' [17:25:59.091] - Field: 'globals' [17:25:59.091] - Field: 'stdout' [17:25:59.091] - Field: 'earlySignal' [17:25:59.091] - Field: 'lazy' [17:25:59.092] - Field: 'state' [17:25:59.092] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.092] - Launch lazy future ... [17:25:59.092] Packages needed by the future expression (n = 0): [17:25:59.092] Packages needed by future strategies (n = 0): [17:25:59.093] { [17:25:59.093] { [17:25:59.093] { [17:25:59.093] ...future.startTime <- base::Sys.time() [17:25:59.093] { [17:25:59.093] { [17:25:59.093] { [17:25:59.093] base::local({ [17:25:59.093] has_future <- base::requireNamespace("future", [17:25:59.093] quietly = TRUE) [17:25:59.093] if (has_future) { [17:25:59.093] ns <- base::getNamespace("future") [17:25:59.093] version <- ns[[".package"]][["version"]] [17:25:59.093] if (is.null(version)) [17:25:59.093] version <- utils::packageVersion("future") [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] version <- NULL [17:25:59.093] } [17:25:59.093] if (!has_future || version < "1.8.0") { [17:25:59.093] info <- base::c(r_version = base::gsub("R version ", [17:25:59.093] "", base::R.version$version.string), [17:25:59.093] platform = base::sprintf("%s (%s-bit)", [17:25:59.093] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.093] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.093] "release", "version")], collapse = " "), [17:25:59.093] hostname = base::Sys.info()[["nodename"]]) [17:25:59.093] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.093] info) [17:25:59.093] info <- base::paste(info, collapse = "; ") [17:25:59.093] if (!has_future) { [17:25:59.093] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.093] info) [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.093] info, version) [17:25:59.093] } [17:25:59.093] base::stop(msg) [17:25:59.093] } [17:25:59.093] }) [17:25:59.093] } [17:25:59.093] ...future.strategy.old <- future::plan("list") [17:25:59.093] options(future.plan = NULL) [17:25:59.093] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.093] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.093] } [17:25:59.093] ...future.workdir <- getwd() [17:25:59.093] } [17:25:59.093] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.093] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.093] } [17:25:59.093] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.093] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.093] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.093] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.093] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.093] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.093] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.093] base::names(...future.oldOptions)) [17:25:59.093] } [17:25:59.093] if (FALSE) { [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] if (TRUE) { [17:25:59.093] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.093] open = "w") [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.093] windows = "NUL", "/dev/null"), open = "w") [17:25:59.093] } [17:25:59.093] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.093] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.093] base::sink(type = "output", split = FALSE) [17:25:59.093] base::close(...future.stdout) [17:25:59.093] }, add = TRUE) [17:25:59.093] } [17:25:59.093] ...future.frame <- base::sys.nframe() [17:25:59.093] ...future.conditions <- base::list() [17:25:59.093] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.093] if (FALSE) { [17:25:59.093] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.093] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.093] } [17:25:59.093] ...future.result <- base::tryCatch({ [17:25:59.093] base::withCallingHandlers({ [17:25:59.093] ...future.value <- base::withVisible(base::local({ [17:25:59.093] 2 [17:25:59.093] })) [17:25:59.093] future::FutureResult(value = ...future.value$value, [17:25:59.093] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.093] ...future.rng), globalenv = if (FALSE) [17:25:59.093] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.093] ...future.globalenv.names)) [17:25:59.093] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.093] }, condition = base::local({ [17:25:59.093] c <- base::c [17:25:59.093] inherits <- base::inherits [17:25:59.093] invokeRestart <- base::invokeRestart [17:25:59.093] length <- base::length [17:25:59.093] list <- base::list [17:25:59.093] seq.int <- base::seq.int [17:25:59.093] signalCondition <- base::signalCondition [17:25:59.093] sys.calls <- base::sys.calls [17:25:59.093] `[[` <- base::`[[` [17:25:59.093] `+` <- base::`+` [17:25:59.093] `<<-` <- base::`<<-` [17:25:59.093] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.093] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.093] 3L)] [17:25:59.093] } [17:25:59.093] function(cond) { [17:25:59.093] is_error <- inherits(cond, "error") [17:25:59.093] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.093] NULL) [17:25:59.093] if (is_error) { [17:25:59.093] sessionInformation <- function() { [17:25:59.093] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.093] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.093] search = base::search(), system = base::Sys.info()) [17:25:59.093] } [17:25:59.093] ...future.conditions[[length(...future.conditions) + [17:25:59.093] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.093] cond$call), session = sessionInformation(), [17:25:59.093] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.093] signalCondition(cond) [17:25:59.093] } [17:25:59.093] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.093] "immediateCondition"))) { [17:25:59.093] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.093] ...future.conditions[[length(...future.conditions) + [17:25:59.093] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.093] if (TRUE && !signal) { [17:25:59.093] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.093] { [17:25:59.093] inherits <- base::inherits [17:25:59.093] invokeRestart <- base::invokeRestart [17:25:59.093] is.null <- base::is.null [17:25:59.093] muffled <- FALSE [17:25:59.093] if (inherits(cond, "message")) { [17:25:59.093] muffled <- grepl(pattern, "muffleMessage") [17:25:59.093] if (muffled) [17:25:59.093] invokeRestart("muffleMessage") [17:25:59.093] } [17:25:59.093] else if (inherits(cond, "warning")) { [17:25:59.093] muffled <- grepl(pattern, "muffleWarning") [17:25:59.093] if (muffled) [17:25:59.093] invokeRestart("muffleWarning") [17:25:59.093] } [17:25:59.093] else if (inherits(cond, "condition")) { [17:25:59.093] if (!is.null(pattern)) { [17:25:59.093] computeRestarts <- base::computeRestarts [17:25:59.093] grepl <- base::grepl [17:25:59.093] restarts <- computeRestarts(cond) [17:25:59.093] for (restart in restarts) { [17:25:59.093] name <- restart$name [17:25:59.093] if (is.null(name)) [17:25:59.093] next [17:25:59.093] if (!grepl(pattern, name)) [17:25:59.093] next [17:25:59.093] invokeRestart(restart) [17:25:59.093] muffled <- TRUE [17:25:59.093] break [17:25:59.093] } [17:25:59.093] } [17:25:59.093] } [17:25:59.093] invisible(muffled) [17:25:59.093] } [17:25:59.093] muffleCondition(cond, pattern = "^muffle") [17:25:59.093] } [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] if (TRUE) { [17:25:59.093] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.093] { [17:25:59.093] inherits <- base::inherits [17:25:59.093] invokeRestart <- base::invokeRestart [17:25:59.093] is.null <- base::is.null [17:25:59.093] muffled <- FALSE [17:25:59.093] if (inherits(cond, "message")) { [17:25:59.093] muffled <- grepl(pattern, "muffleMessage") [17:25:59.093] if (muffled) [17:25:59.093] invokeRestart("muffleMessage") [17:25:59.093] } [17:25:59.093] else if (inherits(cond, "warning")) { [17:25:59.093] muffled <- grepl(pattern, "muffleWarning") [17:25:59.093] if (muffled) [17:25:59.093] invokeRestart("muffleWarning") [17:25:59.093] } [17:25:59.093] else if (inherits(cond, "condition")) { [17:25:59.093] if (!is.null(pattern)) { [17:25:59.093] computeRestarts <- base::computeRestarts [17:25:59.093] grepl <- base::grepl [17:25:59.093] restarts <- computeRestarts(cond) [17:25:59.093] for (restart in restarts) { [17:25:59.093] name <- restart$name [17:25:59.093] if (is.null(name)) [17:25:59.093] next [17:25:59.093] if (!grepl(pattern, name)) [17:25:59.093] next [17:25:59.093] invokeRestart(restart) [17:25:59.093] muffled <- TRUE [17:25:59.093] break [17:25:59.093] } [17:25:59.093] } [17:25:59.093] } [17:25:59.093] invisible(muffled) [17:25:59.093] } [17:25:59.093] muffleCondition(cond, pattern = "^muffle") [17:25:59.093] } [17:25:59.093] } [17:25:59.093] } [17:25:59.093] })) [17:25:59.093] }, error = function(ex) { [17:25:59.093] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.093] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.093] ...future.rng), started = ...future.startTime, [17:25:59.093] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.093] version = "1.8"), class = "FutureResult") [17:25:59.093] }, finally = { [17:25:59.093] if (!identical(...future.workdir, getwd())) [17:25:59.093] setwd(...future.workdir) [17:25:59.093] { [17:25:59.093] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.093] ...future.oldOptions$nwarnings <- NULL [17:25:59.093] } [17:25:59.093] base::options(...future.oldOptions) [17:25:59.093] if (.Platform$OS.type == "windows") { [17:25:59.093] old_names <- names(...future.oldEnvVars) [17:25:59.093] envs <- base::Sys.getenv() [17:25:59.093] names <- names(envs) [17:25:59.093] common <- intersect(names, old_names) [17:25:59.093] added <- setdiff(names, old_names) [17:25:59.093] removed <- setdiff(old_names, names) [17:25:59.093] changed <- common[...future.oldEnvVars[common] != [17:25:59.093] envs[common]] [17:25:59.093] NAMES <- toupper(changed) [17:25:59.093] args <- list() [17:25:59.093] for (kk in seq_along(NAMES)) { [17:25:59.093] name <- changed[[kk]] [17:25:59.093] NAME <- NAMES[[kk]] [17:25:59.093] if (name != NAME && is.element(NAME, old_names)) [17:25:59.093] next [17:25:59.093] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.093] } [17:25:59.093] NAMES <- toupper(added) [17:25:59.093] for (kk in seq_along(NAMES)) { [17:25:59.093] name <- added[[kk]] [17:25:59.093] NAME <- NAMES[[kk]] [17:25:59.093] if (name != NAME && is.element(NAME, old_names)) [17:25:59.093] next [17:25:59.093] args[[name]] <- "" [17:25:59.093] } [17:25:59.093] NAMES <- toupper(removed) [17:25:59.093] for (kk in seq_along(NAMES)) { [17:25:59.093] name <- removed[[kk]] [17:25:59.093] NAME <- NAMES[[kk]] [17:25:59.093] if (name != NAME && is.element(NAME, old_names)) [17:25:59.093] next [17:25:59.093] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.093] } [17:25:59.093] if (length(args) > 0) [17:25:59.093] base::do.call(base::Sys.setenv, args = args) [17:25:59.093] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.093] } [17:25:59.093] { [17:25:59.093] if (base::length(...future.futureOptionsAdded) > [17:25:59.093] 0L) { [17:25:59.093] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.093] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.093] base::options(opts) [17:25:59.093] } [17:25:59.093] { [17:25:59.093] { [17:25:59.093] NULL [17:25:59.093] RNGkind("Mersenne-Twister") [17:25:59.093] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.093] inherits = FALSE) [17:25:59.093] } [17:25:59.093] options(future.plan = NULL) [17:25:59.093] if (is.na(NA_character_)) [17:25:59.093] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.093] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.093] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.093] .init = FALSE) [17:25:59.093] } [17:25:59.093] } [17:25:59.093] } [17:25:59.093] }) [17:25:59.093] if (TRUE) { [17:25:59.093] base::sink(type = "output", split = FALSE) [17:25:59.093] if (TRUE) { [17:25:59.093] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.093] } [17:25:59.093] else { [17:25:59.093] ...future.result["stdout"] <- base::list(NULL) [17:25:59.093] } [17:25:59.093] base::close(...future.stdout) [17:25:59.093] ...future.stdout <- NULL [17:25:59.093] } [17:25:59.093] ...future.result$conditions <- ...future.conditions [17:25:59.093] ...future.result$finished <- base::Sys.time() [17:25:59.093] ...future.result [17:25:59.093] } [17:25:59.097] plan(): Setting new future strategy stack: [17:25:59.097] List of future strategies: [17:25:59.097] 1. sequential: [17:25:59.097] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.097] - tweaked: FALSE [17:25:59.097] - call: NULL [17:25:59.098] plan(): nbrOfWorkers() = 1 [17:25:59.099] plan(): Setting new future strategy stack: [17:25:59.099] List of future strategies: [17:25:59.099] 1. sequential: [17:25:59.099] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.099] - tweaked: FALSE [17:25:59.099] - call: future::plan("sequential") [17:25:59.100] plan(): nbrOfWorkers() = 1 [17:25:59.100] SequentialFuture started (and completed) [17:25:59.100] - Launch lazy future ... done [17:25:59.100] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 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: c626cb99-e247-d1a4-171f-caa370ab16a9 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' *** FutureRegistry('rscript', 'collect-first') ... [17:25:59.112] resolved() for 'SequentialFuture' ... [17:25:59.112] - state: 'finished' [17:25:59.112] - run: FALSE [17:25:59.112] - result: 'FutureResult' [17:25:59.112] resolved() for 'SequentialFuture' ... done list() *** FutureRegistry('rscript', 'add') ... [17:25:59.113] getGlobalsAndPackages() ... [17:25:59.113] Searching for globals... [17:25:59.114] - globals found: [1] '{' [17:25:59.114] Searching for globals ... DONE [17:25:59.114] Resolving globals: FALSE [17:25:59.114] [17:25:59.115] [17:25:59.115] getGlobalsAndPackages() ... DONE [17:25:59.115] run() for 'Future' ... [17:25:59.115] - state: 'created' [17:25:59.115] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.116] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.116] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.116] - Field: 'label' [17:25:59.116] - Field: 'local' [17:25:59.116] - Field: 'owner' [17:25:59.117] - Field: 'envir' [17:25:59.117] - Field: 'packages' [17:25:59.117] - Field: 'gc' [17:25:59.117] - Field: 'conditions' [17:25:59.117] - Field: 'expr' [17:25:59.117] - Field: 'uuid' [17:25:59.118] - Field: 'seed' [17:25:59.118] - Field: 'version' [17:25:59.118] - Field: 'result' [17:25:59.118] - Field: 'asynchronous' [17:25:59.118] - Field: 'calls' [17:25:59.119] - Field: 'globals' [17:25:59.119] - Field: 'stdout' [17:25:59.119] - Field: 'earlySignal' [17:25:59.119] - Field: 'lazy' [17:25:59.119] - Field: 'state' [17:25:59.119] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.120] - Launch lazy future ... [17:25:59.120] Packages needed by the future expression (n = 0): [17:25:59.120] Packages needed by future strategies (n = 0): [17:25:59.120] { [17:25:59.120] { [17:25:59.120] { [17:25:59.120] ...future.startTime <- base::Sys.time() [17:25:59.120] { [17:25:59.120] { [17:25:59.120] { [17:25:59.120] base::local({ [17:25:59.120] has_future <- base::requireNamespace("future", [17:25:59.120] quietly = TRUE) [17:25:59.120] if (has_future) { [17:25:59.120] ns <- base::getNamespace("future") [17:25:59.120] version <- ns[[".package"]][["version"]] [17:25:59.120] if (is.null(version)) [17:25:59.120] version <- utils::packageVersion("future") [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] version <- NULL [17:25:59.120] } [17:25:59.120] if (!has_future || version < "1.8.0") { [17:25:59.120] info <- base::c(r_version = base::gsub("R version ", [17:25:59.120] "", base::R.version$version.string), [17:25:59.120] platform = base::sprintf("%s (%s-bit)", [17:25:59.120] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.120] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.120] "release", "version")], collapse = " "), [17:25:59.120] hostname = base::Sys.info()[["nodename"]]) [17:25:59.120] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.120] info) [17:25:59.120] info <- base::paste(info, collapse = "; ") [17:25:59.120] if (!has_future) { [17:25:59.120] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.120] info) [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.120] info, version) [17:25:59.120] } [17:25:59.120] base::stop(msg) [17:25:59.120] } [17:25:59.120] }) [17:25:59.120] } [17:25:59.120] ...future.strategy.old <- future::plan("list") [17:25:59.120] options(future.plan = NULL) [17:25:59.120] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.120] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.120] } [17:25:59.120] ...future.workdir <- getwd() [17:25:59.120] } [17:25:59.120] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.120] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.120] } [17:25:59.120] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.120] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.120] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.120] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.120] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.120] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.120] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.120] base::names(...future.oldOptions)) [17:25:59.120] } [17:25:59.120] if (FALSE) { [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] if (TRUE) { [17:25:59.120] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.120] open = "w") [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.120] windows = "NUL", "/dev/null"), open = "w") [17:25:59.120] } [17:25:59.120] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.120] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.120] base::sink(type = "output", split = FALSE) [17:25:59.120] base::close(...future.stdout) [17:25:59.120] }, add = TRUE) [17:25:59.120] } [17:25:59.120] ...future.frame <- base::sys.nframe() [17:25:59.120] ...future.conditions <- base::list() [17:25:59.120] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.120] if (FALSE) { [17:25:59.120] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.120] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.120] } [17:25:59.120] ...future.result <- base::tryCatch({ [17:25:59.120] base::withCallingHandlers({ [17:25:59.120] ...future.value <- base::withVisible(base::local({ [17:25:59.120] 2 [17:25:59.120] })) [17:25:59.120] future::FutureResult(value = ...future.value$value, [17:25:59.120] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.120] ...future.rng), globalenv = if (FALSE) [17:25:59.120] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.120] ...future.globalenv.names)) [17:25:59.120] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.120] }, condition = base::local({ [17:25:59.120] c <- base::c [17:25:59.120] inherits <- base::inherits [17:25:59.120] invokeRestart <- base::invokeRestart [17:25:59.120] length <- base::length [17:25:59.120] list <- base::list [17:25:59.120] seq.int <- base::seq.int [17:25:59.120] signalCondition <- base::signalCondition [17:25:59.120] sys.calls <- base::sys.calls [17:25:59.120] `[[` <- base::`[[` [17:25:59.120] `+` <- base::`+` [17:25:59.120] `<<-` <- base::`<<-` [17:25:59.120] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.120] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.120] 3L)] [17:25:59.120] } [17:25:59.120] function(cond) { [17:25:59.120] is_error <- inherits(cond, "error") [17:25:59.120] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.120] NULL) [17:25:59.120] if (is_error) { [17:25:59.120] sessionInformation <- function() { [17:25:59.120] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.120] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.120] search = base::search(), system = base::Sys.info()) [17:25:59.120] } [17:25:59.120] ...future.conditions[[length(...future.conditions) + [17:25:59.120] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.120] cond$call), session = sessionInformation(), [17:25:59.120] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.120] signalCondition(cond) [17:25:59.120] } [17:25:59.120] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.120] "immediateCondition"))) { [17:25:59.120] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.120] ...future.conditions[[length(...future.conditions) + [17:25:59.120] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.120] if (TRUE && !signal) { [17:25:59.120] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.120] { [17:25:59.120] inherits <- base::inherits [17:25:59.120] invokeRestart <- base::invokeRestart [17:25:59.120] is.null <- base::is.null [17:25:59.120] muffled <- FALSE [17:25:59.120] if (inherits(cond, "message")) { [17:25:59.120] muffled <- grepl(pattern, "muffleMessage") [17:25:59.120] if (muffled) [17:25:59.120] invokeRestart("muffleMessage") [17:25:59.120] } [17:25:59.120] else if (inherits(cond, "warning")) { [17:25:59.120] muffled <- grepl(pattern, "muffleWarning") [17:25:59.120] if (muffled) [17:25:59.120] invokeRestart("muffleWarning") [17:25:59.120] } [17:25:59.120] else if (inherits(cond, "condition")) { [17:25:59.120] if (!is.null(pattern)) { [17:25:59.120] computeRestarts <- base::computeRestarts [17:25:59.120] grepl <- base::grepl [17:25:59.120] restarts <- computeRestarts(cond) [17:25:59.120] for (restart in restarts) { [17:25:59.120] name <- restart$name [17:25:59.120] if (is.null(name)) [17:25:59.120] next [17:25:59.120] if (!grepl(pattern, name)) [17:25:59.120] next [17:25:59.120] invokeRestart(restart) [17:25:59.120] muffled <- TRUE [17:25:59.120] break [17:25:59.120] } [17:25:59.120] } [17:25:59.120] } [17:25:59.120] invisible(muffled) [17:25:59.120] } [17:25:59.120] muffleCondition(cond, pattern = "^muffle") [17:25:59.120] } [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] if (TRUE) { [17:25:59.120] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.120] { [17:25:59.120] inherits <- base::inherits [17:25:59.120] invokeRestart <- base::invokeRestart [17:25:59.120] is.null <- base::is.null [17:25:59.120] muffled <- FALSE [17:25:59.120] if (inherits(cond, "message")) { [17:25:59.120] muffled <- grepl(pattern, "muffleMessage") [17:25:59.120] if (muffled) [17:25:59.120] invokeRestart("muffleMessage") [17:25:59.120] } [17:25:59.120] else if (inherits(cond, "warning")) { [17:25:59.120] muffled <- grepl(pattern, "muffleWarning") [17:25:59.120] if (muffled) [17:25:59.120] invokeRestart("muffleWarning") [17:25:59.120] } [17:25:59.120] else if (inherits(cond, "condition")) { [17:25:59.120] if (!is.null(pattern)) { [17:25:59.120] computeRestarts <- base::computeRestarts [17:25:59.120] grepl <- base::grepl [17:25:59.120] restarts <- computeRestarts(cond) [17:25:59.120] for (restart in restarts) { [17:25:59.120] name <- restart$name [17:25:59.120] if (is.null(name)) [17:25:59.120] next [17:25:59.120] if (!grepl(pattern, name)) [17:25:59.120] next [17:25:59.120] invokeRestart(restart) [17:25:59.120] muffled <- TRUE [17:25:59.120] break [17:25:59.120] } [17:25:59.120] } [17:25:59.120] } [17:25:59.120] invisible(muffled) [17:25:59.120] } [17:25:59.120] muffleCondition(cond, pattern = "^muffle") [17:25:59.120] } [17:25:59.120] } [17:25:59.120] } [17:25:59.120] })) [17:25:59.120] }, error = function(ex) { [17:25:59.120] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.120] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.120] ...future.rng), started = ...future.startTime, [17:25:59.120] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.120] version = "1.8"), class = "FutureResult") [17:25:59.120] }, finally = { [17:25:59.120] if (!identical(...future.workdir, getwd())) [17:25:59.120] setwd(...future.workdir) [17:25:59.120] { [17:25:59.120] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.120] ...future.oldOptions$nwarnings <- NULL [17:25:59.120] } [17:25:59.120] base::options(...future.oldOptions) [17:25:59.120] if (.Platform$OS.type == "windows") { [17:25:59.120] old_names <- names(...future.oldEnvVars) [17:25:59.120] envs <- base::Sys.getenv() [17:25:59.120] names <- names(envs) [17:25:59.120] common <- intersect(names, old_names) [17:25:59.120] added <- setdiff(names, old_names) [17:25:59.120] removed <- setdiff(old_names, names) [17:25:59.120] changed <- common[...future.oldEnvVars[common] != [17:25:59.120] envs[common]] [17:25:59.120] NAMES <- toupper(changed) [17:25:59.120] args <- list() [17:25:59.120] for (kk in seq_along(NAMES)) { [17:25:59.120] name <- changed[[kk]] [17:25:59.120] NAME <- NAMES[[kk]] [17:25:59.120] if (name != NAME && is.element(NAME, old_names)) [17:25:59.120] next [17:25:59.120] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.120] } [17:25:59.120] NAMES <- toupper(added) [17:25:59.120] for (kk in seq_along(NAMES)) { [17:25:59.120] name <- added[[kk]] [17:25:59.120] NAME <- NAMES[[kk]] [17:25:59.120] if (name != NAME && is.element(NAME, old_names)) [17:25:59.120] next [17:25:59.120] args[[name]] <- "" [17:25:59.120] } [17:25:59.120] NAMES <- toupper(removed) [17:25:59.120] for (kk in seq_along(NAMES)) { [17:25:59.120] name <- removed[[kk]] [17:25:59.120] NAME <- NAMES[[kk]] [17:25:59.120] if (name != NAME && is.element(NAME, old_names)) [17:25:59.120] next [17:25:59.120] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.120] } [17:25:59.120] if (length(args) > 0) [17:25:59.120] base::do.call(base::Sys.setenv, args = args) [17:25:59.120] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.120] } [17:25:59.120] { [17:25:59.120] if (base::length(...future.futureOptionsAdded) > [17:25:59.120] 0L) { [17:25:59.120] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.120] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.120] base::options(opts) [17:25:59.120] } [17:25:59.120] { [17:25:59.120] { [17:25:59.120] NULL [17:25:59.120] RNGkind("Mersenne-Twister") [17:25:59.120] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.120] inherits = FALSE) [17:25:59.120] } [17:25:59.120] options(future.plan = NULL) [17:25:59.120] if (is.na(NA_character_)) [17:25:59.120] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.120] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.120] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.120] .init = FALSE) [17:25:59.120] } [17:25:59.120] } [17:25:59.120] } [17:25:59.120] }) [17:25:59.120] if (TRUE) { [17:25:59.120] base::sink(type = "output", split = FALSE) [17:25:59.120] if (TRUE) { [17:25:59.120] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.120] } [17:25:59.120] else { [17:25:59.120] ...future.result["stdout"] <- base::list(NULL) [17:25:59.120] } [17:25:59.120] base::close(...future.stdout) [17:25:59.120] ...future.stdout <- NULL [17:25:59.120] } [17:25:59.120] ...future.result$conditions <- ...future.conditions [17:25:59.120] ...future.result$finished <- base::Sys.time() [17:25:59.120] ...future.result [17:25:59.120] } [17:25:59.124] plan(): Setting new future strategy stack: [17:25:59.125] List of future strategies: [17:25:59.125] 1. sequential: [17:25:59.125] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.125] - tweaked: FALSE [17:25:59.125] - call: NULL [17:25:59.125] plan(): nbrOfWorkers() = 1 [17:25:59.126] plan(): Setting new future strategy stack: [17:25:59.126] List of future strategies: [17:25:59.126] 1. sequential: [17:25:59.126] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.126] - tweaked: FALSE [17:25:59.126] - call: future::plan("sequential") [17:25:59.127] plan(): nbrOfWorkers() = 1 [17:25:59.127] SequentialFuture started (and completed) [17:25:59.127] - Launch lazy future ... done [17:25:59.128] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 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) [17:25:59.129] getGlobalsAndPackages() ... [17:25:59.129] Searching for globals... [17:25:59.129] [17:25:59.130] Searching for globals ... DONE [17:25:59.130] - globals: [0] [17:25:59.130] getGlobalsAndPackages() ... DONE [17:25:59.130] run() for 'Future' ... [17:25:59.130] - state: 'created' [17:25:59.131] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:25:59.131] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:25:59.131] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:25:59.131] - Field: 'label' [17:25:59.131] - Field: 'local' [17:25:59.132] - Field: 'owner' [17:25:59.132] - Field: 'envir' [17:25:59.132] - Field: 'packages' [17:25:59.132] - Field: 'gc' [17:25:59.132] - Field: 'conditions' [17:25:59.133] - Field: 'expr' [17:25:59.133] - Field: 'uuid' [17:25:59.133] - Field: 'seed' [17:25:59.133] - Field: 'version' [17:25:59.133] - Field: 'result' [17:25:59.133] - Field: 'asynchronous' [17:25:59.134] - Field: 'calls' [17:25:59.134] - Field: 'globals' [17:25:59.134] - Field: 'stdout' [17:25:59.134] - Field: 'earlySignal' [17:25:59.134] - Field: 'lazy' [17:25:59.134] - Field: 'state' [17:25:59.135] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:25:59.135] - Launch lazy future ... [17:25:59.135] Packages needed by the future expression (n = 0): [17:25:59.135] Packages needed by future strategies (n = 0): [17:25:59.136] { [17:25:59.136] { [17:25:59.136] { [17:25:59.136] ...future.startTime <- base::Sys.time() [17:25:59.136] { [17:25:59.136] { [17:25:59.136] { [17:25:59.136] base::local({ [17:25:59.136] has_future <- base::requireNamespace("future", [17:25:59.136] quietly = TRUE) [17:25:59.136] if (has_future) { [17:25:59.136] ns <- base::getNamespace("future") [17:25:59.136] version <- ns[[".package"]][["version"]] [17:25:59.136] if (is.null(version)) [17:25:59.136] version <- utils::packageVersion("future") [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] version <- NULL [17:25:59.136] } [17:25:59.136] if (!has_future || version < "1.8.0") { [17:25:59.136] info <- base::c(r_version = base::gsub("R version ", [17:25:59.136] "", base::R.version$version.string), [17:25:59.136] platform = base::sprintf("%s (%s-bit)", [17:25:59.136] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:25:59.136] os = base::paste(base::Sys.info()[base::c("sysname", [17:25:59.136] "release", "version")], collapse = " "), [17:25:59.136] hostname = base::Sys.info()[["nodename"]]) [17:25:59.136] info <- base::sprintf("%s: %s", base::names(info), [17:25:59.136] info) [17:25:59.136] info <- base::paste(info, collapse = "; ") [17:25:59.136] if (!has_future) { [17:25:59.136] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:25:59.136] info) [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:25:59.136] info, version) [17:25:59.136] } [17:25:59.136] base::stop(msg) [17:25:59.136] } [17:25:59.136] }) [17:25:59.136] } [17:25:59.136] ...future.strategy.old <- future::plan("list") [17:25:59.136] options(future.plan = NULL) [17:25:59.136] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.136] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:25:59.136] } [17:25:59.136] ...future.workdir <- getwd() [17:25:59.136] } [17:25:59.136] ...future.oldOptions <- base::as.list(base::.Options) [17:25:59.136] ...future.oldEnvVars <- base::Sys.getenv() [17:25:59.136] } [17:25:59.136] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:25:59.136] future.globals.maxSize = NULL, future.globals.method = NULL, [17:25:59.136] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:25:59.136] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:25:59.136] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:25:59.136] future.stdout.windows.reencode = NULL, width = 80L) [17:25:59.136] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:25:59.136] base::names(...future.oldOptions)) [17:25:59.136] } [17:25:59.136] if (FALSE) { [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] if (TRUE) { [17:25:59.136] ...future.stdout <- base::rawConnection(base::raw(0L), [17:25:59.136] open = "w") [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:25:59.136] windows = "NUL", "/dev/null"), open = "w") [17:25:59.136] } [17:25:59.136] base::sink(...future.stdout, type = "output", split = FALSE) [17:25:59.136] base::on.exit(if (!base::is.null(...future.stdout)) { [17:25:59.136] base::sink(type = "output", split = FALSE) [17:25:59.136] base::close(...future.stdout) [17:25:59.136] }, add = TRUE) [17:25:59.136] } [17:25:59.136] ...future.frame <- base::sys.nframe() [17:25:59.136] ...future.conditions <- base::list() [17:25:59.136] ...future.rng <- base::globalenv()$.Random.seed [17:25:59.136] if (FALSE) { [17:25:59.136] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:25:59.136] "...future.value", "...future.globalenv.names", ".Random.seed") [17:25:59.136] } [17:25:59.136] ...future.result <- base::tryCatch({ [17:25:59.136] base::withCallingHandlers({ [17:25:59.136] ...future.value <- base::withVisible(base::local(1)) [17:25:59.136] future::FutureResult(value = ...future.value$value, [17:25:59.136] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.136] ...future.rng), globalenv = if (FALSE) [17:25:59.136] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:25:59.136] ...future.globalenv.names)) [17:25:59.136] else NULL, started = ...future.startTime, version = "1.8") [17:25:59.136] }, condition = base::local({ [17:25:59.136] c <- base::c [17:25:59.136] inherits <- base::inherits [17:25:59.136] invokeRestart <- base::invokeRestart [17:25:59.136] length <- base::length [17:25:59.136] list <- base::list [17:25:59.136] seq.int <- base::seq.int [17:25:59.136] signalCondition <- base::signalCondition [17:25:59.136] sys.calls <- base::sys.calls [17:25:59.136] `[[` <- base::`[[` [17:25:59.136] `+` <- base::`+` [17:25:59.136] `<<-` <- base::`<<-` [17:25:59.136] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:25:59.136] calls[seq.int(from = from + 12L, to = length(calls) - [17:25:59.136] 3L)] [17:25:59.136] } [17:25:59.136] function(cond) { [17:25:59.136] is_error <- inherits(cond, "error") [17:25:59.136] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:25:59.136] NULL) [17:25:59.136] if (is_error) { [17:25:59.136] sessionInformation <- function() { [17:25:59.136] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:25:59.136] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:25:59.136] search = base::search(), system = base::Sys.info()) [17:25:59.136] } [17:25:59.136] ...future.conditions[[length(...future.conditions) + [17:25:59.136] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:25:59.136] cond$call), session = sessionInformation(), [17:25:59.136] timestamp = base::Sys.time(), signaled = 0L) [17:25:59.136] signalCondition(cond) [17:25:59.136] } [17:25:59.136] else if (!ignore && TRUE && inherits(cond, c("condition", [17:25:59.136] "immediateCondition"))) { [17:25:59.136] signal <- TRUE && inherits(cond, "immediateCondition") [17:25:59.136] ...future.conditions[[length(...future.conditions) + [17:25:59.136] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:25:59.136] if (TRUE && !signal) { [17:25:59.136] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.136] { [17:25:59.136] inherits <- base::inherits [17:25:59.136] invokeRestart <- base::invokeRestart [17:25:59.136] is.null <- base::is.null [17:25:59.136] muffled <- FALSE [17:25:59.136] if (inherits(cond, "message")) { [17:25:59.136] muffled <- grepl(pattern, "muffleMessage") [17:25:59.136] if (muffled) [17:25:59.136] invokeRestart("muffleMessage") [17:25:59.136] } [17:25:59.136] else if (inherits(cond, "warning")) { [17:25:59.136] muffled <- grepl(pattern, "muffleWarning") [17:25:59.136] if (muffled) [17:25:59.136] invokeRestart("muffleWarning") [17:25:59.136] } [17:25:59.136] else if (inherits(cond, "condition")) { [17:25:59.136] if (!is.null(pattern)) { [17:25:59.136] computeRestarts <- base::computeRestarts [17:25:59.136] grepl <- base::grepl [17:25:59.136] restarts <- computeRestarts(cond) [17:25:59.136] for (restart in restarts) { [17:25:59.136] name <- restart$name [17:25:59.136] if (is.null(name)) [17:25:59.136] next [17:25:59.136] if (!grepl(pattern, name)) [17:25:59.136] next [17:25:59.136] invokeRestart(restart) [17:25:59.136] muffled <- TRUE [17:25:59.136] break [17:25:59.136] } [17:25:59.136] } [17:25:59.136] } [17:25:59.136] invisible(muffled) [17:25:59.136] } [17:25:59.136] muffleCondition(cond, pattern = "^muffle") [17:25:59.136] } [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] if (TRUE) { [17:25:59.136] muffleCondition <- function (cond, pattern = "^muffle") [17:25:59.136] { [17:25:59.136] inherits <- base::inherits [17:25:59.136] invokeRestart <- base::invokeRestart [17:25:59.136] is.null <- base::is.null [17:25:59.136] muffled <- FALSE [17:25:59.136] if (inherits(cond, "message")) { [17:25:59.136] muffled <- grepl(pattern, "muffleMessage") [17:25:59.136] if (muffled) [17:25:59.136] invokeRestart("muffleMessage") [17:25:59.136] } [17:25:59.136] else if (inherits(cond, "warning")) { [17:25:59.136] muffled <- grepl(pattern, "muffleWarning") [17:25:59.136] if (muffled) [17:25:59.136] invokeRestart("muffleWarning") [17:25:59.136] } [17:25:59.136] else if (inherits(cond, "condition")) { [17:25:59.136] if (!is.null(pattern)) { [17:25:59.136] computeRestarts <- base::computeRestarts [17:25:59.136] grepl <- base::grepl [17:25:59.136] restarts <- computeRestarts(cond) [17:25:59.136] for (restart in restarts) { [17:25:59.136] name <- restart$name [17:25:59.136] if (is.null(name)) [17:25:59.136] next [17:25:59.136] if (!grepl(pattern, name)) [17:25:59.136] next [17:25:59.136] invokeRestart(restart) [17:25:59.136] muffled <- TRUE [17:25:59.136] break [17:25:59.136] } [17:25:59.136] } [17:25:59.136] } [17:25:59.136] invisible(muffled) [17:25:59.136] } [17:25:59.136] muffleCondition(cond, pattern = "^muffle") [17:25:59.136] } [17:25:59.136] } [17:25:59.136] } [17:25:59.136] })) [17:25:59.136] }, error = function(ex) { [17:25:59.136] base::structure(base::list(value = NULL, visible = NULL, [17:25:59.136] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:25:59.136] ...future.rng), started = ...future.startTime, [17:25:59.136] finished = Sys.time(), session_uuid = NA_character_, [17:25:59.136] version = "1.8"), class = "FutureResult") [17:25:59.136] }, finally = { [17:25:59.136] if (!identical(...future.workdir, getwd())) [17:25:59.136] setwd(...future.workdir) [17:25:59.136] { [17:25:59.136] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:25:59.136] ...future.oldOptions$nwarnings <- NULL [17:25:59.136] } [17:25:59.136] base::options(...future.oldOptions) [17:25:59.136] if (.Platform$OS.type == "windows") { [17:25:59.136] old_names <- names(...future.oldEnvVars) [17:25:59.136] envs <- base::Sys.getenv() [17:25:59.136] names <- names(envs) [17:25:59.136] common <- intersect(names, old_names) [17:25:59.136] added <- setdiff(names, old_names) [17:25:59.136] removed <- setdiff(old_names, names) [17:25:59.136] changed <- common[...future.oldEnvVars[common] != [17:25:59.136] envs[common]] [17:25:59.136] NAMES <- toupper(changed) [17:25:59.136] args <- list() [17:25:59.136] for (kk in seq_along(NAMES)) { [17:25:59.136] name <- changed[[kk]] [17:25:59.136] NAME <- NAMES[[kk]] [17:25:59.136] if (name != NAME && is.element(NAME, old_names)) [17:25:59.136] next [17:25:59.136] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.136] } [17:25:59.136] NAMES <- toupper(added) [17:25:59.136] for (kk in seq_along(NAMES)) { [17:25:59.136] name <- added[[kk]] [17:25:59.136] NAME <- NAMES[[kk]] [17:25:59.136] if (name != NAME && is.element(NAME, old_names)) [17:25:59.136] next [17:25:59.136] args[[name]] <- "" [17:25:59.136] } [17:25:59.136] NAMES <- toupper(removed) [17:25:59.136] for (kk in seq_along(NAMES)) { [17:25:59.136] name <- removed[[kk]] [17:25:59.136] NAME <- NAMES[[kk]] [17:25:59.136] if (name != NAME && is.element(NAME, old_names)) [17:25:59.136] next [17:25:59.136] args[[name]] <- ...future.oldEnvVars[[name]] [17:25:59.136] } [17:25:59.136] if (length(args) > 0) [17:25:59.136] base::do.call(base::Sys.setenv, args = args) [17:25:59.136] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:25:59.136] } [17:25:59.136] { [17:25:59.136] if (base::length(...future.futureOptionsAdded) > [17:25:59.136] 0L) { [17:25:59.136] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:25:59.136] base::names(opts) <- ...future.futureOptionsAdded [17:25:59.136] base::options(opts) [17:25:59.136] } [17:25:59.136] { [17:25:59.136] { [17:25:59.136] NULL [17:25:59.136] RNGkind("Mersenne-Twister") [17:25:59.136] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:25:59.136] inherits = FALSE) [17:25:59.136] } [17:25:59.136] options(future.plan = NULL) [17:25:59.136] if (is.na(NA_character_)) [17:25:59.136] Sys.unsetenv("R_FUTURE_PLAN") [17:25:59.136] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:25:59.136] future::plan(...future.strategy.old, .cleanup = FALSE, [17:25:59.136] .init = FALSE) [17:25:59.136] } [17:25:59.136] } [17:25:59.136] } [17:25:59.136] }) [17:25:59.136] if (TRUE) { [17:25:59.136] base::sink(type = "output", split = FALSE) [17:25:59.136] if (TRUE) { [17:25:59.136] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:25:59.136] } [17:25:59.136] else { [17:25:59.136] ...future.result["stdout"] <- base::list(NULL) [17:25:59.136] } [17:25:59.136] base::close(...future.stdout) [17:25:59.136] ...future.stdout <- NULL [17:25:59.136] } [17:25:59.136] ...future.result$conditions <- ...future.conditions [17:25:59.136] ...future.result$finished <- base::Sys.time() [17:25:59.136] ...future.result [17:25:59.136] } [17:25:59.140] plan(): Setting new future strategy stack: [17:25:59.140] List of future strategies: [17:25:59.140] 1. sequential: [17:25:59.140] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.140] - tweaked: FALSE [17:25:59.140] - call: NULL [17:25:59.140] plan(): nbrOfWorkers() = 1 [17:25:59.141] plan(): Setting new future strategy stack: [17:25:59.142] List of future strategies: [17:25:59.142] 1. sequential: [17:25:59.142] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.142] - tweaked: FALSE [17:25:59.142] - call: future::plan("sequential") [17:25:59.142] plan(): nbrOfWorkers() = 1 [17:25:59.143] SequentialFuture started (and completed) [17:25:59.143] - Launch lazy future ... done [17:25:59.143] 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: c626cb99-e247-d1a4-171f-caa370ab16a9 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) [17:25:59.144] 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) [17:25:59.144] 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) [17:25:59.145] 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") [17:25:59.146] plan(): Setting new future strategy stack: [17:25:59.146] List of future strategies: [17:25:59.146] 1. FutureStrategy: [17:25:59.146] - args: function (..., envir = parent.frame(), workers = "") [17:25:59.146] - tweaked: FALSE [17:25:59.146] - call: future::plan(oplan) [17:25:59.160] 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', 'RTOOLS44_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS44_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_', '_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_', '_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_', '_R_CHECK_CRAN_INCOMING_REMOTE_', '_R_CHECK_CRAN_INCOMING_USE_ASPELL_', '_R_CHECK_DATALIST_', '_R_CHECK_DEPRECATED_DEFUNCT_', '_R_CHECK_DOC_SIZES2_', '_R_CHECK_DOT_FIRSTLIB_', '_R_CHECK_DOT_INTERNAL_', '_R_CHECK_EXAMPLE_TIMING_THRESHOLD_', '_R_CHECK_EXECUTABLES_', '_R_CHECK_EXECUTABLES_EXCLUSIONS_', '_R_CHECK_FF_CALLS_', '_R_CHECK_FF_DUP_', '_R_CHECK_FORCE_SUGGESTS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_', '_R_CHECK_HAVE_MYSQL_', '_R_CHECK_HAVE_ODBC_', '_R_CHECK_HAVE_PERL_', '_R_CHECK_HAVE_POSTGRES_', '_R_CHECK_INSTALL_DEPENDS_', '_R_CHECK_INTERNALS2_', '_R_CHECK_LENGTH_1_CONDITION_', '_R_CHECK_LICENSE_', '_R_CHECK_LIMIT_CORES_', '_R_CHECK_MATRIX_DATA_', '_R_CHECK_MBCS_CONVERSION_FAILURE_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_NOTE_LOST_BRACES_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_DEPRECATED_IS_R_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', '__R_CHECK_DOC_FILES_NOTE_IF_ALL_SPECIAL__', 'maj.version', 'nextArg--timingsnextArg--install' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: List of 3 $ name : chr "MAKEFLAGS" $ expected: 'Dlist' chr "" $ actual : 'Dlist' chr NA > > proc.time() user system elapsed 0.46 0.03 0.48