R Under development (unstable) (2024-07-28 r86931 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:27:31.152] plan(): Setting new future strategy stack: [17:27:31.153] List of future strategies: [17:27:31.153] 1. sequential: [17:27:31.153] - args: function (..., envir = parent.frame(), workers = "") [17:27:31.153] - tweaked: FALSE [17:27:31.153] - call: future::plan("sequential") [17:27:31.177] 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 } [17:27:31.189] getGlobalsAndPackages() ... [17:27:31.190] Searching for globals... [17:27:31.194] - globals found: [1] '{' [17:27:31.195] Searching for globals ... DONE [17:27:31.195] Resolving globals: FALSE [17:27:31.196] [17:27:31.196] [17:27:31.196] getGlobalsAndPackages() ... DONE [17:27:31.197] run() for 'Future' ... [17:27:31.198] - state: 'created' [17:27:31.198] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:31.199] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:31.199] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:31.199] - Field: 'label' [17:27:31.200] - Field: 'local' [17:27:31.200] - Field: 'owner' [17:27:31.200] - Field: 'envir' [17:27:31.201] - Field: 'packages' [17:27:31.201] - Field: 'gc' [17:27:31.201] - Field: 'conditions' [17:27:31.201] - Field: 'expr' [17:27:31.202] - Field: 'uuid' [17:27:31.202] - Field: 'seed' [17:27:31.202] - Field: 'version' [17:27:31.202] - Field: 'result' [17:27:31.203] - Field: 'asynchronous' [17:27:31.203] - Field: 'calls' [17:27:31.203] - Field: 'globals' [17:27:31.203] - Field: 'stdout' [17:27:31.204] - Field: 'earlySignal' [17:27:31.204] - Field: 'lazy' [17:27:31.204] - Field: 'state' [17:27:31.205] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:31.205] - Launch lazy future ... [17:27:31.206] Packages needed by the future expression (n = 0): [17:27:31.206] Packages needed by future strategies (n = 0): [17:27:31.207] { [17:27:31.207] { [17:27:31.207] { [17:27:31.207] ...future.startTime <- base::Sys.time() [17:27:31.207] { [17:27:31.207] { [17:27:31.207] { [17:27:31.207] base::local({ [17:27:31.207] has_future <- base::requireNamespace("future", [17:27:31.207] quietly = TRUE) [17:27:31.207] if (has_future) { [17:27:31.207] ns <- base::getNamespace("future") [17:27:31.207] version <- ns[[".package"]][["version"]] [17:27:31.207] if (is.null(version)) [17:27:31.207] version <- utils::packageVersion("future") [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] version <- NULL [17:27:31.207] } [17:27:31.207] if (!has_future || version < "1.8.0") { [17:27:31.207] info <- base::c(r_version = base::gsub("R version ", [17:27:31.207] "", base::R.version$version.string), [17:27:31.207] platform = base::sprintf("%s (%s-bit)", [17:27:31.207] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:31.207] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:31.207] "release", "version")], collapse = " "), [17:27:31.207] hostname = base::Sys.info()[["nodename"]]) [17:27:31.207] info <- base::sprintf("%s: %s", base::names(info), [17:27:31.207] info) [17:27:31.207] info <- base::paste(info, collapse = "; ") [17:27:31.207] if (!has_future) { [17:27:31.207] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:31.207] info) [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:31.207] info, version) [17:27:31.207] } [17:27:31.207] base::stop(msg) [17:27:31.207] } [17:27:31.207] }) [17:27:31.207] } [17:27:31.207] ...future.strategy.old <- future::plan("list") [17:27:31.207] options(future.plan = NULL) [17:27:31.207] Sys.unsetenv("R_FUTURE_PLAN") [17:27:31.207] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:31.207] } [17:27:31.207] ...future.workdir <- getwd() [17:27:31.207] } [17:27:31.207] ...future.oldOptions <- base::as.list(base::.Options) [17:27:31.207] ...future.oldEnvVars <- base::Sys.getenv() [17:27:31.207] } [17:27:31.207] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:27:31.207] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:31.207] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:27:31.207] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:31.207] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:31.207] future.stdout.windows.reencode = NULL, width = 80L) [17:27:31.207] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:31.207] base::names(...future.oldOptions)) [17:27:31.207] } [17:27:31.207] if (FALSE) { [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] if (TRUE) { [17:27:31.207] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:31.207] open = "w") [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:31.207] windows = "NUL", "/dev/null"), open = "w") [17:27:31.207] } [17:27:31.207] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:31.207] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:31.207] base::sink(type = "output", split = FALSE) [17:27:31.207] base::close(...future.stdout) [17:27:31.207] }, add = TRUE) [17:27:31.207] } [17:27:31.207] ...future.frame <- base::sys.nframe() [17:27:31.207] ...future.conditions <- base::list() [17:27:31.207] ...future.rng <- base::globalenv()$.Random.seed [17:27:31.207] if (FALSE) { [17:27:31.207] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:31.207] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:31.207] } [17:27:31.207] ...future.result <- base::tryCatch({ [17:27:31.207] base::withCallingHandlers({ [17:27:31.207] ...future.value <- base::withVisible(base::local({ [17:27:31.207] 1 [17:27:31.207] })) [17:27:31.207] future::FutureResult(value = ...future.value$value, [17:27:31.207] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:31.207] ...future.rng), globalenv = if (FALSE) [17:27:31.207] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:31.207] ...future.globalenv.names)) [17:27:31.207] else NULL, started = ...future.startTime, version = "1.8") [17:27:31.207] }, condition = base::local({ [17:27:31.207] c <- base::c [17:27:31.207] inherits <- base::inherits [17:27:31.207] invokeRestart <- base::invokeRestart [17:27:31.207] length <- base::length [17:27:31.207] list <- base::list [17:27:31.207] seq.int <- base::seq.int [17:27:31.207] signalCondition <- base::signalCondition [17:27:31.207] sys.calls <- base::sys.calls [17:27:31.207] `[[` <- base::`[[` [17:27:31.207] `+` <- base::`+` [17:27:31.207] `<<-` <- base::`<<-` [17:27:31.207] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:31.207] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:31.207] 3L)] [17:27:31.207] } [17:27:31.207] function(cond) { [17:27:31.207] is_error <- inherits(cond, "error") [17:27:31.207] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:31.207] NULL) [17:27:31.207] if (is_error) { [17:27:31.207] sessionInformation <- function() { [17:27:31.207] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:31.207] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:31.207] search = base::search(), system = base::Sys.info()) [17:27:31.207] } [17:27:31.207] ...future.conditions[[length(...future.conditions) + [17:27:31.207] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:31.207] cond$call), session = sessionInformation(), [17:27:31.207] timestamp = base::Sys.time(), signaled = 0L) [17:27:31.207] signalCondition(cond) [17:27:31.207] } [17:27:31.207] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:31.207] "immediateCondition"))) { [17:27:31.207] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:31.207] ...future.conditions[[length(...future.conditions) + [17:27:31.207] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:31.207] if (TRUE && !signal) { [17:27:31.207] muffleCondition <- function (cond, pattern = "^muffle") [17:27:31.207] { [17:27:31.207] inherits <- base::inherits [17:27:31.207] invokeRestart <- base::invokeRestart [17:27:31.207] is.null <- base::is.null [17:27:31.207] muffled <- FALSE [17:27:31.207] if (inherits(cond, "message")) { [17:27:31.207] muffled <- grepl(pattern, "muffleMessage") [17:27:31.207] if (muffled) [17:27:31.207] invokeRestart("muffleMessage") [17:27:31.207] } [17:27:31.207] else if (inherits(cond, "warning")) { [17:27:31.207] muffled <- grepl(pattern, "muffleWarning") [17:27:31.207] if (muffled) [17:27:31.207] invokeRestart("muffleWarning") [17:27:31.207] } [17:27:31.207] else if (inherits(cond, "condition")) { [17:27:31.207] if (!is.null(pattern)) { [17:27:31.207] computeRestarts <- base::computeRestarts [17:27:31.207] grepl <- base::grepl [17:27:31.207] restarts <- computeRestarts(cond) [17:27:31.207] for (restart in restarts) { [17:27:31.207] name <- restart$name [17:27:31.207] if (is.null(name)) [17:27:31.207] next [17:27:31.207] if (!grepl(pattern, name)) [17:27:31.207] next [17:27:31.207] invokeRestart(restart) [17:27:31.207] muffled <- TRUE [17:27:31.207] break [17:27:31.207] } [17:27:31.207] } [17:27:31.207] } [17:27:31.207] invisible(muffled) [17:27:31.207] } [17:27:31.207] muffleCondition(cond, pattern = "^muffle") [17:27:31.207] } [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] if (TRUE) { [17:27:31.207] muffleCondition <- function (cond, pattern = "^muffle") [17:27:31.207] { [17:27:31.207] inherits <- base::inherits [17:27:31.207] invokeRestart <- base::invokeRestart [17:27:31.207] is.null <- base::is.null [17:27:31.207] muffled <- FALSE [17:27:31.207] if (inherits(cond, "message")) { [17:27:31.207] muffled <- grepl(pattern, "muffleMessage") [17:27:31.207] if (muffled) [17:27:31.207] invokeRestart("muffleMessage") [17:27:31.207] } [17:27:31.207] else if (inherits(cond, "warning")) { [17:27:31.207] muffled <- grepl(pattern, "muffleWarning") [17:27:31.207] if (muffled) [17:27:31.207] invokeRestart("muffleWarning") [17:27:31.207] } [17:27:31.207] else if (inherits(cond, "condition")) { [17:27:31.207] if (!is.null(pattern)) { [17:27:31.207] computeRestarts <- base::computeRestarts [17:27:31.207] grepl <- base::grepl [17:27:31.207] restarts <- computeRestarts(cond) [17:27:31.207] for (restart in restarts) { [17:27:31.207] name <- restart$name [17:27:31.207] if (is.null(name)) [17:27:31.207] next [17:27:31.207] if (!grepl(pattern, name)) [17:27:31.207] next [17:27:31.207] invokeRestart(restart) [17:27:31.207] muffled <- TRUE [17:27:31.207] break [17:27:31.207] } [17:27:31.207] } [17:27:31.207] } [17:27:31.207] invisible(muffled) [17:27:31.207] } [17:27:31.207] muffleCondition(cond, pattern = "^muffle") [17:27:31.207] } [17:27:31.207] } [17:27:31.207] } [17:27:31.207] })) [17:27:31.207] }, error = function(ex) { [17:27:31.207] base::structure(base::list(value = NULL, visible = NULL, [17:27:31.207] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:31.207] ...future.rng), started = ...future.startTime, [17:27:31.207] finished = Sys.time(), session_uuid = NA_character_, [17:27:31.207] version = "1.8"), class = "FutureResult") [17:27:31.207] }, finally = { [17:27:31.207] if (!identical(...future.workdir, getwd())) [17:27:31.207] setwd(...future.workdir) [17:27:31.207] { [17:27:31.207] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:31.207] ...future.oldOptions$nwarnings <- NULL [17:27:31.207] } [17:27:31.207] base::options(...future.oldOptions) [17:27:31.207] if (.Platform$OS.type == "windows") { [17:27:31.207] old_names <- names(...future.oldEnvVars) [17:27:31.207] envs <- base::Sys.getenv() [17:27:31.207] names <- names(envs) [17:27:31.207] common <- intersect(names, old_names) [17:27:31.207] added <- setdiff(names, old_names) [17:27:31.207] removed <- setdiff(old_names, names) [17:27:31.207] changed <- common[...future.oldEnvVars[common] != [17:27:31.207] envs[common]] [17:27:31.207] NAMES <- toupper(changed) [17:27:31.207] args <- list() [17:27:31.207] for (kk in seq_along(NAMES)) { [17:27:31.207] name <- changed[[kk]] [17:27:31.207] NAME <- NAMES[[kk]] [17:27:31.207] if (name != NAME && is.element(NAME, old_names)) [17:27:31.207] next [17:27:31.207] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:31.207] } [17:27:31.207] NAMES <- toupper(added) [17:27:31.207] for (kk in seq_along(NAMES)) { [17:27:31.207] name <- added[[kk]] [17:27:31.207] NAME <- NAMES[[kk]] [17:27:31.207] if (name != NAME && is.element(NAME, old_names)) [17:27:31.207] next [17:27:31.207] args[[name]] <- "" [17:27:31.207] } [17:27:31.207] NAMES <- toupper(removed) [17:27:31.207] for (kk in seq_along(NAMES)) { [17:27:31.207] name <- removed[[kk]] [17:27:31.207] NAME <- NAMES[[kk]] [17:27:31.207] if (name != NAME && is.element(NAME, old_names)) [17:27:31.207] next [17:27:31.207] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:31.207] } [17:27:31.207] if (length(args) > 0) [17:27:31.207] base::do.call(base::Sys.setenv, args = args) [17:27:31.207] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:31.207] } [17:27:31.207] { [17:27:31.207] if (base::length(...future.futureOptionsAdded) > [17:27:31.207] 0L) { [17:27:31.207] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:31.207] base::names(opts) <- ...future.futureOptionsAdded [17:27:31.207] base::options(opts) [17:27:31.207] } [17:27:31.207] { [17:27:31.207] { [17:27:31.207] NULL [17:27:31.207] RNGkind("Mersenne-Twister") [17:27:31.207] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:31.207] inherits = FALSE) [17:27:31.207] } [17:27:31.207] options(future.plan = NULL) [17:27:31.207] if (is.na(NA_character_)) [17:27:31.207] Sys.unsetenv("R_FUTURE_PLAN") [17:27:31.207] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:31.207] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:31.207] .init = FALSE) [17:27:31.207] } [17:27:31.207] } [17:27:31.207] } [17:27:31.207] }) [17:27:31.207] if (TRUE) { [17:27:31.207] base::sink(type = "output", split = FALSE) [17:27:31.207] if (TRUE) { [17:27:31.207] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:31.207] } [17:27:31.207] else { [17:27:31.207] ...future.result["stdout"] <- base::list(NULL) [17:27:31.207] } [17:27:31.207] base::close(...future.stdout) [17:27:31.207] ...future.stdout <- NULL [17:27:31.207] } [17:27:31.207] ...future.result$conditions <- ...future.conditions [17:27:31.207] ...future.result$finished <- base::Sys.time() [17:27:31.207] ...future.result [17:27:31.207] } [17:27:31.212] plan(): Setting new future strategy stack: [17:27:31.212] List of future strategies: [17:27:31.212] 1. sequential: [17:27:31.212] - args: function (..., envir = parent.frame(), workers = "") [17:27:31.212] - tweaked: FALSE [17:27:31.212] - call: NULL [17:27:31.213] plan(): nbrOfWorkers() = 1 [17:27:31.216] plan(): Setting new future strategy stack: [17:27:31.216] List of future strategies: [17:27:31.216] 1. sequential: [17:27:31.216] - args: function (..., envir = parent.frame(), workers = "") [17:27:31.216] - tweaked: FALSE [17:27:31.216] - call: future::plan("sequential") [17:27:31.219] plan(): nbrOfWorkers() = 1 [17:27:31.220] SequentialFuture started (and completed) [17:27:31.221] - Launch lazy future ... done [17:27:31.221] 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: 39 bytes of class 'numeric' Early signaling: FALSE Owner process: 69561406-2bbf-68c2-8ed1-51e98eafa141 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: 39 bytes of class 'numeric' Early signaling: FALSE Owner process: 69561406-2bbf-68c2-8ed1-51e98eafa141 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: 39 bytes of class 'numeric' Early signaling: FALSE Owner process: 69561406-2bbf-68c2-8ed1-51e98eafa141 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 }) [17:27:31.226] getGlobalsAndPackages() ... [17:27:31.226] Searching for globals... [17:27:31.227] - globals found: [1] '{' [17:27:31.227] Searching for globals ... DONE [17:27:31.227] Resolving globals: FALSE [17:27:31.228] [17:27:31.228] [17:27:31.228] getGlobalsAndPackages() ... DONE [17:27:31.229] run() for 'Future' ... [17:27:31.229] - state: 'created' [17:27:31.229] - Future backend: 'FutureStrategy', 'sequential', 'uniprocess', 'future', 'function' [17:27:31.230] - Future class: 'SequentialFuture', 'UniprocessFuture', 'Future', 'environment' [17:27:31.230] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... [17:27:31.230] - Field: 'label' [17:27:31.230] - Field: 'local' [17:27:31.231] - Field: 'owner' [17:27:31.231] - Field: 'envir' [17:27:31.231] - Field: 'packages' [17:27:31.231] - Field: 'gc' [17:27:31.232] - Field: 'conditions' [17:27:31.232] - Field: 'expr' [17:27:31.232] - Field: 'uuid' [17:27:31.232] - Field: 'seed' [17:27:31.233] - Field: 'version' [17:27:31.233] - Field: 'result' [17:27:31.233] - Field: 'asynchronous' [17:27:31.233] - Field: 'calls' [17:27:31.234] - Field: 'globals' [17:27:31.234] - Field: 'stdout' [17:27:31.234] - Field: 'earlySignal' [17:27:31.234] - Field: 'lazy' [17:27:31.235] - Field: 'state' [17:27:31.235] - Copy elements of temporary 'SequentialFuture' to final 'Future' object ... done [17:27:31.235] - Launch lazy future ... [17:27:31.235] Packages needed by the future expression (n = 0): [17:27:31.236] Packages needed by future strategies (n = 0): [17:27:31.236] { [17:27:31.236] { [17:27:31.236] { [17:27:31.236] ...future.startTime <- base::Sys.time() [17:27:31.236] { [17:27:31.236] { [17:27:31.236] { [17:27:31.236] base::local({ [17:27:31.236] has_future <- base::requireNamespace("future", [17:27:31.236] quietly = TRUE) [17:27:31.236] if (has_future) { [17:27:31.236] ns <- base::getNamespace("future") [17:27:31.236] version <- ns[[".package"]][["version"]] [17:27:31.236] if (is.null(version)) [17:27:31.236] version <- utils::packageVersion("future") [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] version <- NULL [17:27:31.236] } [17:27:31.236] if (!has_future || version < "1.8.0") { [17:27:31.236] info <- base::c(r_version = base::gsub("R version ", [17:27:31.236] "", base::R.version$version.string), [17:27:31.236] platform = base::sprintf("%s (%s-bit)", [17:27:31.236] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [17:27:31.236] os = base::paste(base::Sys.info()[base::c("sysname", [17:27:31.236] "release", "version")], collapse = " "), [17:27:31.236] hostname = base::Sys.info()[["nodename"]]) [17:27:31.236] info <- base::sprintf("%s: %s", base::names(info), [17:27:31.236] info) [17:27:31.236] info <- base::paste(info, collapse = "; ") [17:27:31.236] if (!has_future) { [17:27:31.236] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [17:27:31.236] info) [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [17:27:31.236] info, version) [17:27:31.236] } [17:27:31.236] base::stop(msg) [17:27:31.236] } [17:27:31.236] }) [17:27:31.236] } [17:27:31.236] ...future.strategy.old <- future::plan("list") [17:27:31.236] options(future.plan = NULL) [17:27:31.236] Sys.unsetenv("R_FUTURE_PLAN") [17:27:31.236] future::plan("default", .cleanup = FALSE, .init = FALSE) [17:27:31.236] } [17:27:31.236] ...future.workdir <- getwd() [17:27:31.236] } [17:27:31.236] ...future.oldOptions <- base::as.list(base::.Options) [17:27:31.236] ...future.oldEnvVars <- base::Sys.getenv() [17:27:31.236] } [17:27:31.236] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [17:27:31.236] future.globals.maxSize = NULL, future.globals.method = NULL, [17:27:31.236] future.globals.onMissing = NULL, future.globals.onReference = NULL, [17:27:31.236] future.globals.resolve = NULL, future.resolve.recursive = NULL, [17:27:31.236] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [17:27:31.236] future.stdout.windows.reencode = NULL, width = 80L) [17:27:31.236] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [17:27:31.236] base::names(...future.oldOptions)) [17:27:31.236] } [17:27:31.236] if (FALSE) { [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] if (TRUE) { [17:27:31.236] ...future.stdout <- base::rawConnection(base::raw(0L), [17:27:31.236] open = "w") [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [17:27:31.236] windows = "NUL", "/dev/null"), open = "w") [17:27:31.236] } [17:27:31.236] base::sink(...future.stdout, type = "output", split = FALSE) [17:27:31.236] base::on.exit(if (!base::is.null(...future.stdout)) { [17:27:31.236] base::sink(type = "output", split = FALSE) [17:27:31.236] base::close(...future.stdout) [17:27:31.236] }, add = TRUE) [17:27:31.236] } [17:27:31.236] ...future.frame <- base::sys.nframe() [17:27:31.236] ...future.conditions <- base::list() [17:27:31.236] ...future.rng <- base::globalenv()$.Random.seed [17:27:31.236] if (FALSE) { [17:27:31.236] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [17:27:31.236] "...future.value", "...future.globalenv.names", ".Random.seed") [17:27:31.236] } [17:27:31.236] ...future.result <- base::tryCatch({ [17:27:31.236] base::withCallingHandlers({ [17:27:31.236] ...future.value <- base::withVisible(base::local({ [17:27:31.236] 1 [17:27:31.236] })) [17:27:31.236] future::FutureResult(value = ...future.value$value, [17:27:31.236] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [17:27:31.236] ...future.rng), globalenv = if (FALSE) [17:27:31.236] list(added = base::setdiff(base::names(base::.GlobalEnv), [17:27:31.236] ...future.globalenv.names)) [17:27:31.236] else NULL, started = ...future.startTime, version = "1.8") [17:27:31.236] }, condition = base::local({ [17:27:31.236] c <- base::c [17:27:31.236] inherits <- base::inherits [17:27:31.236] invokeRestart <- base::invokeRestart [17:27:31.236] length <- base::length [17:27:31.236] list <- base::list [17:27:31.236] seq.int <- base::seq.int [17:27:31.236] signalCondition <- base::signalCondition [17:27:31.236] sys.calls <- base::sys.calls [17:27:31.236] `[[` <- base::`[[` [17:27:31.236] `+` <- base::`+` [17:27:31.236] `<<-` <- base::`<<-` [17:27:31.236] sysCalls <- function(calls = sys.calls(), from = 1L) { [17:27:31.236] calls[seq.int(from = from + 12L, to = length(calls) - [17:27:31.236] 3L)] [17:27:31.236] } [17:27:31.236] function(cond) { [17:27:31.236] is_error <- inherits(cond, "error") [17:27:31.236] ignore <- !is_error && !is.null(NULL) && inherits(cond, [17:27:31.236] NULL) [17:27:31.236] if (is_error) { [17:27:31.236] sessionInformation <- function() { [17:27:31.236] list(r = base::R.Version(), locale = base::Sys.getlocale(), [17:27:31.236] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [17:27:31.236] search = base::search(), system = base::Sys.info()) [17:27:31.236] } [17:27:31.236] ...future.conditions[[length(...future.conditions) + [17:27:31.236] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [17:27:31.236] cond$call), session = sessionInformation(), [17:27:31.236] timestamp = base::Sys.time(), signaled = 0L) [17:27:31.236] signalCondition(cond) [17:27:31.236] } [17:27:31.236] else if (!ignore && TRUE && inherits(cond, c("condition", [17:27:31.236] "immediateCondition"))) { [17:27:31.236] signal <- TRUE && inherits(cond, "immediateCondition") [17:27:31.236] ...future.conditions[[length(...future.conditions) + [17:27:31.236] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [17:27:31.236] if (TRUE && !signal) { [17:27:31.236] muffleCondition <- function (cond, pattern = "^muffle") [17:27:31.236] { [17:27:31.236] inherits <- base::inherits [17:27:31.236] invokeRestart <- base::invokeRestart [17:27:31.236] is.null <- base::is.null [17:27:31.236] muffled <- FALSE [17:27:31.236] if (inherits(cond, "message")) { [17:27:31.236] muffled <- grepl(pattern, "muffleMessage") [17:27:31.236] if (muffled) [17:27:31.236] invokeRestart("muffleMessage") [17:27:31.236] } [17:27:31.236] else if (inherits(cond, "warning")) { [17:27:31.236] muffled <- grepl(pattern, "muffleWarning") [17:27:31.236] if (muffled) [17:27:31.236] invokeRestart("muffleWarning") [17:27:31.236] } [17:27:31.236] else if (inherits(cond, "condition")) { [17:27:31.236] if (!is.null(pattern)) { [17:27:31.236] computeRestarts <- base::computeRestarts [17:27:31.236] grepl <- base::grepl [17:27:31.236] restarts <- computeRestarts(cond) [17:27:31.236] for (restart in restarts) { [17:27:31.236] name <- restart$name [17:27:31.236] if (is.null(name)) [17:27:31.236] next [17:27:31.236] if (!grepl(pattern, name)) [17:27:31.236] next [17:27:31.236] invokeRestart(restart) [17:27:31.236] muffled <- TRUE [17:27:31.236] break [17:27:31.236] } [17:27:31.236] } [17:27:31.236] } [17:27:31.236] invisible(muffled) [17:27:31.236] } [17:27:31.236] muffleCondition(cond, pattern = "^muffle") [17:27:31.236] } [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] if (TRUE) { [17:27:31.236] muffleCondition <- function (cond, pattern = "^muffle") [17:27:31.236] { [17:27:31.236] inherits <- base::inherits [17:27:31.236] invokeRestart <- base::invokeRestart [17:27:31.236] is.null <- base::is.null [17:27:31.236] muffled <- FALSE [17:27:31.236] if (inherits(cond, "message")) { [17:27:31.236] muffled <- grepl(pattern, "muffleMessage") [17:27:31.236] if (muffled) [17:27:31.236] invokeRestart("muffleMessage") [17:27:31.236] } [17:27:31.236] else if (inherits(cond, "warning")) { [17:27:31.236] muffled <- grepl(pattern, "muffleWarning") [17:27:31.236] if (muffled) [17:27:31.236] invokeRestart("muffleWarning") [17:27:31.236] } [17:27:31.236] else if (inherits(cond, "condition")) { [17:27:31.236] if (!is.null(pattern)) { [17:27:31.236] computeRestarts <- base::computeRestarts [17:27:31.236] grepl <- base::grepl [17:27:31.236] restarts <- computeRestarts(cond) [17:27:31.236] for (restart in restarts) { [17:27:31.236] name <- restart$name [17:27:31.236] if (is.null(name)) [17:27:31.236] next [17:27:31.236] if (!grepl(pattern, name)) [17:27:31.236] next [17:27:31.236] invokeRestart(restart) [17:27:31.236] muffled <- TRUE [17:27:31.236] break [17:27:31.236] } [17:27:31.236] } [17:27:31.236] } [17:27:31.236] invisible(muffled) [17:27:31.236] } [17:27:31.236] muffleCondition(cond, pattern = "^muffle") [17:27:31.236] } [17:27:31.236] } [17:27:31.236] } [17:27:31.236] })) [17:27:31.236] }, error = function(ex) { [17:27:31.236] base::structure(base::list(value = NULL, visible = NULL, [17:27:31.236] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [17:27:31.236] ...future.rng), started = ...future.startTime, [17:27:31.236] finished = Sys.time(), session_uuid = NA_character_, [17:27:31.236] version = "1.8"), class = "FutureResult") [17:27:31.236] }, finally = { [17:27:31.236] if (!identical(...future.workdir, getwd())) [17:27:31.236] setwd(...future.workdir) [17:27:31.236] { [17:27:31.236] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [17:27:31.236] ...future.oldOptions$nwarnings <- NULL [17:27:31.236] } [17:27:31.236] base::options(...future.oldOptions) [17:27:31.236] if (.Platform$OS.type == "windows") { [17:27:31.236] old_names <- names(...future.oldEnvVars) [17:27:31.236] envs <- base::Sys.getenv() [17:27:31.236] names <- names(envs) [17:27:31.236] common <- intersect(names, old_names) [17:27:31.236] added <- setdiff(names, old_names) [17:27:31.236] removed <- setdiff(old_names, names) [17:27:31.236] changed <- common[...future.oldEnvVars[common] != [17:27:31.236] envs[common]] [17:27:31.236] NAMES <- toupper(changed) [17:27:31.236] args <- list() [17:27:31.236] for (kk in seq_along(NAMES)) { [17:27:31.236] name <- changed[[kk]] [17:27:31.236] NAME <- NAMES[[kk]] [17:27:31.236] if (name != NAME && is.element(NAME, old_names)) [17:27:31.236] next [17:27:31.236] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:31.236] } [17:27:31.236] NAMES <- toupper(added) [17:27:31.236] for (kk in seq_along(NAMES)) { [17:27:31.236] name <- added[[kk]] [17:27:31.236] NAME <- NAMES[[kk]] [17:27:31.236] if (name != NAME && is.element(NAME, old_names)) [17:27:31.236] next [17:27:31.236] args[[name]] <- "" [17:27:31.236] } [17:27:31.236] NAMES <- toupper(removed) [17:27:31.236] for (kk in seq_along(NAMES)) { [17:27:31.236] name <- removed[[kk]] [17:27:31.236] NAME <- NAMES[[kk]] [17:27:31.236] if (name != NAME && is.element(NAME, old_names)) [17:27:31.236] next [17:27:31.236] args[[name]] <- ...future.oldEnvVars[[name]] [17:27:31.236] } [17:27:31.236] if (length(args) > 0) [17:27:31.236] base::do.call(base::Sys.setenv, args = args) [17:27:31.236] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [17:27:31.236] } [17:27:31.236] { [17:27:31.236] if (base::length(...future.futureOptionsAdded) > [17:27:31.236] 0L) { [17:27:31.236] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [17:27:31.236] base::names(opts) <- ...future.futureOptionsAdded [17:27:31.236] base::options(opts) [17:27:31.236] } [17:27:31.236] { [17:27:31.236] { [17:27:31.236] NULL [17:27:31.236] RNGkind("Mersenne-Twister") [17:27:31.236] base::rm(list = ".Random.seed", envir = base::globalenv(), [17:27:31.236] inherits = FALSE) [17:27:31.236] } [17:27:31.236] options(future.plan = NULL) [17:27:31.236] if (is.na(NA_character_)) [17:27:31.236] Sys.unsetenv("R_FUTURE_PLAN") [17:27:31.236] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [17:27:31.236] future::plan(...future.strategy.old, .cleanup = FALSE, [17:27:31.236] .init = FALSE) [17:27:31.236] } [17:27:31.236] } [17:27:31.236] } [17:27:31.236] }) [17:27:31.236] if (TRUE) { [17:27:31.236] base::sink(type = "output", split = FALSE) [17:27:31.236] if (TRUE) { [17:27:31.236] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [17:27:31.236] } [17:27:31.236] else { [17:27:31.236] ...future.result["stdout"] <- base::list(NULL) [17:27:31.236] } [17:27:31.236] base::close(...future.stdout) [17:27:31.236] ...future.stdout <- NULL [17:27:31.236] } [17:27:31.236] ...future.result$conditions <- ...future.conditions [17:27:31.236] ...future.result$finished <- base::Sys.time() [17:27:31.236] ...future.result [17:27:31.236] } [17:27:31.240] plan(): Setting new future strategy stack: [17:27:31.240] List of future strategies: [17:27:31.240] 1. sequential: [17:27:31.240] - args: function (..., envir = parent.frame(), workers = "") [17:27:31.240] - tweaked: FALSE [17:27:31.240] - call: NULL [17:27:31.241] plan(): nbrOfWorkers() = 1 [17:27:31.242] plan(): Setting new future strategy stack: [17:27:31.242] List of future strategies: [17:27:31.242] 1. sequential: [17:27:31.242] - args: function (..., envir = parent.frame(), workers = "") [17:27:31.242] - tweaked: FALSE [17:27:31.242] - call: future::plan("sequential") [17:27:31.243] plan(): nbrOfWorkers() = 1 [17:27:31.243] SequentialFuture started (and completed) [17:27:31.243] - Launch lazy future ... done [17:27:31.243] 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: 39 bytes of class 'numeric' Early signaling: FALSE Owner process: 69561406-2bbf-68c2-8ed1-51e98eafa141 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: 39 bytes of class 'numeric' Early signaling: FALSE Owner process: 69561406-2bbf-68c2-8ed1-51e98eafa141 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: 39 bytes of class 'numeric' Early signaling: FALSE Owner process: 69561406-2bbf-68c2-8ed1-51e98eafa141 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") [17:27:31.248] plan(): Setting new future strategy stack: [17:27:31.248] List of future strategies: [17:27:31.248] 1. FutureStrategy: [17:27:31.248] - args: function (..., envir = parent.frame(), workers = "") [17:27:31.248] - tweaked: FALSE [17:27:31.248] - call: future::plan(oplan) [17:27:31.271] plan(): nbrOfWorkers() = 1 Failed to undo environment variables: - Expected environment variables: [n=205] '!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_NOTE_MISSING_PACKAGE_ANCHORS_', '_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.48 0.10 0.54