Running ‘DEPRECATED.R’ [1s/1s]
  Running ‘cluster-missing-doFuture-pkg.R’ [1s/3s]
  Running ‘doRNG,dopar.R’ [3s/8s]
  Running ‘doRNG,dorng.R’ [7s/15s]
  Running ‘foreach,errors.R’ [7s/24s]
  Running ‘foreach,globals.R’ [9s/25s]
  Running ‘foreach,nested.R’ [9s/32s]
  Running ‘foreach,nested_dopar.R’ [19s/59s]
  Running ‘foreach.R’ [3s/10s]
  Running ‘future.BatchJobs.R’ [1s/1s]
  Running ‘future.batchtools.R’ [1s/1s]
  Running ‘options.R’ [3s/8s]
  Running ‘registerDoFuture.R’ [2s/7s]
  Running ‘times.R’ [1s/3s]
  Running ‘zzz_opt-in,NMF.R’ [0s/1s]
  Running ‘zzz_opt-in,TSP.R’ [0s/1s]
  Running ‘zzz_opt-in,caret.R’ [0s/1s]
  Running ‘zzz_opt-in,foreach.R’ [0s/1s]
  Running ‘zzz_opt-in,glmnet.R’ [0s/1s]
  Running ‘zzz_opt-in,plyr.R’ [0s/1s]
