R Under development (unstable) (2023-06-30 r84625 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > source("incl/start.R") [18:01:37.034] plan(): Setting new future strategy stack: [18:01:37.035] List of future strategies: [18:01:37.035] 1. sequential: [18:01:37.035] - args: function (..., envir = parent.frame()) [18:01:37.035] - tweaked: FALSE [18:01:37.035] - call: future::plan("sequential") [18:01:37.051] plan(): nbrOfWorkers() = 1 > > suppressWarnings(rm(list = c("x", "z"))) > > message("*** futureOf() with environment ...") *** futureOf() with environment ... > > message("*** futureOf() with environment - future assignments ...") *** futureOf() with environment - future assignments ... > > x <- new.env() > x$a %<-% { 1 } [18:01:37.060] getGlobalsAndPackages() ... [18:01:37.060] Searching for globals... [18:01:37.063] - globals found: [1] '{' [18:01:37.064] Searching for globals ... DONE [18:01:37.064] Resolving globals: FALSE [18:01:37.065] [18:01:37.065] [18:01:37.065] getGlobalsAndPackages() ... DONE [18:01:37.066] run() for 'Future' ... [18:01:37.068] - state: 'created' [18:01:37.068] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:01:37.069] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:01:37.069] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:01:37.070] - Field: 'label' [18:01:37.070] - Field: 'local' [18:01:37.070] - Field: 'owner' [18:01:37.071] - Field: 'envir' [18:01:37.071] - Field: 'packages' [18:01:37.071] - Field: 'gc' [18:01:37.071] - Field: 'conditions' [18:01:37.072] - Field: 'expr' [18:01:37.072] - Field: 'uuid' [18:01:37.072] - Field: 'seed' [18:01:37.073] - Field: 'version' [18:01:37.073] - Field: 'result' [18:01:37.073] - Field: 'asynchronous' [18:01:37.073] - Field: 'calls' [18:01:37.074] - Field: 'globals' [18:01:37.074] - Field: 'stdout' [18:01:37.074] - Field: 'earlySignal' [18:01:37.074] - Field: 'lazy' [18:01:37.075] - Field: 'state' [18:01:37.075] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:01:37.075] - Launch lazy future ... [18:01:37.077] Packages needed by the future expression (n = 0): [18:01:37.077] Packages needed by future strategies (n = 0): [18:01:37.079] { [18:01:37.079] { [18:01:37.079] { [18:01:37.079] ...future.startTime <- base::Sys.time() [18:01:37.079] { [18:01:37.079] { [18:01:37.079] { [18:01:37.079] base::local({ [18:01:37.079] has_future <- base::requireNamespace("future", [18:01:37.079] quietly = TRUE) [18:01:37.079] if (has_future) { [18:01:37.079] ns <- base::getNamespace("future") [18:01:37.079] version <- ns[[".package"]][["version"]] [18:01:37.079] if (is.null(version)) [18:01:37.079] version <- utils::packageVersion("future") [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] version <- NULL [18:01:37.079] } [18:01:37.079] if (!has_future || version < "1.8.0") { [18:01:37.079] info <- base::c(r_version = base::gsub("R version ", [18:01:37.079] "", base::R.version$version.string), [18:01:37.079] platform = base::sprintf("%s (%s-bit)", [18:01:37.079] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:01:37.079] os = base::paste(base::Sys.info()[base::c("sysname", [18:01:37.079] "release", "version")], collapse = " "), [18:01:37.079] hostname = base::Sys.info()[["nodename"]]) [18:01:37.079] info <- base::sprintf("%s: %s", base::names(info), [18:01:37.079] info) [18:01:37.079] info <- base::paste(info, collapse = "; ") [18:01:37.079] if (!has_future) { [18:01:37.079] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:01:37.079] info) [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:01:37.079] info, version) [18:01:37.079] } [18:01:37.079] base::stop(msg) [18:01:37.079] } [18:01:37.079] }) [18:01:37.079] } [18:01:37.079] options(future.plan = NULL) [18:01:37.079] Sys.unsetenv("R_FUTURE_PLAN") [18:01:37.079] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:01:37.079] } [18:01:37.079] ...future.workdir <- getwd() [18:01:37.079] } [18:01:37.079] ...future.oldOptions <- base::as.list(base::.Options) [18:01:37.079] ...future.oldEnvVars <- base::Sys.getenv() [18:01:37.079] } [18:01:37.079] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:01:37.079] future.globals.maxSize = NULL, future.globals.method = NULL, [18:01:37.079] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:01:37.079] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:01:37.079] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:01:37.079] future.stdout.windows.reencode = NULL, width = 80L) [18:01:37.079] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:01:37.079] base::names(...future.oldOptions)) [18:01:37.079] } [18:01:37.079] if (FALSE) { [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] if (TRUE) { [18:01:37.079] ...future.stdout <- base::rawConnection(base::raw(0L), [18:01:37.079] open = "w") [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:01:37.079] windows = "NUL", "/dev/null"), open = "w") [18:01:37.079] } [18:01:37.079] base::sink(...future.stdout, type = "output", split = FALSE) [18:01:37.079] base::on.exit(if (!base::is.null(...future.stdout)) { [18:01:37.079] base::sink(type = "output", split = FALSE) [18:01:37.079] base::close(...future.stdout) [18:01:37.079] }, add = TRUE) [18:01:37.079] } [18:01:37.079] ...future.frame <- base::sys.nframe() [18:01:37.079] ...future.conditions <- base::list() [18:01:37.079] ...future.rng <- base::globalenv()$.Random.seed [18:01:37.079] if (FALSE) { [18:01:37.079] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:01:37.079] "...future.value", "...future.globalenv.names", ".Random.seed") [18:01:37.079] } [18:01:37.079] ...future.result <- base::tryCatch({ [18:01:37.079] base::withCallingHandlers({ [18:01:37.079] ...future.value <- base::withVisible(base::local({ [18:01:37.079] 1 [18:01:37.079] })) [18:01:37.079] future::FutureResult(value = ...future.value$value, [18:01:37.079] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:01:37.079] ...future.rng), globalenv = if (FALSE) [18:01:37.079] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:01:37.079] ...future.globalenv.names)) [18:01:37.079] else NULL, started = ...future.startTime, version = "1.8") [18:01:37.079] }, condition = base::local({ [18:01:37.079] c <- base::c [18:01:37.079] inherits <- base::inherits [18:01:37.079] invokeRestart <- base::invokeRestart [18:01:37.079] length <- base::length [18:01:37.079] list <- base::list [18:01:37.079] seq.int <- base::seq.int [18:01:37.079] signalCondition <- base::signalCondition [18:01:37.079] sys.calls <- base::sys.calls [18:01:37.079] `[[` <- base::`[[` [18:01:37.079] `+` <- base::`+` [18:01:37.079] `<<-` <- base::`<<-` [18:01:37.079] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:01:37.079] calls[seq.int(from = from + 12L, to = length(calls) - [18:01:37.079] 3L)] [18:01:37.079] } [18:01:37.079] function(cond) { [18:01:37.079] is_error <- inherits(cond, "error") [18:01:37.079] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:01:37.079] NULL) [18:01:37.079] if (is_error) { [18:01:37.079] sessionInformation <- function() { [18:01:37.079] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:01:37.079] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:01:37.079] search = base::search(), system = base::Sys.info()) [18:01:37.079] } [18:01:37.079] ...future.conditions[[length(...future.conditions) + [18:01:37.079] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:01:37.079] cond$call), session = sessionInformation(), [18:01:37.079] timestamp = base::Sys.time(), signaled = 0L) [18:01:37.079] signalCondition(cond) [18:01:37.079] } [18:01:37.079] else if (!ignore && TRUE && inherits(cond, c("condition", [18:01:37.079] "immediateCondition"))) { [18:01:37.079] signal <- TRUE && inherits(cond, "immediateCondition") [18:01:37.079] ...future.conditions[[length(...future.conditions) + [18:01:37.079] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:01:37.079] if (TRUE && !signal) { [18:01:37.079] muffleCondition <- function (cond, pattern = "^muffle") [18:01:37.079] { [18:01:37.079] inherits <- base::inherits [18:01:37.079] invokeRestart <- base::invokeRestart [18:01:37.079] is.null <- base::is.null [18:01:37.079] muffled <- FALSE [18:01:37.079] if (inherits(cond, "message")) { [18:01:37.079] muffled <- grepl(pattern, "muffleMessage") [18:01:37.079] if (muffled) [18:01:37.079] invokeRestart("muffleMessage") [18:01:37.079] } [18:01:37.079] else if (inherits(cond, "warning")) { [18:01:37.079] muffled <- grepl(pattern, "muffleWarning") [18:01:37.079] if (muffled) [18:01:37.079] invokeRestart("muffleWarning") [18:01:37.079] } [18:01:37.079] else if (inherits(cond, "condition")) { [18:01:37.079] if (!is.null(pattern)) { [18:01:37.079] computeRestarts <- base::computeRestarts [18:01:37.079] grepl <- base::grepl [18:01:37.079] restarts <- computeRestarts(cond) [18:01:37.079] for (restart in restarts) { [18:01:37.079] name <- restart$name [18:01:37.079] if (is.null(name)) [18:01:37.079] next [18:01:37.079] if (!grepl(pattern, name)) [18:01:37.079] next [18:01:37.079] invokeRestart(restart) [18:01:37.079] muffled <- TRUE [18:01:37.079] break [18:01:37.079] } [18:01:37.079] } [18:01:37.079] } [18:01:37.079] invisible(muffled) [18:01:37.079] } [18:01:37.079] muffleCondition(cond, pattern = "^muffle") [18:01:37.079] } [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] if (TRUE) { [18:01:37.079] muffleCondition <- function (cond, pattern = "^muffle") [18:01:37.079] { [18:01:37.079] inherits <- base::inherits [18:01:37.079] invokeRestart <- base::invokeRestart [18:01:37.079] is.null <- base::is.null [18:01:37.079] muffled <- FALSE [18:01:37.079] if (inherits(cond, "message")) { [18:01:37.079] muffled <- grepl(pattern, "muffleMessage") [18:01:37.079] if (muffled) [18:01:37.079] invokeRestart("muffleMessage") [18:01:37.079] } [18:01:37.079] else if (inherits(cond, "warning")) { [18:01:37.079] muffled <- grepl(pattern, "muffleWarning") [18:01:37.079] if (muffled) [18:01:37.079] invokeRestart("muffleWarning") [18:01:37.079] } [18:01:37.079] else if (inherits(cond, "condition")) { [18:01:37.079] if (!is.null(pattern)) { [18:01:37.079] computeRestarts <- base::computeRestarts [18:01:37.079] grepl <- base::grepl [18:01:37.079] restarts <- computeRestarts(cond) [18:01:37.079] for (restart in restarts) { [18:01:37.079] name <- restart$name [18:01:37.079] if (is.null(name)) [18:01:37.079] next [18:01:37.079] if (!grepl(pattern, name)) [18:01:37.079] next [18:01:37.079] invokeRestart(restart) [18:01:37.079] muffled <- TRUE [18:01:37.079] break [18:01:37.079] } [18:01:37.079] } [18:01:37.079] } [18:01:37.079] invisible(muffled) [18:01:37.079] } [18:01:37.079] muffleCondition(cond, pattern = "^muffle") [18:01:37.079] } [18:01:37.079] } [18:01:37.079] } [18:01:37.079] })) [18:01:37.079] }, error = function(ex) { [18:01:37.079] base::structure(base::list(value = NULL, visible = NULL, [18:01:37.079] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:01:37.079] ...future.rng), started = ...future.startTime, [18:01:37.079] finished = Sys.time(), session_uuid = NA_character_, [18:01:37.079] version = "1.8"), class = "FutureResult") [18:01:37.079] }, finally = { [18:01:37.079] if (!identical(...future.workdir, getwd())) [18:01:37.079] setwd(...future.workdir) [18:01:37.079] { [18:01:37.079] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:01:37.079] ...future.oldOptions$nwarnings <- NULL [18:01:37.079] } [18:01:37.079] base::options(...future.oldOptions) [18:01:37.079] if (.Platform$OS.type == "windows") { [18:01:37.079] old_names <- names(...future.oldEnvVars) [18:01:37.079] envs <- base::Sys.getenv() [18:01:37.079] names <- names(envs) [18:01:37.079] common <- intersect(names, old_names) [18:01:37.079] added <- setdiff(names, old_names) [18:01:37.079] removed <- setdiff(old_names, names) [18:01:37.079] changed <- common[...future.oldEnvVars[common] != [18:01:37.079] envs[common]] [18:01:37.079] NAMES <- toupper(changed) [18:01:37.079] args <- list() [18:01:37.079] for (kk in seq_along(NAMES)) { [18:01:37.079] name <- changed[[kk]] [18:01:37.079] NAME <- NAMES[[kk]] [18:01:37.079] if (name != NAME && is.element(NAME, old_names)) [18:01:37.079] next [18:01:37.079] args[[name]] <- ...future.oldEnvVars[[name]] [18:01:37.079] } [18:01:37.079] NAMES <- toupper(added) [18:01:37.079] for (kk in seq_along(NAMES)) { [18:01:37.079] name <- added[[kk]] [18:01:37.079] NAME <- NAMES[[kk]] [18:01:37.079] if (name != NAME && is.element(NAME, old_names)) [18:01:37.079] next [18:01:37.079] args[[name]] <- "" [18:01:37.079] } [18:01:37.079] NAMES <- toupper(removed) [18:01:37.079] for (kk in seq_along(NAMES)) { [18:01:37.079] name <- removed[[kk]] [18:01:37.079] NAME <- NAMES[[kk]] [18:01:37.079] if (name != NAME && is.element(NAME, old_names)) [18:01:37.079] next [18:01:37.079] args[[name]] <- ...future.oldEnvVars[[name]] [18:01:37.079] } [18:01:37.079] if (length(args) > 0) [18:01:37.079] base::do.call(base::Sys.setenv, args = args) [18:01:37.079] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:01:37.079] } [18:01:37.079] { [18:01:37.079] if (base::length(...future.futureOptionsAdded) > [18:01:37.079] 0L) { [18:01:37.079] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:01:37.079] base::names(opts) <- ...future.futureOptionsAdded [18:01:37.079] base::options(opts) [18:01:37.079] } [18:01:37.079] { [18:01:37.079] { [18:01:37.079] NULL [18:01:37.079] RNGkind("Mersenne-Twister") [18:01:37.079] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:01:37.079] inherits = FALSE) [18:01:37.079] } [18:01:37.079] options(future.plan = NULL) [18:01:37.079] if (is.na(NA_character_)) [18:01:37.079] Sys.unsetenv("R_FUTURE_PLAN") [18:01:37.079] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:01:37.079] future::plan(list(function (..., envir = parent.frame()) [18:01:37.079] { [18:01:37.079] future <- SequentialFuture(..., envir = envir) [18:01:37.079] if (!future$lazy) [18:01:37.079] future <- run(future) [18:01:37.079] invisible(future) [18:01:37.079] }), .cleanup = FALSE, .init = FALSE) [18:01:37.079] } [18:01:37.079] } [18:01:37.079] } [18:01:37.079] }) [18:01:37.079] if (TRUE) { [18:01:37.079] base::sink(type = "output", split = FALSE) [18:01:37.079] if (TRUE) { [18:01:37.079] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:01:37.079] } [18:01:37.079] else { [18:01:37.079] ...future.result["stdout"] <- base::list(NULL) [18:01:37.079] } [18:01:37.079] base::close(...future.stdout) [18:01:37.079] ...future.stdout <- NULL [18:01:37.079] } [18:01:37.079] ...future.result$conditions <- ...future.conditions [18:01:37.079] ...future.result$finished <- base::Sys.time() [18:01:37.079] ...future.result [18:01:37.079] } [18:01:37.084] plan(): Setting new future strategy stack: [18:01:37.084] List of future strategies: [18:01:37.084] 1. sequential: [18:01:37.084] - args: function (..., envir = parent.frame()) [18:01:37.084] - tweaked: FALSE [18:01:37.084] - call: NULL [18:01:37.085] plan(): nbrOfWorkers() = 1 [18:01:37.087] plan(): Setting new future strategy stack: [18:01:37.087] List of future strategies: [18:01:37.087] 1. sequential: [18:01:37.087] - args: function (..., envir = parent.frame()) [18:01:37.087] - tweaked: FALSE [18:01:37.087] - call: future::plan("sequential") [18:01:37.088] plan(): nbrOfWorkers() = 1 [18:01:37.088] SequentialFuture started (and completed) [18:01:37.089] - Launch lazy future ... done [18:01:37.089] run() for 'SequentialFuture' ... done > > f1 <- futureOf("a", envir = x) > print(f1) 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: 6831c28f-fd56-989a-9079-3584ecc86ad8 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > f2 <- futureOf(a, envir = x) > f3 <- futureOf(x[["a"]]) > f4 <- futureOf(x$a) > stopifnot(identical(f2, f1), identical(f3, f1), identical(f4, f1)) > > ## Identify all futures > fs <- futureOf(envir = x) > print(fs) $a 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: 6831c28f-fd56-989a-9079-3584ecc86ad8 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > stopifnot(identical(names(fs), c("a"))) > stopifnot(identical(fs$a, f1)) > > fsD <- futureOf(envir = x, drop = TRUE) > print(fsD) $a 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: 6831c28f-fd56-989a-9079-3584ecc86ad8 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > stopifnot(all(sapply(fsD, FUN = inherits, "Future"))) > stopifnot(identical(fsD, fs)) > > message("*** futureOf() with environment - future assignments ... DONE") *** futureOf() with environment - future assignments ... DONE > > > message("*** futureOf() with environment - futures ...") *** futureOf() with environment - futures ... > > x <- new.env() > x$a <- future({ 1 }) [18:01:37.093] getGlobalsAndPackages() ... [18:01:37.093] Searching for globals... [18:01:37.094] - globals found: [1] '{' [18:01:37.094] Searching for globals ... DONE [18:01:37.094] Resolving globals: FALSE [18:01:37.095] [18:01:37.095] [18:01:37.095] getGlobalsAndPackages() ... DONE [18:01:37.096] run() for 'Future' ... [18:01:37.096] - state: 'created' [18:01:37.096] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [18:01:37.096] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [18:01:37.097] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [18:01:37.097] - Field: 'label' [18:01:37.097] - Field: 'local' [18:01:37.097] - Field: 'owner' [18:01:37.097] - Field: 'envir' [18:01:37.098] - Field: 'packages' [18:01:37.098] - Field: 'gc' [18:01:37.098] - Field: 'conditions' [18:01:37.098] - Field: 'expr' [18:01:37.098] - Field: 'uuid' [18:01:37.098] - Field: 'seed' [18:01:37.099] - Field: 'version' [18:01:37.099] - Field: 'result' [18:01:37.099] - Field: 'asynchronous' [18:01:37.099] - Field: 'calls' [18:01:37.099] - Field: 'globals' [18:01:37.100] - Field: 'stdout' [18:01:37.100] - Field: 'earlySignal' [18:01:37.100] - Field: 'lazy' [18:01:37.100] - Field: 'state' [18:01:37.100] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [18:01:37.100] - Launch lazy future ... [18:01:37.101] Packages needed by the future expression (n = 0): [18:01:37.101] Packages needed by future strategies (n = 0): [18:01:37.102] { [18:01:37.102] { [18:01:37.102] { [18:01:37.102] ...future.startTime <- base::Sys.time() [18:01:37.102] { [18:01:37.102] { [18:01:37.102] { [18:01:37.102] base::local({ [18:01:37.102] has_future <- base::requireNamespace("future", [18:01:37.102] quietly = TRUE) [18:01:37.102] if (has_future) { [18:01:37.102] ns <- base::getNamespace("future") [18:01:37.102] version <- ns[[".package"]][["version"]] [18:01:37.102] if (is.null(version)) [18:01:37.102] version <- utils::packageVersion("future") [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] version <- NULL [18:01:37.102] } [18:01:37.102] if (!has_future || version < "1.8.0") { [18:01:37.102] info <- base::c(r_version = base::gsub("R version ", [18:01:37.102] "", base::R.version$version.string), [18:01:37.102] platform = base::sprintf("%s (%s-bit)", [18:01:37.102] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:01:37.102] os = base::paste(base::Sys.info()[base::c("sysname", [18:01:37.102] "release", "version")], collapse = " "), [18:01:37.102] hostname = base::Sys.info()[["nodename"]]) [18:01:37.102] info <- base::sprintf("%s: %s", base::names(info), [18:01:37.102] info) [18:01:37.102] info <- base::paste(info, collapse = "; ") [18:01:37.102] if (!has_future) { [18:01:37.102] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:01:37.102] info) [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:01:37.102] info, version) [18:01:37.102] } [18:01:37.102] base::stop(msg) [18:01:37.102] } [18:01:37.102] }) [18:01:37.102] } [18:01:37.102] options(future.plan = NULL) [18:01:37.102] Sys.unsetenv("R_FUTURE_PLAN") [18:01:37.102] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:01:37.102] } [18:01:37.102] ...future.workdir <- getwd() [18:01:37.102] } [18:01:37.102] ...future.oldOptions <- base::as.list(base::.Options) [18:01:37.102] ...future.oldEnvVars <- base::Sys.getenv() [18:01:37.102] } [18:01:37.102] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:01:37.102] future.globals.maxSize = NULL, future.globals.method = NULL, [18:01:37.102] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:01:37.102] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:01:37.102] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:01:37.102] future.stdout.windows.reencode = NULL, width = 80L) [18:01:37.102] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:01:37.102] base::names(...future.oldOptions)) [18:01:37.102] } [18:01:37.102] if (FALSE) { [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] if (TRUE) { [18:01:37.102] ...future.stdout <- base::rawConnection(base::raw(0L), [18:01:37.102] open = "w") [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:01:37.102] windows = "NUL", "/dev/null"), open = "w") [18:01:37.102] } [18:01:37.102] base::sink(...future.stdout, type = "output", split = FALSE) [18:01:37.102] base::on.exit(if (!base::is.null(...future.stdout)) { [18:01:37.102] base::sink(type = "output", split = FALSE) [18:01:37.102] base::close(...future.stdout) [18:01:37.102] }, add = TRUE) [18:01:37.102] } [18:01:37.102] ...future.frame <- base::sys.nframe() [18:01:37.102] ...future.conditions <- base::list() [18:01:37.102] ...future.rng <- base::globalenv()$.Random.seed [18:01:37.102] if (FALSE) { [18:01:37.102] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:01:37.102] "...future.value", "...future.globalenv.names", ".Random.seed") [18:01:37.102] } [18:01:37.102] ...future.result <- base::tryCatch({ [18:01:37.102] base::withCallingHandlers({ [18:01:37.102] ...future.value <- base::withVisible(base::local({ [18:01:37.102] 1 [18:01:37.102] })) [18:01:37.102] future::FutureResult(value = ...future.value$value, [18:01:37.102] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:01:37.102] ...future.rng), globalenv = if (FALSE) [18:01:37.102] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:01:37.102] ...future.globalenv.names)) [18:01:37.102] else NULL, started = ...future.startTime, version = "1.8") [18:01:37.102] }, condition = base::local({ [18:01:37.102] c <- base::c [18:01:37.102] inherits <- base::inherits [18:01:37.102] invokeRestart <- base::invokeRestart [18:01:37.102] length <- base::length [18:01:37.102] list <- base::list [18:01:37.102] seq.int <- base::seq.int [18:01:37.102] signalCondition <- base::signalCondition [18:01:37.102] sys.calls <- base::sys.calls [18:01:37.102] `[[` <- base::`[[` [18:01:37.102] `+` <- base::`+` [18:01:37.102] `<<-` <- base::`<<-` [18:01:37.102] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:01:37.102] calls[seq.int(from = from + 12L, to = length(calls) - [18:01:37.102] 3L)] [18:01:37.102] } [18:01:37.102] function(cond) { [18:01:37.102] is_error <- inherits(cond, "error") [18:01:37.102] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:01:37.102] NULL) [18:01:37.102] if (is_error) { [18:01:37.102] sessionInformation <- function() { [18:01:37.102] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:01:37.102] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:01:37.102] search = base::search(), system = base::Sys.info()) [18:01:37.102] } [18:01:37.102] ...future.conditions[[length(...future.conditions) + [18:01:37.102] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:01:37.102] cond$call), session = sessionInformation(), [18:01:37.102] timestamp = base::Sys.time(), signaled = 0L) [18:01:37.102] signalCondition(cond) [18:01:37.102] } [18:01:37.102] else if (!ignore && TRUE && inherits(cond, c("condition", [18:01:37.102] "immediateCondition"))) { [18:01:37.102] signal <- TRUE && inherits(cond, "immediateCondition") [18:01:37.102] ...future.conditions[[length(...future.conditions) + [18:01:37.102] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:01:37.102] if (TRUE && !signal) { [18:01:37.102] muffleCondition <- function (cond, pattern = "^muffle") [18:01:37.102] { [18:01:37.102] inherits <- base::inherits [18:01:37.102] invokeRestart <- base::invokeRestart [18:01:37.102] is.null <- base::is.null [18:01:37.102] muffled <- FALSE [18:01:37.102] if (inherits(cond, "message")) { [18:01:37.102] muffled <- grepl(pattern, "muffleMessage") [18:01:37.102] if (muffled) [18:01:37.102] invokeRestart("muffleMessage") [18:01:37.102] } [18:01:37.102] else if (inherits(cond, "warning")) { [18:01:37.102] muffled <- grepl(pattern, "muffleWarning") [18:01:37.102] if (muffled) [18:01:37.102] invokeRestart("muffleWarning") [18:01:37.102] } [18:01:37.102] else if (inherits(cond, "condition")) { [18:01:37.102] if (!is.null(pattern)) { [18:01:37.102] computeRestarts <- base::computeRestarts [18:01:37.102] grepl <- base::grepl [18:01:37.102] restarts <- computeRestarts(cond) [18:01:37.102] for (restart in restarts) { [18:01:37.102] name <- restart$name [18:01:37.102] if (is.null(name)) [18:01:37.102] next [18:01:37.102] if (!grepl(pattern, name)) [18:01:37.102] next [18:01:37.102] invokeRestart(restart) [18:01:37.102] muffled <- TRUE [18:01:37.102] break [18:01:37.102] } [18:01:37.102] } [18:01:37.102] } [18:01:37.102] invisible(muffled) [18:01:37.102] } [18:01:37.102] muffleCondition(cond, pattern = "^muffle") [18:01:37.102] } [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] if (TRUE) { [18:01:37.102] muffleCondition <- function (cond, pattern = "^muffle") [18:01:37.102] { [18:01:37.102] inherits <- base::inherits [18:01:37.102] invokeRestart <- base::invokeRestart [18:01:37.102] is.null <- base::is.null [18:01:37.102] muffled <- FALSE [18:01:37.102] if (inherits(cond, "message")) { [18:01:37.102] muffled <- grepl(pattern, "muffleMessage") [18:01:37.102] if (muffled) [18:01:37.102] invokeRestart("muffleMessage") [18:01:37.102] } [18:01:37.102] else if (inherits(cond, "warning")) { [18:01:37.102] muffled <- grepl(pattern, "muffleWarning") [18:01:37.102] if (muffled) [18:01:37.102] invokeRestart("muffleWarning") [18:01:37.102] } [18:01:37.102] else if (inherits(cond, "condition")) { [18:01:37.102] if (!is.null(pattern)) { [18:01:37.102] computeRestarts <- base::computeRestarts [18:01:37.102] grepl <- base::grepl [18:01:37.102] restarts <- computeRestarts(cond) [18:01:37.102] for (restart in restarts) { [18:01:37.102] name <- restart$name [18:01:37.102] if (is.null(name)) [18:01:37.102] next [18:01:37.102] if (!grepl(pattern, name)) [18:01:37.102] next [18:01:37.102] invokeRestart(restart) [18:01:37.102] muffled <- TRUE [18:01:37.102] break [18:01:37.102] } [18:01:37.102] } [18:01:37.102] } [18:01:37.102] invisible(muffled) [18:01:37.102] } [18:01:37.102] muffleCondition(cond, pattern = "^muffle") [18:01:37.102] } [18:01:37.102] } [18:01:37.102] } [18:01:37.102] })) [18:01:37.102] }, error = function(ex) { [18:01:37.102] base::structure(base::list(value = NULL, visible = NULL, [18:01:37.102] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:01:37.102] ...future.rng), started = ...future.startTime, [18:01:37.102] finished = Sys.time(), session_uuid = NA_character_, [18:01:37.102] version = "1.8"), class = "FutureResult") [18:01:37.102] }, finally = { [18:01:37.102] if (!identical(...future.workdir, getwd())) [18:01:37.102] setwd(...future.workdir) [18:01:37.102] { [18:01:37.102] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:01:37.102] ...future.oldOptions$nwarnings <- NULL [18:01:37.102] } [18:01:37.102] base::options(...future.oldOptions) [18:01:37.102] if (.Platform$OS.type == "windows") { [18:01:37.102] old_names <- names(...future.oldEnvVars) [18:01:37.102] envs <- base::Sys.getenv() [18:01:37.102] names <- names(envs) [18:01:37.102] common <- intersect(names, old_names) [18:01:37.102] added <- setdiff(names, old_names) [18:01:37.102] removed <- setdiff(old_names, names) [18:01:37.102] changed <- common[...future.oldEnvVars[common] != [18:01:37.102] envs[common]] [18:01:37.102] NAMES <- toupper(changed) [18:01:37.102] args <- list() [18:01:37.102] for (kk in seq_along(NAMES)) { [18:01:37.102] name <- changed[[kk]] [18:01:37.102] NAME <- NAMES[[kk]] [18:01:37.102] if (name != NAME && is.element(NAME, old_names)) [18:01:37.102] next [18:01:37.102] args[[name]] <- ...future.oldEnvVars[[name]] [18:01:37.102] } [18:01:37.102] NAMES <- toupper(added) [18:01:37.102] for (kk in seq_along(NAMES)) { [18:01:37.102] name <- added[[kk]] [18:01:37.102] NAME <- NAMES[[kk]] [18:01:37.102] if (name != NAME && is.element(NAME, old_names)) [18:01:37.102] next [18:01:37.102] args[[name]] <- "" [18:01:37.102] } [18:01:37.102] NAMES <- toupper(removed) [18:01:37.102] for (kk in seq_along(NAMES)) { [18:01:37.102] name <- removed[[kk]] [18:01:37.102] NAME <- NAMES[[kk]] [18:01:37.102] if (name != NAME && is.element(NAME, old_names)) [18:01:37.102] next [18:01:37.102] args[[name]] <- ...future.oldEnvVars[[name]] [18:01:37.102] } [18:01:37.102] if (length(args) > 0) [18:01:37.102] base::do.call(base::Sys.setenv, args = args) [18:01:37.102] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:01:37.102] } [18:01:37.102] { [18:01:37.102] if (base::length(...future.futureOptionsAdded) > [18:01:37.102] 0L) { [18:01:37.102] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:01:37.102] base::names(opts) <- ...future.futureOptionsAdded [18:01:37.102] base::options(opts) [18:01:37.102] } [18:01:37.102] { [18:01:37.102] { [18:01:37.102] NULL [18:01:37.102] RNGkind("Mersenne-Twister") [18:01:37.102] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:01:37.102] inherits = FALSE) [18:01:37.102] } [18:01:37.102] options(future.plan = NULL) [18:01:37.102] if (is.na(NA_character_)) [18:01:37.102] Sys.unsetenv("R_FUTURE_PLAN") [18:01:37.102] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:01:37.102] future::plan(list(function (..., envir = parent.frame()) [18:01:37.102] { [18:01:37.102] future <- SequentialFuture(..., envir = envir) [18:01:37.102] if (!future$lazy) [18:01:37.102] future <- run(future) [18:01:37.102] invisible(future) [18:01:37.102] }), .cleanup = FALSE, .init = FALSE) [18:01:37.102] } [18:01:37.102] } [18:01:37.102] } [18:01:37.102] }) [18:01:37.102] if (TRUE) { [18:01:37.102] base::sink(type = "output", split = FALSE) [18:01:37.102] if (TRUE) { [18:01:37.102] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:01:37.102] } [18:01:37.102] else { [18:01:37.102] ...future.result["stdout"] <- base::list(NULL) [18:01:37.102] } [18:01:37.102] base::close(...future.stdout) [18:01:37.102] ...future.stdout <- NULL [18:01:37.102] } [18:01:37.102] ...future.result$conditions <- ...future.conditions [18:01:37.102] ...future.result$finished <- base::Sys.time() [18:01:37.102] ...future.result [18:01:37.102] } [18:01:37.106] plan(): Setting new future strategy stack: [18:01:37.106] List of future strategies: [18:01:37.106] 1. sequential: [18:01:37.106] - args: function (..., envir = parent.frame()) [18:01:37.106] - tweaked: FALSE [18:01:37.106] - call: NULL [18:01:37.106] plan(): nbrOfWorkers() = 1 [18:01:37.108] plan(): Setting new future strategy stack: [18:01:37.108] List of future strategies: [18:01:37.108] 1. sequential: [18:01:37.108] - args: function (..., envir = parent.frame()) [18:01:37.108] - tweaked: FALSE [18:01:37.108] - call: future::plan("sequential") [18:01:37.108] plan(): nbrOfWorkers() = 1 [18:01:37.109] SequentialFuture started (and completed) [18:01:37.109] - Launch lazy future ... done [18:01:37.109] run() for 'SequentialFuture' ... done > > f1 <- futureOf("a", envir = x) > print(f1) 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: 6831c28f-fd56-989a-9079-3584ecc86ad8 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > stopifnot(identical(f1, x$a)) > f2 <- futureOf(a, envir = x) > stopifnot(identical(f2, x$a)) > f3 <- futureOf(x[["a"]]) > stopifnot(identical(f3, x$a)) > f4 <- futureOf(x$a) > stopifnot(identical(f4, x$a)) > > ## Identify all futures > fs <- futureOf(envir = x) > print(fs) $a 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: 6831c28f-fd56-989a-9079-3584ecc86ad8 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > stopifnot(identical(names(fs), c("a"))) > stopifnot(identical(fs$a, f1)) > > fsD <- futureOf(envir = x, drop = TRUE) > print(fsD) $a 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: 6831c28f-fd56-989a-9079-3584ecc86ad8 Class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' > stopifnot(all(sapply(fsD, FUN = inherits, "Future"))) > stopifnot(identical(fsD, fs)) > > message("*** futureOf() with environment - futures ... DONE") *** futureOf() with environment - futures ... DONE > > > message("*** futureOf() with environment - exceptions ...") *** futureOf() with environment - exceptions ... > > ## Invalid subset > res <- tryCatch(futureOf(x[[0]], mustExist = FALSE), error = identity) > stopifnot(inherits(res, "error")) > > res <- tryCatch(futureOf(x[[0]], mustExist = TRUE), error = identity) > stopifnot(inherits(res, "error")) > > res <- tryCatch(futureOf(x[[10]], mustExist = TRUE), error = identity) > stopifnot(inherits(res, "error")) > > res <- tryCatch(futureOf(x[[1 + 2i]], mustExist = TRUE), error = identity) > stopifnot(inherits(res, "error")) > > message("*** futureOf() with environment - exceptions ... DONE") *** futureOf() with environment - exceptions ... DONE > > message("*** futureOf() with environment ... DONE") *** futureOf() with environment ... DONE > > source("incl/end.R") [18:01:37.117] plan(): Setting new future strategy stack: [18:01:37.117] List of future strategies: [18:01:37.117] 1. FutureStrategy: [18:01:37.117] - args: function (..., envir = parent.frame()) [18:01:37.117] - tweaked: FALSE [18:01:37.117] - call: future::plan(oplan) [18:01:37.131] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=201] '!ExitCode', 'ALLUSERSPROFILE', 'APPDATA', 'BIBINPUTS', 'BINDIR', 'BSTINPUTS', 'COMMONPROGRAMFILES', 'COMPUTERNAME', 'COMSPEC', 'CURL_CA_BUNDLE', 'CYGWIN', 'CommonProgramFiles(x86)', 'CommonProgramW6432', 'DriverData', 'HOME', 'HOMEDRIVE', 'HOMEPATH', 'JAGS_ROOT', 'JAVA_HOME', 'LANGUAGE', 'LC_COLLATE', 'LC_MONETARY', 'LC_TIME', 'LOCALAPPDATA', 'LOGONSERVER', 'LS_HOME', 'LS_LICENSE_PATH', 'MAKE', 'MAKEFLAGS', 'MAKELEVEL', 'MFLAGS', 'MSMPI_BENCHMARKS', 'MSMPI_BIN', 'MSYS2_ENV_CONV_EXCL', 'NUMBER_OF_PROCESSORS', 'OMP_THREAD_LIMIT', 'OS', 'PATH', 'PATHEXT', 'PROCESSOR_ARCHITECTURE', 'PROCESSOR_IDENTIFIER', 'PROCESSOR_LEVEL', 'PROCESSOR_REVISION', 'PROGRAMFILES', 'PROMPT', 'PSModulePath', 'PUBLIC', 'PWD', 'ProgramData', 'ProgramFiles(x86)', 'ProgramW6432', 'RETICULATE_AUTOCONFIGURE', 'RTOOLS43_HOME', 'R_ARCH', 'R_BROWSER', 'R_BZIPCMD', 'R_CMD', 'R_COMPILED_BY', 'R_CRAN_WEB', 'R_CUSTOM_TOOLS_PATH', 'R_CUSTOM_TOOLS_SOFT', 'R_DOC_DIR', 'R_ENVIRON_USER', 'R_GSCMD', 'R_GZIPCMD', 'R_HOME', 'R_INCLUDE_DIR', 'R_INSTALL_TAR', 'R_LIBS', 'R_LIBS_SITE', 'R_LIBS_USER', 'R_MAX_NUM_DLLS', 'R_OSTYPE', 'R_PAPERSIZE', 'R_PAPERSIZE_USER', 'R_PARALLELLY_MAKENODEPSOCK_AUTOKILL', 'R_PARALLELLY_MAKENODEPSOCK_CONNECTTIMEOUT', 'R_PARALLELLY_MAKENODEPSOCK_RSCRIPT_LABEL', 'R_PARALLELLY_MAKENODEPSOCK_SESSIONINFO_PKGS', 'R_PARALLELLY_MAKENODEPSOCK_TIMEOUT', 'R_PARALLELLY_RANDOM_PORTS', 'R_PARALLEL_PORT', 'R_RD4PDF', 'R_RTOOLS43_PATH', 'R_SCRIPT_LEGACY', 'R_SHARE_DIR', 'R_TESTS', 'R_UNZIPCMD', 'R_USER', 'R_VERSION', 'R_ZIPCMD', 'SED', 'SHLVL', 'SYSTEMDRIVE', 'SYSTEMROOT', 'TAR', 'TAR_OPTIONS', 'TEMP', 'TERM', 'TEXINPUTS', 'TMP', 'TMPDIR', 'USERDOMAIN', 'USERDOMAIN_ROAMINGPROFILE', 'USERNAME', 'USERPROFILE', 'WINDIR', '_', '_R_CHECK_AUTOCONF_', '_R_CHECK_BOGUS_RETURN_', '_R_CHECK_BROWSER_NONINTERACTIVE_', '_R_CHECK_BUILD_VIGNETTES_SEPARATELY_', '_R_CHECK_CODETOOLS_PROFILE_', '_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_', '_R_CHECK_CODE_ATTACH_', '_R_CHECK_CODE_CLASS_IS_STRING_', '_R_CHECK_CODE_DATA_INTO_GLOBALENV_', '_R_CHECK_CODE_USAGE_VIA_NAMESPACES_', '_R_CHECK_CODE_USAGE_WITHOUT_LOADING_', '_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_', '_R_CHECK_CODOC_VARIABLES_IN_USAGES_', '_R_CHECK_COMPACT_DATA2_', '_R_CHECK_COMPILATION_FLAGS_', '_R_CHECK_CONNECTIONS_LEFT_OPEN_', '_R_CHECK_CRAN_INCOMING_', '_R_CHECK_CRAN_INCOMING_CHECK_FILE_URIS_', '_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_', '_R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_', '_R_CHECK_CRAN_INCOMING_REMOTE_', '_R_CHECK_CRAN_INCOMING_USE_ASPELL_', '_R_CHECK_DATALIST_', '_R_CHECK_DEPRECATED_DEFUNCT_', '_R_CHECK_DOC_SIZES2_', '_R_CHECK_DOT_FIRSTLIB_', '_R_CHECK_DOT_INTERNAL_', '_R_CHECK_EXAMPLE_TIMING_THRESHOLD_', '_R_CHECK_EXECUTABLES_', '_R_CHECK_EXECUTABLES_EXCLUSIONS_', '_R_CHECK_FF_CALLS_', '_R_CHECK_FF_DUP_', '_R_CHECK_FORCE_SUGGESTS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_', '_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_', '_R_CHECK_HAVE_MYSQL_', '_R_CHECK_HAVE_ODBC_', '_R_CHECK_HAVE_PERL_', '_R_CHECK_HAVE_POSTGRES_', '_R_CHECK_INSTALL_DEPENDS_', '_R_CHECK_INTERNALS2_', '_R_CHECK_LENGTH_1_CONDITION_', '_R_CHECK_LICENSE_', '_R_CHECK_LIMIT_CORES_', '_R_CHECK_MATRIX_DATA_', '_R_CHECK_NATIVE_ROUTINE_REGISTRATION_', '_R_CHECK_NEWS_IN_PLAIN_TEXT_', '_R_CHECK_NO_RECOMMENDED_', '_R_CHECK_NO_STOP_ON_TEST_ERROR_', '_R_CHECK_ORPHANED_', '_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_', '_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_', '_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_', '_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_', '_R_CHECK_PACKAGE_NAME_', '_R_CHECK_PKG_SIZES_', '_R_CHECK_PKG_SIZES_THRESHOLD_', '_R_CHECK_PRAGMAS_', '_R_CHECK_RD_EXAMPLES_T_AND_F_', '_R_CHECK_RD_LINE_WIDTHS_', '_R_CHECK_RD_MATH_RENDERING_', '_R_CHECK_RD_VALIDATE_RD2HTML_', '_R_CHECK_REPLACING_IMPORTS_', '_R_CHECK_R_DEPENDS_', '_R_CHECK_S3_METHODS_SHOW_POSSIBLE_ISSUES_', '_R_CHECK_SCREEN_DEVICE_', '_R_CHECK_SERIALIZATION_', '_R_CHECK_SHLIB_OPENMP_FLAGS_', '_R_CHECK_SRC_MINUS_W_IMPLICIT_', '_R_CHECK_SUBDIRS_NOCASE_', '_R_CHECK_SUBDIRS_STRICT_', '_R_CHECK_SUGGESTS_ONLY_', '_R_CHECK_SYSTEM_CLOCK_', '_R_CHECK_TESTS_NLINES_', '_R_CHECK_TEST_TIMING_', '_R_CHECK_TIMINGS_', '_R_CHECK_TOPLEVEL_FILES_', '_R_CHECK_UNDOC_USE_ALL_NAMES_', '_R_CHECK_UNSAFE_CALLS_', '_R_CHECK_URLS_SHOW_301_STATUS_', '_R_CHECK_VC_DIRS_', '_R_CHECK_VIGNETTES_NLINES_', '_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_', '_R_CHECK_VIGNETTE_TIMING_', '_R_CHECK_VIGNETTE_TITLES_', '_R_CHECK_WINDOWS_DEVICE_', '_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_', '_R_CLASS_MATRIX_ARRAY_', '_R_INSTALL_TIME_PATCHES_', '_R_S3_METHOD_LOOKUP_BASEENV_AFTER_GLOBALENV_', '_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_', 'maj.version', 'nextArg--timingsnextArg--install' - Environment variables still there: [n=0] - Environment variables missing: [n=1] 'MAKEFLAGS' Differences environment variable by environment variable: List of 3 $ name : chr "MAKEFLAGS" $ expected: 'Dlist' chr "" $ actual : 'Dlist' chr NA > > proc.time() user system elapsed 0.32 0.10 0.37