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:02:16.853] plan(): Setting new future strategy stack: [18:02:16.855] List of future strategies: [18:02:16.855] 1. sequential: [18:02:16.855] - args: function (..., envir = parent.frame()) [18:02:16.855] - tweaked: FALSE [18:02:16.855] - call: future::plan("sequential") [18:02:16.870] plan(): nbrOfWorkers() = 1 > > message("*** nbrOfWorkers() ...") *** nbrOfWorkers() ... > > strategies <- c("sequential") > for (strategy in strategies) { + message("Type of future: ", strategy) + + evaluator <- get(strategy, mode = "function") + n <- nbrOfWorkers(evaluator) + message(sprintf("nbrOfWorkers: %d", n)) + stopifnot(n == 1L) + + plan(strategy) + n <- nbrOfWorkers() + message(sprintf("nbrOfWorkers: %d", n)) + stopifnot(n == 1L) + + n <- nbrOfFreeWorkers() + message(sprintf("nbrOfFreeWorkers: %d", n)) + stopifnot(n == 1L) + + n <- nbrOfFreeWorkers(background = TRUE) + message(sprintf("nbrOfFreeWorkers(background = TRUE): %d", n)) + stopifnot(n == 0L) + } ## for (strategy ...) Type of future: sequential nbrOfWorkers: 1 [18:02:16.888] plan(): Setting new future strategy stack: [18:02:16.888] List of future strategies: [18:02:16.888] 1. sequential: [18:02:16.888] - args: function (..., envir = parent.frame()) [18:02:16.888] - tweaked: FALSE [18:02:16.888] - call: plan(strategy) [18:02:16.902] plan(): nbrOfWorkers() = 1 nbrOfWorkers: 1 nbrOfFreeWorkers: 1 nbrOfFreeWorkers(background = TRUE): 0 > > > strategies <- c("cluster", "multisession", "multicore") > strategies <- intersect(strategies, supportedStrategies()) > cores <- availableCores() > message("Number of available cores: ", cores) Number of available cores: 2 > workers <- availableWorkers() > nworkers <- length(workers) > message(sprintf("Available workers: [n = %d] %s", nworkers, hpaste(sQuote(workers)))) Available workers: [n = 2] 'localhost', 'localhost' > > allButOneCore <- function() max(1L, future::availableCores() - 1L) > allButOneWorker <- function() { + w <- future::availableWorkers() + if (length(w) > 1) w[-1] else w + } > > for (strategy in strategies) { + ## Speed up CRAN checks: Skip on CRAN Windows 32-bit + if (!fullTest && isWin32) next + + message("Type of future: ", strategy) + + evaluator <- get(strategy, mode = "function") + n <- nbrOfWorkers(evaluator) + message(sprintf("nbrOfWorkers: %d", n)) + stopifnot(n == nworkers) + + plan(strategy) + n <- nbrOfWorkers() + message(sprintf("nbrOfWorkers: %d", n)) + stopifnot(n == nworkers) + + n <- nbrOfFreeWorkers() + message(sprintf("nbrOfFreeWorkers: %d", n)) + stopifnot(n == nworkers) + + n <- nbrOfFreeWorkers(background = TRUE) + message(sprintf("nbrOfFreeWorkers(background = TRUE): %d", n)) + # FIXME stopifnot(n == 0L) + + plan(strategy, workers = 1L) + n <- nbrOfWorkers() + message(sprintf("nbrOfWorkers: %d", n)) + stopifnot(n == max(1L, nworkers - 1L)) + + n <- nbrOfFreeWorkers() + message(sprintf("nbrOfFreeWorkers: %d", n)) + stopifnot(n == max(1L, nworkers - 1L)) + + n <- nbrOfFreeWorkers(background = TRUE) + message(sprintf("nbrOfFreeWorkers(background = TRUE): %d", n)) + # FIXME stopifnot(n == 0L) + + plan(strategy, workers = allButOneCore) + n <- nbrOfWorkers() + message(sprintf("nbrOfWorkers: %d", n)) + stopifnot(n == max(1L, nworkers - 1L)) + + n <- nbrOfFreeWorkers() + message(sprintf("nbrOfFreeWorkers: %d", n)) + stopifnot(n == max(1L, nworkers - 1L)) + + n <- nbrOfFreeWorkers(background = TRUE) + message(sprintf("nbrOfFreeWorkers(background = TRUE): %d", n)) + # FIXME stopifnot(n == 0L) + } ## for (strategy ...) Type of future: multisession nbrOfWorkers: 2 [18:02:16.937] plan(): Setting new future strategy stack: [18:02:16.938] List of future strategies: [18:02:16.938] 1. multisession: [18:02:16.938] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [18:02:16.938] - tweaked: FALSE [18:02:16.938] - call: plan(strategy) [18:02:16.938] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... [18:02:16.938] multisession: [18:02:16.938] - args: function (..., workers = availableCores(), lazy = FALSE, rscript_libs = .libPaths(), envir = parent.frame()) [18:02:16.938] - tweaked: FALSE [18:02:16.938] - call: plan(strategy) [18:02:16.944] getGlobalsAndPackages() ... [18:02:16.944] Not searching for globals [18:02:16.944] - globals: [0] [18:02:16.945] getGlobalsAndPackages() ... DONE [18:02:16.945] [local output] makeClusterPSOCK() ... [18:02:16.972] [local output] Workers: [n = 2] 'localhost', 'localhost' [18:02:16.979] [local output] Base port: 24572 [18:02:16.979] [local output] Getting setup options for 2 cluster nodes ... [18:02:16.979] [local output] - Node 1 of 2 ... [18:02:16.980] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:16.981] Testing if worker's PID can be inferred: '"D:/RCompile/recent/R/bin/x64/Rscript" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.269644c4656eb.pid\")), silent = TRUE)" -e "file.exists(\"D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.269644c4656eb.pid\")"' [18:02:17.309] - Possible to infer worker's PID: TRUE [18:02:17.310] [local output] Rscript port: 24572 [18:02:17.311] [local output] - Node 2 of 2 ... [18:02:17.311] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:17.313] [local output] Rscript port: 24572 [18:02:17.314] [local output] Getting setup options for 2 cluster nodes ... done [18:02:17.314] [local output] - Parallel setup requested for some PSOCK nodes [18:02:17.315] [local output] Setting up PSOCK nodes in parallel [18:02:17.315] List of 36 [18:02:17.315] $ worker : chr "localhost" [18:02:17.315] ..- attr(*, "localhost")= logi TRUE [18:02:17.315] $ master : chr "localhost" [18:02:17.315] $ port : int 24572 [18:02:17.315] $ connectTimeout : num 120 [18:02:17.315] $ timeout : num 120 [18:02:17.315] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [18:02:17.315] $ homogeneous : logi TRUE [18:02:17.315] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=nbrOfWorkers.R:158052:CRANWIN3:C"| __truncated__ [18:02:17.315] $ rscript_envs : NULL [18:02:17.315] $ rscript_libs : chr [1:2] "D:/temp/Rtmp67Lu9b/RLIBS_19fe819742e2c" "D:/RCompile/recent/R/library" [18:02:17.315] $ rscript_startup : NULL [18:02:17.315] $ rscript_sh : chr "cmd" [18:02:17.315] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:17.315] $ methods : logi TRUE [18:02:17.315] $ socketOptions : chr "no-delay" [18:02:17.315] $ useXDR : logi FALSE [18:02:17.315] $ outfile : chr "/dev/null" [18:02:17.315] $ renice : int NA [18:02:17.315] $ rshcmd : NULL [18:02:17.315] $ user : chr(0) [18:02:17.315] $ revtunnel : logi FALSE [18:02:17.315] $ rshlogfile : NULL [18:02:17.315] $ rshopts : chr(0) [18:02:17.315] $ rank : int 1 [18:02:17.315] $ manual : logi FALSE [18:02:17.315] $ dryrun : logi FALSE [18:02:17.315] $ quiet : logi FALSE [18:02:17.315] $ setup_strategy : chr "parallel" [18:02:17.315] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:17.315] $ pidfile : chr "D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.269644c4656eb.pid" [18:02:17.315] $ rshcmd_label : NULL [18:02:17.315] $ rsh_call : NULL [18:02:17.315] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:17.315] $ localMachine : logi TRUE [18:02:17.315] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [18:02:17.315] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [18:02:17.315] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [18:02:17.315] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [18:02:17.315] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [18:02:17.315] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [18:02:17.315] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [18:02:17.315] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [18:02:17.315] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [18:02:17.315] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [18:02:17.315] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [18:02:17.315] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [18:02:17.315] "parallel"), action = c("launch", "options"), verbose = FALSE) [18:02:17.315] $ arguments :List of 28 [18:02:17.315] ..$ worker : chr "localhost" [18:02:17.315] ..$ master : NULL [18:02:17.315] ..$ port : int 24572 [18:02:17.315] ..$ connectTimeout : num 120 [18:02:17.315] ..$ timeout : num 120 [18:02:17.315] ..$ rscript : NULL [18:02:17.315] ..$ homogeneous : NULL [18:02:17.315] ..$ rscript_args : NULL [18:02:17.315] ..$ rscript_envs : NULL [18:02:17.315] ..$ rscript_libs : chr [1:2] "D:/temp/Rtmp67Lu9b/RLIBS_19fe819742e2c" "D:/RCompile/recent/R/library" [18:02:17.315] ..$ rscript_startup : NULL [18:02:17.315] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [18:02:17.315] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:17.315] ..$ methods : logi TRUE [18:02:17.315] ..$ socketOptions : chr "no-delay" [18:02:17.315] ..$ useXDR : logi FALSE [18:02:17.315] ..$ outfile : chr "/dev/null" [18:02:17.315] ..$ renice : int NA [18:02:17.315] ..$ rshcmd : NULL [18:02:17.315] ..$ user : NULL [18:02:17.315] ..$ revtunnel : logi NA [18:02:17.315] ..$ rshlogfile : NULL [18:02:17.315] ..$ rshopts : NULL [18:02:17.315] ..$ rank : int 1 [18:02:17.315] ..$ manual : logi FALSE [18:02:17.315] ..$ dryrun : logi FALSE [18:02:17.315] ..$ quiet : logi FALSE [18:02:17.315] ..$ setup_strategy : chr "parallel" [18:02:17.315] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [18:02:17.340] [local output] System call to launch all workers: [18:02:17.340] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=nbrOfWorkers.R:158052:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.269644c4656eb.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e ".libPaths(c(\"D:/temp/Rtmp67Lu9b/RLIBS_19fe819742e2c\",\"D:/RCompile/recent/R/library\"))" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=24572 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [18:02:17.340] [local output] Starting PSOCK main server [18:02:17.349] [local output] Workers launched [18:02:17.349] [local output] Waiting for workers to connect back [18:02:17.349] - [local output] 0 workers out of 2 ready [18:02:17.524] - [local output] 0 workers out of 2 ready [18:02:17.525] - [local output] 1 workers out of 2 ready [18:02:17.525] - [local output] 2 workers out of 2 ready [18:02:17.525] [local output] Launching of workers completed [18:02:17.526] [local output] Collecting session information from workers [18:02:17.527] [local output] - Worker #1 of 2 [18:02:17.527] [local output] - Worker #2 of 2 [18:02:17.528] [local output] makeClusterPSOCK() ... done [18:02:17.542] Packages needed by the future expression (n = 0): [18:02:17.543] Packages needed by future strategies (n = 0): [18:02:17.544] { [18:02:17.544] { [18:02:17.544] { [18:02:17.544] ...future.startTime <- base::Sys.time() [18:02:17.544] { [18:02:17.544] { [18:02:17.544] { [18:02:17.544] { [18:02:17.544] base::local({ [18:02:17.544] has_future <- base::requireNamespace("future", [18:02:17.544] quietly = TRUE) [18:02:17.544] if (has_future) { [18:02:17.544] ns <- base::getNamespace("future") [18:02:17.544] version <- ns[[".package"]][["version"]] [18:02:17.544] if (is.null(version)) [18:02:17.544] version <- utils::packageVersion("future") [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] version <- NULL [18:02:17.544] } [18:02:17.544] if (!has_future || version < "1.8.0") { [18:02:17.544] info <- base::c(r_version = base::gsub("R version ", [18:02:17.544] "", base::R.version$version.string), [18:02:17.544] platform = base::sprintf("%s (%s-bit)", [18:02:17.544] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:02:17.544] os = base::paste(base::Sys.info()[base::c("sysname", [18:02:17.544] "release", "version")], collapse = " "), [18:02:17.544] hostname = base::Sys.info()[["nodename"]]) [18:02:17.544] info <- base::sprintf("%s: %s", base::names(info), [18:02:17.544] info) [18:02:17.544] info <- base::paste(info, collapse = "; ") [18:02:17.544] if (!has_future) { [18:02:17.544] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:02:17.544] info) [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:02:17.544] info, version) [18:02:17.544] } [18:02:17.544] base::stop(msg) [18:02:17.544] } [18:02:17.544] }) [18:02:17.544] } [18:02:17.544] ...future.mc.cores.old <- base::getOption("mc.cores") [18:02:17.544] base::options(mc.cores = 1L) [18:02:17.544] } [18:02:17.544] options(future.plan = NULL) [18:02:17.544] Sys.unsetenv("R_FUTURE_PLAN") [18:02:17.544] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:02:17.544] } [18:02:17.544] ...future.workdir <- getwd() [18:02:17.544] } [18:02:17.544] ...future.oldOptions <- base::as.list(base::.Options) [18:02:17.544] ...future.oldEnvVars <- base::Sys.getenv() [18:02:17.544] } [18:02:17.544] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:02:17.544] future.globals.maxSize = NULL, future.globals.method = NULL, [18:02:17.544] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:02:17.544] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:02:17.544] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:02:17.544] future.stdout.windows.reencode = NULL, width = 80L) [18:02:17.544] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:02:17.544] base::names(...future.oldOptions)) [18:02:17.544] } [18:02:17.544] if (FALSE) { [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] if (TRUE) { [18:02:17.544] ...future.stdout <- base::rawConnection(base::raw(0L), [18:02:17.544] open = "w") [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:02:17.544] windows = "NUL", "/dev/null"), open = "w") [18:02:17.544] } [18:02:17.544] base::sink(...future.stdout, type = "output", split = FALSE) [18:02:17.544] base::on.exit(if (!base::is.null(...future.stdout)) { [18:02:17.544] base::sink(type = "output", split = FALSE) [18:02:17.544] base::close(...future.stdout) [18:02:17.544] }, add = TRUE) [18:02:17.544] } [18:02:17.544] ...future.frame <- base::sys.nframe() [18:02:17.544] ...future.conditions <- base::list() [18:02:17.544] ...future.rng <- base::globalenv()$.Random.seed [18:02:17.544] if (FALSE) { [18:02:17.544] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:02:17.544] "...future.value", "...future.globalenv.names", ".Random.seed") [18:02:17.544] } [18:02:17.544] ...future.result <- base::tryCatch({ [18:02:17.544] base::withCallingHandlers({ [18:02:17.544] ...future.value <- base::withVisible(base::local({ [18:02:17.544] ...future.makeSendCondition <- local({ [18:02:17.544] sendCondition <- NULL [18:02:17.544] function(frame = 1L) { [18:02:17.544] if (is.function(sendCondition)) [18:02:17.544] return(sendCondition) [18:02:17.544] ns <- getNamespace("parallel") [18:02:17.544] if (exists("sendData", mode = "function", [18:02:17.544] envir = ns)) { [18:02:17.544] parallel_sendData <- get("sendData", mode = "function", [18:02:17.544] envir = ns) [18:02:17.544] envir <- sys.frame(frame) [18:02:17.544] master <- NULL [18:02:17.544] while (!identical(envir, .GlobalEnv) && [18:02:17.544] !identical(envir, emptyenv())) { [18:02:17.544] if (exists("master", mode = "list", envir = envir, [18:02:17.544] inherits = FALSE)) { [18:02:17.544] master <- get("master", mode = "list", [18:02:17.544] envir = envir, inherits = FALSE) [18:02:17.544] if (inherits(master, c("SOCKnode", [18:02:17.544] "SOCK0node"))) { [18:02:17.544] sendCondition <<- function(cond) { [18:02:17.544] data <- list(type = "VALUE", value = cond, [18:02:17.544] success = TRUE) [18:02:17.544] parallel_sendData(master, data) [18:02:17.544] } [18:02:17.544] return(sendCondition) [18:02:17.544] } [18:02:17.544] } [18:02:17.544] frame <- frame + 1L [18:02:17.544] envir <- sys.frame(frame) [18:02:17.544] } [18:02:17.544] } [18:02:17.544] sendCondition <<- function(cond) NULL [18:02:17.544] } [18:02:17.544] }) [18:02:17.544] withCallingHandlers({ [18:02:17.544] NA [18:02:17.544] }, immediateCondition = function(cond) { [18:02:17.544] sendCondition <- ...future.makeSendCondition() [18:02:17.544] sendCondition(cond) [18:02:17.544] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.544] { [18:02:17.544] inherits <- base::inherits [18:02:17.544] invokeRestart <- base::invokeRestart [18:02:17.544] is.null <- base::is.null [18:02:17.544] muffled <- FALSE [18:02:17.544] if (inherits(cond, "message")) { [18:02:17.544] muffled <- grepl(pattern, "muffleMessage") [18:02:17.544] if (muffled) [18:02:17.544] invokeRestart("muffleMessage") [18:02:17.544] } [18:02:17.544] else if (inherits(cond, "warning")) { [18:02:17.544] muffled <- grepl(pattern, "muffleWarning") [18:02:17.544] if (muffled) [18:02:17.544] invokeRestart("muffleWarning") [18:02:17.544] } [18:02:17.544] else if (inherits(cond, "condition")) { [18:02:17.544] if (!is.null(pattern)) { [18:02:17.544] computeRestarts <- base::computeRestarts [18:02:17.544] grepl <- base::grepl [18:02:17.544] restarts <- computeRestarts(cond) [18:02:17.544] for (restart in restarts) { [18:02:17.544] name <- restart$name [18:02:17.544] if (is.null(name)) [18:02:17.544] next [18:02:17.544] if (!grepl(pattern, name)) [18:02:17.544] next [18:02:17.544] invokeRestart(restart) [18:02:17.544] muffled <- TRUE [18:02:17.544] break [18:02:17.544] } [18:02:17.544] } [18:02:17.544] } [18:02:17.544] invisible(muffled) [18:02:17.544] } [18:02:17.544] muffleCondition(cond) [18:02:17.544] }) [18:02:17.544] })) [18:02:17.544] future::FutureResult(value = ...future.value$value, [18:02:17.544] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:02:17.544] ...future.rng), globalenv = if (FALSE) [18:02:17.544] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:02:17.544] ...future.globalenv.names)) [18:02:17.544] else NULL, started = ...future.startTime, version = "1.8") [18:02:17.544] }, condition = base::local({ [18:02:17.544] c <- base::c [18:02:17.544] inherits <- base::inherits [18:02:17.544] invokeRestart <- base::invokeRestart [18:02:17.544] length <- base::length [18:02:17.544] list <- base::list [18:02:17.544] seq.int <- base::seq.int [18:02:17.544] signalCondition <- base::signalCondition [18:02:17.544] sys.calls <- base::sys.calls [18:02:17.544] `[[` <- base::`[[` [18:02:17.544] `+` <- base::`+` [18:02:17.544] `<<-` <- base::`<<-` [18:02:17.544] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:02:17.544] calls[seq.int(from = from + 12L, to = length(calls) - [18:02:17.544] 3L)] [18:02:17.544] } [18:02:17.544] function(cond) { [18:02:17.544] is_error <- inherits(cond, "error") [18:02:17.544] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:02:17.544] NULL) [18:02:17.544] if (is_error) { [18:02:17.544] sessionInformation <- function() { [18:02:17.544] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:02:17.544] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:02:17.544] search = base::search(), system = base::Sys.info()) [18:02:17.544] } [18:02:17.544] ...future.conditions[[length(...future.conditions) + [18:02:17.544] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:02:17.544] cond$call), session = sessionInformation(), [18:02:17.544] timestamp = base::Sys.time(), signaled = 0L) [18:02:17.544] signalCondition(cond) [18:02:17.544] } [18:02:17.544] else if (!ignore && TRUE && inherits(cond, c("condition", [18:02:17.544] "immediateCondition"))) { [18:02:17.544] signal <- TRUE && inherits(cond, "immediateCondition") [18:02:17.544] ...future.conditions[[length(...future.conditions) + [18:02:17.544] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:02:17.544] if (TRUE && !signal) { [18:02:17.544] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.544] { [18:02:17.544] inherits <- base::inherits [18:02:17.544] invokeRestart <- base::invokeRestart [18:02:17.544] is.null <- base::is.null [18:02:17.544] muffled <- FALSE [18:02:17.544] if (inherits(cond, "message")) { [18:02:17.544] muffled <- grepl(pattern, "muffleMessage") [18:02:17.544] if (muffled) [18:02:17.544] invokeRestart("muffleMessage") [18:02:17.544] } [18:02:17.544] else if (inherits(cond, "warning")) { [18:02:17.544] muffled <- grepl(pattern, "muffleWarning") [18:02:17.544] if (muffled) [18:02:17.544] invokeRestart("muffleWarning") [18:02:17.544] } [18:02:17.544] else if (inherits(cond, "condition")) { [18:02:17.544] if (!is.null(pattern)) { [18:02:17.544] computeRestarts <- base::computeRestarts [18:02:17.544] grepl <- base::grepl [18:02:17.544] restarts <- computeRestarts(cond) [18:02:17.544] for (restart in restarts) { [18:02:17.544] name <- restart$name [18:02:17.544] if (is.null(name)) [18:02:17.544] next [18:02:17.544] if (!grepl(pattern, name)) [18:02:17.544] next [18:02:17.544] invokeRestart(restart) [18:02:17.544] muffled <- TRUE [18:02:17.544] break [18:02:17.544] } [18:02:17.544] } [18:02:17.544] } [18:02:17.544] invisible(muffled) [18:02:17.544] } [18:02:17.544] muffleCondition(cond, pattern = "^muffle") [18:02:17.544] } [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] if (TRUE) { [18:02:17.544] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.544] { [18:02:17.544] inherits <- base::inherits [18:02:17.544] invokeRestart <- base::invokeRestart [18:02:17.544] is.null <- base::is.null [18:02:17.544] muffled <- FALSE [18:02:17.544] if (inherits(cond, "message")) { [18:02:17.544] muffled <- grepl(pattern, "muffleMessage") [18:02:17.544] if (muffled) [18:02:17.544] invokeRestart("muffleMessage") [18:02:17.544] } [18:02:17.544] else if (inherits(cond, "warning")) { [18:02:17.544] muffled <- grepl(pattern, "muffleWarning") [18:02:17.544] if (muffled) [18:02:17.544] invokeRestart("muffleWarning") [18:02:17.544] } [18:02:17.544] else if (inherits(cond, "condition")) { [18:02:17.544] if (!is.null(pattern)) { [18:02:17.544] computeRestarts <- base::computeRestarts [18:02:17.544] grepl <- base::grepl [18:02:17.544] restarts <- computeRestarts(cond) [18:02:17.544] for (restart in restarts) { [18:02:17.544] name <- restart$name [18:02:17.544] if (is.null(name)) [18:02:17.544] next [18:02:17.544] if (!grepl(pattern, name)) [18:02:17.544] next [18:02:17.544] invokeRestart(restart) [18:02:17.544] muffled <- TRUE [18:02:17.544] break [18:02:17.544] } [18:02:17.544] } [18:02:17.544] } [18:02:17.544] invisible(muffled) [18:02:17.544] } [18:02:17.544] muffleCondition(cond, pattern = "^muffle") [18:02:17.544] } [18:02:17.544] } [18:02:17.544] } [18:02:17.544] })) [18:02:17.544] }, error = function(ex) { [18:02:17.544] base::structure(base::list(value = NULL, visible = NULL, [18:02:17.544] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:02:17.544] ...future.rng), started = ...future.startTime, [18:02:17.544] finished = Sys.time(), session_uuid = NA_character_, [18:02:17.544] version = "1.8"), class = "FutureResult") [18:02:17.544] }, finally = { [18:02:17.544] if (!identical(...future.workdir, getwd())) [18:02:17.544] setwd(...future.workdir) [18:02:17.544] { [18:02:17.544] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:02:17.544] ...future.oldOptions$nwarnings <- NULL [18:02:17.544] } [18:02:17.544] base::options(...future.oldOptions) [18:02:17.544] if (.Platform$OS.type == "windows") { [18:02:17.544] old_names <- names(...future.oldEnvVars) [18:02:17.544] envs <- base::Sys.getenv() [18:02:17.544] names <- names(envs) [18:02:17.544] common <- intersect(names, old_names) [18:02:17.544] added <- setdiff(names, old_names) [18:02:17.544] removed <- setdiff(old_names, names) [18:02:17.544] changed <- common[...future.oldEnvVars[common] != [18:02:17.544] envs[common]] [18:02:17.544] NAMES <- toupper(changed) [18:02:17.544] args <- list() [18:02:17.544] for (kk in seq_along(NAMES)) { [18:02:17.544] name <- changed[[kk]] [18:02:17.544] NAME <- NAMES[[kk]] [18:02:17.544] if (name != NAME && is.element(NAME, old_names)) [18:02:17.544] next [18:02:17.544] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:17.544] } [18:02:17.544] NAMES <- toupper(added) [18:02:17.544] for (kk in seq_along(NAMES)) { [18:02:17.544] name <- added[[kk]] [18:02:17.544] NAME <- NAMES[[kk]] [18:02:17.544] if (name != NAME && is.element(NAME, old_names)) [18:02:17.544] next [18:02:17.544] args[[name]] <- "" [18:02:17.544] } [18:02:17.544] NAMES <- toupper(removed) [18:02:17.544] for (kk in seq_along(NAMES)) { [18:02:17.544] name <- removed[[kk]] [18:02:17.544] NAME <- NAMES[[kk]] [18:02:17.544] if (name != NAME && is.element(NAME, old_names)) [18:02:17.544] next [18:02:17.544] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:17.544] } [18:02:17.544] if (length(args) > 0) [18:02:17.544] base::do.call(base::Sys.setenv, args = args) [18:02:17.544] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:02:17.544] } [18:02:17.544] { [18:02:17.544] if (base::length(...future.futureOptionsAdded) > [18:02:17.544] 0L) { [18:02:17.544] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:02:17.544] base::names(opts) <- ...future.futureOptionsAdded [18:02:17.544] base::options(opts) [18:02:17.544] } [18:02:17.544] { [18:02:17.544] { [18:02:17.544] base::options(mc.cores = ...future.mc.cores.old) [18:02:17.544] NULL [18:02:17.544] } [18:02:17.544] options(future.plan = NULL) [18:02:17.544] if (is.na(NA_character_)) [18:02:17.544] Sys.unsetenv("R_FUTURE_PLAN") [18:02:17.544] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:02:17.544] future::plan(list(function (..., workers = availableCores(), [18:02:17.544] lazy = FALSE, rscript_libs = .libPaths(), [18:02:17.544] envir = parent.frame()) [18:02:17.544] { [18:02:17.544] if (is.function(workers)) [18:02:17.544] workers <- workers() [18:02:17.544] workers <- structure(as.integer(workers), [18:02:17.544] class = class(workers)) [18:02:17.544] stop_if_not(length(workers) == 1, is.finite(workers), [18:02:17.544] workers >= 1) [18:02:17.544] if (workers == 1L && !inherits(workers, "AsIs")) { [18:02:17.544] return(sequential(..., lazy = TRUE, envir = envir)) [18:02:17.544] } [18:02:17.544] future <- MultisessionFuture(..., workers = workers, [18:02:17.544] lazy = lazy, rscript_libs = rscript_libs, [18:02:17.544] envir = envir) [18:02:17.544] if (!future$lazy) [18:02:17.544] future <- run(future) [18:02:17.544] invisible(future) [18:02:17.544] }), .cleanup = FALSE, .init = FALSE) [18:02:17.544] } [18:02:17.544] } [18:02:17.544] } [18:02:17.544] }) [18:02:17.544] if (TRUE) { [18:02:17.544] base::sink(type = "output", split = FALSE) [18:02:17.544] if (TRUE) { [18:02:17.544] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:02:17.544] } [18:02:17.544] else { [18:02:17.544] ...future.result["stdout"] <- base::list(NULL) [18:02:17.544] } [18:02:17.544] base::close(...future.stdout) [18:02:17.544] ...future.stdout <- NULL [18:02:17.544] } [18:02:17.544] ...future.result$conditions <- ...future.conditions [18:02:17.544] ...future.result$finished <- base::Sys.time() [18:02:17.544] ...future.result [18:02:17.544] } [18:02:17.629] MultisessionFuture started [18:02:17.630] result() for ClusterFuture ... [18:02:17.631] receiveMessageFromWorker() for ClusterFuture ... [18:02:17.631] - Validating connection of MultisessionFuture [18:02:17.688] - received message: FutureResult [18:02:17.688] - Received FutureResult [18:02:17.692] - Erased future from FutureRegistry [18:02:17.693] result() for ClusterFuture ... [18:02:17.693] - result already collected: FutureResult [18:02:17.693] result() for ClusterFuture ... done [18:02:17.693] receiveMessageFromWorker() for ClusterFuture ... done [18:02:17.693] result() for ClusterFuture ... done [18:02:17.694] result() for ClusterFuture ... [18:02:17.694] - result already collected: FutureResult [18:02:17.694] result() for ClusterFuture ... done [18:02:17.694] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE [18:02:17.697] plan(): nbrOfWorkers() = 2 nbrOfWorkers: 2 [18:02:17.704] getGlobalsAndPackages() ... [18:02:17.705] [18:02:17.705] - globals: [0] [18:02:17.705] getGlobalsAndPackages() ... DONE nbrOfFreeWorkers: 2 [18:02:17.722] getGlobalsAndPackages() ... [18:02:17.722] [18:02:17.723] - globals: [0] [18:02:17.723] getGlobalsAndPackages() ... DONE nbrOfFreeWorkers(background = TRUE): 2 [18:02:17.736] plan(): Setting new future strategy stack: [18:02:17.736] List of future strategies: [18:02:17.736] 1. multisession: [18:02:17.736] - args: function (..., workers = 1L, envir = parent.frame()) [18:02:17.736] - tweaked: TRUE [18:02:17.736] - call: plan(strategy, workers = 1L) [18:02:17.737] plan(): plan_init() of 'tweaked', 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... [18:02:17.737] multisession: [18:02:17.737] - args: function (..., workers = 1L, envir = parent.frame()) [18:02:17.737] - tweaked: TRUE [18:02:17.737] - call: plan(strategy, workers = 1L) [18:02:17.738] getGlobalsAndPackages() ... [18:02:17.738] Not searching for globals [18:02:17.739] - globals: [0] [18:02:17.739] getGlobalsAndPackages() ... DONE [18:02:17.740] Packages needed by the future expression (n = 0): [18:02:17.740] Packages needed by future strategies (n = 0): [18:02:17.741] { [18:02:17.741] { [18:02:17.741] { [18:02:17.741] ...future.startTime <- base::Sys.time() [18:02:17.741] { [18:02:17.741] { [18:02:17.741] { [18:02:17.741] base::local({ [18:02:17.741] has_future <- base::requireNamespace("future", [18:02:17.741] quietly = TRUE) [18:02:17.741] if (has_future) { [18:02:17.741] ns <- base::getNamespace("future") [18:02:17.741] version <- ns[[".package"]][["version"]] [18:02:17.741] if (is.null(version)) [18:02:17.741] version <- utils::packageVersion("future") [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] version <- NULL [18:02:17.741] } [18:02:17.741] if (!has_future || version < "1.8.0") { [18:02:17.741] info <- base::c(r_version = base::gsub("R version ", [18:02:17.741] "", base::R.version$version.string), [18:02:17.741] platform = base::sprintf("%s (%s-bit)", [18:02:17.741] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:02:17.741] os = base::paste(base::Sys.info()[base::c("sysname", [18:02:17.741] "release", "version")], collapse = " "), [18:02:17.741] hostname = base::Sys.info()[["nodename"]]) [18:02:17.741] info <- base::sprintf("%s: %s", base::names(info), [18:02:17.741] info) [18:02:17.741] info <- base::paste(info, collapse = "; ") [18:02:17.741] if (!has_future) { [18:02:17.741] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:02:17.741] info) [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:02:17.741] info, version) [18:02:17.741] } [18:02:17.741] base::stop(msg) [18:02:17.741] } [18:02:17.741] }) [18:02:17.741] } [18:02:17.741] options(future.plan = NULL) [18:02:17.741] Sys.unsetenv("R_FUTURE_PLAN") [18:02:17.741] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:02:17.741] } [18:02:17.741] ...future.workdir <- getwd() [18:02:17.741] } [18:02:17.741] ...future.oldOptions <- base::as.list(base::.Options) [18:02:17.741] ...future.oldEnvVars <- base::Sys.getenv() [18:02:17.741] } [18:02:17.741] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:02:17.741] future.globals.maxSize = NULL, future.globals.method = NULL, [18:02:17.741] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:02:17.741] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:02:17.741] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:02:17.741] future.stdout.windows.reencode = NULL, width = 80L) [18:02:17.741] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:02:17.741] base::names(...future.oldOptions)) [18:02:17.741] } [18:02:17.741] if (FALSE) { [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] if (TRUE) { [18:02:17.741] ...future.stdout <- base::rawConnection(base::raw(0L), [18:02:17.741] open = "w") [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:02:17.741] windows = "NUL", "/dev/null"), open = "w") [18:02:17.741] } [18:02:17.741] base::sink(...future.stdout, type = "output", split = FALSE) [18:02:17.741] base::on.exit(if (!base::is.null(...future.stdout)) { [18:02:17.741] base::sink(type = "output", split = FALSE) [18:02:17.741] base::close(...future.stdout) [18:02:17.741] }, add = TRUE) [18:02:17.741] } [18:02:17.741] ...future.frame <- base::sys.nframe() [18:02:17.741] ...future.conditions <- base::list() [18:02:17.741] ...future.rng <- base::globalenv()$.Random.seed [18:02:17.741] if (FALSE) { [18:02:17.741] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:02:17.741] "...future.value", "...future.globalenv.names", ".Random.seed") [18:02:17.741] } [18:02:17.741] ...future.result <- base::tryCatch({ [18:02:17.741] base::withCallingHandlers({ [18:02:17.741] ...future.value <- base::withVisible(base::local(NA)) [18:02:17.741] future::FutureResult(value = ...future.value$value, [18:02:17.741] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:02:17.741] ...future.rng), globalenv = if (FALSE) [18:02:17.741] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:02:17.741] ...future.globalenv.names)) [18:02:17.741] else NULL, started = ...future.startTime, version = "1.8") [18:02:17.741] }, condition = base::local({ [18:02:17.741] c <- base::c [18:02:17.741] inherits <- base::inherits [18:02:17.741] invokeRestart <- base::invokeRestart [18:02:17.741] length <- base::length [18:02:17.741] list <- base::list [18:02:17.741] seq.int <- base::seq.int [18:02:17.741] signalCondition <- base::signalCondition [18:02:17.741] sys.calls <- base::sys.calls [18:02:17.741] `[[` <- base::`[[` [18:02:17.741] `+` <- base::`+` [18:02:17.741] `<<-` <- base::`<<-` [18:02:17.741] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:02:17.741] calls[seq.int(from = from + 12L, to = length(calls) - [18:02:17.741] 3L)] [18:02:17.741] } [18:02:17.741] function(cond) { [18:02:17.741] is_error <- inherits(cond, "error") [18:02:17.741] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:02:17.741] NULL) [18:02:17.741] if (is_error) { [18:02:17.741] sessionInformation <- function() { [18:02:17.741] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:02:17.741] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:02:17.741] search = base::search(), system = base::Sys.info()) [18:02:17.741] } [18:02:17.741] ...future.conditions[[length(...future.conditions) + [18:02:17.741] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:02:17.741] cond$call), session = sessionInformation(), [18:02:17.741] timestamp = base::Sys.time(), signaled = 0L) [18:02:17.741] signalCondition(cond) [18:02:17.741] } [18:02:17.741] else if (!ignore && TRUE && inherits(cond, c("condition", [18:02:17.741] "immediateCondition"))) { [18:02:17.741] signal <- TRUE && inherits(cond, "immediateCondition") [18:02:17.741] ...future.conditions[[length(...future.conditions) + [18:02:17.741] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:02:17.741] if (TRUE && !signal) { [18:02:17.741] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.741] { [18:02:17.741] inherits <- base::inherits [18:02:17.741] invokeRestart <- base::invokeRestart [18:02:17.741] is.null <- base::is.null [18:02:17.741] muffled <- FALSE [18:02:17.741] if (inherits(cond, "message")) { [18:02:17.741] muffled <- grepl(pattern, "muffleMessage") [18:02:17.741] if (muffled) [18:02:17.741] invokeRestart("muffleMessage") [18:02:17.741] } [18:02:17.741] else if (inherits(cond, "warning")) { [18:02:17.741] muffled <- grepl(pattern, "muffleWarning") [18:02:17.741] if (muffled) [18:02:17.741] invokeRestart("muffleWarning") [18:02:17.741] } [18:02:17.741] else if (inherits(cond, "condition")) { [18:02:17.741] if (!is.null(pattern)) { [18:02:17.741] computeRestarts <- base::computeRestarts [18:02:17.741] grepl <- base::grepl [18:02:17.741] restarts <- computeRestarts(cond) [18:02:17.741] for (restart in restarts) { [18:02:17.741] name <- restart$name [18:02:17.741] if (is.null(name)) [18:02:17.741] next [18:02:17.741] if (!grepl(pattern, name)) [18:02:17.741] next [18:02:17.741] invokeRestart(restart) [18:02:17.741] muffled <- TRUE [18:02:17.741] break [18:02:17.741] } [18:02:17.741] } [18:02:17.741] } [18:02:17.741] invisible(muffled) [18:02:17.741] } [18:02:17.741] muffleCondition(cond, pattern = "^muffle") [18:02:17.741] } [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] if (TRUE) { [18:02:17.741] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.741] { [18:02:17.741] inherits <- base::inherits [18:02:17.741] invokeRestart <- base::invokeRestart [18:02:17.741] is.null <- base::is.null [18:02:17.741] muffled <- FALSE [18:02:17.741] if (inherits(cond, "message")) { [18:02:17.741] muffled <- grepl(pattern, "muffleMessage") [18:02:17.741] if (muffled) [18:02:17.741] invokeRestart("muffleMessage") [18:02:17.741] } [18:02:17.741] else if (inherits(cond, "warning")) { [18:02:17.741] muffled <- grepl(pattern, "muffleWarning") [18:02:17.741] if (muffled) [18:02:17.741] invokeRestart("muffleWarning") [18:02:17.741] } [18:02:17.741] else if (inherits(cond, "condition")) { [18:02:17.741] if (!is.null(pattern)) { [18:02:17.741] computeRestarts <- base::computeRestarts [18:02:17.741] grepl <- base::grepl [18:02:17.741] restarts <- computeRestarts(cond) [18:02:17.741] for (restart in restarts) { [18:02:17.741] name <- restart$name [18:02:17.741] if (is.null(name)) [18:02:17.741] next [18:02:17.741] if (!grepl(pattern, name)) [18:02:17.741] next [18:02:17.741] invokeRestart(restart) [18:02:17.741] muffled <- TRUE [18:02:17.741] break [18:02:17.741] } [18:02:17.741] } [18:02:17.741] } [18:02:17.741] invisible(muffled) [18:02:17.741] } [18:02:17.741] muffleCondition(cond, pattern = "^muffle") [18:02:17.741] } [18:02:17.741] } [18:02:17.741] } [18:02:17.741] })) [18:02:17.741] }, error = function(ex) { [18:02:17.741] base::structure(base::list(value = NULL, visible = NULL, [18:02:17.741] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:02:17.741] ...future.rng), started = ...future.startTime, [18:02:17.741] finished = Sys.time(), session_uuid = NA_character_, [18:02:17.741] version = "1.8"), class = "FutureResult") [18:02:17.741] }, finally = { [18:02:17.741] if (!identical(...future.workdir, getwd())) [18:02:17.741] setwd(...future.workdir) [18:02:17.741] { [18:02:17.741] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:02:17.741] ...future.oldOptions$nwarnings <- NULL [18:02:17.741] } [18:02:17.741] base::options(...future.oldOptions) [18:02:17.741] if (.Platform$OS.type == "windows") { [18:02:17.741] old_names <- names(...future.oldEnvVars) [18:02:17.741] envs <- base::Sys.getenv() [18:02:17.741] names <- names(envs) [18:02:17.741] common <- intersect(names, old_names) [18:02:17.741] added <- setdiff(names, old_names) [18:02:17.741] removed <- setdiff(old_names, names) [18:02:17.741] changed <- common[...future.oldEnvVars[common] != [18:02:17.741] envs[common]] [18:02:17.741] NAMES <- toupper(changed) [18:02:17.741] args <- list() [18:02:17.741] for (kk in seq_along(NAMES)) { [18:02:17.741] name <- changed[[kk]] [18:02:17.741] NAME <- NAMES[[kk]] [18:02:17.741] if (name != NAME && is.element(NAME, old_names)) [18:02:17.741] next [18:02:17.741] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:17.741] } [18:02:17.741] NAMES <- toupper(added) [18:02:17.741] for (kk in seq_along(NAMES)) { [18:02:17.741] name <- added[[kk]] [18:02:17.741] NAME <- NAMES[[kk]] [18:02:17.741] if (name != NAME && is.element(NAME, old_names)) [18:02:17.741] next [18:02:17.741] args[[name]] <- "" [18:02:17.741] } [18:02:17.741] NAMES <- toupper(removed) [18:02:17.741] for (kk in seq_along(NAMES)) { [18:02:17.741] name <- removed[[kk]] [18:02:17.741] NAME <- NAMES[[kk]] [18:02:17.741] if (name != NAME && is.element(NAME, old_names)) [18:02:17.741] next [18:02:17.741] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:17.741] } [18:02:17.741] if (length(args) > 0) [18:02:17.741] base::do.call(base::Sys.setenv, args = args) [18:02:17.741] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:02:17.741] } [18:02:17.741] { [18:02:17.741] if (base::length(...future.futureOptionsAdded) > [18:02:17.741] 0L) { [18:02:17.741] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:02:17.741] base::names(opts) <- ...future.futureOptionsAdded [18:02:17.741] base::options(opts) [18:02:17.741] } [18:02:17.741] { [18:02:17.741] { [18:02:17.741] NULL [18:02:17.741] RNGkind("Mersenne-Twister") [18:02:17.741] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:02:17.741] inherits = FALSE) [18:02:17.741] } [18:02:17.741] options(future.plan = NULL) [18:02:17.741] if (is.na(NA_character_)) [18:02:17.741] Sys.unsetenv("R_FUTURE_PLAN") [18:02:17.741] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:02:17.741] future::plan(list(function (..., workers = 1L, [18:02:17.741] envir = parent.frame()) [18:02:17.741] strategy(..., workers = workers, envir = envir)), [18:02:17.741] .cleanup = FALSE, .init = FALSE) [18:02:17.741] } [18:02:17.741] } [18:02:17.741] } [18:02:17.741] }) [18:02:17.741] if (TRUE) { [18:02:17.741] base::sink(type = "output", split = FALSE) [18:02:17.741] if (TRUE) { [18:02:17.741] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:02:17.741] } [18:02:17.741] else { [18:02:17.741] ...future.result["stdout"] <- base::list(NULL) [18:02:17.741] } [18:02:17.741] base::close(...future.stdout) [18:02:17.741] ...future.stdout <- NULL [18:02:17.741] } [18:02:17.741] ...future.result$conditions <- ...future.conditions [18:02:17.741] ...future.result$finished <- base::Sys.time() [18:02:17.741] ...future.result [18:02:17.741] } [18:02:17.745] plan(): Setting new future strategy stack: [18:02:17.745] List of future strategies: [18:02:17.745] 1. sequential: [18:02:17.745] - args: function (..., envir = parent.frame()) [18:02:17.745] - tweaked: FALSE [18:02:17.745] - call: NULL [18:02:17.746] plan(): nbrOfWorkers() = 1 [18:02:17.748] plan(): Setting new future strategy stack: [18:02:17.749] List of future strategies: [18:02:17.749] 1. multisession: [18:02:17.749] - args: function (..., workers = 1L, envir = parent.frame()) [18:02:17.749] - tweaked: TRUE [18:02:17.749] - call: plan(strategy, workers = 1L) [18:02:17.749] plan(): nbrOfWorkers() = 1 [18:02:17.750] SequentialFuture started (and completed) [18:02:17.750] plan(): plan_init() of 'tweaked', 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE [18:02:17.750] plan(): nbrOfWorkers() = 1 nbrOfWorkers: 1 [18:02:17.751] getGlobalsAndPackages() ... [18:02:17.751] Searching for globals... [18:02:17.754] [18:02:17.754] Searching for globals ... DONE [18:02:17.755] - globals: [0] [18:02:17.755] getGlobalsAndPackages() ... DONE nbrOfFreeWorkers: 1 [18:02:17.756] getGlobalsAndPackages() ... [18:02:17.756] Searching for globals... [18:02:17.756] [18:02:17.756] Searching for globals ... DONE [18:02:17.757] - globals: [0] [18:02:17.757] getGlobalsAndPackages() ... DONE nbrOfFreeWorkers(background = TRUE): 0 [18:02:17.758] plan(): Setting new future strategy stack: [18:02:17.758] List of future strategies: [18:02:17.758] 1. multisession: [18:02:17.758] - args: function (..., workers = "", envir = parent.frame()) [18:02:17.758] - tweaked: TRUE [18:02:17.758] - call: plan(strategy, workers = allButOneCore) [18:02:17.759] plan(): plan_init() of 'tweaked', 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... [18:02:17.759] multisession: [18:02:17.759] - args: function (..., workers = "", envir = parent.frame()) [18:02:17.759] - tweaked: TRUE [18:02:17.759] - call: plan(strategy, workers = allButOneCore) [18:02:17.765] getGlobalsAndPackages() ... [18:02:17.765] Not searching for globals [18:02:17.766] - globals: [0] [18:02:17.766] getGlobalsAndPackages() ... DONE [18:02:17.766] Packages needed by the future expression (n = 0): [18:02:17.766] Packages needed by future strategies (n = 0): [18:02:17.767] { [18:02:17.767] { [18:02:17.767] { [18:02:17.767] ...future.startTime <- base::Sys.time() [18:02:17.767] { [18:02:17.767] { [18:02:17.767] { [18:02:17.767] base::local({ [18:02:17.767] has_future <- base::requireNamespace("future", [18:02:17.767] quietly = TRUE) [18:02:17.767] if (has_future) { [18:02:17.767] ns <- base::getNamespace("future") [18:02:17.767] version <- ns[[".package"]][["version"]] [18:02:17.767] if (is.null(version)) [18:02:17.767] version <- utils::packageVersion("future") [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] version <- NULL [18:02:17.767] } [18:02:17.767] if (!has_future || version < "1.8.0") { [18:02:17.767] info <- base::c(r_version = base::gsub("R version ", [18:02:17.767] "", base::R.version$version.string), [18:02:17.767] platform = base::sprintf("%s (%s-bit)", [18:02:17.767] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:02:17.767] os = base::paste(base::Sys.info()[base::c("sysname", [18:02:17.767] "release", "version")], collapse = " "), [18:02:17.767] hostname = base::Sys.info()[["nodename"]]) [18:02:17.767] info <- base::sprintf("%s: %s", base::names(info), [18:02:17.767] info) [18:02:17.767] info <- base::paste(info, collapse = "; ") [18:02:17.767] if (!has_future) { [18:02:17.767] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:02:17.767] info) [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:02:17.767] info, version) [18:02:17.767] } [18:02:17.767] base::stop(msg) [18:02:17.767] } [18:02:17.767] }) [18:02:17.767] } [18:02:17.767] options(future.plan = NULL) [18:02:17.767] Sys.unsetenv("R_FUTURE_PLAN") [18:02:17.767] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:02:17.767] } [18:02:17.767] ...future.workdir <- getwd() [18:02:17.767] } [18:02:17.767] ...future.oldOptions <- base::as.list(base::.Options) [18:02:17.767] ...future.oldEnvVars <- base::Sys.getenv() [18:02:17.767] } [18:02:17.767] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:02:17.767] future.globals.maxSize = NULL, future.globals.method = NULL, [18:02:17.767] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:02:17.767] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:02:17.767] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:02:17.767] future.stdout.windows.reencode = NULL, width = 80L) [18:02:17.767] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:02:17.767] base::names(...future.oldOptions)) [18:02:17.767] } [18:02:17.767] if (FALSE) { [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] if (TRUE) { [18:02:17.767] ...future.stdout <- base::rawConnection(base::raw(0L), [18:02:17.767] open = "w") [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:02:17.767] windows = "NUL", "/dev/null"), open = "w") [18:02:17.767] } [18:02:17.767] base::sink(...future.stdout, type = "output", split = FALSE) [18:02:17.767] base::on.exit(if (!base::is.null(...future.stdout)) { [18:02:17.767] base::sink(type = "output", split = FALSE) [18:02:17.767] base::close(...future.stdout) [18:02:17.767] }, add = TRUE) [18:02:17.767] } [18:02:17.767] ...future.frame <- base::sys.nframe() [18:02:17.767] ...future.conditions <- base::list() [18:02:17.767] ...future.rng <- base::globalenv()$.Random.seed [18:02:17.767] if (FALSE) { [18:02:17.767] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:02:17.767] "...future.value", "...future.globalenv.names", ".Random.seed") [18:02:17.767] } [18:02:17.767] ...future.result <- base::tryCatch({ [18:02:17.767] base::withCallingHandlers({ [18:02:17.767] ...future.value <- base::withVisible(base::local(NA)) [18:02:17.767] future::FutureResult(value = ...future.value$value, [18:02:17.767] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:02:17.767] ...future.rng), globalenv = if (FALSE) [18:02:17.767] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:02:17.767] ...future.globalenv.names)) [18:02:17.767] else NULL, started = ...future.startTime, version = "1.8") [18:02:17.767] }, condition = base::local({ [18:02:17.767] c <- base::c [18:02:17.767] inherits <- base::inherits [18:02:17.767] invokeRestart <- base::invokeRestart [18:02:17.767] length <- base::length [18:02:17.767] list <- base::list [18:02:17.767] seq.int <- base::seq.int [18:02:17.767] signalCondition <- base::signalCondition [18:02:17.767] sys.calls <- base::sys.calls [18:02:17.767] `[[` <- base::`[[` [18:02:17.767] `+` <- base::`+` [18:02:17.767] `<<-` <- base::`<<-` [18:02:17.767] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:02:17.767] calls[seq.int(from = from + 12L, to = length(calls) - [18:02:17.767] 3L)] [18:02:17.767] } [18:02:17.767] function(cond) { [18:02:17.767] is_error <- inherits(cond, "error") [18:02:17.767] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:02:17.767] NULL) [18:02:17.767] if (is_error) { [18:02:17.767] sessionInformation <- function() { [18:02:17.767] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:02:17.767] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:02:17.767] search = base::search(), system = base::Sys.info()) [18:02:17.767] } [18:02:17.767] ...future.conditions[[length(...future.conditions) + [18:02:17.767] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:02:17.767] cond$call), session = sessionInformation(), [18:02:17.767] timestamp = base::Sys.time(), signaled = 0L) [18:02:17.767] signalCondition(cond) [18:02:17.767] } [18:02:17.767] else if (!ignore && TRUE && inherits(cond, c("condition", [18:02:17.767] "immediateCondition"))) { [18:02:17.767] signal <- TRUE && inherits(cond, "immediateCondition") [18:02:17.767] ...future.conditions[[length(...future.conditions) + [18:02:17.767] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:02:17.767] if (TRUE && !signal) { [18:02:17.767] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.767] { [18:02:17.767] inherits <- base::inherits [18:02:17.767] invokeRestart <- base::invokeRestart [18:02:17.767] is.null <- base::is.null [18:02:17.767] muffled <- FALSE [18:02:17.767] if (inherits(cond, "message")) { [18:02:17.767] muffled <- grepl(pattern, "muffleMessage") [18:02:17.767] if (muffled) [18:02:17.767] invokeRestart("muffleMessage") [18:02:17.767] } [18:02:17.767] else if (inherits(cond, "warning")) { [18:02:17.767] muffled <- grepl(pattern, "muffleWarning") [18:02:17.767] if (muffled) [18:02:17.767] invokeRestart("muffleWarning") [18:02:17.767] } [18:02:17.767] else if (inherits(cond, "condition")) { [18:02:17.767] if (!is.null(pattern)) { [18:02:17.767] computeRestarts <- base::computeRestarts [18:02:17.767] grepl <- base::grepl [18:02:17.767] restarts <- computeRestarts(cond) [18:02:17.767] for (restart in restarts) { [18:02:17.767] name <- restart$name [18:02:17.767] if (is.null(name)) [18:02:17.767] next [18:02:17.767] if (!grepl(pattern, name)) [18:02:17.767] next [18:02:17.767] invokeRestart(restart) [18:02:17.767] muffled <- TRUE [18:02:17.767] break [18:02:17.767] } [18:02:17.767] } [18:02:17.767] } [18:02:17.767] invisible(muffled) [18:02:17.767] } [18:02:17.767] muffleCondition(cond, pattern = "^muffle") [18:02:17.767] } [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] if (TRUE) { [18:02:17.767] muffleCondition <- function (cond, pattern = "^muffle") [18:02:17.767] { [18:02:17.767] inherits <- base::inherits [18:02:17.767] invokeRestart <- base::invokeRestart [18:02:17.767] is.null <- base::is.null [18:02:17.767] muffled <- FALSE [18:02:17.767] if (inherits(cond, "message")) { [18:02:17.767] muffled <- grepl(pattern, "muffleMessage") [18:02:17.767] if (muffled) [18:02:17.767] invokeRestart("muffleMessage") [18:02:17.767] } [18:02:17.767] else if (inherits(cond, "warning")) { [18:02:17.767] muffled <- grepl(pattern, "muffleWarning") [18:02:17.767] if (muffled) [18:02:17.767] invokeRestart("muffleWarning") [18:02:17.767] } [18:02:17.767] else if (inherits(cond, "condition")) { [18:02:17.767] if (!is.null(pattern)) { [18:02:17.767] computeRestarts <- base::computeRestarts [18:02:17.767] grepl <- base::grepl [18:02:17.767] restarts <- computeRestarts(cond) [18:02:17.767] for (restart in restarts) { [18:02:17.767] name <- restart$name [18:02:17.767] if (is.null(name)) [18:02:17.767] next [18:02:17.767] if (!grepl(pattern, name)) [18:02:17.767] next [18:02:17.767] invokeRestart(restart) [18:02:17.767] muffled <- TRUE [18:02:17.767] break [18:02:17.767] } [18:02:17.767] } [18:02:17.767] } [18:02:17.767] invisible(muffled) [18:02:17.767] } [18:02:17.767] muffleCondition(cond, pattern = "^muffle") [18:02:17.767] } [18:02:17.767] } [18:02:17.767] } [18:02:17.767] })) [18:02:17.767] }, error = function(ex) { [18:02:17.767] base::structure(base::list(value = NULL, visible = NULL, [18:02:17.767] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:02:17.767] ...future.rng), started = ...future.startTime, [18:02:17.767] finished = Sys.time(), session_uuid = NA_character_, [18:02:17.767] version = "1.8"), class = "FutureResult") [18:02:17.767] }, finally = { [18:02:17.767] if (!identical(...future.workdir, getwd())) [18:02:17.767] setwd(...future.workdir) [18:02:17.767] { [18:02:17.767] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:02:17.767] ...future.oldOptions$nwarnings <- NULL [18:02:17.767] } [18:02:17.767] base::options(...future.oldOptions) [18:02:17.767] if (.Platform$OS.type == "windows") { [18:02:17.767] old_names <- names(...future.oldEnvVars) [18:02:17.767] envs <- base::Sys.getenv() [18:02:17.767] names <- names(envs) [18:02:17.767] common <- intersect(names, old_names) [18:02:17.767] added <- setdiff(names, old_names) [18:02:17.767] removed <- setdiff(old_names, names) [18:02:17.767] changed <- common[...future.oldEnvVars[common] != [18:02:17.767] envs[common]] [18:02:17.767] NAMES <- toupper(changed) [18:02:17.767] args <- list() [18:02:17.767] for (kk in seq_along(NAMES)) { [18:02:17.767] name <- changed[[kk]] [18:02:17.767] NAME <- NAMES[[kk]] [18:02:17.767] if (name != NAME && is.element(NAME, old_names)) [18:02:17.767] next [18:02:17.767] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:17.767] } [18:02:17.767] NAMES <- toupper(added) [18:02:17.767] for (kk in seq_along(NAMES)) { [18:02:17.767] name <- added[[kk]] [18:02:17.767] NAME <- NAMES[[kk]] [18:02:17.767] if (name != NAME && is.element(NAME, old_names)) [18:02:17.767] next [18:02:17.767] args[[name]] <- "" [18:02:17.767] } [18:02:17.767] NAMES <- toupper(removed) [18:02:17.767] for (kk in seq_along(NAMES)) { [18:02:17.767] name <- removed[[kk]] [18:02:17.767] NAME <- NAMES[[kk]] [18:02:17.767] if (name != NAME && is.element(NAME, old_names)) [18:02:17.767] next [18:02:17.767] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:17.767] } [18:02:17.767] if (length(args) > 0) [18:02:17.767] base::do.call(base::Sys.setenv, args = args) [18:02:17.767] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:02:17.767] } [18:02:17.767] { [18:02:17.767] if (base::length(...future.futureOptionsAdded) > [18:02:17.767] 0L) { [18:02:17.767] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:02:17.767] base::names(opts) <- ...future.futureOptionsAdded [18:02:17.767] base::options(opts) [18:02:17.767] } [18:02:17.767] { [18:02:17.767] { [18:02:17.767] NULL [18:02:17.767] RNGkind("Mersenne-Twister") [18:02:17.767] base::rm(list = ".Random.seed", envir = base::globalenv(), [18:02:17.767] inherits = FALSE) [18:02:17.767] } [18:02:17.767] options(future.plan = NULL) [18:02:17.767] if (is.na(NA_character_)) [18:02:17.767] Sys.unsetenv("R_FUTURE_PLAN") [18:02:17.767] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:02:17.767] future::plan(list(function (..., workers = function () [18:02:17.767] max(1L, future::availableCores() - 1L), envir = parent.frame()) [18:02:17.767] strategy(..., workers = workers, envir = envir)), [18:02:17.767] .cleanup = FALSE, .init = FALSE) [18:02:17.767] } [18:02:17.767] } [18:02:17.767] } [18:02:17.767] }) [18:02:17.767] if (TRUE) { [18:02:17.767] base::sink(type = "output", split = FALSE) [18:02:17.767] if (TRUE) { [18:02:17.767] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:02:17.767] } [18:02:17.767] else { [18:02:17.767] ...future.result["stdout"] <- base::list(NULL) [18:02:17.767] } [18:02:17.767] base::close(...future.stdout) [18:02:17.767] ...future.stdout <- NULL [18:02:17.767] } [18:02:17.767] ...future.result$conditions <- ...future.conditions [18:02:17.767] ...future.result$finished <- base::Sys.time() [18:02:17.767] ...future.result [18:02:17.767] } [18:02:17.771] plan(): Setting new future strategy stack: [18:02:17.771] List of future strategies: [18:02:17.771] 1. sequential: [18:02:17.771] - args: function (..., envir = parent.frame()) [18:02:17.771] - tweaked: FALSE [18:02:17.771] - call: NULL [18:02:17.772] plan(): nbrOfWorkers() = 1 [18:02:17.773] plan(): Setting new future strategy stack: [18:02:17.773] List of future strategies: [18:02:17.773] 1. multisession: [18:02:17.773] - args: function (..., workers = "", envir = parent.frame()) [18:02:17.773] - tweaked: TRUE [18:02:17.773] - call: plan(strategy, workers = allButOneCore) [18:02:17.777] plan(): nbrOfWorkers() = 1 [18:02:17.777] SequentialFuture started (and completed) [18:02:17.778] plan(): plan_init() of 'tweaked', 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE [18:02:17.780] plan(): nbrOfWorkers() = 1 nbrOfWorkers: 1 [18:02:17.786] getGlobalsAndPackages() ... [18:02:17.786] Searching for globals... [18:02:17.787] [18:02:17.787] Searching for globals ... DONE [18:02:17.787] - globals: [0] [18:02:17.787] getGlobalsAndPackages() ... DONE nbrOfFreeWorkers: 1 [18:02:17.791] getGlobalsAndPackages() ... [18:02:17.792] Searching for globals... [18:02:17.792] [18:02:17.792] Searching for globals ... DONE [18:02:17.792] - globals: [0] [18:02:17.793] getGlobalsAndPackages() ... DONE nbrOfFreeWorkers(background = TRUE): 0 > > > message("Type of future: cluster") Type of future: cluster > workers <- rep("localhost", times = 2L) > plan(cluster, workers = workers) [18:02:17.793] plan(): Setting new future strategy stack: [18:02:17.794] List of future strategies: [18:02:17.794] 1. cluster: [18:02:17.794] - args: function (..., workers = c("localhost", "localhost"), envir = parent.frame()) [18:02:17.794] - tweaked: TRUE [18:02:17.794] - call: plan(cluster, workers = workers) [18:02:17.794] plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... [18:02:17.794] cluster: [18:02:17.794] - args: function (..., workers = c("localhost", "localhost"), envir = parent.frame()) [18:02:17.794] - tweaked: TRUE [18:02:17.794] - call: plan(cluster, workers = workers) [18:02:17.795] getGlobalsAndPackages() ... [18:02:17.795] Not searching for globals [18:02:17.795] - globals: [0] [18:02:17.795] getGlobalsAndPackages() ... DONE [18:02:17.796] [local output] makeClusterPSOCK() ... [18:02:17.796] [local output] Workers: [n = 2] 'localhost', 'localhost' [18:02:17.799] [local output] Base port: 34479 [18:02:17.800] [local output] Getting setup options for 2 cluster nodes ... [18:02:17.800] [local output] - Node 1 of 2 ... [18:02:17.800] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:17.802] [local output] Rscript port: 34479 [18:02:17.802] [local output] - Node 2 of 2 ... [18:02:17.802] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:17.804] [local output] Rscript port: 34479 [18:02:17.804] [local output] Getting setup options for 2 cluster nodes ... done [18:02:17.804] [local output] - Parallel setup requested for some PSOCK nodes [18:02:17.805] [local output] Setting up PSOCK nodes in parallel [18:02:17.805] List of 36 [18:02:17.805] $ worker : chr "localhost" [18:02:17.805] ..- attr(*, "localhost")= logi TRUE [18:02:17.805] $ master : chr "localhost" [18:02:17.805] $ port : int 34479 [18:02:17.805] $ connectTimeout : num 120 [18:02:17.805] $ timeout : num 120 [18:02:17.805] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [18:02:17.805] $ homogeneous : logi TRUE [18:02:17.805] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=nbrOfWorkers.R:158052:CRANWIN3:C"| __truncated__ [18:02:17.805] $ rscript_envs : NULL [18:02:17.805] $ rscript_libs : NULL [18:02:17.805] $ rscript_startup : NULL [18:02:17.805] $ rscript_sh : chr "cmd" [18:02:17.805] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:17.805] $ methods : logi TRUE [18:02:17.805] $ socketOptions : chr "no-delay" [18:02:17.805] $ useXDR : logi FALSE [18:02:17.805] $ outfile : chr "/dev/null" [18:02:17.805] $ renice : int NA [18:02:17.805] $ rshcmd : NULL [18:02:17.805] $ user : chr(0) [18:02:17.805] $ revtunnel : logi FALSE [18:02:17.805] $ rshlogfile : NULL [18:02:17.805] $ rshopts : chr(0) [18:02:17.805] $ rank : int 1 [18:02:17.805] $ manual : logi FALSE [18:02:17.805] $ dryrun : logi FALSE [18:02:17.805] $ quiet : logi FALSE [18:02:17.805] $ setup_strategy : chr "parallel" [18:02:17.805] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:17.805] $ pidfile : chr "D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.26964539e609b.pid" [18:02:17.805] $ rshcmd_label : NULL [18:02:17.805] $ rsh_call : NULL [18:02:17.805] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:17.805] $ localMachine : logi TRUE [18:02:17.805] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [18:02:17.805] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [18:02:17.805] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [18:02:17.805] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [18:02:17.805] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [18:02:17.805] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [18:02:17.805] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [18:02:17.805] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [18:02:17.805] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [18:02:17.805] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [18:02:17.805] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [18:02:17.805] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [18:02:17.805] "parallel"), action = c("launch", "options"), verbose = FALSE) [18:02:17.805] $ arguments :List of 28 [18:02:17.805] ..$ worker : chr "localhost" [18:02:17.805] ..$ master : NULL [18:02:17.805] ..$ port : int 34479 [18:02:17.805] ..$ connectTimeout : num 120 [18:02:17.805] ..$ timeout : num 120 [18:02:17.805] ..$ rscript : NULL [18:02:17.805] ..$ homogeneous : NULL [18:02:17.805] ..$ rscript_args : NULL [18:02:17.805] ..$ rscript_envs : NULL [18:02:17.805] ..$ rscript_libs : NULL [18:02:17.805] ..$ rscript_startup : NULL [18:02:17.805] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [18:02:17.805] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:17.805] ..$ methods : logi TRUE [18:02:17.805] ..$ socketOptions : chr "no-delay" [18:02:17.805] ..$ useXDR : logi FALSE [18:02:17.805] ..$ outfile : chr "/dev/null" [18:02:17.805] ..$ renice : int NA [18:02:17.805] ..$ rshcmd : NULL [18:02:17.805] ..$ user : NULL [18:02:17.805] ..$ revtunnel : logi NA [18:02:17.805] ..$ rshlogfile : NULL [18:02:17.805] ..$ rshopts : NULL [18:02:17.805] ..$ rank : int 1 [18:02:17.805] ..$ manual : logi FALSE [18:02:17.805] ..$ dryrun : logi FALSE [18:02:17.805] ..$ quiet : logi FALSE [18:02:17.805] ..$ setup_strategy : chr "parallel" [18:02:17.805] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [18:02:17.826] [local output] System call to launch all workers: [18:02:17.826] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=nbrOfWorkers.R:158052:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.26964539e609b.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=34479 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [18:02:17.827] [local output] Starting PSOCK main server [18:02:17.836] [local output] Workers launched [18:02:17.836] [local output] Waiting for workers to connect back [18:02:17.836] - [local output] 0 workers out of 2 ready [18:02:18.006] - [local output] 0 workers out of 2 ready [18:02:18.006] - [local output] 1 workers out of 2 ready [18:02:18.008] - [local output] 1 workers out of 2 ready [18:02:18.008] - [local output] 2 workers out of 2 ready [18:02:18.008] [local output] Launching of workers completed [18:02:18.009] [local output] Collecting session information from workers [18:02:18.009] [local output] - Worker #1 of 2 [18:02:18.010] [local output] - Worker #2 of 2 [18:02:18.010] [local output] makeClusterPSOCK() ... done [18:02:18.022] Packages needed by the future expression (n = 0): [18:02:18.022] Packages needed by future strategies (n = 0): [18:02:18.023] { [18:02:18.023] { [18:02:18.023] { [18:02:18.023] ...future.startTime <- base::Sys.time() [18:02:18.023] { [18:02:18.023] { [18:02:18.023] { [18:02:18.023] base::local({ [18:02:18.023] has_future <- base::requireNamespace("future", [18:02:18.023] quietly = TRUE) [18:02:18.023] if (has_future) { [18:02:18.023] ns <- base::getNamespace("future") [18:02:18.023] version <- ns[[".package"]][["version"]] [18:02:18.023] if (is.null(version)) [18:02:18.023] version <- utils::packageVersion("future") [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] version <- NULL [18:02:18.023] } [18:02:18.023] if (!has_future || version < "1.8.0") { [18:02:18.023] info <- base::c(r_version = base::gsub("R version ", [18:02:18.023] "", base::R.version$version.string), [18:02:18.023] platform = base::sprintf("%s (%s-bit)", [18:02:18.023] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:02:18.023] os = base::paste(base::Sys.info()[base::c("sysname", [18:02:18.023] "release", "version")], collapse = " "), [18:02:18.023] hostname = base::Sys.info()[["nodename"]]) [18:02:18.023] info <- base::sprintf("%s: %s", base::names(info), [18:02:18.023] info) [18:02:18.023] info <- base::paste(info, collapse = "; ") [18:02:18.023] if (!has_future) { [18:02:18.023] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:02:18.023] info) [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:02:18.023] info, version) [18:02:18.023] } [18:02:18.023] base::stop(msg) [18:02:18.023] } [18:02:18.023] }) [18:02:18.023] } [18:02:18.023] options(future.plan = NULL) [18:02:18.023] Sys.unsetenv("R_FUTURE_PLAN") [18:02:18.023] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:02:18.023] } [18:02:18.023] ...future.workdir <- getwd() [18:02:18.023] } [18:02:18.023] ...future.oldOptions <- base::as.list(base::.Options) [18:02:18.023] ...future.oldEnvVars <- base::Sys.getenv() [18:02:18.023] } [18:02:18.023] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:02:18.023] future.globals.maxSize = NULL, future.globals.method = NULL, [18:02:18.023] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:02:18.023] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:02:18.023] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:02:18.023] future.stdout.windows.reencode = NULL, width = 80L) [18:02:18.023] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:02:18.023] base::names(...future.oldOptions)) [18:02:18.023] } [18:02:18.023] if (FALSE) { [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] if (TRUE) { [18:02:18.023] ...future.stdout <- base::rawConnection(base::raw(0L), [18:02:18.023] open = "w") [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:02:18.023] windows = "NUL", "/dev/null"), open = "w") [18:02:18.023] } [18:02:18.023] base::sink(...future.stdout, type = "output", split = FALSE) [18:02:18.023] base::on.exit(if (!base::is.null(...future.stdout)) { [18:02:18.023] base::sink(type = "output", split = FALSE) [18:02:18.023] base::close(...future.stdout) [18:02:18.023] }, add = TRUE) [18:02:18.023] } [18:02:18.023] ...future.frame <- base::sys.nframe() [18:02:18.023] ...future.conditions <- base::list() [18:02:18.023] ...future.rng <- base::globalenv()$.Random.seed [18:02:18.023] if (FALSE) { [18:02:18.023] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:02:18.023] "...future.value", "...future.globalenv.names", ".Random.seed") [18:02:18.023] } [18:02:18.023] ...future.result <- base::tryCatch({ [18:02:18.023] base::withCallingHandlers({ [18:02:18.023] ...future.value <- base::withVisible(base::local({ [18:02:18.023] ...future.makeSendCondition <- local({ [18:02:18.023] sendCondition <- NULL [18:02:18.023] function(frame = 1L) { [18:02:18.023] if (is.function(sendCondition)) [18:02:18.023] return(sendCondition) [18:02:18.023] ns <- getNamespace("parallel") [18:02:18.023] if (exists("sendData", mode = "function", [18:02:18.023] envir = ns)) { [18:02:18.023] parallel_sendData <- get("sendData", mode = "function", [18:02:18.023] envir = ns) [18:02:18.023] envir <- sys.frame(frame) [18:02:18.023] master <- NULL [18:02:18.023] while (!identical(envir, .GlobalEnv) && [18:02:18.023] !identical(envir, emptyenv())) { [18:02:18.023] if (exists("master", mode = "list", envir = envir, [18:02:18.023] inherits = FALSE)) { [18:02:18.023] master <- get("master", mode = "list", [18:02:18.023] envir = envir, inherits = FALSE) [18:02:18.023] if (inherits(master, c("SOCKnode", [18:02:18.023] "SOCK0node"))) { [18:02:18.023] sendCondition <<- function(cond) { [18:02:18.023] data <- list(type = "VALUE", value = cond, [18:02:18.023] success = TRUE) [18:02:18.023] parallel_sendData(master, data) [18:02:18.023] } [18:02:18.023] return(sendCondition) [18:02:18.023] } [18:02:18.023] } [18:02:18.023] frame <- frame + 1L [18:02:18.023] envir <- sys.frame(frame) [18:02:18.023] } [18:02:18.023] } [18:02:18.023] sendCondition <<- function(cond) NULL [18:02:18.023] } [18:02:18.023] }) [18:02:18.023] withCallingHandlers({ [18:02:18.023] NA [18:02:18.023] }, immediateCondition = function(cond) { [18:02:18.023] sendCondition <- ...future.makeSendCondition() [18:02:18.023] sendCondition(cond) [18:02:18.023] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.023] { [18:02:18.023] inherits <- base::inherits [18:02:18.023] invokeRestart <- base::invokeRestart [18:02:18.023] is.null <- base::is.null [18:02:18.023] muffled <- FALSE [18:02:18.023] if (inherits(cond, "message")) { [18:02:18.023] muffled <- grepl(pattern, "muffleMessage") [18:02:18.023] if (muffled) [18:02:18.023] invokeRestart("muffleMessage") [18:02:18.023] } [18:02:18.023] else if (inherits(cond, "warning")) { [18:02:18.023] muffled <- grepl(pattern, "muffleWarning") [18:02:18.023] if (muffled) [18:02:18.023] invokeRestart("muffleWarning") [18:02:18.023] } [18:02:18.023] else if (inherits(cond, "condition")) { [18:02:18.023] if (!is.null(pattern)) { [18:02:18.023] computeRestarts <- base::computeRestarts [18:02:18.023] grepl <- base::grepl [18:02:18.023] restarts <- computeRestarts(cond) [18:02:18.023] for (restart in restarts) { [18:02:18.023] name <- restart$name [18:02:18.023] if (is.null(name)) [18:02:18.023] next [18:02:18.023] if (!grepl(pattern, name)) [18:02:18.023] next [18:02:18.023] invokeRestart(restart) [18:02:18.023] muffled <- TRUE [18:02:18.023] break [18:02:18.023] } [18:02:18.023] } [18:02:18.023] } [18:02:18.023] invisible(muffled) [18:02:18.023] } [18:02:18.023] muffleCondition(cond) [18:02:18.023] }) [18:02:18.023] })) [18:02:18.023] future::FutureResult(value = ...future.value$value, [18:02:18.023] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:02:18.023] ...future.rng), globalenv = if (FALSE) [18:02:18.023] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:02:18.023] ...future.globalenv.names)) [18:02:18.023] else NULL, started = ...future.startTime, version = "1.8") [18:02:18.023] }, condition = base::local({ [18:02:18.023] c <- base::c [18:02:18.023] inherits <- base::inherits [18:02:18.023] invokeRestart <- base::invokeRestart [18:02:18.023] length <- base::length [18:02:18.023] list <- base::list [18:02:18.023] seq.int <- base::seq.int [18:02:18.023] signalCondition <- base::signalCondition [18:02:18.023] sys.calls <- base::sys.calls [18:02:18.023] `[[` <- base::`[[` [18:02:18.023] `+` <- base::`+` [18:02:18.023] `<<-` <- base::`<<-` [18:02:18.023] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:02:18.023] calls[seq.int(from = from + 12L, to = length(calls) - [18:02:18.023] 3L)] [18:02:18.023] } [18:02:18.023] function(cond) { [18:02:18.023] is_error <- inherits(cond, "error") [18:02:18.023] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:02:18.023] NULL) [18:02:18.023] if (is_error) { [18:02:18.023] sessionInformation <- function() { [18:02:18.023] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:02:18.023] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:02:18.023] search = base::search(), system = base::Sys.info()) [18:02:18.023] } [18:02:18.023] ...future.conditions[[length(...future.conditions) + [18:02:18.023] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:02:18.023] cond$call), session = sessionInformation(), [18:02:18.023] timestamp = base::Sys.time(), signaled = 0L) [18:02:18.023] signalCondition(cond) [18:02:18.023] } [18:02:18.023] else if (!ignore && TRUE && inherits(cond, c("condition", [18:02:18.023] "immediateCondition"))) { [18:02:18.023] signal <- TRUE && inherits(cond, "immediateCondition") [18:02:18.023] ...future.conditions[[length(...future.conditions) + [18:02:18.023] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:02:18.023] if (TRUE && !signal) { [18:02:18.023] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.023] { [18:02:18.023] inherits <- base::inherits [18:02:18.023] invokeRestart <- base::invokeRestart [18:02:18.023] is.null <- base::is.null [18:02:18.023] muffled <- FALSE [18:02:18.023] if (inherits(cond, "message")) { [18:02:18.023] muffled <- grepl(pattern, "muffleMessage") [18:02:18.023] if (muffled) [18:02:18.023] invokeRestart("muffleMessage") [18:02:18.023] } [18:02:18.023] else if (inherits(cond, "warning")) { [18:02:18.023] muffled <- grepl(pattern, "muffleWarning") [18:02:18.023] if (muffled) [18:02:18.023] invokeRestart("muffleWarning") [18:02:18.023] } [18:02:18.023] else if (inherits(cond, "condition")) { [18:02:18.023] if (!is.null(pattern)) { [18:02:18.023] computeRestarts <- base::computeRestarts [18:02:18.023] grepl <- base::grepl [18:02:18.023] restarts <- computeRestarts(cond) [18:02:18.023] for (restart in restarts) { [18:02:18.023] name <- restart$name [18:02:18.023] if (is.null(name)) [18:02:18.023] next [18:02:18.023] if (!grepl(pattern, name)) [18:02:18.023] next [18:02:18.023] invokeRestart(restart) [18:02:18.023] muffled <- TRUE [18:02:18.023] break [18:02:18.023] } [18:02:18.023] } [18:02:18.023] } [18:02:18.023] invisible(muffled) [18:02:18.023] } [18:02:18.023] muffleCondition(cond, pattern = "^muffle") [18:02:18.023] } [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] if (TRUE) { [18:02:18.023] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.023] { [18:02:18.023] inherits <- base::inherits [18:02:18.023] invokeRestart <- base::invokeRestart [18:02:18.023] is.null <- base::is.null [18:02:18.023] muffled <- FALSE [18:02:18.023] if (inherits(cond, "message")) { [18:02:18.023] muffled <- grepl(pattern, "muffleMessage") [18:02:18.023] if (muffled) [18:02:18.023] invokeRestart("muffleMessage") [18:02:18.023] } [18:02:18.023] else if (inherits(cond, "warning")) { [18:02:18.023] muffled <- grepl(pattern, "muffleWarning") [18:02:18.023] if (muffled) [18:02:18.023] invokeRestart("muffleWarning") [18:02:18.023] } [18:02:18.023] else if (inherits(cond, "condition")) { [18:02:18.023] if (!is.null(pattern)) { [18:02:18.023] computeRestarts <- base::computeRestarts [18:02:18.023] grepl <- base::grepl [18:02:18.023] restarts <- computeRestarts(cond) [18:02:18.023] for (restart in restarts) { [18:02:18.023] name <- restart$name [18:02:18.023] if (is.null(name)) [18:02:18.023] next [18:02:18.023] if (!grepl(pattern, name)) [18:02:18.023] next [18:02:18.023] invokeRestart(restart) [18:02:18.023] muffled <- TRUE [18:02:18.023] break [18:02:18.023] } [18:02:18.023] } [18:02:18.023] } [18:02:18.023] invisible(muffled) [18:02:18.023] } [18:02:18.023] muffleCondition(cond, pattern = "^muffle") [18:02:18.023] } [18:02:18.023] } [18:02:18.023] } [18:02:18.023] })) [18:02:18.023] }, error = function(ex) { [18:02:18.023] base::structure(base::list(value = NULL, visible = NULL, [18:02:18.023] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:02:18.023] ...future.rng), started = ...future.startTime, [18:02:18.023] finished = Sys.time(), session_uuid = NA_character_, [18:02:18.023] version = "1.8"), class = "FutureResult") [18:02:18.023] }, finally = { [18:02:18.023] if (!identical(...future.workdir, getwd())) [18:02:18.023] setwd(...future.workdir) [18:02:18.023] { [18:02:18.023] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:02:18.023] ...future.oldOptions$nwarnings <- NULL [18:02:18.023] } [18:02:18.023] base::options(...future.oldOptions) [18:02:18.023] if (.Platform$OS.type == "windows") { [18:02:18.023] old_names <- names(...future.oldEnvVars) [18:02:18.023] envs <- base::Sys.getenv() [18:02:18.023] names <- names(envs) [18:02:18.023] common <- intersect(names, old_names) [18:02:18.023] added <- setdiff(names, old_names) [18:02:18.023] removed <- setdiff(old_names, names) [18:02:18.023] changed <- common[...future.oldEnvVars[common] != [18:02:18.023] envs[common]] [18:02:18.023] NAMES <- toupper(changed) [18:02:18.023] args <- list() [18:02:18.023] for (kk in seq_along(NAMES)) { [18:02:18.023] name <- changed[[kk]] [18:02:18.023] NAME <- NAMES[[kk]] [18:02:18.023] if (name != NAME && is.element(NAME, old_names)) [18:02:18.023] next [18:02:18.023] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:18.023] } [18:02:18.023] NAMES <- toupper(added) [18:02:18.023] for (kk in seq_along(NAMES)) { [18:02:18.023] name <- added[[kk]] [18:02:18.023] NAME <- NAMES[[kk]] [18:02:18.023] if (name != NAME && is.element(NAME, old_names)) [18:02:18.023] next [18:02:18.023] args[[name]] <- "" [18:02:18.023] } [18:02:18.023] NAMES <- toupper(removed) [18:02:18.023] for (kk in seq_along(NAMES)) { [18:02:18.023] name <- removed[[kk]] [18:02:18.023] NAME <- NAMES[[kk]] [18:02:18.023] if (name != NAME && is.element(NAME, old_names)) [18:02:18.023] next [18:02:18.023] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:18.023] } [18:02:18.023] if (length(args) > 0) [18:02:18.023] base::do.call(base::Sys.setenv, args = args) [18:02:18.023] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:02:18.023] } [18:02:18.023] { [18:02:18.023] if (base::length(...future.futureOptionsAdded) > [18:02:18.023] 0L) { [18:02:18.023] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:02:18.023] base::names(opts) <- ...future.futureOptionsAdded [18:02:18.023] base::options(opts) [18:02:18.023] } [18:02:18.023] { [18:02:18.023] NULL [18:02:18.023] options(future.plan = NULL) [18:02:18.023] if (is.na(NA_character_)) [18:02:18.023] Sys.unsetenv("R_FUTURE_PLAN") [18:02:18.023] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:02:18.023] future::plan(list(function (..., workers = c("localhost", [18:02:18.023] "localhost"), envir = parent.frame()) [18:02:18.023] strategy(..., workers = workers, envir = envir)), [18:02:18.023] .cleanup = FALSE, .init = FALSE) [18:02:18.023] } [18:02:18.023] } [18:02:18.023] } [18:02:18.023] }) [18:02:18.023] if (TRUE) { [18:02:18.023] base::sink(type = "output", split = FALSE) [18:02:18.023] if (TRUE) { [18:02:18.023] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:02:18.023] } [18:02:18.023] else { [18:02:18.023] ...future.result["stdout"] <- base::list(NULL) [18:02:18.023] } [18:02:18.023] base::close(...future.stdout) [18:02:18.023] ...future.stdout <- NULL [18:02:18.023] } [18:02:18.023] ...future.result$conditions <- ...future.conditions [18:02:18.023] ...future.result$finished <- base::Sys.time() [18:02:18.023] ...future.result [18:02:18.023] } [18:02:18.112] ClusterFuture started [18:02:18.113] result() for ClusterFuture ... [18:02:18.113] receiveMessageFromWorker() for ClusterFuture ... [18:02:18.113] - Validating connection of ClusterFuture [18:02:18.167] - received message: FutureResult [18:02:18.167] - Received FutureResult [18:02:18.167] - Erased future from FutureRegistry [18:02:18.167] result() for ClusterFuture ... [18:02:18.168] - result already collected: FutureResult [18:02:18.168] result() for ClusterFuture ... done [18:02:18.168] receiveMessageFromWorker() for ClusterFuture ... done [18:02:18.168] result() for ClusterFuture ... done [18:02:18.168] result() for ClusterFuture ... [18:02:18.168] - result already collected: FutureResult [18:02:18.169] result() for ClusterFuture ... done [18:02:18.169] plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... DONE [18:02:18.169] plan(): nbrOfWorkers() = 2 > n <- nbrOfWorkers() > message(sprintf("nbrOfWorkers: %d", n)) nbrOfWorkers: 2 > stopifnot(n == length(workers)) > plan(cluster, workers = allButOneWorker) [18:02:18.170] plan(): Setting new future strategy stack: [18:02:18.170] List of future strategies: [18:02:18.170] 1. cluster: [18:02:18.170] - args: function (..., workers = "", envir = parent.frame()) [18:02:18.170] - tweaked: TRUE [18:02:18.170] - call: plan(cluster, workers = allButOneWorker) [18:02:18.171] plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... [18:02:18.171] cluster: [18:02:18.171] - args: function (..., workers = "", envir = parent.frame()) [18:02:18.171] - tweaked: TRUE [18:02:18.171] - call: plan(cluster, workers = allButOneWorker) [18:02:18.172] getGlobalsAndPackages() ... [18:02:18.173] Not searching for globals [18:02:18.173] - globals: [0] [18:02:18.173] getGlobalsAndPackages() ... DONE [18:02:18.177] [local output] makeClusterPSOCK() ... [18:02:18.177] [local output] Workers: [n = 1] 'localhost' [18:02:18.180] [local output] Base port: 23645 [18:02:18.180] [local output] Getting setup options for 1 cluster nodes ... [18:02:18.180] [local output] - Node 1 of 1 ... [18:02:18.181] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:18.182] [local output] Rscript port: 23645 [18:02:18.182] [local output] Getting setup options for 1 cluster nodes ... done [18:02:18.183] [local output] - Parallel setup requested for some PSOCK nodes [18:02:18.183] [local output] Setting up PSOCK nodes in parallel [18:02:18.183] List of 36 [18:02:18.183] $ worker : chr "localhost" [18:02:18.183] ..- attr(*, "localhost")= logi TRUE [18:02:18.183] $ master : chr "localhost" [18:02:18.183] $ port : int 23645 [18:02:18.183] $ connectTimeout : num 120 [18:02:18.183] $ timeout : num 120 [18:02:18.183] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [18:02:18.183] $ homogeneous : logi TRUE [18:02:18.183] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=nbrOfWorkers.R:158052:CRANWIN3:C"| __truncated__ [18:02:18.183] $ rscript_envs : NULL [18:02:18.183] $ rscript_libs : NULL [18:02:18.183] $ rscript_startup : NULL [18:02:18.183] $ rscript_sh : chr "cmd" [18:02:18.183] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:18.183] $ methods : logi TRUE [18:02:18.183] $ socketOptions : chr "no-delay" [18:02:18.183] $ useXDR : logi FALSE [18:02:18.183] $ outfile : chr "/dev/null" [18:02:18.183] $ renice : int NA [18:02:18.183] $ rshcmd : NULL [18:02:18.183] $ user : chr(0) [18:02:18.183] $ revtunnel : logi FALSE [18:02:18.183] $ rshlogfile : NULL [18:02:18.183] $ rshopts : chr(0) [18:02:18.183] $ rank : int 1 [18:02:18.183] $ manual : logi FALSE [18:02:18.183] $ dryrun : logi FALSE [18:02:18.183] $ quiet : logi FALSE [18:02:18.183] $ setup_strategy : chr "parallel" [18:02:18.183] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:18.183] $ pidfile : chr "D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.269643756976.pid" [18:02:18.183] $ rshcmd_label : NULL [18:02:18.183] $ rsh_call : NULL [18:02:18.183] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:18.183] $ localMachine : logi TRUE [18:02:18.183] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [18:02:18.183] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [18:02:18.183] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [18:02:18.183] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [18:02:18.183] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [18:02:18.183] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [18:02:18.183] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [18:02:18.183] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [18:02:18.183] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [18:02:18.183] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [18:02:18.183] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [18:02:18.183] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [18:02:18.183] "parallel"), action = c("launch", "options"), verbose = FALSE) [18:02:18.183] $ arguments :List of 28 [18:02:18.183] ..$ worker : chr "localhost" [18:02:18.183] ..$ master : NULL [18:02:18.183] ..$ port : int 23645 [18:02:18.183] ..$ connectTimeout : num 120 [18:02:18.183] ..$ timeout : num 120 [18:02:18.183] ..$ rscript : NULL [18:02:18.183] ..$ homogeneous : NULL [18:02:18.183] ..$ rscript_args : NULL [18:02:18.183] ..$ rscript_envs : NULL [18:02:18.183] ..$ rscript_libs : NULL [18:02:18.183] ..$ rscript_startup : NULL [18:02:18.183] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [18:02:18.183] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:18.183] ..$ methods : logi TRUE [18:02:18.183] ..$ socketOptions : chr "no-delay" [18:02:18.183] ..$ useXDR : logi FALSE [18:02:18.183] ..$ outfile : chr "/dev/null" [18:02:18.183] ..$ renice : int NA [18:02:18.183] ..$ rshcmd : NULL [18:02:18.183] ..$ user : NULL [18:02:18.183] ..$ revtunnel : logi NA [18:02:18.183] ..$ rshlogfile : NULL [18:02:18.183] ..$ rshopts : NULL [18:02:18.183] ..$ rank : int 1 [18:02:18.183] ..$ manual : logi FALSE [18:02:18.183] ..$ dryrun : logi FALSE [18:02:18.183] ..$ quiet : logi FALSE [18:02:18.183] ..$ setup_strategy : chr "parallel" [18:02:18.183] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [18:02:18.206] [local output] System call to launch all workers: [18:02:18.206] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=nbrOfWorkers.R:158052:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.269643756976.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=23645 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [18:02:18.206] [local output] Starting PSOCK main server [18:02:18.211] [local output] Workers launched [18:02:18.211] [local output] Waiting for workers to connect back [18:02:18.211] - [local output] 0 workers out of 1 ready [18:02:18.377] - [local output] 0 workers out of 1 ready [18:02:18.378] - [local output] 1 workers out of 1 ready [18:02:18.378] [local output] Launching of workers completed [18:02:18.378] [local output] Collecting session information from workers [18:02:18.379] [local output] - Worker #1 of 1 [18:02:18.379] [local output] makeClusterPSOCK() ... done [18:02:18.385] Packages needed by the future expression (n = 0): [18:02:18.386] Packages needed by future strategies (n = 0): [18:02:18.386] { [18:02:18.386] { [18:02:18.386] { [18:02:18.386] ...future.startTime <- base::Sys.time() [18:02:18.386] { [18:02:18.386] { [18:02:18.386] { [18:02:18.386] base::local({ [18:02:18.386] has_future <- base::requireNamespace("future", [18:02:18.386] quietly = TRUE) [18:02:18.386] if (has_future) { [18:02:18.386] ns <- base::getNamespace("future") [18:02:18.386] version <- ns[[".package"]][["version"]] [18:02:18.386] if (is.null(version)) [18:02:18.386] version <- utils::packageVersion("future") [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] version <- NULL [18:02:18.386] } [18:02:18.386] if (!has_future || version < "1.8.0") { [18:02:18.386] info <- base::c(r_version = base::gsub("R version ", [18:02:18.386] "", base::R.version$version.string), [18:02:18.386] platform = base::sprintf("%s (%s-bit)", [18:02:18.386] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:02:18.386] os = base::paste(base::Sys.info()[base::c("sysname", [18:02:18.386] "release", "version")], collapse = " "), [18:02:18.386] hostname = base::Sys.info()[["nodename"]]) [18:02:18.386] info <- base::sprintf("%s: %s", base::names(info), [18:02:18.386] info) [18:02:18.386] info <- base::paste(info, collapse = "; ") [18:02:18.386] if (!has_future) { [18:02:18.386] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:02:18.386] info) [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:02:18.386] info, version) [18:02:18.386] } [18:02:18.386] base::stop(msg) [18:02:18.386] } [18:02:18.386] }) [18:02:18.386] } [18:02:18.386] options(future.plan = NULL) [18:02:18.386] Sys.unsetenv("R_FUTURE_PLAN") [18:02:18.386] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:02:18.386] } [18:02:18.386] ...future.workdir <- getwd() [18:02:18.386] } [18:02:18.386] ...future.oldOptions <- base::as.list(base::.Options) [18:02:18.386] ...future.oldEnvVars <- base::Sys.getenv() [18:02:18.386] } [18:02:18.386] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:02:18.386] future.globals.maxSize = NULL, future.globals.method = NULL, [18:02:18.386] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:02:18.386] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:02:18.386] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:02:18.386] future.stdout.windows.reencode = NULL, width = 80L) [18:02:18.386] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:02:18.386] base::names(...future.oldOptions)) [18:02:18.386] } [18:02:18.386] if (FALSE) { [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] if (TRUE) { [18:02:18.386] ...future.stdout <- base::rawConnection(base::raw(0L), [18:02:18.386] open = "w") [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:02:18.386] windows = "NUL", "/dev/null"), open = "w") [18:02:18.386] } [18:02:18.386] base::sink(...future.stdout, type = "output", split = FALSE) [18:02:18.386] base::on.exit(if (!base::is.null(...future.stdout)) { [18:02:18.386] base::sink(type = "output", split = FALSE) [18:02:18.386] base::close(...future.stdout) [18:02:18.386] }, add = TRUE) [18:02:18.386] } [18:02:18.386] ...future.frame <- base::sys.nframe() [18:02:18.386] ...future.conditions <- base::list() [18:02:18.386] ...future.rng <- base::globalenv()$.Random.seed [18:02:18.386] if (FALSE) { [18:02:18.386] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:02:18.386] "...future.value", "...future.globalenv.names", ".Random.seed") [18:02:18.386] } [18:02:18.386] ...future.result <- base::tryCatch({ [18:02:18.386] base::withCallingHandlers({ [18:02:18.386] ...future.value <- base::withVisible(base::local({ [18:02:18.386] ...future.makeSendCondition <- local({ [18:02:18.386] sendCondition <- NULL [18:02:18.386] function(frame = 1L) { [18:02:18.386] if (is.function(sendCondition)) [18:02:18.386] return(sendCondition) [18:02:18.386] ns <- getNamespace("parallel") [18:02:18.386] if (exists("sendData", mode = "function", [18:02:18.386] envir = ns)) { [18:02:18.386] parallel_sendData <- get("sendData", mode = "function", [18:02:18.386] envir = ns) [18:02:18.386] envir <- sys.frame(frame) [18:02:18.386] master <- NULL [18:02:18.386] while (!identical(envir, .GlobalEnv) && [18:02:18.386] !identical(envir, emptyenv())) { [18:02:18.386] if (exists("master", mode = "list", envir = envir, [18:02:18.386] inherits = FALSE)) { [18:02:18.386] master <- get("master", mode = "list", [18:02:18.386] envir = envir, inherits = FALSE) [18:02:18.386] if (inherits(master, c("SOCKnode", [18:02:18.386] "SOCK0node"))) { [18:02:18.386] sendCondition <<- function(cond) { [18:02:18.386] data <- list(type = "VALUE", value = cond, [18:02:18.386] success = TRUE) [18:02:18.386] parallel_sendData(master, data) [18:02:18.386] } [18:02:18.386] return(sendCondition) [18:02:18.386] } [18:02:18.386] } [18:02:18.386] frame <- frame + 1L [18:02:18.386] envir <- sys.frame(frame) [18:02:18.386] } [18:02:18.386] } [18:02:18.386] sendCondition <<- function(cond) NULL [18:02:18.386] } [18:02:18.386] }) [18:02:18.386] withCallingHandlers({ [18:02:18.386] NA [18:02:18.386] }, immediateCondition = function(cond) { [18:02:18.386] sendCondition <- ...future.makeSendCondition() [18:02:18.386] sendCondition(cond) [18:02:18.386] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.386] { [18:02:18.386] inherits <- base::inherits [18:02:18.386] invokeRestart <- base::invokeRestart [18:02:18.386] is.null <- base::is.null [18:02:18.386] muffled <- FALSE [18:02:18.386] if (inherits(cond, "message")) { [18:02:18.386] muffled <- grepl(pattern, "muffleMessage") [18:02:18.386] if (muffled) [18:02:18.386] invokeRestart("muffleMessage") [18:02:18.386] } [18:02:18.386] else if (inherits(cond, "warning")) { [18:02:18.386] muffled <- grepl(pattern, "muffleWarning") [18:02:18.386] if (muffled) [18:02:18.386] invokeRestart("muffleWarning") [18:02:18.386] } [18:02:18.386] else if (inherits(cond, "condition")) { [18:02:18.386] if (!is.null(pattern)) { [18:02:18.386] computeRestarts <- base::computeRestarts [18:02:18.386] grepl <- base::grepl [18:02:18.386] restarts <- computeRestarts(cond) [18:02:18.386] for (restart in restarts) { [18:02:18.386] name <- restart$name [18:02:18.386] if (is.null(name)) [18:02:18.386] next [18:02:18.386] if (!grepl(pattern, name)) [18:02:18.386] next [18:02:18.386] invokeRestart(restart) [18:02:18.386] muffled <- TRUE [18:02:18.386] break [18:02:18.386] } [18:02:18.386] } [18:02:18.386] } [18:02:18.386] invisible(muffled) [18:02:18.386] } [18:02:18.386] muffleCondition(cond) [18:02:18.386] }) [18:02:18.386] })) [18:02:18.386] future::FutureResult(value = ...future.value$value, [18:02:18.386] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:02:18.386] ...future.rng), globalenv = if (FALSE) [18:02:18.386] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:02:18.386] ...future.globalenv.names)) [18:02:18.386] else NULL, started = ...future.startTime, version = "1.8") [18:02:18.386] }, condition = base::local({ [18:02:18.386] c <- base::c [18:02:18.386] inherits <- base::inherits [18:02:18.386] invokeRestart <- base::invokeRestart [18:02:18.386] length <- base::length [18:02:18.386] list <- base::list [18:02:18.386] seq.int <- base::seq.int [18:02:18.386] signalCondition <- base::signalCondition [18:02:18.386] sys.calls <- base::sys.calls [18:02:18.386] `[[` <- base::`[[` [18:02:18.386] `+` <- base::`+` [18:02:18.386] `<<-` <- base::`<<-` [18:02:18.386] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:02:18.386] calls[seq.int(from = from + 12L, to = length(calls) - [18:02:18.386] 3L)] [18:02:18.386] } [18:02:18.386] function(cond) { [18:02:18.386] is_error <- inherits(cond, "error") [18:02:18.386] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:02:18.386] NULL) [18:02:18.386] if (is_error) { [18:02:18.386] sessionInformation <- function() { [18:02:18.386] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:02:18.386] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:02:18.386] search = base::search(), system = base::Sys.info()) [18:02:18.386] } [18:02:18.386] ...future.conditions[[length(...future.conditions) + [18:02:18.386] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:02:18.386] cond$call), session = sessionInformation(), [18:02:18.386] timestamp = base::Sys.time(), signaled = 0L) [18:02:18.386] signalCondition(cond) [18:02:18.386] } [18:02:18.386] else if (!ignore && TRUE && inherits(cond, c("condition", [18:02:18.386] "immediateCondition"))) { [18:02:18.386] signal <- TRUE && inherits(cond, "immediateCondition") [18:02:18.386] ...future.conditions[[length(...future.conditions) + [18:02:18.386] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:02:18.386] if (TRUE && !signal) { [18:02:18.386] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.386] { [18:02:18.386] inherits <- base::inherits [18:02:18.386] invokeRestart <- base::invokeRestart [18:02:18.386] is.null <- base::is.null [18:02:18.386] muffled <- FALSE [18:02:18.386] if (inherits(cond, "message")) { [18:02:18.386] muffled <- grepl(pattern, "muffleMessage") [18:02:18.386] if (muffled) [18:02:18.386] invokeRestart("muffleMessage") [18:02:18.386] } [18:02:18.386] else if (inherits(cond, "warning")) { [18:02:18.386] muffled <- grepl(pattern, "muffleWarning") [18:02:18.386] if (muffled) [18:02:18.386] invokeRestart("muffleWarning") [18:02:18.386] } [18:02:18.386] else if (inherits(cond, "condition")) { [18:02:18.386] if (!is.null(pattern)) { [18:02:18.386] computeRestarts <- base::computeRestarts [18:02:18.386] grepl <- base::grepl [18:02:18.386] restarts <- computeRestarts(cond) [18:02:18.386] for (restart in restarts) { [18:02:18.386] name <- restart$name [18:02:18.386] if (is.null(name)) [18:02:18.386] next [18:02:18.386] if (!grepl(pattern, name)) [18:02:18.386] next [18:02:18.386] invokeRestart(restart) [18:02:18.386] muffled <- TRUE [18:02:18.386] break [18:02:18.386] } [18:02:18.386] } [18:02:18.386] } [18:02:18.386] invisible(muffled) [18:02:18.386] } [18:02:18.386] muffleCondition(cond, pattern = "^muffle") [18:02:18.386] } [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] if (TRUE) { [18:02:18.386] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.386] { [18:02:18.386] inherits <- base::inherits [18:02:18.386] invokeRestart <- base::invokeRestart [18:02:18.386] is.null <- base::is.null [18:02:18.386] muffled <- FALSE [18:02:18.386] if (inherits(cond, "message")) { [18:02:18.386] muffled <- grepl(pattern, "muffleMessage") [18:02:18.386] if (muffled) [18:02:18.386] invokeRestart("muffleMessage") [18:02:18.386] } [18:02:18.386] else if (inherits(cond, "warning")) { [18:02:18.386] muffled <- grepl(pattern, "muffleWarning") [18:02:18.386] if (muffled) [18:02:18.386] invokeRestart("muffleWarning") [18:02:18.386] } [18:02:18.386] else if (inherits(cond, "condition")) { [18:02:18.386] if (!is.null(pattern)) { [18:02:18.386] computeRestarts <- base::computeRestarts [18:02:18.386] grepl <- base::grepl [18:02:18.386] restarts <- computeRestarts(cond) [18:02:18.386] for (restart in restarts) { [18:02:18.386] name <- restart$name [18:02:18.386] if (is.null(name)) [18:02:18.386] next [18:02:18.386] if (!grepl(pattern, name)) [18:02:18.386] next [18:02:18.386] invokeRestart(restart) [18:02:18.386] muffled <- TRUE [18:02:18.386] break [18:02:18.386] } [18:02:18.386] } [18:02:18.386] } [18:02:18.386] invisible(muffled) [18:02:18.386] } [18:02:18.386] muffleCondition(cond, pattern = "^muffle") [18:02:18.386] } [18:02:18.386] } [18:02:18.386] } [18:02:18.386] })) [18:02:18.386] }, error = function(ex) { [18:02:18.386] base::structure(base::list(value = NULL, visible = NULL, [18:02:18.386] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:02:18.386] ...future.rng), started = ...future.startTime, [18:02:18.386] finished = Sys.time(), session_uuid = NA_character_, [18:02:18.386] version = "1.8"), class = "FutureResult") [18:02:18.386] }, finally = { [18:02:18.386] if (!identical(...future.workdir, getwd())) [18:02:18.386] setwd(...future.workdir) [18:02:18.386] { [18:02:18.386] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:02:18.386] ...future.oldOptions$nwarnings <- NULL [18:02:18.386] } [18:02:18.386] base::options(...future.oldOptions) [18:02:18.386] if (.Platform$OS.type == "windows") { [18:02:18.386] old_names <- names(...future.oldEnvVars) [18:02:18.386] envs <- base::Sys.getenv() [18:02:18.386] names <- names(envs) [18:02:18.386] common <- intersect(names, old_names) [18:02:18.386] added <- setdiff(names, old_names) [18:02:18.386] removed <- setdiff(old_names, names) [18:02:18.386] changed <- common[...future.oldEnvVars[common] != [18:02:18.386] envs[common]] [18:02:18.386] NAMES <- toupper(changed) [18:02:18.386] args <- list() [18:02:18.386] for (kk in seq_along(NAMES)) { [18:02:18.386] name <- changed[[kk]] [18:02:18.386] NAME <- NAMES[[kk]] [18:02:18.386] if (name != NAME && is.element(NAME, old_names)) [18:02:18.386] next [18:02:18.386] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:18.386] } [18:02:18.386] NAMES <- toupper(added) [18:02:18.386] for (kk in seq_along(NAMES)) { [18:02:18.386] name <- added[[kk]] [18:02:18.386] NAME <- NAMES[[kk]] [18:02:18.386] if (name != NAME && is.element(NAME, old_names)) [18:02:18.386] next [18:02:18.386] args[[name]] <- "" [18:02:18.386] } [18:02:18.386] NAMES <- toupper(removed) [18:02:18.386] for (kk in seq_along(NAMES)) { [18:02:18.386] name <- removed[[kk]] [18:02:18.386] NAME <- NAMES[[kk]] [18:02:18.386] if (name != NAME && is.element(NAME, old_names)) [18:02:18.386] next [18:02:18.386] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:18.386] } [18:02:18.386] if (length(args) > 0) [18:02:18.386] base::do.call(base::Sys.setenv, args = args) [18:02:18.386] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:02:18.386] } [18:02:18.386] { [18:02:18.386] if (base::length(...future.futureOptionsAdded) > [18:02:18.386] 0L) { [18:02:18.386] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:02:18.386] base::names(opts) <- ...future.futureOptionsAdded [18:02:18.386] base::options(opts) [18:02:18.386] } [18:02:18.386] { [18:02:18.386] NULL [18:02:18.386] options(future.plan = NULL) [18:02:18.386] if (is.na(NA_character_)) [18:02:18.386] Sys.unsetenv("R_FUTURE_PLAN") [18:02:18.386] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:02:18.386] future::plan(list(function (..., workers = function () [18:02:18.386] { [18:02:18.386] w <- future::availableWorkers() [18:02:18.386] if (length(w) > 1) [18:02:18.386] w[-1] [18:02:18.386] else w [18:02:18.386] }, envir = parent.frame()) [18:02:18.386] strategy(..., workers = workers, envir = envir)), [18:02:18.386] .cleanup = FALSE, .init = FALSE) [18:02:18.386] } [18:02:18.386] } [18:02:18.386] } [18:02:18.386] }) [18:02:18.386] if (TRUE) { [18:02:18.386] base::sink(type = "output", split = FALSE) [18:02:18.386] if (TRUE) { [18:02:18.386] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:02:18.386] } [18:02:18.386] else { [18:02:18.386] ...future.result["stdout"] <- base::list(NULL) [18:02:18.386] } [18:02:18.386] base::close(...future.stdout) [18:02:18.386] ...future.stdout <- NULL [18:02:18.386] } [18:02:18.386] ...future.result$conditions <- ...future.conditions [18:02:18.386] ...future.result$finished <- base::Sys.time() [18:02:18.386] ...future.result [18:02:18.386] } [18:02:18.469] ClusterFuture started [18:02:18.469] result() for ClusterFuture ... [18:02:18.469] receiveMessageFromWorker() for ClusterFuture ... [18:02:18.470] - Validating connection of ClusterFuture [18:02:18.531] - received message: FutureResult [18:02:18.531] - Received FutureResult [18:02:18.531] - Erased future from FutureRegistry [18:02:18.532] result() for ClusterFuture ... [18:02:18.532] - result already collected: FutureResult [18:02:18.532] result() for ClusterFuture ... done [18:02:18.532] receiveMessageFromWorker() for ClusterFuture ... done [18:02:18.532] result() for ClusterFuture ... done [18:02:18.532] result() for ClusterFuture ... [18:02:18.533] - result already collected: FutureResult [18:02:18.533] result() for ClusterFuture ... done [18:02:18.533] plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... DONE [18:02:18.539] plan(): nbrOfWorkers() = 1 > n <- nbrOfWorkers() > message(sprintf("nbrOfWorkers: %d", n)) nbrOfWorkers: 1 > stopifnot(n == max(1L, nworkers - 1L)) > > message("Type of future: constant") Type of future: constant > n <- nbrOfWorkers(constant) > message(sprintf("nbrOfWorkers: %d", n)) nbrOfWorkers: 1 > stopifnot(n == 1) > > message("Type of future: ") Type of future: > foo <- structure(function(...) NULL, class = c("future")) > n <- nbrOfWorkers(foo) > message(sprintf("nbrOfWorkers: %g", n)) nbrOfWorkers: Inf > stopifnot(n >= 0, is.infinite(n)) > > > message("Type of future: cluster with workers = ") Type of future: cluster with workers = > > workers <- makeClusterPSOCK(2L) [18:02:18.543] [local output] makeClusterPSOCK() ... [18:02:18.543] [local output] Workers: [n = 2] 'localhost', 'localhost' [18:02:18.546] [local output] Base port: 34836 [18:02:18.547] [local output] Getting setup options for 2 cluster nodes ... [18:02:18.547] [local output] - Node 1 of 2 ... [18:02:18.547] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:18.549] [local output] Rscript port: 34836 [18:02:18.549] [local output] - Node 2 of 2 ... [18:02:18.549] [local output] localMachine=TRUE => revtunnel=FALSE [18:02:18.551] [local output] Rscript port: 34836 [18:02:18.551] [local output] Getting setup options for 2 cluster nodes ... done [18:02:18.551] [local output] - Parallel setup requested for some PSOCK nodes [18:02:18.552] [local output] Setting up PSOCK nodes in parallel [18:02:18.552] List of 36 [18:02:18.552] $ worker : chr "localhost" [18:02:18.552] ..- attr(*, "localhost")= logi TRUE [18:02:18.552] $ master : chr "localhost" [18:02:18.552] $ port : int 34836 [18:02:18.552] $ connectTimeout : num 120 [18:02:18.552] $ timeout : num 120 [18:02:18.552] $ rscript : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\"" [18:02:18.552] $ homogeneous : logi TRUE [18:02:18.552] $ rscript_args : chr "--default-packages=datasets,utils,grDevices,graphics,stats,methods -e \"#label=nbrOfWorkers.R:158052:CRANWIN3:C"| __truncated__ [18:02:18.552] $ rscript_envs : NULL [18:02:18.552] $ rscript_libs : NULL [18:02:18.552] $ rscript_startup : NULL [18:02:18.552] $ rscript_sh : chr "cmd" [18:02:18.552] $ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:18.552] $ methods : logi TRUE [18:02:18.552] $ socketOptions : chr "no-delay" [18:02:18.552] $ useXDR : logi FALSE [18:02:18.552] $ outfile : chr "/dev/null" [18:02:18.552] $ renice : int NA [18:02:18.552] $ rshcmd : NULL [18:02:18.552] $ user : chr(0) [18:02:18.552] $ revtunnel : logi FALSE [18:02:18.552] $ rshlogfile : NULL [18:02:18.552] $ rshopts : chr(0) [18:02:18.552] $ rank : int 1 [18:02:18.552] $ manual : logi FALSE [18:02:18.552] $ dryrun : logi FALSE [18:02:18.552] $ quiet : logi FALSE [18:02:18.552] $ setup_strategy : chr "parallel" [18:02:18.552] $ local_cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:18.552] $ pidfile : chr "D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.26964636ef9f.pid" [18:02:18.552] $ rshcmd_label : NULL [18:02:18.552] $ rsh_call : NULL [18:02:18.552] $ cmd : chr "\"D:/RCompile/recent/R/bin/x64/Rscript\" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "| __truncated__ [18:02:18.552] $ localMachine : logi TRUE [18:02:18.552] $ make_fcn :function (worker = getOption2("parallelly.localhost.hostname", "localhost"), [18:02:18.552] master = NULL, port, connectTimeout = getOption2("parallelly.makeNodePSOCK.connectTimeout", [18:02:18.552] 2 * 60), timeout = getOption2("parallelly.makeNodePSOCK.timeout", [18:02:18.552] 30 * 24 * 60 * 60), rscript = NULL, homogeneous = NULL, rscript_args = NULL, [18:02:18.552] rscript_envs = NULL, rscript_libs = NULL, rscript_startup = NULL, rscript_sh = c("auto", [18:02:18.552] "cmd", "sh"), default_packages = c("datasets", "utils", "grDevices", [18:02:18.552] "graphics", "stats", if (methods) "methods"), methods = TRUE, socketOptions = getOption2("parallelly.makeNodePSOCK.socketOptions", [18:02:18.552] "no-delay"), useXDR = getOption2("parallelly.makeNodePSOCK.useXDR", [18:02:18.552] FALSE), outfile = "/dev/null", renice = NA_integer_, rshcmd = getOption2("parallelly.makeNodePSOCK.rshcmd", [18:02:18.552] NULL), user = NULL, revtunnel = NA, rshlogfile = NULL, rshopts = getOption2("parallelly.makeNodePSOCK.rshopts", [18:02:18.552] NULL), rank = 1L, manual = FALSE, dryrun = FALSE, quiet = FALSE, [18:02:18.552] setup_strategy = getOption2("parallelly.makeNodePSOCK.setup_strategy", [18:02:18.552] "parallel"), action = c("launch", "options"), verbose = FALSE) [18:02:18.552] $ arguments :List of 28 [18:02:18.552] ..$ worker : chr "localhost" [18:02:18.552] ..$ master : NULL [18:02:18.552] ..$ port : int 34836 [18:02:18.552] ..$ connectTimeout : num 120 [18:02:18.552] ..$ timeout : num 120 [18:02:18.552] ..$ rscript : NULL [18:02:18.552] ..$ homogeneous : NULL [18:02:18.552] ..$ rscript_args : NULL [18:02:18.552] ..$ rscript_envs : NULL [18:02:18.552] ..$ rscript_libs : NULL [18:02:18.552] ..$ rscript_startup : NULL [18:02:18.552] ..$ rscript_sh : chr [1:3] "auto" "cmd" "sh" [18:02:18.552] ..$ default_packages: chr [1:6] "datasets" "utils" "grDevices" "graphics" ... [18:02:18.552] ..$ methods : logi TRUE [18:02:18.552] ..$ socketOptions : chr "no-delay" [18:02:18.552] ..$ useXDR : logi FALSE [18:02:18.552] ..$ outfile : chr "/dev/null" [18:02:18.552] ..$ renice : int NA [18:02:18.552] ..$ rshcmd : NULL [18:02:18.552] ..$ user : NULL [18:02:18.552] ..$ revtunnel : logi NA [18:02:18.552] ..$ rshlogfile : NULL [18:02:18.552] ..$ rshopts : NULL [18:02:18.552] ..$ rank : int 1 [18:02:18.552] ..$ manual : logi FALSE [18:02:18.552] ..$ dryrun : logi FALSE [18:02:18.552] ..$ quiet : logi FALSE [18:02:18.552] ..$ setup_strategy : chr "parallel" [18:02:18.552] - attr(*, "class")= chr [1:2] "makeNodePSOCKOptions" "makeNodeOptions" [18:02:18.574] [local output] System call to launch all workers: [18:02:18.574] [local output] "D:/RCompile/recent/R/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=nbrOfWorkers.R:158052:CRANWIN3:CRAN" -e "try(suppressWarnings(cat(Sys.getpid(),file=\"D:/temp/RtmpqCX9Hh/worker.rank=1.parallelly.parent=158052.26964636ef9f.pid\")), silent = TRUE)" -e "options(socketOptions = \"no-delay\")" -e "workRSOCK <- tryCatch(parallel:::.workRSOCK, error=function(e) parallel:::.slaveRSOCK); workRSOCK()" MASTER=localhost PORT=34836 OUT=/dev/null TIMEOUT=120 XDR=FALSE SETUPTIMEOUT=120 SETUPSTRATEGY=parallel [18:02:18.574] [local output] Starting PSOCK main server [18:02:18.583] [local output] Workers launched [18:02:18.583] [local output] Waiting for workers to connect back [18:02:18.584] - [local output] 0 workers out of 2 ready [18:02:18.753] - [local output] 0 workers out of 2 ready [18:02:18.754] - [local output] 1 workers out of 2 ready [18:02:18.754] - [local output] 1 workers out of 2 ready [18:02:18.755] - [local output] 2 workers out of 2 ready [18:02:18.755] [local output] Launching of workers completed [18:02:18.755] [local output] Collecting session information from workers [18:02:18.756] [local output] - Worker #1 of 2 [18:02:18.756] [local output] - Worker #2 of 2 [18:02:18.757] [local output] makeClusterPSOCK() ... done > print(workers) Socket cluster with 2 nodes where 2 nodes are on host 'localhost' (R Under development (unstable) (2023-06-30 r84625 ucrt), platform x86_64-w64-mingw32) > plan(cluster, workers = workers) [18:02:18.764] plan(): Setting new future strategy stack: [18:02:18.764] List of future strategies: [18:02:18.764] 1. cluster: [18:02:18.764] - args: function (..., workers = "", envir = parent.frame()) [18:02:18.764] - tweaked: TRUE [18:02:18.764] - call: plan(cluster, workers = workers) [18:02:18.766] plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... [18:02:18.767] cluster: [18:02:18.767] - args: function (..., workers = "", envir = parent.frame()) [18:02:18.767] - tweaked: TRUE [18:02:18.767] - call: plan(cluster, workers = workers) [18:02:18.769] getGlobalsAndPackages() ... [18:02:18.769] Not searching for globals [18:02:18.769] - globals: [0] [18:02:18.770] getGlobalsAndPackages() ... DONE [18:02:18.782] Packages needed by the future expression (n = 0): [18:02:18.782] Packages needed by future strategies (n = 0): [18:02:18.782] { [18:02:18.782] { [18:02:18.782] { [18:02:18.782] ...future.startTime <- base::Sys.time() [18:02:18.782] { [18:02:18.782] { [18:02:18.782] { [18:02:18.782] base::local({ [18:02:18.782] has_future <- base::requireNamespace("future", [18:02:18.782] quietly = TRUE) [18:02:18.782] if (has_future) { [18:02:18.782] ns <- base::getNamespace("future") [18:02:18.782] version <- ns[[".package"]][["version"]] [18:02:18.782] if (is.null(version)) [18:02:18.782] version <- utils::packageVersion("future") [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] version <- NULL [18:02:18.782] } [18:02:18.782] if (!has_future || version < "1.8.0") { [18:02:18.782] info <- base::c(r_version = base::gsub("R version ", [18:02:18.782] "", base::R.version$version.string), [18:02:18.782] platform = base::sprintf("%s (%s-bit)", [18:02:18.782] base::R.version$platform, 8 * base::.Machine$sizeof.pointer), [18:02:18.782] os = base::paste(base::Sys.info()[base::c("sysname", [18:02:18.782] "release", "version")], collapse = " "), [18:02:18.782] hostname = base::Sys.info()[["nodename"]]) [18:02:18.782] info <- base::sprintf("%s: %s", base::names(info), [18:02:18.782] info) [18:02:18.782] info <- base::paste(info, collapse = "; ") [18:02:18.782] if (!has_future) { [18:02:18.782] msg <- base::sprintf("Package 'future' is not installed on worker (%s)", [18:02:18.782] info) [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", [18:02:18.782] info, version) [18:02:18.782] } [18:02:18.782] base::stop(msg) [18:02:18.782] } [18:02:18.782] }) [18:02:18.782] } [18:02:18.782] options(future.plan = NULL) [18:02:18.782] Sys.unsetenv("R_FUTURE_PLAN") [18:02:18.782] future::plan("default", .cleanup = FALSE, .init = FALSE) [18:02:18.782] } [18:02:18.782] ...future.workdir <- getwd() [18:02:18.782] } [18:02:18.782] ...future.oldOptions <- base::as.list(base::.Options) [18:02:18.782] ...future.oldEnvVars <- base::Sys.getenv() [18:02:18.782] } [18:02:18.782] base::options(future.startup.script = FALSE, future.globals.onMissing = NULL, [18:02:18.782] future.globals.maxSize = NULL, future.globals.method = NULL, [18:02:18.782] future.globals.onMissing = NULL, future.globals.onReference = NULL, [18:02:18.782] future.globals.resolve = NULL, future.resolve.recursive = NULL, [18:02:18.782] future.rng.onMisuse = NULL, future.rng.onMisuse.keepFuture = NULL, [18:02:18.782] future.stdout.windows.reencode = NULL, width = 80L) [18:02:18.782] ...future.futureOptionsAdded <- base::setdiff(base::names(base::.Options), [18:02:18.782] base::names(...future.oldOptions)) [18:02:18.782] } [18:02:18.782] if (FALSE) { [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] if (TRUE) { [18:02:18.782] ...future.stdout <- base::rawConnection(base::raw(0L), [18:02:18.782] open = "w") [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] ...future.stdout <- base::file(base::switch(.Platform$OS.type, [18:02:18.782] windows = "NUL", "/dev/null"), open = "w") [18:02:18.782] } [18:02:18.782] base::sink(...future.stdout, type = "output", split = FALSE) [18:02:18.782] base::on.exit(if (!base::is.null(...future.stdout)) { [18:02:18.782] base::sink(type = "output", split = FALSE) [18:02:18.782] base::close(...future.stdout) [18:02:18.782] }, add = TRUE) [18:02:18.782] } [18:02:18.782] ...future.frame <- base::sys.nframe() [18:02:18.782] ...future.conditions <- base::list() [18:02:18.782] ...future.rng <- base::globalenv()$.Random.seed [18:02:18.782] if (FALSE) { [18:02:18.782] ...future.globalenv.names <- c(base::names(base::.GlobalEnv), [18:02:18.782] "...future.value", "...future.globalenv.names", ".Random.seed") [18:02:18.782] } [18:02:18.782] ...future.result <- base::tryCatch({ [18:02:18.782] base::withCallingHandlers({ [18:02:18.782] ...future.value <- base::withVisible(base::local({ [18:02:18.782] ...future.makeSendCondition <- local({ [18:02:18.782] sendCondition <- NULL [18:02:18.782] function(frame = 1L) { [18:02:18.782] if (is.function(sendCondition)) [18:02:18.782] return(sendCondition) [18:02:18.782] ns <- getNamespace("parallel") [18:02:18.782] if (exists("sendData", mode = "function", [18:02:18.782] envir = ns)) { [18:02:18.782] parallel_sendData <- get("sendData", mode = "function", [18:02:18.782] envir = ns) [18:02:18.782] envir <- sys.frame(frame) [18:02:18.782] master <- NULL [18:02:18.782] while (!identical(envir, .GlobalEnv) && [18:02:18.782] !identical(envir, emptyenv())) { [18:02:18.782] if (exists("master", mode = "list", envir = envir, [18:02:18.782] inherits = FALSE)) { [18:02:18.782] master <- get("master", mode = "list", [18:02:18.782] envir = envir, inherits = FALSE) [18:02:18.782] if (inherits(master, c("SOCKnode", [18:02:18.782] "SOCK0node"))) { [18:02:18.782] sendCondition <<- function(cond) { [18:02:18.782] data <- list(type = "VALUE", value = cond, [18:02:18.782] success = TRUE) [18:02:18.782] parallel_sendData(master, data) [18:02:18.782] } [18:02:18.782] return(sendCondition) [18:02:18.782] } [18:02:18.782] } [18:02:18.782] frame <- frame + 1L [18:02:18.782] envir <- sys.frame(frame) [18:02:18.782] } [18:02:18.782] } [18:02:18.782] sendCondition <<- function(cond) NULL [18:02:18.782] } [18:02:18.782] }) [18:02:18.782] withCallingHandlers({ [18:02:18.782] NA [18:02:18.782] }, immediateCondition = function(cond) { [18:02:18.782] sendCondition <- ...future.makeSendCondition() [18:02:18.782] sendCondition(cond) [18:02:18.782] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.782] { [18:02:18.782] inherits <- base::inherits [18:02:18.782] invokeRestart <- base::invokeRestart [18:02:18.782] is.null <- base::is.null [18:02:18.782] muffled <- FALSE [18:02:18.782] if (inherits(cond, "message")) { [18:02:18.782] muffled <- grepl(pattern, "muffleMessage") [18:02:18.782] if (muffled) [18:02:18.782] invokeRestart("muffleMessage") [18:02:18.782] } [18:02:18.782] else if (inherits(cond, "warning")) { [18:02:18.782] muffled <- grepl(pattern, "muffleWarning") [18:02:18.782] if (muffled) [18:02:18.782] invokeRestart("muffleWarning") [18:02:18.782] } [18:02:18.782] else if (inherits(cond, "condition")) { [18:02:18.782] if (!is.null(pattern)) { [18:02:18.782] computeRestarts <- base::computeRestarts [18:02:18.782] grepl <- base::grepl [18:02:18.782] restarts <- computeRestarts(cond) [18:02:18.782] for (restart in restarts) { [18:02:18.782] name <- restart$name [18:02:18.782] if (is.null(name)) [18:02:18.782] next [18:02:18.782] if (!grepl(pattern, name)) [18:02:18.782] next [18:02:18.782] invokeRestart(restart) [18:02:18.782] muffled <- TRUE [18:02:18.782] break [18:02:18.782] } [18:02:18.782] } [18:02:18.782] } [18:02:18.782] invisible(muffled) [18:02:18.782] } [18:02:18.782] muffleCondition(cond) [18:02:18.782] }) [18:02:18.782] })) [18:02:18.782] future::FutureResult(value = ...future.value$value, [18:02:18.782] visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, [18:02:18.782] ...future.rng), globalenv = if (FALSE) [18:02:18.782] list(added = base::setdiff(base::names(base::.GlobalEnv), [18:02:18.782] ...future.globalenv.names)) [18:02:18.782] else NULL, started = ...future.startTime, version = "1.8") [18:02:18.782] }, condition = base::local({ [18:02:18.782] c <- base::c [18:02:18.782] inherits <- base::inherits [18:02:18.782] invokeRestart <- base::invokeRestart [18:02:18.782] length <- base::length [18:02:18.782] list <- base::list [18:02:18.782] seq.int <- base::seq.int [18:02:18.782] signalCondition <- base::signalCondition [18:02:18.782] sys.calls <- base::sys.calls [18:02:18.782] `[[` <- base::`[[` [18:02:18.782] `+` <- base::`+` [18:02:18.782] `<<-` <- base::`<<-` [18:02:18.782] sysCalls <- function(calls = sys.calls(), from = 1L) { [18:02:18.782] calls[seq.int(from = from + 12L, to = length(calls) - [18:02:18.782] 3L)] [18:02:18.782] } [18:02:18.782] function(cond) { [18:02:18.782] is_error <- inherits(cond, "error") [18:02:18.782] ignore <- !is_error && !is.null(NULL) && inherits(cond, [18:02:18.782] NULL) [18:02:18.782] if (is_error) { [18:02:18.782] sessionInformation <- function() { [18:02:18.782] list(r = base::R.Version(), locale = base::Sys.getlocale(), [18:02:18.782] rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), [18:02:18.782] search = base::search(), system = base::Sys.info()) [18:02:18.782] } [18:02:18.782] ...future.conditions[[length(...future.conditions) + [18:02:18.782] 1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), [18:02:18.782] cond$call), session = sessionInformation(), [18:02:18.782] timestamp = base::Sys.time(), signaled = 0L) [18:02:18.782] signalCondition(cond) [18:02:18.782] } [18:02:18.782] else if (!ignore && TRUE && inherits(cond, c("condition", [18:02:18.782] "immediateCondition"))) { [18:02:18.782] signal <- TRUE && inherits(cond, "immediateCondition") [18:02:18.782] ...future.conditions[[length(...future.conditions) + [18:02:18.782] 1L]] <<- list(condition = cond, signaled = base::as.integer(signal)) [18:02:18.782] if (TRUE && !signal) { [18:02:18.782] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.782] { [18:02:18.782] inherits <- base::inherits [18:02:18.782] invokeRestart <- base::invokeRestart [18:02:18.782] is.null <- base::is.null [18:02:18.782] muffled <- FALSE [18:02:18.782] if (inherits(cond, "message")) { [18:02:18.782] muffled <- grepl(pattern, "muffleMessage") [18:02:18.782] if (muffled) [18:02:18.782] invokeRestart("muffleMessage") [18:02:18.782] } [18:02:18.782] else if (inherits(cond, "warning")) { [18:02:18.782] muffled <- grepl(pattern, "muffleWarning") [18:02:18.782] if (muffled) [18:02:18.782] invokeRestart("muffleWarning") [18:02:18.782] } [18:02:18.782] else if (inherits(cond, "condition")) { [18:02:18.782] if (!is.null(pattern)) { [18:02:18.782] computeRestarts <- base::computeRestarts [18:02:18.782] grepl <- base::grepl [18:02:18.782] restarts <- computeRestarts(cond) [18:02:18.782] for (restart in restarts) { [18:02:18.782] name <- restart$name [18:02:18.782] if (is.null(name)) [18:02:18.782] next [18:02:18.782] if (!grepl(pattern, name)) [18:02:18.782] next [18:02:18.782] invokeRestart(restart) [18:02:18.782] muffled <- TRUE [18:02:18.782] break [18:02:18.782] } [18:02:18.782] } [18:02:18.782] } [18:02:18.782] invisible(muffled) [18:02:18.782] } [18:02:18.782] muffleCondition(cond, pattern = "^muffle") [18:02:18.782] } [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] if (TRUE) { [18:02:18.782] muffleCondition <- function (cond, pattern = "^muffle") [18:02:18.782] { [18:02:18.782] inherits <- base::inherits [18:02:18.782] invokeRestart <- base::invokeRestart [18:02:18.782] is.null <- base::is.null [18:02:18.782] muffled <- FALSE [18:02:18.782] if (inherits(cond, "message")) { [18:02:18.782] muffled <- grepl(pattern, "muffleMessage") [18:02:18.782] if (muffled) [18:02:18.782] invokeRestart("muffleMessage") [18:02:18.782] } [18:02:18.782] else if (inherits(cond, "warning")) { [18:02:18.782] muffled <- grepl(pattern, "muffleWarning") [18:02:18.782] if (muffled) [18:02:18.782] invokeRestart("muffleWarning") [18:02:18.782] } [18:02:18.782] else if (inherits(cond, "condition")) { [18:02:18.782] if (!is.null(pattern)) { [18:02:18.782] computeRestarts <- base::computeRestarts [18:02:18.782] grepl <- base::grepl [18:02:18.782] restarts <- computeRestarts(cond) [18:02:18.782] for (restart in restarts) { [18:02:18.782] name <- restart$name [18:02:18.782] if (is.null(name)) [18:02:18.782] next [18:02:18.782] if (!grepl(pattern, name)) [18:02:18.782] next [18:02:18.782] invokeRestart(restart) [18:02:18.782] muffled <- TRUE [18:02:18.782] break [18:02:18.782] } [18:02:18.782] } [18:02:18.782] } [18:02:18.782] invisible(muffled) [18:02:18.782] } [18:02:18.782] muffleCondition(cond, pattern = "^muffle") [18:02:18.782] } [18:02:18.782] } [18:02:18.782] } [18:02:18.782] })) [18:02:18.782] }, error = function(ex) { [18:02:18.782] base::structure(base::list(value = NULL, visible = NULL, [18:02:18.782] conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, [18:02:18.782] ...future.rng), started = ...future.startTime, [18:02:18.782] finished = Sys.time(), session_uuid = NA_character_, [18:02:18.782] version = "1.8"), class = "FutureResult") [18:02:18.782] }, finally = { [18:02:18.782] if (!identical(...future.workdir, getwd())) [18:02:18.782] setwd(...future.workdir) [18:02:18.782] { [18:02:18.782] if (identical(getOption("nwarnings"), ...future.oldOptions$nwarnings)) { [18:02:18.782] ...future.oldOptions$nwarnings <- NULL [18:02:18.782] } [18:02:18.782] base::options(...future.oldOptions) [18:02:18.782] if (.Platform$OS.type == "windows") { [18:02:18.782] old_names <- names(...future.oldEnvVars) [18:02:18.782] envs <- base::Sys.getenv() [18:02:18.782] names <- names(envs) [18:02:18.782] common <- intersect(names, old_names) [18:02:18.782] added <- setdiff(names, old_names) [18:02:18.782] removed <- setdiff(old_names, names) [18:02:18.782] changed <- common[...future.oldEnvVars[common] != [18:02:18.782] envs[common]] [18:02:18.782] NAMES <- toupper(changed) [18:02:18.782] args <- list() [18:02:18.782] for (kk in seq_along(NAMES)) { [18:02:18.782] name <- changed[[kk]] [18:02:18.782] NAME <- NAMES[[kk]] [18:02:18.782] if (name != NAME && is.element(NAME, old_names)) [18:02:18.782] next [18:02:18.782] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:18.782] } [18:02:18.782] NAMES <- toupper(added) [18:02:18.782] for (kk in seq_along(NAMES)) { [18:02:18.782] name <- added[[kk]] [18:02:18.782] NAME <- NAMES[[kk]] [18:02:18.782] if (name != NAME && is.element(NAME, old_names)) [18:02:18.782] next [18:02:18.782] args[[name]] <- "" [18:02:18.782] } [18:02:18.782] NAMES <- toupper(removed) [18:02:18.782] for (kk in seq_along(NAMES)) { [18:02:18.782] name <- removed[[kk]] [18:02:18.782] NAME <- NAMES[[kk]] [18:02:18.782] if (name != NAME && is.element(NAME, old_names)) [18:02:18.782] next [18:02:18.782] args[[name]] <- ...future.oldEnvVars[[name]] [18:02:18.782] } [18:02:18.782] if (length(args) > 0) [18:02:18.782] base::do.call(base::Sys.setenv, args = args) [18:02:18.782] args <- names <- old_names <- NAMES <- envs <- common <- added <- removed <- NULL [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] base::do.call(base::Sys.setenv, args = base::as.list(...future.oldEnvVars)) [18:02:18.782] } [18:02:18.782] { [18:02:18.782] if (base::length(...future.futureOptionsAdded) > [18:02:18.782] 0L) { [18:02:18.782] opts <- base::vector("list", length = base::length(...future.futureOptionsAdded)) [18:02:18.782] base::names(opts) <- ...future.futureOptionsAdded [18:02:18.782] base::options(opts) [18:02:18.782] } [18:02:18.782] { [18:02:18.782] NULL [18:02:18.782] options(future.plan = NULL) [18:02:18.782] if (is.na(NA_character_)) [18:02:18.782] Sys.unsetenv("R_FUTURE_PLAN") [18:02:18.782] else Sys.setenv(R_FUTURE_PLAN = NA_character_) [18:02:18.782] future::plan(list(function (..., workers = list( [18:02:18.782] list(con = 5L, host = "localhost", rank = 0L, [18:02:18.782] session_info = list(r = list(platform = "x86_64-w64-mingw32", [18:02:18.782] arch = "x86_64", os = "mingw32", crt = "ucrt", [18:02:18.782] system = "x86_64, mingw32", status = "Under development (unstable)", [18:02:18.782] major = "4", minor = "4.0", year = "2023", [18:02:18.782] month = "06", day = "30", `svn rev` = "84625", [18:02:18.782] language = "R", version.string = "R Under development (unstable) (2023-06-30 r84625 ucrt)", [18:02:18.782] nickname = "Unsuffered Consequences", [18:02:18.782] os.type = "windows"), system = list(sysname = "Windows", [18:02:18.782] release = "Server x64", version = "build 20348", [18:02:18.782] nodename = "CRANWIN3", machine = "x86-64", [18:02:18.782] login = "CRAN", user = "CRAN", effective_user = "CRAN"), [18:02:18.782] libs = c("D:/temp/Rtmp67Lu9b/RLIBS_19fe819742e2c", [18:02:18.782] "D:/RCompile/recent/R/library"), pkgs = NULL, [18:02:18.782] pwd = "d:/RCompile/CRANincoming/R-devel/future.Rcheck/tests", [18:02:18.782] process = list(pid = 71788L))), list( [18:02:18.782] con = 6L, host = "localhost", rank = 1L, [18:02:18.782] session_info = list(r = list(platform = "x86_64-w64-mingw32", [18:02:18.782] arch = "x86_64", os = "mingw32", crt = "ucrt", [18:02:18.782] system = "x86_64, mingw32", status = "Under development (unstable)", [18:02:18.782] major = "4", minor = "4.0", year = "2023", [18:02:18.782] month = "06", day = "30", `svn rev` = "84625", [18:02:18.782] language = "R", version.string = "R Under development (unstable) (2023-06-30 r84625 ucrt)", [18:02:18.782] nickname = "Unsuffered Consequences", [18:02:18.782] os.type = "windows"), system = list(sysname = "Windows", [18:02:18.782] release = "Server x64", version = "build 20348", [18:02:18.782] nodename = "CRANWIN3", machine = "x86-64", [18:02:18.782] login = "CRAN", user = "CRAN", effective_user = "CRAN"), [18:02:18.782] libs = c("D:/temp/Rtmp67Lu9b/RLIBS_19fe819742e2c", [18:02:18.782] "D:/RCompile/recent/R/library"), pkgs = NULL, [18:02:18.782] pwd = "d:/RCompile/CRANincoming/R-devel/future.Rcheck/tests", [18:02:18.782] process = list(pid = 172660L)))), envir = parent.frame()) [18:02:18.782] strategy(..., workers = workers, envir = envir)), [18:02:18.782] .cleanup = FALSE, .init = FALSE) [18:02:18.782] } [18:02:18.782] } [18:02:18.782] } [18:02:18.782] }) [18:02:18.782] if (TRUE) { [18:02:18.782] base::sink(type = "output", split = FALSE) [18:02:18.782] if (TRUE) { [18:02:18.782] ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout)) [18:02:18.782] } [18:02:18.782] else { [18:02:18.782] ...future.result["stdout"] <- base::list(NULL) [18:02:18.782] } [18:02:18.782] base::close(...future.stdout) [18:02:18.782] ...future.stdout <- NULL [18:02:18.782] } [18:02:18.782] ...future.result$conditions <- ...future.conditions [18:02:18.782] ...future.result$finished <- base::Sys.time() [18:02:18.782] ...future.result [18:02:18.782] } [18:02:18.878] ClusterFuture started [18:02:18.878] result() for ClusterFuture ... [18:02:18.879] receiveMessageFromWorker() for ClusterFuture ... [18:02:18.879] - Validating connection of ClusterFuture [18:02:18.932] - received message: FutureResult [18:02:18.933] - Received FutureResult [18:02:18.933] - Erased future from FutureRegistry [18:02:18.933] result() for ClusterFuture ... [18:02:18.933] - result already collected: FutureResult [18:02:18.933] result() for ClusterFuture ... done [18:02:18.934] receiveMessageFromWorker() for ClusterFuture ... done [18:02:18.934] result() for ClusterFuture ... done [18:02:18.934] result() for ClusterFuture ... [18:02:18.934] - result already collected: FutureResult [18:02:18.934] result() for ClusterFuture ... done [18:02:18.935] plan(): plan_init() of 'tweaked', 'cluster', 'multiprocess', 'future', 'function' ... DONE [18:02:18.935] plan(): nbrOfWorkers() = 2 > n <- nbrOfWorkers() > message(sprintf("nbrOfWorkers: %g", n)) nbrOfWorkers: 2 > stopifnot(n == length(workers)) > parallel::stopCluster(workers) > > message("*** nbrOfWorkers() ... DONE") *** nbrOfWorkers() ... DONE > > source("incl/end.R") [18:02:18.936] plan(): Setting new future strategy stack: [18:02:18.936] List of future strategies: [18:02:18.936] 1. FutureStrategy: [18:02:18.936] - args: function (..., envir = parent.frame()) [18:02:18.936] - tweaked: FALSE [18:02:18.936] - call: future::plan(oplan) [18:02:18.937] 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.73 0.07 2.36