Running the tests in ‘tests/times.R’ failed.
Complete output:
  > source("incl/start.R")
  Loading required package: globals
  Loading required package: future
  Loading required package: foreach
  Loading required package: iterators
  Loading required package: parallel
  [14:42:27.867] plan(): Setting new future strategy stack:
  [14:42:27.868] List of future strategies:
  [14:42:27.868] 1. sequential:
  [14:42:27.868]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:42:27.868]    - tweaked: FALSE
  [14:42:27.868]    - call: future::plan(future::sequential)
  [14:42:27.870] plan(): nbrOfWorkers() = 1
  > 
  > strategies <- future:::supportedStrategies()
  > strategies <- setdiff(strategies, "multiprocess")
  > 
  > message("*** times() ...")
  *** times() ...
  > 
  > res0 <- NULL
  > 
  > for (strategy in strategies) {
  +   message(sprintf("- plan('%s') ...", strategy))
  +   plan(strategy)
  + 
  +   mu <- 1.0
  +   sigma <- 2.0
  +   ## NOTE: Using times() with %dopar% without proper parallel RNG will likely
  +   ## produce unreliable results.  Here we don't produce random numbers so it
  +   ## is ok, but it's a toy example because just like base::replicate(),
  +   ## foreach::times() is commonly used for resampling purposes.
  +   res <- times(3L) %dopar% {
  +     dnorm(2L, mean = mu, sd = sigma)
  +   }
  +   print(res)
  + 
  +   if (is.null(res0)) {
  +     res0 <- res
  +   } else {
  +     stopifnot(all.equal(res, res0))
  +   }
  + 
  +   message(sprintf("- plan('%s') ... DONE", strategy))
  + } ## for (strategy ...)
  - plan('sequential') ...
  [14:42:27.904] plan(): Setting new future strategy stack:
  [14:42:27.905] List of future strategies:
  [14:42:27.905] 1. sequential:
  [14:42:27.905]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:42:27.905]    - tweaked: FALSE
  [14:42:27.905]    - call: plan(strategy)
  [14:42:27.940] plan(): nbrOfWorkers() = 1
  [14:42:27.942] doFuture() ...
  [14:42:27.944] - dummy globals (as locals): [0] 
  [14:42:27.945] - R expression:
  [14:42:27.946] {
  [14:42:27.946]     doFuture::registerDoFuture()
  [14:42:27.946]     lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:27.946]         ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:27.946]         NULL
  [14:42:27.946]         ...future.env <- environment()
  [14:42:27.946]         local({
  [14:42:27.946]             for (name in names(...future.x_jj)) {
  [14:42:27.946]                 assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:27.946]                   inherits = FALSE)
  [14:42:27.946]             }
  [14:42:27.946]         })
  [14:42:27.946]         tryCatch({
  [14:42:27.946]             dnorm(2L, mean = mu, sd = sigma)
  [14:42:27.946]         }, error = identity)
  [14:42:27.946]     })
  [14:42:27.946] }
  [14:42:27.947] - identifying globals and packages ...
  [14:42:27.949] getGlobalsAndPackages() ...
  [14:42:27.950] Searching for globals...
  [14:42:27.979] - globals found: [17] '{', '::', 'lapply', 'seq_along', '...future.x_ii', '<-', '[[', 'environment', 'local', 'for', 'names', 'assign', 'tryCatch', 'dnorm', 'mu', 'sigma', 'identity'
  [14:42:27.980] Searching for globals ... DONE
  [14:42:27.981] Resolving globals: FALSE
  [14:42:27.984] The total size of the 3 globals is 112 bytes (112 bytes)
  [14:42:27.985] - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:27.985] - packages: [1] 'stats'
  [14:42:27.985] getGlobalsAndPackages() ... DONE
  [14:42:27.986] List of 3
  [14:42:27.986]  $ ...future.x_ii: NULL
  [14:42:27.986]  $ mu            : num 1
  [14:42:27.986]  $ sigma         : num 2
  [14:42:27.986]  - attr(*, "where")=List of 3
  [14:42:27.986]   ..$ ...future.x_ii:<environment: 0x55acd3a5dbf8> 
  [14:42:27.986]   ..$ mu            :<environment: R_GlobalEnv> 
  [14:42:27.986]   ..$ sigma         :<environment: R_GlobalEnv> 
  [14:42:27.986]  - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list"
  [14:42:27.986]  - attr(*, "resolved")= logi FALSE
  [14:42:27.986]  - attr(*, "total_size")= num 112
  [14:42:28.009]   - R expression:
  [14:42:28.009] {
  [14:42:28.009]     doFuture::registerDoFuture()
  [14:42:28.009]     lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:28.009]         ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:28.009]         NULL
  [14:42:28.009]         ...future.env <- environment()
  [14:42:28.009]         local({
  [14:42:28.009]             for (name in names(...future.x_jj)) {
  [14:42:28.009]                 assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:28.009]                   inherits = FALSE)
  [14:42:28.009]             }
  [14:42:28.009]         })
  [14:42:28.009]         tryCatch({
  [14:42:28.009]             dnorm(2L, mean = mu, sd = sigma)
  [14:42:28.009]         }, error = identity)
  [14:42:28.009]     })
  [14:42:28.009] }
  [14:42:28.010]   - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.010] List of 3
  [14:42:28.010]  $ ...future.x_ii: NULL
  [14:42:28.010]  $ mu            : num 1
  [14:42:28.010]  $ sigma         : num 2
  [14:42:28.010]  - attr(*, "where")=List of 3
  [14:42:28.010]   ..$ ...future.x_ii:<environment: 0x55acd3a5dbf8> 
  [14:42:28.010]   ..$ mu            :<environment: R_GlobalEnv> 
  [14:42:28.010]   ..$ sigma         :<environment: R_GlobalEnv> 
  [14:42:28.010]  - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list"
  [14:42:28.010]  - attr(*, "resolved")= logi FALSE
  [14:42:28.010]  - attr(*, "total_size")= num 112
  [14:42:28.022]   - packages: [2] 'doFuture', 'stats'
  [14:42:28.022] - identifying globals and packages ... DONE
  [14:42:28.023] Number of chunks: 1
  [14:42:28.024] Number of futures (= number of chunks): 1
  [14:42:28.026] Launching 1 futures (chunks) ...
  [14:42:28.026] Chunk #1 of 1 ...
  [14:42:28.026]  - Finding globals in 'args_list' chunk #1 ...
  [14:42:28.027] getGlobalsAndPackages() ...
  [14:42:28.027] Searching for globals...
  [14:42:28.028] 
  [14:42:28.029] Searching for globals ... DONE
  [14:42:28.029] - globals: [0] <none>
  [14:42:28.029] getGlobalsAndPackages() ... DONE
  [14:42:28.030] 
  [14:42:28.030] 
  [14:42:28.030]  - Finding globals in 'args_list' for chunk #1 ... DONE
  [14:42:28.031] getGlobalsAndPackages() ...
  [14:42:28.032] - globals passed as-is: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.032] Resolving globals: FALSE
  [14:42:28.033] The total size of the 3 globals is 112 bytes (112 bytes)
  [14:42:28.034] - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.034] 
  [14:42:28.035] getGlobalsAndPackages() ... DONE
  [14:42:28.038] Packages needed by the future expression (n = 2): 'doFuture', 'stats'
  [14:42:28.039] Packages needed by future strategies (n = 0): <none>
  [14:42:28.046] {
  [14:42:28.046]     {
  [14:42:28.046]         ...future.startTime <- base::Sys.time()
  [14:42:28.046]         ...future.oldOptions <- base::options(future.startup.script = FALSE, 
  [14:42:28.046]             future.globals.onMissing = "ignore", future.globals.maxSize = NULL, 
  [14:42:28.046]             future.globals.method = NULL, future.globals.onMissing = NULL, 
  [14:42:28.046]             future.globals.onReference = NULL, future.globals.resolve = NULL, 
  [14:42:28.046]             future.resolve.recursive = NULL, width = 80L)
  [14:42:28.046]         {
  [14:42:28.046]             {
  [14:42:28.046]                 {
  [14:42:28.046]                   base::local({
  [14:42:28.046]                     has_future <- base::requireNamespace("future", 
  [14:42:28.046]                       quietly = TRUE)
  [14:42:28.046]                     version <- if (has_future) 
  [14:42:28.046]                       utils::packageVersion("future")
  [14:42:28.046]                     else NULL
  [14:42:28.046]                     if (!has_future || version < "1.8.0") {
  [14:42:28.046]                       info <- base::c(r_version = base::gsub("R version ", 
  [14:42:28.046]                         "", base::R.version$version.string), 
  [14:42:28.046]                         platform = base::sprintf("%s (%s-bit)", 
  [14:42:28.046]                           base::R.version$platform, 8 * base::.Machine$sizeof.pointer), 
  [14:42:28.046]                         os = base::paste(base::Sys.info()[base::c("sysname", 
  [14:42:28.046]                           "release", "version")], collapse = " "), 
  [14:42:28.046]                         hostname = base::Sys.info()[["nodename"]])
  [14:42:28.046]                       info <- base::sprintf("%s: %s", base::names(info), 
  [14:42:28.046]                         info)
  [14:42:28.046]                       info <- base::paste(info, collapse = "; ")
  [14:42:28.046]                       if (!has_future) {
  [14:42:28.046]                         msg <- base::sprintf("Package 'future' is not installed on worker (%s)", 
  [14:42:28.046]                           info)
  [14:42:28.046]                       }
  [14:42:28.046]                       else {
  [14:42:28.046]                         msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", 
  [14:42:28.046]                           info, version)
  [14:42:28.046]                       }
  [14:42:28.046]                       base::stop(msg)
  [14:42:28.046]                     }
  [14:42:28.046]                   })
  [14:42:28.046]                 }
  [14:42:28.046]                 base::local({
  [14:42:28.046]                   for (pkg in c("doFuture", "stats")) {
  [14:42:28.046]                     base::loadNamespace(pkg)
  [14:42:28.046]                     base::library(pkg, character.only = TRUE)
  [14:42:28.046]                   }
  [14:42:28.046]                 })
  [14:42:28.046]             }
  [14:42:28.046]             future::plan("default", .cleanup = FALSE, .init = FALSE)
  [14:42:28.046]         }
  [14:42:28.046]     }
  [14:42:28.046]     if (base::is.na(TRUE)) {
  [14:42:28.046]     }
  [14:42:28.046]     else {
  [14:42:28.046]         if (TRUE) {
  [14:42:28.046]             ...future.stdout <- base::rawConnection(base::raw(0L), 
  [14:42:28.046]                 open = "w")
  [14:42:28.046]         }
  [14:42:28.046]         else {
  [14:42:28.046]             ...future.stdout <- base::file(base::switch(.Platform$OS.type, 
  [14:42:28.046]                 windows = "NUL", "/dev/null"), open = "w")
  [14:42:28.046]         }
  [14:42:28.046]         base::sink(...future.stdout, type = "output", split = FALSE)
  [14:42:28.046]         base::on.exit(if (!base::is.null(...future.stdout)) {
  [14:42:28.046]             base::sink(type = "output", split = FALSE)
  [14:42:28.046]             base::close(...future.stdout)
  [14:42:28.046]         }, add = TRUE)
  [14:42:28.046]     }
  [14:42:28.046]     ...future.frame <- base::sys.nframe()
  [14:42:28.046]     ...future.conditions <- base::list()
  [14:42:28.046]     ...future.rng <- base::globalenv()$.Random.seed
  [14:42:28.046]     ...future.result <- base::tryCatch({
  [14:42:28.046]         base::withCallingHandlers({
  [14:42:28.046]             ...future.value <- base::withVisible(base::local({
  [14:42:28.046]                 doFuture::registerDoFuture()
  [14:42:28.046]                 lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:28.046]                   ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:28.046]                   NULL
  [14:42:28.046]                   ...future.env <- environment()
  [14:42:28.046]                   local({
  [14:42:28.046]                     for (name in names(...future.x_jj)) {
  [14:42:28.046]                       assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:28.046]                         inherits = FALSE)
  [14:42:28.046]                     }
  [14:42:28.046]                   })
  [14:42:28.046]                   tryCatch({
  [14:42:28.046]                     dnorm(2L, mean = mu, sd = sigma)
  [14:42:28.046]                   }, error = identity)
  [14:42:28.046]                 })
  [14:42:28.046]             }))
  [14:42:28.046]             future::FutureResult(value = ...future.value$value, 
  [14:42:28.046]                 visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, 
  [14:42:28.046]                   ...future.rng), started = ...future.startTime, 
  [14:42:28.046]                 version = "1.8")
  [14:42:28.046]         }, condition = base::local({
  [14:42:28.046]             c <- base::c
  [14:42:28.046]             inherits <- base::inherits
  [14:42:28.046]             invokeRestart <- base::invokeRestart
  [14:42:28.046]             length <- base::length
  [14:42:28.046]             list <- base::list
  [14:42:28.046]             seq.int <- base::seq.int
  [14:42:28.046]             signalCondition <- base::signalCondition
  [14:42:28.046]             sys.calls <- base::sys.calls
  [14:42:28.046]             Sys.time <- base::Sys.time
  [14:42:28.046]             `[[` <- base::`[[`
  [14:42:28.046]             `+` <- base::`+`
  [14:42:28.046]             `<<-` <- base::`<<-`
  [14:42:28.046]             sysCalls <- function(calls = sys.calls(), from = 1L) {
  [14:42:28.046]                 calls[seq.int(from = from + 12L, to = length(calls) - 
  [14:42:28.046]                   3L)]
  [14:42:28.046]             }
  [14:42:28.046]             function(cond) {
  [14:42:28.046]                 if (inherits(cond, "error")) {
  [14:42:28.046]                   sessionInformation <- function() {
  [14:42:28.046]                     list(r = base::R.Version(), locale = base::Sys.getlocale(), 
  [14:42:28.046]                       rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), 
  [14:42:28.046]                       search = base::search(), system = base::Sys.info())
  [14:42:28.046]                   }
  [14:42:28.046]                   ...future.conditions[[length(...future.conditions) + 
  [14:42:28.046]                     1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), 
  [14:42:28.046]                     cond$call), session = sessionInformation(), 
  [14:42:28.046]                     timestamp = Sys.time(), signaled = 0L)
  [14:42:28.046]                   signalCondition(cond)
  [14:42:28.046]                 }
  [14:42:28.046]                 else if (inherits(cond, c("condition", "immediateCondition"
  [14:42:28.046]                 ))) {
  [14:42:28.046]                   signal <- TRUE && inherits(cond, "immediateCondition")
  [14:42:28.046]                   ...future.conditions[[length(...future.conditions) + 
  [14:42:28.046]                     1L]] <<- list(condition = cond, signaled = base::as.integer(signal))
  [14:42:28.046]                   if (!signal) {
  [14:42:28.046]                     muffleCondition <- function (cond) 
  [14:42:28.046]                     {
  [14:42:28.046]                       inherits <- base::inherits
  [14:42:28.046]                       invokeRestart <- base::invokeRestart
  [14:42:28.046]                       muffled <- FALSE
  [14:42:28.046]                       if (inherits(cond, "message")) {
  [14:42:28.046]                         invokeRestart("muffleMessage")
  [14:42:28.046]                         muffled <- TRUE
  [14:42:28.046]                       }
  [14:42:28.046]                       else if (inherits(cond, "warning")) {
  [14:42:28.046]                         invokeRestart("muffleWarning")
  [14:42:28.046]                         muffled <- TRUE
  [14:42:28.046]                       }
  [14:42:28.046]                       else if (inherits(cond, "condition")) {
  [14:42:28.046]                         computeRestarts <- base::computeRestarts
  [14:42:28.046]                         grepl <- base::grepl
  [14:42:28.046]                         is.null <- base::is.null
  [14:42:28.046]                         restarts <- computeRestarts(cond)
  [14:42:28.046]                         for (restart in restarts) {
  [14:42:28.046]                           name <- restart$name
  [14:42:28.046]                           if (is.null(name)) 
  [14:42:28.046]                             next
  [14:42:28.046]                           if (!grepl("^muffle", name)) 
  [14:42:28.046]                             next
  [14:42:28.046]                           invokeRestart(restart)
  [14:42:28.046]                           muffled <- TRUE
  [14:42:28.046]                           break
  [14:42:28.046]                         }
  [14:42:28.046]                       }
  [14:42:28.046]                       invisible(muffled)
  [14:42:28.046]                     }
  [14:42:28.046]                     muffleCondition(cond)
  [14:42:28.046]                   }
  [14:42:28.046]                 }
  [14:42:28.046]             }
  [14:42:28.046]         }))
  [14:42:28.046]     }, error = function(ex) {
  [14:42:28.046]         base::structure(base::list(value = NULL, visible = NULL, 
  [14:42:28.046]             conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, 
  [14:42:28.046]                 ...future.rng), version = "1.8"), class = "FutureResult")
  [14:42:28.046]     }, finally = {
  [14:42:28.046]         {
  [14:42:28.046]             NULL
  [14:42:28.046]             future::plan(list(function (expr, envir = parent.frame(), 
  [14:42:28.046]                 substitute = TRUE, lazy = FALSE, seed = NULL, 
  [14:42:28.046]                 globals = TRUE, local = TRUE, earlySignal = FALSE, 
  [14:42:28.046]                 label = NULL, ...) 
  [14:42:28.046]             {
  [14:42:28.046]                 if (substitute) 
  [14:42:28.046]                   expr <- substitute(expr)
  [14:42:28.046]                 local <- as.logical(local)
  [14:42:28.046]                 future <- SequentialFuture(expr = expr, envir = envir, 
  [14:42:28.046]                   substitute = FALSE, lazy = lazy, seed = seed, 
  [14:42:28.046]                   globals = globals, local = local, earlySignal = earlySignal, 
  [14:42:28.046]                   label = label, ...)
  [14:42:28.046]                 if (!future$lazy) 
  [14:42:28.046]                   future <- run(future)
  [14:42:28.046]                 invisible(future)
  [14:42:28.046]             }), .cleanup = FALSE, .init = FALSE)
  [14:42:28.046]         }
  [14:42:28.046]         base::options(...future.oldOptions)
  [14:42:28.046]     })
  [14:42:28.046]     Sys.time
  [14:42:28.046]     if (base::is.na(TRUE)) {
  [14:42:28.046]     }
  [14:42:28.046]     else {
  [14:42:28.046]         base::sink(type = "output", split = FALSE)
  [14:42:28.046]         if (TRUE) {
  [14:42:28.046]             ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout))
  [14:42:28.046]         }
  [14:42:28.046]         else {
  [14:42:28.046]             ...future.result["stdout"] <- base::list(NULL)
  [14:42:28.046]         }
  [14:42:28.046]         base::close(...future.stdout)
  [14:42:28.046]         ...future.stdout <- NULL
  [14:42:28.046]     }
  [14:42:28.046]     ...future.result$conditions <- ...future.conditions
  [14:42:28.046]     ...future.result
  [14:42:28.046] }
  [14:42:28.053] plan(): Setting new future strategy stack:
  [14:42:28.054] List of future strategies:
  [14:42:28.054] 1. sequential:
  [14:42:28.054]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:42:28.054]    - tweaked: FALSE
  [14:42:28.054]    - call: NULL
  [14:42:28.055] plan(): nbrOfWorkers() = 1
  [14:42:28.073] plan(): Setting new future strategy stack:
  [14:42:28.074] List of future strategies:
  [14:42:28.074] 1. sequential:
  [14:42:28.074]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:42:28.074]    - tweaked: FALSE
  [14:42:28.074]    - call: plan(strategy)
  [14:42:28.075] plan(): nbrOfWorkers() = 1
  [14:42:28.076] SequentialFuture started (and completed)
  [14:42:28.077] Chunk #1 of 1 ... DONE
  [14:42:28.077] Launching 1 futures (chunks) ... DONE
  [14:42:28.078] - resolving futures
  [14:42:28.078]   - gathering results & relaying conditions (except errors)
  [14:42:28.079] resolve() on list ...
  [14:42:28.079]  recursive: 0
  [14:42:28.080]  length: 1
  [14:42:28.081] 
  [14:42:28.081] Future #1
  [14:42:28.082] signalConditionsASAP(SequentialFuture, pos=1) ...
  [14:42:28.083] - nx: 1
  [14:42:28.083] - relay: TRUE
  [14:42:28.083] - stdout: TRUE
  [14:42:28.084] - signal: TRUE
  [14:42:28.084] - resignal: FALSE
  [14:42:28.084] - force: FALSE
  [14:42:28.085] - relayed: [n=1] FALSE
  [14:42:28.085] - queued futures: [n=1] FALSE
  [14:42:28.085]  - until=1
  [14:42:28.086]  - relaying element #1
  [14:42:28.086] - relayed: [n=1] TRUE
  [14:42:28.087] - queued futures: [n=1] TRUE
  [14:42:28.087] signalConditionsASAP(SequentialFuture, pos=1) ... done
  [14:42:28.088]  length: 0 (resolved future 1)
  [14:42:28.088] Relaying remaining futures
  [14:42:28.088] signalConditionsASAP(NULL, pos=0) ...
  [14:42:28.089] - nx: 1
  [14:42:28.089] - relay: TRUE
  [14:42:28.089] - stdout: TRUE
  [14:42:28.090] - signal: TRUE
  [14:42:28.093] - resignal: FALSE
  [14:42:28.094] - force: FALSE
  [14:42:28.094] - relayed: [n=1] TRUE
  [14:42:28.094] - queued futures: [n=1] TRUE
   - flush all
  [14:42:28.095] - relayed: [n=1] TRUE
  [14:42:28.095] - queued futures: [n=1] TRUE
  [14:42:28.096] signalConditionsASAP(NULL, pos=0) ... done
  [14:42:28.096] resolve() on list ... DONE
  [14:42:28.096] - collecting values of futures
  [14:42:28.097] - accumulating results
  [14:42:28.100] - processing errors (handler = 'stop')
  [14:42:28.100] - extracting results
  [14:42:28.101] doFuture() ... DONE
  [1] 0.1760327 0.1760327 0.1760327
  - plan('sequential') ... DONE
  - plan('multicore') ...
  [14:42:28.102] plan(): Setting new future strategy stack:
  [14:42:28.102] List of future strategies:
  [14:42:28.102] 1. multicore:
  [14:42:28.102]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = availableCores(constraints = "multicore"), earlySignal = FALSE, label = NULL, ...)
  [14:42:28.102]    - tweaked: FALSE
  [14:42:28.102]    - call: plan(strategy)
  [14:42:28.121] plan(): nbrOfWorkers() = 2
  [14:42:28.122] doFuture() ...
  [14:42:28.123] - dummy globals (as locals): [0] 
  [14:42:28.124] - R expression:
  [14:42:28.124] {
  [14:42:28.124]     doFuture::registerDoFuture()
  [14:42:28.124]     lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:28.124]         ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:28.124]         NULL
  [14:42:28.124]         ...future.env <- environment()
  [14:42:28.124]         local({
  [14:42:28.124]             for (name in names(...future.x_jj)) {
  [14:42:28.124]                 assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:28.124]                   inherits = FALSE)
  [14:42:28.124]             }
  [14:42:28.124]         })
  [14:42:28.124]         tryCatch({
  [14:42:28.124]             dnorm(2L, mean = mu, sd = sigma)
  [14:42:28.124]         }, error = identity)
  [14:42:28.124]     })
  [14:42:28.124] }
  [14:42:28.125] - identifying globals and packages ...
  [14:42:28.126] getGlobalsAndPackages() ...
  [14:42:28.126] Searching for globals...
  [14:42:28.141] - globals found: [17] '{', '::', 'lapply', 'seq_along', '...future.x_ii', '<-', '[[', 'environment', 'local', 'for', 'names', 'assign', 'tryCatch', 'dnorm', 'mu', 'sigma', 'identity'
  [14:42:28.142] Searching for globals ... DONE
  [14:42:28.142] Resolving globals: FALSE
  [14:42:28.144] The total size of the 3 globals is 112 bytes (112 bytes)
  [14:42:28.145] - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.145] - packages: [1] 'stats'
  [14:42:28.145] getGlobalsAndPackages() ... DONE
  [14:42:28.146] List of 3
  [14:42:28.146]  $ ...future.x_ii: NULL
  [14:42:28.146]  $ mu            : num 1
  [14:42:28.146]  $ sigma         : num 2
  [14:42:28.146]  - attr(*, "where")=List of 3
  [14:42:28.146]   ..$ ...future.x_ii:<environment: 0x55acd21a0a18> 
  [14:42:28.146]   ..$ mu            :<environment: R_GlobalEnv> 
  [14:42:28.146]   ..$ sigma         :<environment: R_GlobalEnv> 
  [14:42:28.146]  - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list"
  [14:42:28.146]  - attr(*, "resolved")= logi FALSE
  [14:42:28.146]  - attr(*, "total_size")= num 112
  [14:42:28.158]   - R expression:
  [14:42:28.158] {
  [14:42:28.158]     doFuture::registerDoFuture()
  [14:42:28.158]     lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:28.158]         ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:28.158]         NULL
  [14:42:28.158]         ...future.env <- environment()
  [14:42:28.158]         local({
  [14:42:28.158]             for (name in names(...future.x_jj)) {
  [14:42:28.158]                 assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:28.158]                   inherits = FALSE)
  [14:42:28.158]             }
  [14:42:28.158]         })
  [14:42:28.158]         tryCatch({
  [14:42:28.158]             dnorm(2L, mean = mu, sd = sigma)
  [14:42:28.158]         }, error = identity)
  [14:42:28.158]     })
  [14:42:28.158] }
  [14:42:28.159]   - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.160] List of 3
  [14:42:28.160]  $ ...future.x_ii: NULL
  [14:42:28.160]  $ mu            : num 1
  [14:42:28.160]  $ sigma         : num 2
  [14:42:28.160]  - attr(*, "where")=List of 3
  [14:42:28.160]   ..$ ...future.x_ii:<environment: 0x55acd21a0a18> 
  [14:42:28.160]   ..$ mu            :<environment: R_GlobalEnv> 
  [14:42:28.160]   ..$ sigma         :<environment: R_GlobalEnv> 
  [14:42:28.160]  - attr(*, "class")= chr [1:3] "FutureGlobals" "Globals" "list"
  [14:42:28.160]  - attr(*, "resolved")= logi FALSE
  [14:42:28.160]  - attr(*, "total_size")= num 112
  [14:42:28.171]   - packages: [2] 'doFuture', 'stats'
  [14:42:28.172] - identifying globals and packages ... DONE
  [14:42:28.176] Number of chunks: 2
  [14:42:28.176] Number of futures (= number of chunks): 2
  [14:42:28.177] Launching 2 futures (chunks) ...
  [14:42:28.177] Chunk #1 of 2 ...
  [14:42:28.178]  - Finding globals in 'args_list' chunk #1 ...
  [14:42:28.178] getGlobalsAndPackages() ...
  [14:42:28.178] Searching for globals...
  [14:42:28.179] 
  [14:42:28.180] Searching for globals ... DONE
  [14:42:28.180] - globals: [0] <none>
  [14:42:28.180] getGlobalsAndPackages() ... DONE
  [14:42:28.181] 
  [14:42:28.181] 
  [14:42:28.181]  - Finding globals in 'args_list' for chunk #1 ... DONE
  [14:42:28.183] getGlobalsAndPackages() ...
  [14:42:28.183] - globals passed as-is: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.183] Resolving globals: FALSE
  [14:42:28.185] The total size of the 3 globals is 112 bytes (112 bytes)
  [14:42:28.185] - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.185] 
  [14:42:28.186] getGlobalsAndPackages() ... DONE
  [14:42:28.192] Packages needed by the future expression (n = 2): 'doFuture', 'stats'
  [14:42:28.193] Packages needed by future strategies (n = 0): <none>
  [14:42:28.199] {
  [14:42:28.199]     {
  [14:42:28.199]         ...future.startTime <- base::Sys.time()
  [14:42:28.199]         ...future.oldOptions <- base::options(future.startup.script = FALSE, 
  [14:42:28.199]             future.globals.onMissing = "ignore", future.globals.maxSize = NULL, 
  [14:42:28.199]             future.globals.method = NULL, future.globals.onMissing = "ignore", 
  [14:42:28.199]             future.globals.onReference = NULL, future.globals.resolve = NULL, 
  [14:42:28.199]             future.resolve.recursive = NULL, width = 80L)
  [14:42:28.199]         {
  [14:42:28.199]             {
  [14:42:28.199]                 {
  [14:42:28.199]                   {
  [14:42:28.199]                     base::local({
  [14:42:28.199]                       has_future <- base::requireNamespace("future", 
  [14:42:28.199]                         quietly = TRUE)
  [14:42:28.199]                       version <- if (has_future) 
  [14:42:28.199]                         utils::packageVersion("future")
  [14:42:28.199]                       else NULL
  [14:42:28.199]                       if (!has_future || version < "1.8.0") {
  [14:42:28.199]                         info <- base::c(r_version = base::gsub("R version ", 
  [14:42:28.199]                           "", base::R.version$version.string), 
  [14:42:28.199]                           platform = base::sprintf("%s (%s-bit)", 
  [14:42:28.199]                             base::R.version$platform, 8 * base::.Machine$sizeof.pointer), 
  [14:42:28.199]                           os = base::paste(base::Sys.info()[base::c("sysname", 
  [14:42:28.199]                             "release", "version")], collapse = " "), 
  [14:42:28.199]                           hostname = base::Sys.info()[["nodename"]])
  [14:42:28.199]                         info <- base::sprintf("%s: %s", base::names(info), 
  [14:42:28.199]                           info)
  [14:42:28.199]                         info <- base::paste(info, collapse = "; ")
  [14:42:28.199]                         if (!has_future) {
  [14:42:28.199]                           msg <- base::sprintf("Package 'future' is not installed on worker (%s)", 
  [14:42:28.199]                             info)
  [14:42:28.199]                         }
  [14:42:28.199]                         else {
  [14:42:28.199]                           msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", 
  [14:42:28.199]                             info, version)
  [14:42:28.199]                         }
  [14:42:28.199]                         base::stop(msg)
  [14:42:28.199]                       }
  [14:42:28.199]                     })
  [14:42:28.199]                   }
  [14:42:28.199]                   ...future.mc.cores.old <- base::getOption("mc.cores")
  [14:42:28.199]                   base::options(mc.cores = 1L)
  [14:42:28.199]                 }
  [14:42:28.199]                 base::local({
  [14:42:28.199]                   for (pkg in c("doFuture", "stats")) {
  [14:42:28.199]                     base::loadNamespace(pkg)
  [14:42:28.199]                     base::library(pkg, character.only = TRUE)
  [14:42:28.199]                   }
  [14:42:28.199]                 })
  [14:42:28.199]             }
  [14:42:28.199]             future::plan("default", .cleanup = FALSE, .init = FALSE)
  [14:42:28.199]         }
  [14:42:28.199]     }
  [14:42:28.199]     if (base::is.na(TRUE)) {
  [14:42:28.199]     }
  [14:42:28.199]     else {
  [14:42:28.199]         if (TRUE) {
  [14:42:28.199]             ...future.stdout <- base::rawConnection(base::raw(0L), 
  [14:42:28.199]                 open = "w")
  [14:42:28.199]         }
  [14:42:28.199]         else {
  [14:42:28.199]             ...future.stdout <- base::file(base::switch(.Platform$OS.type, 
  [14:42:28.199]                 windows = "NUL", "/dev/null"), open = "w")
  [14:42:28.199]         }
  [14:42:28.199]         base::sink(...future.stdout, type = "output", split = FALSE)
  [14:42:28.199]         base::on.exit(if (!base::is.null(...future.stdout)) {
  [14:42:28.199]             base::sink(type = "output", split = FALSE)
  [14:42:28.199]             base::close(...future.stdout)
  [14:42:28.199]         }, add = TRUE)
  [14:42:28.199]     }
  [14:42:28.199]     ...future.frame <- base::sys.nframe()
  [14:42:28.199]     ...future.conditions <- base::list()
  [14:42:28.199]     ...future.rng <- base::globalenv()$.Random.seed
  [14:42:28.199]     ...future.result <- base::tryCatch({
  [14:42:28.199]         base::withCallingHandlers({
  [14:42:28.199]             ...future.value <- base::withVisible(base::local({
  [14:42:28.199]                 doFuture::registerDoFuture()
  [14:42:28.199]                 lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:28.199]                   ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:28.199]                   NULL
  [14:42:28.199]                   ...future.env <- environment()
  [14:42:28.199]                   local({
  [14:42:28.199]                     for (name in names(...future.x_jj)) {
  [14:42:28.199]                       assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:28.199]                         inherits = FALSE)
  [14:42:28.199]                     }
  [14:42:28.199]                   })
  [14:42:28.199]                   tryCatch({
  [14:42:28.199]                     dnorm(2L, mean = mu, sd = sigma)
  [14:42:28.199]                   }, error = identity)
  [14:42:28.199]                 })
  [14:42:28.199]             }))
  [14:42:28.199]             future::FutureResult(value = ...future.value$value, 
  [14:42:28.199]                 visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, 
  [14:42:28.199]                   ...future.rng), started = ...future.startTime, 
  [14:42:28.199]                 version = "1.8")
  [14:42:28.199]         }, condition = base::local({
  [14:42:28.199]             c <- base::c
  [14:42:28.199]             inherits <- base::inherits
  [14:42:28.199]             invokeRestart <- base::invokeRestart
  [14:42:28.199]             length <- base::length
  [14:42:28.199]             list <- base::list
  [14:42:28.199]             seq.int <- base::seq.int
  [14:42:28.199]             signalCondition <- base::signalCondition
  [14:42:28.199]             sys.calls <- base::sys.calls
  [14:42:28.199]             Sys.time <- base::Sys.time
  [14:42:28.199]             `[[` <- base::`[[`
  [14:42:28.199]             `+` <- base::`+`
  [14:42:28.199]             `<<-` <- base::`<<-`
  [14:42:28.199]             sysCalls <- function(calls = sys.calls(), from = 1L) {
  [14:42:28.199]                 calls[seq.int(from = from + 12L, to = length(calls) - 
  [14:42:28.199]                   3L)]
  [14:42:28.199]             }
  [14:42:28.199]             function(cond) {
  [14:42:28.199]                 if (inherits(cond, "error")) {
  [14:42:28.199]                   sessionInformation <- function() {
  [14:42:28.199]                     list(r = base::R.Version(), locale = base::Sys.getlocale(), 
  [14:42:28.199]                       rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), 
  [14:42:28.199]                       search = base::search(), system = base::Sys.info())
  [14:42:28.199]                   }
  [14:42:28.199]                   ...future.conditions[[length(...future.conditions) + 
  [14:42:28.199]                     1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), 
  [14:42:28.199]                     cond$call), session = sessionInformation(), 
  [14:42:28.199]                     timestamp = Sys.time(), signaled = 0L)
  [14:42:28.199]                   signalCondition(cond)
  [14:42:28.199]                 }
  [14:42:28.199]                 else if (inherits(cond, "condition")) {
  [14:42:28.199]                   signal <- FALSE && inherits(cond, character(0))
  [14:42:28.199]                   ...future.conditions[[length(...future.conditions) + 
  [14:42:28.199]                     1L]] <<- list(condition = cond, signaled = base::as.integer(signal))
  [14:42:28.199]                   if (!signal) {
  [14:42:28.199]                     muffleCondition <- function (cond) 
  [14:42:28.199]                     {
  [14:42:28.199]                       inherits <- base::inherits
  [14:42:28.199]                       invokeRestart <- base::invokeRestart
  [14:42:28.199]                       muffled <- FALSE
  [14:42:28.199]                       if (inherits(cond, "message")) {
  [14:42:28.199]                         invokeRestart("muffleMessage")
  [14:42:28.199]                         muffled <- TRUE
  [14:42:28.199]                       }
  [14:42:28.199]                       else if (inherits(cond, "warning")) {
  [14:42:28.199]                         invokeRestart("muffleWarning")
  [14:42:28.199]                         muffled <- TRUE
  [14:42:28.199]                       }
  [14:42:28.199]                       else if (inherits(cond, "condition")) {
  [14:42:28.199]                         computeRestarts <- base::computeRestarts
  [14:42:28.199]                         grepl <- base::grepl
  [14:42:28.199]                         is.null <- base::is.null
  [14:42:28.199]                         restarts <- computeRestarts(cond)
  [14:42:28.199]                         for (restart in restarts) {
  [14:42:28.199]                           name <- restart$name
  [14:42:28.199]                           if (is.null(name)) 
  [14:42:28.199]                             next
  [14:42:28.199]                           if (!grepl("^muffle", name)) 
  [14:42:28.199]                             next
  [14:42:28.199]                           invokeRestart(restart)
  [14:42:28.199]                           muffled <- TRUE
  [14:42:28.199]                           break
  [14:42:28.199]                         }
  [14:42:28.199]                       }
  [14:42:28.199]                       invisible(muffled)
  [14:42:28.199]                     }
  [14:42:28.199]                     muffleCondition(cond)
  [14:42:28.199]                   }
  [14:42:28.199]                 }
  [14:42:28.199]             }
  [14:42:28.199]         }))
  [14:42:28.199]     }, error = function(ex) {
  [14:42:28.199]         base::structure(base::list(value = NULL, visible = NULL, 
  [14:42:28.199]             conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, 
  [14:42:28.199]                 ...future.rng), version = "1.8"), class = "FutureResult")
  [14:42:28.199]     }, finally = {
  [14:42:28.199]         {
  [14:42:28.199]             {
  [14:42:28.199]                 base::options(mc.cores = ...future.mc.cores.old)
  [14:42:28.199]             }
  [14:42:28.199]             future::plan(list(function (expr, envir = parent.frame(), 
  [14:42:28.199]                 substitute = TRUE, lazy = FALSE, seed = NULL, 
  [14:42:28.199]                 globals = TRUE, workers = availableCores(constraints = "multicore"), 
  [14:42:28.199]                 earlySignal = FALSE, label = NULL, ...) 
  [14:42:28.199]             {
  [14:42:28.199]                 if (substitute) 
  [14:42:28.199]                   expr <- substitute(expr)
  [14:42:28.199]                 if (is.function(workers)) 
  [14:42:28.199]                   workers <- workers()
  [14:42:28.199]                 workers <- as.integer(workers)
  [14:42:28.199]                 stop_if_not(is.finite(workers), workers >= 1L)
  [14:42:28.199]                 if (workers == 1L || !supportsMulticore(warn = TRUE)) {
  [14:42:28.199]                   return(sequential(expr, envir = envir, substitute = FALSE, 
  [14:42:28.199]                     lazy = lazy, seed = seed, globals = globals, 
  [14:42:28.199]                     local = TRUE, label = label, ...))
  [14:42:28.199]                 }
  [14:42:28.199]                 oopts <- options(mc.cores = workers)
  [14:42:28.199]                 on.exit(options(oopts))
  [14:42:28.199]                 future <- MulticoreFuture(expr = expr, envir = envir, 
  [14:42:28.199]                   substitute = FALSE, lazy = lazy, seed = seed, 
  [14:42:28.199]                   globals = globals, workers = workers, earlySignal = earlySignal, 
  [14:42:28.199]                   label = label, ...)
  [14:42:28.199]                 if (!future$lazy) 
  [14:42:28.199]                   future <- run(future)
  [14:42:28.199]                 invisible(future)
  [14:42:28.199]             }), .cleanup = FALSE, .init = FALSE)
  [14:42:28.199]         }
  [14:42:28.199]         base::options(...future.oldOptions)
  [14:42:28.199]     })
  [14:42:28.199]     Sys.time
  [14:42:28.199]     if (base::is.na(TRUE)) {
  [14:42:28.199]     }
  [14:42:28.199]     else {
  [14:42:28.199]         base::sink(type = "output", split = FALSE)
  [14:42:28.199]         if (TRUE) {
  [14:42:28.199]             ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout))
  [14:42:28.199]         }
  [14:42:28.199]         else {
  [14:42:28.199]             ...future.result["stdout"] <- base::list(NULL)
  [14:42:28.199]         }
  [14:42:28.199]         base::close(...future.stdout)
  [14:42:28.199]         ...future.stdout <- NULL
  [14:42:28.199]     }
  [14:42:28.199]     ...future.result$conditions <- ...future.conditions
  [14:42:28.199]     ...future.result
  [14:42:28.199] }
  [14:42:28.204] requestCore(): workers = 2
  [14:42:28.209] MulticoreFuture started
  [14:42:28.210] Chunk #1 of 2 ... DONE
  [14:42:28.211] Chunk #2 of 2 ...
  [14:42:28.211]  - Finding globals in 'args_list' chunk #2 ...
  [14:42:28.212] getGlobalsAndPackages() ...
  [14:42:28.213] Searching for globals...
  [14:42:28.214] 
  [14:42:28.215] Searching for globals ... DONE
  [14:42:28.215] - globals: [0] <none>
  [14:42:28.216] getGlobalsAndPackages() ... DONE
  [14:42:28.216] 
  [14:42:28.216] 
  [14:42:28.217]  - Finding globals in 'args_list' for chunk #2 ... DONE
  [14:42:28.219] getGlobalsAndPackages() ...
  [14:42:28.219] - globals passed as-is: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.220] Resolving globals: FALSE
  [14:42:28.228] plan(): Setting new future strategy stack:
  [14:42:28.229] List of future strategies:
  [14:42:28.229] 1. sequential:
  [14:42:28.229]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:42:28.229]    - tweaked: FALSE
  [14:42:28.229]    - call: NULL
  [14:42:28.231] plan(): nbrOfWorkers() = 1
  [14:42:28.233] plan(): Setting new future strategy stack:
  [14:42:28.234] List of future strategies:
  [14:42:28.234] 1. multicore:
  [14:42:28.234]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = availableCores(constraints = "multicore"), earlySignal = FALSE, label = NULL, ...)
  [14:42:28.234]    - tweaked: FALSE
  [14:42:28.234]    - call: plan(strategy)
  [14:42:28.236] plan(): nbrOfWorkers() = 2
  [14:42:28.222] The total size of the 3 globals is 112 bytes (112 bytes)
  [14:42:28.237] - globals: [3] '...future.x_ii', 'mu', 'sigma'
  [14:42:28.238] 
  [14:42:28.238] getGlobalsAndPackages() ... DONE
  [14:42:28.242] Packages needed by the future expression (n = 2): 'doFuture', 'stats'
  [14:42:28.243] Packages needed by future strategies (n = 0): <none>
  [14:42:28.252] {
  [14:42:28.252]     {
  [14:42:28.252]         ...future.startTime <- base::Sys.time()
  [14:42:28.252]         ...future.oldOptions <- base::options(future.startup.script = FALSE, 
  [14:42:28.252]             future.globals.onMissing = "ignore", future.globals.maxSize = NULL, 
  [14:42:28.252]             future.globals.method = NULL, future.globals.onMissing = "ignore", 
  [14:42:28.252]             future.globals.onReference = NULL, future.globals.resolve = NULL, 
  [14:42:28.252]             future.resolve.recursive = NULL, width = 80L)
  [14:42:28.252]         {
  [14:42:28.252]             {
  [14:42:28.252]                 {
  [14:42:28.252]                   {
  [14:42:28.252]                     base::local({
  [14:42:28.252]                       has_future <- base::requireNamespace("future", 
  [14:42:28.252]                         quietly = TRUE)
  [14:42:28.252]                       version <- if (has_future) 
  [14:42:28.252]                         utils::packageVersion("future")
  [14:42:28.252]                       else NULL
  [14:42:28.252]                       if (!has_future || version < "1.8.0") {
  [14:42:28.252]                         info <- base::c(r_version = base::gsub("R version ", 
  [14:42:28.252]                           "", base::R.version$version.string), 
  [14:42:28.252]                           platform = base::sprintf("%s (%s-bit)", 
  [14:42:28.252]                             base::R.version$platform, 8 * base::.Machine$sizeof.pointer), 
  [14:42:28.252]                           os = base::paste(base::Sys.info()[base::c("sysname", 
  [14:42:28.252]                             "release", "version")], collapse = " "), 
  [14:42:28.252]                           hostname = base::Sys.info()[["nodename"]])
  [14:42:28.252]                         info <- base::sprintf("%s: %s", base::names(info), 
  [14:42:28.252]                           info)
  [14:42:28.252]                         info <- base::paste(info, collapse = "; ")
  [14:42:28.252]                         if (!has_future) {
  [14:42:28.252]                           msg <- base::sprintf("Package 'future' is not installed on worker (%s)", 
  [14:42:28.252]                             info)
  [14:42:28.252]                         }
  [14:42:28.252]                         else {
  [14:42:28.252]                           msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", 
  [14:42:28.252]                             info, version)
  [14:42:28.252]                         }
  [14:42:28.252]                         base::stop(msg)
  [14:42:28.252]                       }
  [14:42:28.252]                     })
  [14:42:28.252]                   }
  [14:42:28.252]                   ...future.mc.cores.old <- base::getOption("mc.cores")
  [14:42:28.252]                   base::options(mc.cores = 1L)
  [14:42:28.252]                 }
  [14:42:28.252]                 base::local({
  [14:42:28.252]                   for (pkg in c("doFuture", "stats")) {
  [14:42:28.252]                     base::loadNamespace(pkg)
  [14:42:28.252]                     base::library(pkg, character.only = TRUE)
  [14:42:28.252]                   }
  [14:42:28.252]                 })
  [14:42:28.252]             }
  [14:42:28.252]             future::plan("default", .cleanup = FALSE, .init = FALSE)
  [14:42:28.252]         }
  [14:42:28.252]     }
  [14:42:28.252]     if (base::is.na(TRUE)) {
  [14:42:28.252]     }
  [14:42:28.252]     else {
  [14:42:28.252]         if (TRUE) {
  [14:42:28.252]             ...future.stdout <- base::rawConnection(base::raw(0L), 
  [14:42:28.252]                 open = "w")
  [14:42:28.252]         }
  [14:42:28.252]         else {
  [14:42:28.252]             ...future.stdout <- base::file(base::switch(.Platform$OS.type, 
  [14:42:28.252]                 windows = "NUL", "/dev/null"), open = "w")
  [14:42:28.252]         }
  [14:42:28.252]         base::sink(...future.stdout, type = "output", split = FALSE)
  [14:42:28.252]         base::on.exit(if (!base::is.null(...future.stdout)) {
  [14:42:28.252]             base::sink(type = "output", split = FALSE)
  [14:42:28.252]             base::close(...future.stdout)
  [14:42:28.252]         }, add = TRUE)
  [14:42:28.252]     }
  [14:42:28.252]     ...future.frame <- base::sys.nframe()
  [14:42:28.252]     ...future.conditions <- base::list()
  [14:42:28.252]     ...future.rng <- base::globalenv()$.Random.seed
  [14:42:28.252]     ...future.result <- base::tryCatch({
  [14:42:28.252]         base::withCallingHandlers({
  [14:42:28.252]             ...future.value <- base::withVisible(base::local({
  [14:42:28.252]                 doFuture::registerDoFuture()
  [14:42:28.252]                 lapply(seq_along(...future.x_ii), FUN = function(jj) {
  [14:42:28.252]                   ...future.x_jj <- ...future.x_ii[[jj]]
  [14:42:28.252]                   NULL
  [14:42:28.252]                   ...future.env <- environment()
  [14:42:28.252]                   local({
  [14:42:28.252]                     for (name in names(...future.x_jj)) {
  [14:42:28.252]                       assign(name, ...future.x_jj[[name]], envir = ...future.env, 
  [14:42:28.252]                         inherits = FALSE)
  [14:42:28.252]                     }
  [14:42:28.252]                   })
  [14:42:28.252]                   tryCatch({
  [14:42:28.252]                     dnorm(2L, mean = mu, sd = sigma)
  [14:42:28.252]                   }, error = identity)
  [14:42:28.252]                 })
  [14:42:28.252]             }))
  [14:42:28.252]             future::FutureResult(value = ...future.value$value, 
  [14:42:28.252]                 visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, 
  [14:42:28.252]                   ...future.rng), started = ...future.startTime, 
  [14:42:28.252]                 version = "1.8")
  [14:42:28.252]         }, condition = base::local({
  [14:42:28.252]             c <- base::c
  [14:42:28.252]             inherits <- base::inherits
  [14:42:28.252]             invokeRestart <- base::invokeRestart
  [14:42:28.252]             length <- base::length
  [14:42:28.252]             list <- base::list
  [14:42:28.252]             seq.int <- base::seq.int
  [14:42:28.252]             signalCondition <- base::signalCondition
  [14:42:28.252]             sys.calls <- base::sys.calls
  [14:42:28.252]             Sys.time <- base::Sys.time
  [14:42:28.252]             `[[` <- base::`[[`
  [14:42:28.252]             `+` <- base::`+`
  [14:42:28.252]             `<<-` <- base::`<<-`
  [14:42:28.252]             sysCalls <- function(calls = sys.calls(), from = 1L) {
  [14:42:28.252]                 calls[seq.int(from = from + 12L, to = length(calls) - 
  [14:42:28.252]                   3L)]
  [14:42:28.252]             }
  [14:42:28.252]             function(cond) {
  [14:42:28.252]                 if (inherits(cond, "error")) {
  [14:42:28.252]                   sessionInformation <- function() {
  [14:42:28.252]                     list(r = base::R.Version(), locale = base::Sys.getlocale(), 
  [14:42:28.252]                       rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), 
  [14:42:28.252]                       search = base::search(), system = base::Sys.info())
  [14:42:28.252]                   }
  [14:42:28.252]                   ...future.conditions[[length(...future.conditions) + 
  [14:42:28.252]                     1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), 
  [14:42:28.252]                     cond$call), session = sessionInformation(), 
  [14:42:28.252]                     timestamp = Sys.time(), signaled = 0L)
  [14:42:28.252]                   signalCondition(cond)
  [14:42:28.252]                 }
  [14:42:28.252]                 else if (inherits(cond, "condition")) {
  [14:42:28.252]                   signal <- FALSE && inherits(cond, character(0))
  [14:42:28.252]                   ...future.conditions[[length(...future.conditions) + 
  [14:42:28.252]                     1L]] <<- list(condition = cond, signaled = base::as.integer(signal))
  [14:42:28.252]                   if (!signal) {
  [14:42:28.252]                     muffleCondition <- function (cond) 
  [14:42:28.252]                     {
  [14:42:28.252]                       inherits <- base::inherits
  [14:42:28.252]                       invokeRestart <- base::invokeRestart
  [14:42:28.252]                       muffled <- FALSE
  [14:42:28.252]                       if (inherits(cond, "message")) {
  [14:42:28.252]                         invokeRestart("muffleMessage")
  [14:42:28.252]                         muffled <- TRUE
  [14:42:28.252]                       }
  [14:42:28.252]                       else if (inherits(cond, "warning")) {
  [14:42:28.252]                         invokeRestart("muffleWarning")
  [14:42:28.252]                         muffled <- TRUE
  [14:42:28.252]                       }
  [14:42:28.252]                       else if (inherits(cond, "condition")) {
  [14:42:28.252]                         computeRestarts <- base::computeRestarts
  [14:42:28.252]                         grepl <- base::grepl
  [14:42:28.252]                         is.null <- base::is.null
  [14:42:28.252]                         restarts <- computeRestarts(cond)
  [14:42:28.252]                         for (restart in restarts) {
  [14:42:28.252]                           name <- restart$name
  [14:42:28.252]                           if (is.null(name)) 
  [14:42:28.252]                             next
  [14:42:28.252]                           if (!grepl("^muffle", name)) 
  [14:42:28.252]                             next
  [14:42:28.252]                           invokeRestart(restart)
  [14:42:28.252]                           muffled <- TRUE
  [14:42:28.252]                           break
  [14:42:28.252]                         }
  [14:42:28.252]                       }
  [14:42:28.252]                       invisible(muffled)
  [14:42:28.252]                     }
  [14:42:28.252]                     muffleCondition(cond)
  [14:42:28.252]                   }
  [14:42:28.252]                 }
  [14:42:28.252]             }
  [14:42:28.252]         }))
  [14:42:28.252]     }, error = function(ex) {
  [14:42:28.252]         base::structure(base::list(value = NULL, visible = NULL, 
  [14:42:28.252]             conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, 
  [14:42:28.252]                 ...future.rng), version = "1.8"), class = "FutureResult")
  [14:42:28.252]     }, finally = {
  [14:42:28.252]         {
  [14:42:28.252]             {
  [14:42:28.252]                 base::options(mc.cores = ...future.mc.cores.old)
  [14:42:28.252]             }
  [14:42:28.252]             future::plan(list(function (expr, envir = parent.frame(), 
  [14:42:28.252]                 substitute = TRUE, lazy = FALSE, seed = NULL, 
  [14:42:28.252]                 globals = TRUE, workers = availableCores(constraints = "multicore"), 
  [14:42:28.252]                 earlySignal = FALSE, label = NULL, ...) 
  [14:42:28.252]             {
  [14:42:28.252]                 if (substitute) 
  [14:42:28.252]                   expr <- substitute(expr)
  [14:42:28.252]                 if (is.function(workers)) 
  [14:42:28.252]                   workers <- workers()
  [14:42:28.252]                 workers <- as.integer(workers)
  [14:42:28.252]                 stop_if_not(is.finite(workers), workers >= 1L)
  [14:42:28.252]                 if (workers == 1L || !supportsMulticore(warn = TRUE)) {
  [14:42:28.252]                   return(sequential(expr, envir = envir, substitute = FALSE, 
  [14:42:28.252]                     lazy = lazy, seed = seed, globals = globals, 
  [14:42:28.252]                     local = TRUE, label = label, ...))
  [14:42:28.252]                 }
  [14:42:28.252]                 oopts <- options(mc.cores = workers)
  [14:42:28.252]                 on.exit(options(oopts))
  [14:42:28.252]                 future <- MulticoreFuture(expr = expr, envir = envir, 
  [14:42:28.252]                   substitute = FALSE, lazy = lazy, seed = seed, 
  [14:42:28.252]                   globals = globals, workers = workers, earlySignal = earlySignal, 
  [14:42:28.252]                   label = label, ...)
  [14:42:28.252]                 if (!future$lazy) 
  [14:42:28.252]                   future <- run(future)
  [14:42:28.252]                 invisible(future)
  [14:42:28.252]             }), .cleanup = FALSE, .init = FALSE)
  [14:42:28.252]         }
  [14:42:28.252]         base::options(...future.oldOptions)
  [14:42:28.252]     })
  [14:42:28.252]     Sys.time
  [14:42:28.252]     if (base::is.na(TRUE)) {
  [14:42:28.252]     }
  [14:42:28.252]     else {
  [14:42:28.252]         base::sink(type = "output", split = FALSE)
  [14:42:28.252]         if (TRUE) {
  [14:42:28.252]             ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout))
  [14:42:28.252]         }
  [14:42:28.252]         else {
  [14:42:28.252]             ...future.result["stdout"] <- base::list(NULL)
  [14:42:28.252]         }
  [14:42:28.252]         base::close(...future.stdout)
  [14:42:28.252]         ...future.stdout <- NULL
  [14:42:28.252]     }
  [14:42:28.252]     ...future.result$conditions <- ...future.conditions
  [14:42:28.252]     ...future.result
  [14:42:28.252] }
  [14:42:28.258] requestCore(): workers = 2
  [14:42:28.272] MulticoreFuture started
  [14:42:28.273] Chunk #2 of 2 ... DONE
  [14:42:28.273] Launching 2 futures (chunks) ... DONE
  [14:42:28.274] - resolving futures
  [14:42:28.274]   - gathering results & relaying conditions (except errors)
  [14:42:28.275] resolve() on list ...
  [14:42:28.275]  recursive: 0
  [14:42:28.276]  length: 2
  [14:42:28.276] 
  [14:42:28.281] Future #1
  [14:42:28.290] signalConditionsASAP(MulticoreFuture, pos=1) ...
  [14:42:28.291] - nx: 2
  [14:42:28.291] - relay: TRUE
  [14:42:28.292] - stdout: TRUE
  [14:42:28.292] plan(): Setting new future strategy stack:
  [14:42:28.292] - signal: TRUE
  [14:42:28.293] - resignal: FALSE
  [14:42:28.293] - force: FALSE
  [14:42:28.293] - relayed: [n=2] FALSE, FALSE
  [14:42:28.292] List of future strategies:
  [14:42:28.292] 1. sequential:
  [14:42:28.292]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [14:42:28.292]    - tweaked: FALSE
  [14:42:28.292]    - call: NULL
  [14:42:28.294] - queued futures: [n=2] FALSE, FALSE
  [14:42:28.294] plan(): nbrOfWorkers() = 1
  [14:42:28.294]  - until=1
  [14:42:28.295]  - relaying element #1
  [14:42:28.296] - relayed: [n=2] TRUE, FALSE
  [14:42:28.296] - queued futures: [n=2] TRUE, FALSE
  [14:42:28.296] signalConditionsASAP(MulticoreFuture, pos=1) ... done
  [14:42:28.297] plan(): Setting new future strategy stack:
  [14:42:28.297]  length: 1 (resolved future 1)
  [14:42:28.297] List of future strategies:
  [14:42:28.297] 1. multicore:
  [14:42:28.297]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = availableCores(constraints = "multicore"), earlySignal = FALSE, label = NULL, ...)
  [14:42:28.297]    - tweaked: FALSE
  [14:42:28.297]    - call: plan(strategy)
  [14:42:28.300] plan(): nbrOfWorkers() = 2
  [14:42:28.301] Future #2
  [14:42:28.303] signalConditionsASAP(MulticoreFuture, pos=2) ...
  [14:42:28.303] - nx: 2
  [14:42:28.308] - relay: TRUE
  [14:42:28.308] - stdout: TRUE
  [14:42:28.308] - signal: TRUE
  [14:42:28.309] - resignal: FALSE
  [14:42:28.309] - force: FALSE
  [14:42:28.309] - relayed: [n=2] TRUE, FALSE
  [14:42:28.310] - queued futures: [n=2] TRUE, FALSE
  [14:42:28.310]  - until=2
  [14:42:28.311]  - relaying element #2
  [14:42:28.311] - relayed: [n=2] TRUE, TRUE
  [14:42:28.312] - queued futures: [n=2] TRUE, TRUE
  [14:42:28.312] signalConditionsASAP(MulticoreFuture, pos=2) ... done
  [14:42:28.313]  length: 0 (resolved future 2)
  [14:42:28.313] Relaying remaining futures
  [14:42:28.313] signalConditionsASAP(NULL, pos=0) ...
  [14:42:28.314] - nx: 2
  [14:42:28.314] - relay: TRUE
  [14:42:28.314] - stdout: TRUE
  [14:42:28.315] - signal: TRUE
  [14:42:28.315] - resignal: FALSE
  [14:42:28.315] - force: FALSE
  [14:42:28.316] - relayed: [n=2] TRUE, TRUE
  [14:42:28.316] - queued futures: [n=2] TRUE, TRUE
   - flush all
  [14:42:28.317] - relayed: [n=2] TRUE, TRUE
  [14:42:28.317] - queued futures: [n=2] TRUE, TRUE
  [14:42:28.318] signalConditionsASAP(NULL, pos=0) ... done
  [14:42:28.318] resolve() on list ... DONE
  [14:42:28.318] - collecting values of futures
  [14:42:28.319] - accumulating results
  [14:42:28.320] - processing errors (handler = 'stop')
  [14:42:28.321] - extracting results
  [14:42:28.321] doFuture() ... DONE
  [1] 0.1760327 0.1760327 0.1760327
  - plan('multicore') ... DONE
  - plan('multisession') ...
  [14:42:28.324] plan(): Setting new future strategy stack:
  [14:42:28.324] List of future strategies:
  [14:42:28.324] 1. multisession:
  [14:42:28.324]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:42:28.324]    - tweaked: FALSE
  [14:42:28.324]    - call: plan(strategy)
  [14:42:28.325] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ...
  [14:42:28.326] multisession:
  [14:42:28.326] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [14:42:28.326] - tweaked: FALSE
  [14:42:28.326] - call: plan(strategy)
  [local output] Workers: [n = 2] 'localhost', 'localhost'
  [local output] Base port: 38421
  [local output] Creating node 1 of 2 ...
  [local output] - setting up node
  Testing if worker's PID can be inferred: ''/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp02uLCO/future.parent=10852.2a644c8e2dfa.pid")), silent = TRUE)' -e "file.exists('/tmp/Rtmp02uLCO/future.parent=10852.2a644c8e2dfa.pid')"'
  - Possible to infer worker's PID: TRUE
  [local output] Starting worker #1 on 'localhost': '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=times.R:10852:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp02uLCO/future.parent=10852.2a644c8e2dfa.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=localhost PORT=38421 OUT=/dev/null TIMEOUT=120 XDR=TRUE
  [local output] - Exit code of system() call: 0
  [local output] Waiting for worker #1 on 'localhost' to connect back
  [local output] Detected a warning from socketConnection(): 'port 38421 cannot be opened'
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 38421 cannot be opened
  Killing worker process (PID 11665) if still alive
  [14:42:30.356] Attempting to find a working pid_exists_*() function ...
  Call: tools::pskill(10852, signal = 0L)
  [1] TRUE
  Call: tools::pskill(10852, signal = 0L)
  [1] TRUE
  [14:42:30.357] - success
  [14:42:30.358] Attempting to find a working pid_exists_*() function ... done
  Worker (PID 11665) was successfully killed: TRUE
  Error in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  : 
    Failed to launch and connect to R worker on local machine 'localhost' from local machine 'gimli'.
   * The error produced by socketConnection() was: 'cannot open the connection'
   * In addition, socketConnection() produced 1 warning(s):
     - Warning #1: 'port 38421 cannot be opened' (which suggests that this port is either already occupied by another process or blocked by the firewall on your local machine)
   * The localhost socket connection that failed to connect to the R worker used port 38421 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=times.R:10852:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp02uLCO/future.parent=10852.2a644c8e2dfa.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=localhost PORT=38421 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 11665) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'outfile=NULL' to see output from worker.
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted