Running ‘DEPRECATED.R’ [1s/1s]
  Running ‘cluster-missing-doFuture-pkg.R’ [1s/3s]
  Running ‘doRNG,dopar.R’ [3s/8s]
  Running ‘doRNG,dorng.R’ [7s/14s]
  Running ‘foreach,errors.R’ [8s/25s]
  Running ‘foreach,globals.R’ [9s/25s]
  Running ‘foreach,nested.R’ [9s/31s]
  Running ‘foreach,nested_dopar.R’ [19s/60s]
  Running ‘foreach.R’ [3s/8s]
  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’ [3s/9s]
  Running ‘zzz_opt-in,NMF.R’ [0s/1s]
  Running ‘zzz_opt-in,TSP.R’ [0s/1s]
  Running ‘zzz_opt-in,caret.R’ [0s/0s]
  Running ‘zzz_opt-in,foreach.R’ [0s/1s]
  Running ‘zzz_opt-in,glmnet.R’ [0s/1s]
  Running ‘zzz_opt-in,plyr.R’ [0s/0s]
Running the tests in ‘tests/registerDoFuture.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
  [06:52:36.685] plan(): Setting new future strategy stack:
  [06:52:36.686] List of future strategies:
  [06:52:36.686] 1. sequential:
  [06:52:36.686]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [06:52:36.686]    - tweaked: FALSE
  [06:52:36.686]    - call: future::plan(future::sequential)
  [06:52:36.688] plan(): nbrOfWorkers() = 1
  > 
  > strategies <- future:::supportedStrategies()
  > strategies <- setdiff(strategies, "multiprocess")
  > 
  > message("*** registerDoFuture() ...")
  *** registerDoFuture() ...
  > 
  > message("doSEQ() %dopar% information:")
  doSEQ() %dopar% information:
  > registerDoSEQ()
  > message(getDoParName())
  doSEQ
  > message(getDoParVersion())
  1.5.0
  > message(getDoParWorkers())
  1
  > 
  > registerDoFuture()
  > message("doFuture() %dopar% information:")
  doFuture() %dopar% information:
  > 
  > for (strategy in strategies) {
  +   message(sprintf("- plan('%s') ...", strategy))
  +   plan(strategy)
  + 
  +   message(name <- getDoParName())
  +   stopifnot(name == "doFuture")
  +   message(version <- getDoParVersion())
  +   stopifnot(packageVersion(name) == version)
  +   message(nbr_of_workers <- getDoParWorkers())
  +   stopifnot(nbr_of_workers == nbrOfWorkers())
  + 
  +   message(sprintf("- plan('%s') ... DONE", strategy))
  + } ## for (strategy ...)
  - plan('sequential') ...
  [06:52:36.769] plan(): Setting new future strategy stack:
  [06:52:36.769] List of future strategies:
  [06:52:36.769] 1. sequential:
  [06:52:36.769]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [06:52:36.769]    - tweaked: FALSE
  [06:52:36.769]    - call: plan(strategy)
  [06:52:36.843] plan(): nbrOfWorkers() = 1
  doFuture
  0.9.0
  1
  - plan('sequential') ... DONE
  - plan('multicore') ...
  [06:52:36.863] plan(): Setting new future strategy stack:
  [06:52:36.863] List of future strategies:
  [06:52:36.863] 1. multicore:
  [06:52:36.863]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, workers = availableCores(constraints = "multicore"), earlySignal = FALSE, label = NULL, ...)
  [06:52:36.863]    - tweaked: FALSE
  [06:52:36.863]    - call: plan(strategy)
  [06:52:36.920] plan(): nbrOfWorkers() = 2
  doFuture
  0.9.0
  2
  - plan('multicore') ... DONE
  - plan('multisession') ...
  [06:52:36.925] plan(): Setting new future strategy stack:
  [06:52:36.926] List of future strategies:
  [06:52:36.926] 1. multisession:
  [06:52:36.926]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [06:52:36.926]    - tweaked: FALSE
  [06:52:36.926]    - call: plan(strategy)
  [06:52:36.927] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ...
  [06:52:36.927] multisession:
  [06:52:36.927] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableCores(), gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [06:52:36.927] - tweaked: FALSE
  [06:52:36.927] - call: plan(strategy)
  [local output] Workers: [n = 2] 'localhost', 'localhost'
  [local output] Base port: 32590
  [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-release-gcc/Work/build/bin/Rscript' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556a72082c6a.pid")), silent = TRUE)' -e "file.exists('/tmp/Rtmp6fRtsC/future.parent=21866.556a72082c6a.pid')"'
  - Possible to infer worker's PID: TRUE
  [local output] Starting worker #1 on 'localhost': '/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=registerDoFuture.R:21866:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556a72082c6a.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=32590 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] Connection with worker #1 on 'localhost' established
  [local output] - collecting session information
  [local output] Creating node 1 of 2 ... done
  [local output] Creating node 2 of 2 ...
  [local output] - setting up node
  Testing if worker's PID can be inferred: ''/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556a77c271ce.pid")), silent = TRUE)' -e "file.exists('/tmp/Rtmp6fRtsC/future.parent=21866.556a77c271ce.pid')"'
  - Possible to infer worker's PID: TRUE
  [local output] Starting worker #2 on 'localhost': '/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=registerDoFuture.R:21866:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556a77c271ce.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=32590 OUT=/dev/null TIMEOUT=120 XDR=TRUE
  [local output] - Exit code of system() call: 0
  [local output] Waiting for worker #2 on 'localhost' to connect back
  [local output] Connection with worker #2 on 'localhost' established
  [local output] - collecting session information
  [local output] Creating node 2 of 2 ... done
  [06:52:40.367] getGlobalsAndPackages() ...
  [06:52:40.367] Not searching for globals
  [06:52:40.368] - globals: [0] <none>
  [06:52:40.368] getGlobalsAndPackages() ... DONE
  [06:52:40.376] Packages needed by the future expression (n = 0): <none>
  [06:52:40.376] Packages needed by future strategies (n = 0): <none>
  [06:52:40.384] {
  [06:52:40.384]     {
  [06:52:40.384]         ...future.startTime <- base::Sys.time()
  [06:52:40.384]         ...future.oldOptions <- base::options(future.startup.script = FALSE, 
  [06:52:40.384]             future.globals.onMissing = NULL, future.globals.maxSize = NULL, 
  [06:52:40.384]             future.globals.method = NULL, future.globals.onMissing = NULL, 
  [06:52:40.384]             future.globals.onReference = NULL, future.globals.resolve = NULL, 
  [06:52:40.384]             future.resolve.recursive = NULL, width = 80L)
  [06:52:40.384]         {
  [06:52:40.384]             {
  [06:52:40.384]                 {
  [06:52:40.384]                   base::local({
  [06:52:40.384]                     has_future <- base::requireNamespace("future", 
  [06:52:40.384]                       quietly = TRUE)
  [06:52:40.384]                     version <- if (has_future) 
  [06:52:40.384]                       utils::packageVersion("future")
  [06:52:40.384]                     else NULL
  [06:52:40.384]                     if (!has_future || version < "1.8.0") {
  [06:52:40.384]                       info <- base::c(r_version = base::gsub("R version ", 
  [06:52:40.384]                         "", base::R.version$version.string), 
  [06:52:40.384]                         platform = base::sprintf("%s (%s-bit)", 
  [06:52:40.384]                           base::R.version$platform, 8 * base::.Machine$sizeof.pointer), 
  [06:52:40.384]                         os = base::paste(base::Sys.info()[base::c("sysname", 
  [06:52:40.384]                           "release", "version")], collapse = " "), 
  [06:52:40.384]                         hostname = base::Sys.info()[["nodename"]])
  [06:52:40.384]                       info <- base::sprintf("%s: %s", base::names(info), 
  [06:52:40.384]                         info)
  [06:52:40.384]                       info <- base::paste(info, collapse = "; ")
  [06:52:40.384]                       if (!has_future) {
  [06:52:40.384]                         msg <- base::sprintf("Package 'future' is not installed on worker (%s)", 
  [06:52:40.384]                           info)
  [06:52:40.384]                       }
  [06:52:40.384]                       else {
  [06:52:40.384]                         msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", 
  [06:52:40.384]                           info, version)
  [06:52:40.384]                       }
  [06:52:40.384]                       base::stop(msg)
  [06:52:40.384]                     }
  [06:52:40.384]                   })
  [06:52:40.384]                 }
  [06:52:40.384]                 ...future.mc.cores.old <- base::getOption("mc.cores")
  [06:52:40.384]                 base::options(mc.cores = 1L)
  [06:52:40.384]             }
  [06:52:40.384]             future::plan("default", .cleanup = FALSE, .init = FALSE)
  [06:52:40.384]         }
  [06:52:40.384]     }
  [06:52:40.384]     if (base::is.na(TRUE)) {
  [06:52:40.384]     }
  [06:52:40.384]     else {
  [06:52:40.384]         if (TRUE) {
  [06:52:40.384]             ...future.stdout <- base::rawConnection(base::raw(0L), 
  [06:52:40.384]                 open = "w")
  [06:52:40.384]         }
  [06:52:40.384]         else {
  [06:52:40.384]             ...future.stdout <- base::file(base::switch(.Platform$OS.type, 
  [06:52:40.384]                 windows = "NUL", "/dev/null"), open = "w")
  [06:52:40.384]         }
  [06:52:40.384]         base::sink(...future.stdout, type = "output", split = FALSE)
  [06:52:40.384]         base::on.exit(if (!base::is.null(...future.stdout)) {
  [06:52:40.384]             base::sink(type = "output", split = FALSE)
  [06:52:40.384]             base::close(...future.stdout)
  [06:52:40.384]         }, add = TRUE)
  [06:52:40.384]     }
  [06:52:40.384]     ...future.frame <- base::sys.nframe()
  [06:52:40.384]     ...future.conditions <- base::list()
  [06:52:40.384]     ...future.rng <- base::globalenv()$.Random.seed
  [06:52:40.384]     ...future.result <- base::tryCatch({
  [06:52:40.384]         base::withCallingHandlers({
  [06:52:40.384]             ...future.value <- base::withVisible(base::local({
  [06:52:40.384]                 ...future.sendCondition <- local({
  [06:52:40.384]                   sendCondition <- NULL
  [06:52:40.384]                   function(frame = 1L) {
  [06:52:40.384]                     if (is.function(sendCondition)) 
  [06:52:40.384]                       return(sendCondition)
  [06:52:40.384]                     ns <- getNamespace("parallel")
  [06:52:40.384]                     if (exists("sendData", mode = "function", 
  [06:52:40.384]                       envir = ns)) {
  [06:52:40.384]                       parallel_sendData <- get("sendData", mode = "function", 
  [06:52:40.384]                         envir = ns)
  [06:52:40.384]                       envir <- sys.frame(frame)
  [06:52:40.384]                       master <- NULL
  [06:52:40.384]                       while (!identical(envir, .GlobalEnv) && 
  [06:52:40.384]                         !identical(envir, emptyenv())) {
  [06:52:40.384]                         if (exists("master", mode = "list", envir = envir, 
  [06:52:40.384]                           inherits = FALSE)) {
  [06:52:40.384]                           master <- get("master", mode = "list", 
  [06:52:40.384]                             envir = envir, inherits = FALSE)
  [06:52:40.384]                           if (inherits(master, "SOCKnode")) {
  [06:52:40.384]                             sendCondition <<- function(cond) {
  [06:52:40.384]                               data <- list(type = "VALUE", value = cond, 
  [06:52:40.384]                                 success = TRUE)
  [06:52:40.384]                               parallel_sendData(master, data)
  [06:52:40.384]                             }
  [06:52:40.384]                             return(sendCondition)
  [06:52:40.384]                           }
  [06:52:40.384]                         }
  [06:52:40.384]                         frame <- frame + 1L
  [06:52:40.384]                         envir <- sys.frame(frame)
  [06:52:40.384]                       }
  [06:52:40.384]                     }
  [06:52:40.384]                     sendCondition <<- function(cond) NULL
  [06:52:40.384]                   }
  [06:52:40.384]                 })
  [06:52:40.384]                 withCallingHandlers({
  [06:52:40.384]                   NA
  [06:52:40.384]                 }, immediateCondition = function(cond) {
  [06:52:40.384]                   sendCondition <- ...future.sendCondition()
  [06:52:40.384]                   sendCondition(cond)
  [06:52:40.384]                   muffleCondition <- function (cond) 
  [06:52:40.384]                   {
  [06:52:40.384]                     inherits <- base::inherits
  [06:52:40.384]                     invokeRestart <- base::invokeRestart
  [06:52:40.384]                     muffled <- FALSE
  [06:52:40.384]                     if (inherits(cond, "message")) {
  [06:52:40.384]                       invokeRestart("muffleMessage")
  [06:52:40.384]                       muffled <- TRUE
  [06:52:40.384]                     }
  [06:52:40.384]                     else if (inherits(cond, "warning")) {
  [06:52:40.384]                       invokeRestart("muffleWarning")
  [06:52:40.384]                       muffled <- TRUE
  [06:52:40.384]                     }
  [06:52:40.384]                     else if (inherits(cond, "condition")) {
  [06:52:40.384]                       computeRestarts <- base::computeRestarts
  [06:52:40.384]                       grepl <- base::grepl
  [06:52:40.384]                       is.null <- base::is.null
  [06:52:40.384]                       restarts <- computeRestarts(cond)
  [06:52:40.384]                       for (restart in restarts) {
  [06:52:40.384]                         name <- restart$name
  [06:52:40.384]                         if (is.null(name)) 
  [06:52:40.384]                           next
  [06:52:40.384]                         if (!grepl("^muffle", name)) 
  [06:52:40.384]                           next
  [06:52:40.384]                         invokeRestart(restart)
  [06:52:40.384]                         muffled <- TRUE
  [06:52:40.384]                         break
  [06:52:40.384]                       }
  [06:52:40.384]                     }
  [06:52:40.384]                     invisible(muffled)
  [06:52:40.384]                   }
  [06:52:40.384]                   muffleCondition(cond)
  [06:52:40.384]                 })
  [06:52:40.384]             }))
  [06:52:40.384]             future::FutureResult(value = ...future.value$value, 
  [06:52:40.384]                 visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, 
  [06:52:40.384]                   ...future.rng), started = ...future.startTime, 
  [06:52:40.384]                 version = "1.8")
  [06:52:40.384]         }, condition = base::local({
  [06:52:40.384]             c <- base::c
  [06:52:40.384]             inherits <- base::inherits
  [06:52:40.384]             invokeRestart <- base::invokeRestart
  [06:52:40.384]             length <- base::length
  [06:52:40.384]             list <- base::list
  [06:52:40.384]             seq.int <- base::seq.int
  [06:52:40.384]             signalCondition <- base::signalCondition
  [06:52:40.384]             sys.calls <- base::sys.calls
  [06:52:40.384]             Sys.time <- base::Sys.time
  [06:52:40.384]             `[[` <- base::`[[`
  [06:52:40.384]             `+` <- base::`+`
  [06:52:40.384]             `<<-` <- base::`<<-`
  [06:52:40.384]             sysCalls <- function(calls = sys.calls(), from = 1L) {
  [06:52:40.384]                 calls[seq.int(from = from + 12L, to = length(calls) - 
  [06:52:40.384]                   3L)]
  [06:52:40.384]             }
  [06:52:40.384]             function(cond) {
  [06:52:40.384]                 if (inherits(cond, "error")) {
  [06:52:40.384]                   sessionInformation <- function() {
  [06:52:40.384]                     list(r = base::R.Version(), locale = base::Sys.getlocale(), 
  [06:52:40.384]                       rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), 
  [06:52:40.384]                       search = base::search(), system = base::Sys.info())
  [06:52:40.384]                   }
  [06:52:40.384]                   ...future.conditions[[length(...future.conditions) + 
  [06:52:40.384]                     1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), 
  [06:52:40.384]                     cond$call), session = sessionInformation(), 
  [06:52:40.384]                     timestamp = Sys.time(), signaled = 0L)
  [06:52:40.384]                   signalCondition(cond)
  [06:52:40.384]                 }
  [06:52:40.384]                 else if (inherits(cond, c("condition", "immediateCondition"
  [06:52:40.384]                 ))) {
  [06:52:40.384]                   signal <- TRUE && inherits(cond, "immediateCondition")
  [06:52:40.384]                   ...future.conditions[[length(...future.conditions) + 
  [06:52:40.384]                     1L]] <<- list(condition = cond, signaled = base::as.integer(signal))
  [06:52:40.384]                   if (!signal) {
  [06:52:40.384]                     muffleCondition <- function (cond) 
  [06:52:40.384]                     {
  [06:52:40.384]                       inherits <- base::inherits
  [06:52:40.384]                       invokeRestart <- base::invokeRestart
  [06:52:40.384]                       muffled <- FALSE
  [06:52:40.384]                       if (inherits(cond, "message")) {
  [06:52:40.384]                         invokeRestart("muffleMessage")
  [06:52:40.384]                         muffled <- TRUE
  [06:52:40.384]                       }
  [06:52:40.384]                       else if (inherits(cond, "warning")) {
  [06:52:40.384]                         invokeRestart("muffleWarning")
  [06:52:40.384]                         muffled <- TRUE
  [06:52:40.384]                       }
  [06:52:40.384]                       else if (inherits(cond, "condition")) {
  [06:52:40.384]                         computeRestarts <- base::computeRestarts
  [06:52:40.384]                         grepl <- base::grepl
  [06:52:40.384]                         is.null <- base::is.null
  [06:52:40.384]                         restarts <- computeRestarts(cond)
  [06:52:40.384]                         for (restart in restarts) {
  [06:52:40.384]                           name <- restart$name
  [06:52:40.384]                           if (is.null(name)) 
  [06:52:40.384]                             next
  [06:52:40.384]                           if (!grepl("^muffle", name)) 
  [06:52:40.384]                             next
  [06:52:40.384]                           invokeRestart(restart)
  [06:52:40.384]                           muffled <- TRUE
  [06:52:40.384]                           break
  [06:52:40.384]                         }
  [06:52:40.384]                       }
  [06:52:40.384]                       invisible(muffled)
  [06:52:40.384]                     }
  [06:52:40.384]                     muffleCondition(cond)
  [06:52:40.384]                   }
  [06:52:40.384]                 }
  [06:52:40.384]             }
  [06:52:40.384]         }))
  [06:52:40.384]     }, error = function(ex) {
  [06:52:40.384]         base::structure(base::list(value = NULL, visible = NULL, 
  [06:52:40.384]             conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, 
  [06:52:40.384]                 ...future.rng), version = "1.8"), class = "FutureResult")
  [06:52:40.384]     }, finally = {
  [06:52:40.384]         {
  [06:52:40.384]             {
  [06:52:40.384]                 base::options(mc.cores = ...future.mc.cores.old)
  [06:52:40.384]             }
  [06:52:40.384]             future::plan(list(function (expr, envir = parent.frame(), 
  [06:52:40.384]                 substitute = TRUE, lazy = FALSE, seed = NULL, 
  [06:52:40.384]                 globals = TRUE, persistent = FALSE, workers = availableCores(), 
  [06:52:40.384]                 gc = FALSE, earlySignal = FALSE, label = NULL, 
  [06:52:40.384]                 ...) 
  [06:52:40.384]             {
  [06:52:40.384]                 if (substitute) 
  [06:52:40.384]                   expr <- substitute(expr)
  [06:52:40.384]                 if (is.function(workers)) 
  [06:52:40.384]                   workers <- workers()
  [06:52:40.384]                 workers <- as.integer(workers)
  [06:52:40.384]                 stop_if_not(length(workers) == 1, is.finite(workers), 
  [06:52:40.384]                   workers >= 1)
  [06:52:40.384]                 if (workers == 1L) {
  [06:52:40.384]                   return(sequential(expr, envir = envir, substitute = FALSE, 
  [06:52:40.384]                     lazy = TRUE, seed = seed, globals = globals, 
  [06:52:40.384]                     local = TRUE, label = label, ...))
  [06:52:40.384]                 }
  [06:52:40.384]                 workers <- ClusterRegistry("start", workers = workers)
  [06:52:40.384]                 future <- MultisessionFuture(expr = expr, envir = envir, 
  [06:52:40.384]                   substitute = FALSE, lazy = lazy, seed = seed, 
  [06:52:40.384]                   globals = globals, persistent = persistent, 
  [06:52:40.384]                   workers = workers, gc = gc, earlySignal = earlySignal, 
  [06:52:40.384]                   label = label, ...)
  [06:52:40.384]                 if (!future$lazy) 
  [06:52:40.384]                   future <- run(future)
  [06:52:40.384]                 invisible(future)
  [06:52:40.384]             }), .cleanup = FALSE, .init = FALSE)
  [06:52:40.384]         }
  [06:52:40.384]         base::options(...future.oldOptions)
  [06:52:40.384]     })
  [06:52:40.384]     Sys.time
  [06:52:40.384]     if (base::is.na(TRUE)) {
  [06:52:40.384]     }
  [06:52:40.384]     else {
  [06:52:40.384]         base::sink(type = "output", split = FALSE)
  [06:52:40.384]         if (TRUE) {
  [06:52:40.384]             ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout))
  [06:52:40.384]         }
  [06:52:40.384]         else {
  [06:52:40.384]             ...future.result["stdout"] <- base::list(NULL)
  [06:52:40.384]         }
  [06:52:40.384]         base::close(...future.stdout)
  [06:52:40.384]         ...future.stdout <- NULL
  [06:52:40.384]     }
  [06:52:40.384]     ...future.result$conditions <- ...future.conditions
  [06:52:40.384]     ...future.result
  [06:52:40.384] }
  [06:52:40.420] MultisessionFuture started
  [06:52:40.429] result() for ClusterFuture ...
  [06:52:40.430] receiveMessageFromWorker() for ClusterFuture ...
  [06:52:40.431] - Validating connection of MultisessionFuture
  [06:52:40.634] - received message: FutureResult
  [06:52:40.641] - Received FutureResult
  [06:52:40.648] - Erased future from FutureRegistry
  [06:52:40.649] result() for ClusterFuture ...
  [06:52:40.650] - result already collected: FutureResult
  [06:52:40.650] result() for ClusterFuture ... done
  [06:52:40.651] receiveMessageFromWorker() for ClusterFuture ... done
  [06:52:40.651] result() for ClusterFuture ... done
  [06:52:40.651] result() for ClusterFuture ...
  [06:52:40.652] - result already collected: FutureResult
  [06:52:40.652] result() for ClusterFuture ... done
  [06:52:40.652] plan(): plan_init() of 'multisession', 'cluster', 'multiprocess', 'future', 'function' ... DONE
  [06:52:40.653] plan(): nbrOfWorkers() = 2
  doFuture
  0.9.0
  2
  - plan('multisession') ... DONE
  - plan('cluster') ...
  [06:52:40.678] plan(): Setting new future strategy stack:
  [06:52:40.679] List of future strategies:
  [06:52:40.679] 1. cluster:
  [06:52:40.679]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableWorkers(), user = NULL, revtunnel = TRUE, homogeneous = TRUE, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [06:52:40.679]    - tweaked: FALSE
  [06:52:40.679]    - call: plan(strategy)
  [06:52:40.680] plan(): plan_init() of 'cluster', 'multiprocess', 'future', 'function' ...
  [06:52:40.681] cluster:
  [06:52:40.681] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = FALSE, workers = availableWorkers(), user = NULL, revtunnel = TRUE, homogeneous = TRUE, gc = FALSE, earlySignal = FALSE, label = NULL, ...)
  [06:52:40.681] - tweaked: FALSE
  [06:52:40.681] - call: plan(strategy)
  [06:52:40.682] getGlobalsAndPackages() ...
  [06:52:40.682] Not searching for globals
  [06:52:40.682] - globals: [0] <none>
  [06:52:40.683] getGlobalsAndPackages() ... DONE
  [local output] Workers: [n = 2] 'localhost', 'localhost'
  [local output] Base port: 39102
  [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-release-gcc/Work/build/bin/Rscript' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556ad79f703.pid")), silent = TRUE)' -e "file.exists('/tmp/Rtmp6fRtsC/future.parent=21866.556ad79f703.pid')"'
  - Possible to infer worker's PID: TRUE
  [local output] Starting worker #1 on 'localhost': '/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=registerDoFuture.R:21866:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556ad79f703.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=39102 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 39102 cannot be opened'
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 39102 cannot be opened
  Killing worker process (PID 23707) if still alive
  [06:52:42.742] Attempting to find a working pid_exists_*() function ...
  Call: tools::pskill(21866, signal = 0L)
  [1] TRUE
  Call: tools::pskill(21866, signal = 0L)
  [1] TRUE
  [06:52:42.743] - success
  [06:52:42.743] Attempting to find a working pid_exists_*() function ... done
  Worker (PID 23707) 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 39102 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 39102 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: '/home/hornik/tmp/R.check/r-release-gcc/Work/build/bin/Rscript' --default-packages=datasets,utils,grDevices,graphics,stats,methods -e '#label=registerDoFuture.R:21866:gimli:hornik' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/Rtmp6fRtsC/future.parent=21866.556ad79f703.pid")), silent = TRUE)' -e 'workRSOCK <- tryCatch(parallel:::.slaveRSOCK, error=function(e) parallel:::.workRSOCK); workRSOCK()' MASTER=localhost PORT=39102 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 23707) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'outfile=NULL' to see output from worker.
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted