Running ‘000.sessionDetails.R’ [0s/1s]
  Running ‘ClusterRegistry.R’ [3s/9s]
  Running ‘Future-class.R’ [1s/5s]
  Running ‘FutureError.R’ [1s/1s]
  Running ‘FutureGlobals.R’ [1s/1s]
  Running ‘FutureRegistry.R’ [1s/1s]
  Running ‘as.cluster.R’ [1s/3s]
  Running ‘availableCores.R’ [1s/1s]
  Running ‘availableWorkers.R’ [1s/1s]
  Running ‘backtrace.R’ [1s/2s]
  Running ‘cluster-missing-future-pkg.R’ [1s/2s]
  Running ‘cluster.R’ [7s/31s]
  Running ‘constant.R’ [1s/1s]
  Running ‘demo.R’ [10s/14s]
  Running ‘dotdotdot.R’ [2s/5s]
  Running ‘early-signaling.R’ [2s/11s]
  Running ‘future,labels.R’ [1s/1s]
  Running ‘future.R’ [1s/1s]
  Running ‘futureAssign.R’ [2s/5s]
  Running ‘futureAssign_OP.R’ [3s/7s]
  Running ‘futureAssign_OP_with_environment.R’ [1s/1s]
  Running ‘futureAssign_OP_with_listenv.R’ [1s/1s]
  Running ‘futureCall.R’ [4s/9s]
  Running ‘futureOf.R’ [1s/1s]
  Running ‘futureOf_with_environment.R’ [1s/1s]
  Running ‘futureOf_with_listenv.R’ [1s/1s]
  Running ‘futures.R’ [18s/43s]
  Running ‘globals,NSE.R’ [1s/1s]
  Running ‘globals,formulas.R’ [3s/8s]
  Running ‘globals,manual.R’ [2s/2s]
  Running ‘globals,resolve.R’ [1s/5s]
  Running ‘globals,subassignment.R’ [3s/7s]
  Running ‘globals,toolarge.R’ [1s/4s]
  Running ‘globals,tricky.R’ [7s/13s]
  Running ‘globals,tricky_recursive.R’ [1s/1s]
  Running ‘globalsOf,tweaks.R’ [1s/1s]
  Running ‘immediateCondition.R’ [1s/1s]
  Running ‘invalid-owner.R’ [2s/5s]
  Running ‘makeClusterPSOCK.R’ [1s/2s]
  Running ‘mandelbrot.R’ [1s/1s]
  Running ‘mpi.R’ [1s/1s]
  Running ‘multicore,multithreading.R’ [1s/1s]
  Running ‘multicore.R’ [1s/2s]
  Running ‘multiprocess.R’ [2s/2s]
  Running ‘multisession.R’ [4s/13s]
  Running ‘nbrOfWorkers.R’ [3s/12s]
  Running ‘nested_futures,mc.cores.R’ [5s/23s]
  Running ‘nested_futures.R’ [1s/1s]
  Running ‘non-exportable,connections.R’ [1s/4s]
  Running ‘objectSize.R’ [1s/1s]
  Running ‘plan.R’ [2s/4s]
  Running ‘relaying.R’ [1s/2s]
  Running ‘remote.R’ [1s/4s]
  Running ‘requestCore.R’ [1s/3s]
  Running ‘requestNode.R’ [2s/10s]
  Running ‘reserved-keyword-functions.R’ [1s/1s]
  Running ‘resolve.R’ [2s/4s]
  Running ‘resolved-non-blocking-test.R’ [3s/33s]
  Running ‘rng.R’ [11s/17s]
  Running ‘sequential.R’ [1s/1s]
  Running ‘sessionDetails.R’ [1s/1s]
  Running ‘startup.R’ [2s/6s]
  Running ‘stdout.R’ [2s/5s]
  Running ‘transparent.R’ [1s/1s]
  Running ‘tweak.R’ [1s/1s]
  Running ‘utils.R’ [1s/2s]
  Running ‘uuid.R’ [1s/1s]
  Running ‘whichIndex.R’ [1s/1s]
Running the tests in ‘tests/remote.R’ failed.
Complete output:
  > source("incl/start.R")
  [06:30:41.923] plan(): Setting new future strategy stack:
  [06:30:41.924] List of future strategies:
  [06:30:41.924] 1. sequential:
  [06:30:41.924]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
  [06:30:41.924]    - tweaked: FALSE
  [06:30:41.924]    - call: future::plan("sequential")
  [06:30:41.927] plan(): nbrOfWorkers() = 1
  > library("listenv")
  > 
  > message("*** remote() ...")
  *** remote() ...
  > 
  > ## No global variables
  > f <- try(remote({
  +   42L
  + }, workers = "localhost"), silent = FALSE)
  [local output] Workers: [n = 1] 'localhost'
  [local output] Base port: 21283
  [local output] Creating node 1 of 1 ...
  [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/RtmpXaNPNA/future.parent=20953.51d94b47bc62.pid")), silent = TRUE)' -e "file.exists('/tmp/RtmpXaNPNA/future.parent=20953.51d94b47bc62.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=future/tests/remote.R:gimli:hornik:20953' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpXaNPNA/future.parent=20953.51d94b47bc62.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=127.0.0.1 PORT=21283 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 1 ... done
  [06:30:43.269] getGlobalsAndPackages() ...
  [06:30:43.269] Searching for globals...
  [06:30:43.277] - globals found: [1] '{'
  [06:30:43.278] Searching for globals ... DONE
  [06:30:43.278] Resolving globals: FALSE
  [06:30:43.279] 
  [06:30:43.280] 
  [06:30:43.280] getGlobalsAndPackages() ... DONE
  [06:30:43.286] Packages needed by the future expression (n = 0): <none>
  [06:30:43.287] Packages needed by future strategies (n = 0): <none>
  [06:30:43.292] {
  [06:30:43.292]     {
  [06:30:43.292]         ...future.startTime <- base::Sys.time()
  [06:30:43.292]         ...future.oldOptions <- base::options(future.startup.script = FALSE, 
  [06:30:43.292]             future.globals.onMissing = "ignore", future.globals.maxSize = NULL, 
  [06:30:43.292]             future.globals.method = NULL, future.globals.onMissing = NULL, 
  [06:30:43.292]             future.globals.onReference = NULL, future.globals.resolve = NULL, 
  [06:30:43.292]             future.resolve.recursive = NULL, width = 80L)
  [06:30:43.292]         {
  [06:30:43.292]             {
  [06:30:43.292]                 base::local({
  [06:30:43.292]                   has_future <- base::requireNamespace("future", 
  [06:30:43.292]                     quietly = TRUE)
  [06:30:43.292]                   version <- if (has_future) 
  [06:30:43.292]                     utils::packageVersion("future")
  [06:30:43.292]                   else NULL
  [06:30:43.292]                   if (!has_future || version < "1.8.0") {
  [06:30:43.292]                     info <- base::c(r_version = base::gsub("R version ", 
  [06:30:43.292]                       "", base::R.version$version.string), platform = base::sprintf("%s (%s-bit)", 
  [06:30:43.292]                       base::R.version$platform, 8 * base::.Machine$sizeof.pointer), 
  [06:30:43.292]                       os = base::paste(base::Sys.info()[base::c("sysname", 
  [06:30:43.292]                         "release", "version")], collapse = " "), 
  [06:30:43.292]                       hostname = base::Sys.info()[["nodename"]])
  [06:30:43.292]                     info <- base::sprintf("%s: %s", base::names(info), 
  [06:30:43.292]                       info)
  [06:30:43.292]                     info <- base::paste(info, collapse = "; ")
  [06:30:43.292]                     if (!has_future) {
  [06:30:43.292]                       msg <- base::sprintf("Package 'future' is not installed on worker (%s)", 
  [06:30:43.292]                         info)
  [06:30:43.292]                     }
  [06:30:43.292]                     else {
  [06:30:43.292]                       msg <- base::sprintf("Package 'future' on worker (%s) must be of version >= 1.8.0: %s", 
  [06:30:43.292]                         info, version)
  [06:30:43.292]                     }
  [06:30:43.292]                     base::stop(msg)
  [06:30:43.292]                   }
  [06:30:43.292]                 })
  [06:30:43.292]             }
  [06:30:43.292]             future::plan("default", .cleanup = FALSE, .init = FALSE)
  [06:30:43.292]         }
  [06:30:43.292]     }
  [06:30:43.292]     if (base::is.na(TRUE)) {
  [06:30:43.292]     }
  [06:30:43.292]     else {
  [06:30:43.292]         if (TRUE) {
  [06:30:43.292]             ...future.stdout <- base::rawConnection(base::raw(0L), 
  [06:30:43.292]                 open = "w")
  [06:30:43.292]         }
  [06:30:43.292]         else {
  [06:30:43.292]             ...future.stdout <- base::file(base::switch(.Platform$OS.type, 
  [06:30:43.292]                 windows = "NUL", "/dev/null"), open = "w")
  [06:30:43.292]         }
  [06:30:43.292]         base::sink(...future.stdout, type = "output", split = FALSE)
  [06:30:43.292]         base::on.exit(if (!base::is.null(...future.stdout)) {
  [06:30:43.292]             base::sink(type = "output", split = FALSE)
  [06:30:43.292]             base::close(...future.stdout)
  [06:30:43.292]         }, add = TRUE)
  [06:30:43.292]     }
  [06:30:43.292]     ...future.frame <- base::sys.nframe()
  [06:30:43.292]     ...future.conditions <- base::list()
  [06:30:43.292]     ...future.rng <- base::globalenv()$.Random.seed
  [06:30:43.292]     ...future.result <- base::tryCatch({
  [06:30:43.292]         base::withCallingHandlers({
  [06:30:43.292]             ...future.value <- base::withVisible({
  [06:30:43.292]                 ...future.sendCondition <- local({
  [06:30:43.292]                   sendCondition <- NULL
  [06:30:43.292]                   function(frame = 1L) {
  [06:30:43.292]                     if (is.function(sendCondition)) 
  [06:30:43.292]                       return(sendCondition)
  [06:30:43.292]                     ns <- getNamespace("parallel")
  [06:30:43.292]                     if (exists("sendData", mode = "function", 
  [06:30:43.292]                       envir = ns)) {
  [06:30:43.292]                       parallel_sendData <- get("sendData", mode = "function", 
  [06:30:43.292]                         envir = ns)
  [06:30:43.292]                       envir <- sys.frame(frame)
  [06:30:43.292]                       master <- NULL
  [06:30:43.292]                       while (!identical(envir, .GlobalEnv) && 
  [06:30:43.292]                         !identical(envir, emptyenv())) {
  [06:30:43.292]                         if (exists("master", mode = "list", envir = envir, 
  [06:30:43.292]                           inherits = FALSE)) {
  [06:30:43.292]                           master <- get("master", mode = "list", 
  [06:30:43.292]                             envir = envir, inherits = FALSE)
  [06:30:43.292]                           if (inherits(master, "SOCKnode")) {
  [06:30:43.292]                             sendCondition <<- function(cond) {
  [06:30:43.292]                               data <- list(type = "VALUE", value = cond, 
  [06:30:43.292]                                 success = TRUE)
  [06:30:43.292]                               parallel_sendData(master, data)
  [06:30:43.292]                             }
  [06:30:43.292]                             return(sendCondition)
  [06:30:43.292]                           }
  [06:30:43.292]                         }
  [06:30:43.292]                         frame <- frame + 1L
  [06:30:43.292]                         envir <- sys.frame(frame)
  [06:30:43.292]                       }
  [06:30:43.292]                     }
  [06:30:43.292]                     sendCondition <<- function(cond) NULL
  [06:30:43.292]                   }
  [06:30:43.292]                 })
  [06:30:43.292]                 withCallingHandlers({
  [06:30:43.292]                   {
  [06:30:43.292]                     42L
  [06:30:43.292]                   }
  [06:30:43.292]                 }, immediateCondition = function(cond) {
  [06:30:43.292]                   sendCondition <- ...future.sendCondition()
  [06:30:43.292]                   sendCondition(cond)
  [06:30:43.292]                   muffleCondition <- function (cond) 
  [06:30:43.292]                   {
  [06:30:43.292]                     inherits <- base::inherits
  [06:30:43.292]                     invokeRestart <- base::invokeRestart
  [06:30:43.292]                     muffled <- FALSE
  [06:30:43.292]                     if (inherits(cond, "message")) {
  [06:30:43.292]                       invokeRestart("muffleMessage")
  [06:30:43.292]                       muffled <- TRUE
  [06:30:43.292]                     }
  [06:30:43.292]                     else if (inherits(cond, "warning")) {
  [06:30:43.292]                       invokeRestart("muffleWarning")
  [06:30:43.292]                       muffled <- TRUE
  [06:30:43.292]                     }
  [06:30:43.292]                     else if (inherits(cond, "condition")) {
  [06:30:43.292]                       computeRestarts <- base::computeRestarts
  [06:30:43.292]                       grepl <- base::grepl
  [06:30:43.292]                       is.null <- base::is.null
  [06:30:43.292]                       restarts <- computeRestarts(cond)
  [06:30:43.292]                       for (restart in restarts) {
  [06:30:43.292]                         name <- restart$name
  [06:30:43.292]                         if (is.null(name)) 
  [06:30:43.292]                           next
  [06:30:43.292]                         if (!grepl("^muffle", name)) 
  [06:30:43.292]                           next
  [06:30:43.292]                         invokeRestart(restart)
  [06:30:43.292]                         muffled <- TRUE
  [06:30:43.292]                         break
  [06:30:43.292]                       }
  [06:30:43.292]                     }
  [06:30:43.292]                     invisible(muffled)
  [06:30:43.292]                   }
  [06:30:43.292]                   muffleCondition(cond)
  [06:30:43.292]                 })
  [06:30:43.292]             })
  [06:30:43.292]             future::FutureResult(value = ...future.value$value, 
  [06:30:43.292]                 visible = ...future.value$visible, rng = !identical(base::globalenv()$.Random.seed, 
  [06:30:43.292]                   ...future.rng), started = ...future.startTime, 
  [06:30:43.292]                 version = "1.8")
  [06:30:43.292]         }, condition = base::local({
  [06:30:43.292]             c <- base::c
  [06:30:43.292]             inherits <- base::inherits
  [06:30:43.292]             invokeRestart <- base::invokeRestart
  [06:30:43.292]             length <- base::length
  [06:30:43.292]             list <- base::list
  [06:30:43.292]             seq.int <- base::seq.int
  [06:30:43.292]             signalCondition <- base::signalCondition
  [06:30:43.292]             sys.calls <- base::sys.calls
  [06:30:43.292]             Sys.time <- base::Sys.time
  [06:30:43.292]             `[[` <- base::`[[`
  [06:30:43.292]             `+` <- base::`+`
  [06:30:43.292]             `<<-` <- base::`<<-`
  [06:30:43.292]             sysCalls <- function(calls = sys.calls(), from = 1L) {
  [06:30:43.292]                 calls[seq.int(from = from + 6L, to = length(calls) - 
  [06:30:43.292]                   3L)]
  [06:30:43.292]             }
  [06:30:43.292]             function(cond) {
  [06:30:43.292]                 if (inherits(cond, "error")) {
  [06:30:43.292]                   sessionInformation <- function() {
  [06:30:43.292]                     list(r = base::R.Version(), locale = base::Sys.getlocale(), 
  [06:30:43.292]                       rngkind = base::RNGkind(), namespaces = base::loadedNamespaces(), 
  [06:30:43.292]                       search = base::search(), system = base::Sys.info())
  [06:30:43.292]                   }
  [06:30:43.292]                   ...future.conditions[[length(...future.conditions) + 
  [06:30:43.292]                     1L]] <<- list(condition = cond, calls = c(sysCalls(from = ...future.frame), 
  [06:30:43.292]                     cond$call), session = sessionInformation(), 
  [06:30:43.292]                     timestamp = Sys.time(), signaled = 0L)
  [06:30:43.292]                   signalCondition(cond)
  [06:30:43.292]                 }
  [06:30:43.292]                 else if (inherits(cond, c("condition", "immediateCondition"
  [06:30:43.292]                 ))) {
  [06:30:43.292]                   signal <- TRUE && inherits(cond, "immediateCondition")
  [06:30:43.292]                   ...future.conditions[[length(...future.conditions) + 
  [06:30:43.292]                     1L]] <<- list(condition = cond, signaled = base::as.integer(signal))
  [06:30:43.292]                   if (!signal) {
  [06:30:43.292]                     muffleCondition <- function (cond) 
  [06:30:43.292]                     {
  [06:30:43.292]                       inherits <- base::inherits
  [06:30:43.292]                       invokeRestart <- base::invokeRestart
  [06:30:43.292]                       muffled <- FALSE
  [06:30:43.292]                       if (inherits(cond, "message")) {
  [06:30:43.292]                         invokeRestart("muffleMessage")
  [06:30:43.292]                         muffled <- TRUE
  [06:30:43.292]                       }
  [06:30:43.292]                       else if (inherits(cond, "warning")) {
  [06:30:43.292]                         invokeRestart("muffleWarning")
  [06:30:43.292]                         muffled <- TRUE
  [06:30:43.292]                       }
  [06:30:43.292]                       else if (inherits(cond, "condition")) {
  [06:30:43.292]                         computeRestarts <- base::computeRestarts
  [06:30:43.292]                         grepl <- base::grepl
  [06:30:43.292]                         is.null <- base::is.null
  [06:30:43.292]                         restarts <- computeRestarts(cond)
  [06:30:43.292]                         for (restart in restarts) {
  [06:30:43.292]                           name <- restart$name
  [06:30:43.292]                           if (is.null(name)) 
  [06:30:43.292]                             next
  [06:30:43.292]                           if (!grepl("^muffle", name)) 
  [06:30:43.292]                             next
  [06:30:43.292]                           invokeRestart(restart)
  [06:30:43.292]                           muffled <- TRUE
  [06:30:43.292]                           break
  [06:30:43.292]                         }
  [06:30:43.292]                       }
  [06:30:43.292]                       invisible(muffled)
  [06:30:43.292]                     }
  [06:30:43.292]                     muffleCondition(cond)
  [06:30:43.292]                   }
  [06:30:43.292]                 }
  [06:30:43.292]             }
  [06:30:43.292]         }))
  [06:30:43.292]     }, error = function(ex) {
  [06:30:43.292]         base::structure(base::list(value = NULL, visible = NULL, 
  [06:30:43.292]             conditions = ...future.conditions, rng = !identical(base::globalenv()$.Random.seed, 
  [06:30:43.292]                 ...future.rng), version = "1.8"), class = "FutureResult")
  [06:30:43.292]     }, finally = {
  [06:30:43.292]         {
  [06:30:43.292]             NULL
  [06:30:43.292]             future::plan(list(function (expr, envir = parent.frame(), 
  [06:30:43.292]                 substitute = TRUE, lazy = FALSE, seed = NULL, 
  [06:30:43.292]                 globals = TRUE, local = TRUE, earlySignal = FALSE, 
  [06:30:43.292]                 label = NULL, ...) 
  [06:30:43.292]             {
  [06:30:43.292]                 if (substitute) 
  [06:30:43.292]                   expr <- substitute(expr)
  [06:30:43.292]                 local <- as.logical(local)
  [06:30:43.292]                 future <- SequentialFuture(expr = expr, envir = envir, 
  [06:30:43.292]                   substitute = FALSE, lazy = lazy, seed = seed, 
  [06:30:43.292]                   globals = globals, local = local, earlySignal = earlySignal, 
  [06:30:43.292]                   label = label, ...)
  [06:30:43.292]                 if (!future$lazy) 
  [06:30:43.292]                   future <- run(future)
  [06:30:43.292]                 invisible(future)
  [06:30:43.292]             }), .cleanup = FALSE, .init = FALSE)
  [06:30:43.292]         }
  [06:30:43.292]         base::options(...future.oldOptions)
  [06:30:43.292]     })
  [06:30:43.292]     Sys.time
  [06:30:43.292]     if (base::is.na(TRUE)) {
  [06:30:43.292]     }
  [06:30:43.292]     else {
  [06:30:43.292]         base::sink(type = "output", split = FALSE)
  [06:30:43.292]         if (TRUE) {
  [06:30:43.292]             ...future.result$stdout <- base::rawToChar(base::rawConnectionValue(...future.stdout))
  [06:30:43.292]         }
  [06:30:43.292]         else {
  [06:30:43.292]             ...future.result["stdout"] <- base::list(NULL)
  [06:30:43.292]         }
  [06:30:43.292]         base::close(...future.stdout)
  [06:30:43.292]         ...future.stdout <- NULL
  [06:30:43.292]     }
  [06:30:43.292]     ...future.result$conditions <- ...future.conditions
  [06:30:43.292]     ...future.result
  [06:30:43.292] }
  [06:30:43.300] ClusterFuture started
  > print(f)
  ClusterFuture:
  Label: '<none>'
  Expression:
  {
      42L
  }
  Lazy evaluation: FALSE
  Asynchronous evaluation: TRUE
  Local evaluation: FALSE
  Environment: <environment: R_GlobalEnv>
  Capture standard output: TRUE
  Capture condition classes: 'condition'
  Globals: <none>
  Packages: <none>
  L'Ecuyer-CMRG RNG seed: <none> (seed = NULL)
  [06:30:43.429] receiveMessageFromWorker() for ClusterFuture ...
  [06:30:43.430] - Validating connection of ClusterFuture
  [06:30:43.430] - received message: FutureResult
  [06:30:43.431] - Received FutureResult
  [06:30:43.448] - Erased future from FutureRegistry
  [06:30:43.449] result() for ClusterFuture ...
  [06:30:43.449] - result already collected: FutureResult
  [06:30:43.450] result() for ClusterFuture ... done
  [06:30:43.450] receiveMessageFromWorker() for ClusterFuture ... done
  Resolved: TRUE
  Value: <not collected>
  Conditions captured: <none>
  Early signaling: FALSE
  Owner process: b82d8679-1c37-d8dc-e62b-c8c4c367f81d
  Class: 'ClusterFuture', 'MultiprocessFuture', 'Future', 'environment'
  > stopifnot(inherits(f, "ClusterFuture"))
  > 
  > print(resolved(f))
  [1] TRUE
  > y <- value(f)
  [06:30:43.452] result() for ClusterFuture ...
  [06:30:43.452] - result already collected: FutureResult
  [06:30:43.453] result() for ClusterFuture ... done
  [06:30:43.453] result() for ClusterFuture ...
  [06:30:43.453] - result already collected: FutureResult
  [06:30:43.453] result() for ClusterFuture ... done
  > print(y)
  [1] 42
  > stopifnot(y == 42L)
  > 
  > 
  > plan(remote, workers = "localhost")
  [06:30:43.454] plan(): Setting new future strategy stack:
  [06:30:43.455] List of future strategies:
  [06:30:43.455] 1. remote:
  [06:30:43.455]    - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = TRUE, workers = "localhost", user = NULL, revtunnel = TRUE, gc = FALSE, earlySignal = FALSE, myip = NULL, label = NULL, ...)
  [06:30:43.455]    - tweaked: TRUE
  [06:30:43.455]    - call: plan(remote, workers = "localhost")
  [06:30:43.492] plan(): plan_init() of 'tweaked', 'remote', 'cluster', 'multiprocess', 'future', 'function' ...
  [06:30:43.492] remote:
  [06:30:43.492] - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, persistent = TRUE, workers = "localhost", user = NULL, revtunnel = TRUE, gc = FALSE, earlySignal = FALSE, myip = NULL, label = NULL, ...)
  [06:30:43.492] - tweaked: TRUE
  [06:30:43.492] - call: plan(remote, workers = "localhost")
  [local output] Workers: [n = 1] 'localhost'
  [local output] Base port: 34132
  [local output] Creating node 1 of 1 ...
  [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/RtmpXaNPNA/future.parent=20953.51d93e263d5d.pid")), silent = TRUE)' -e "file.exists('/tmp/RtmpXaNPNA/future.parent=20953.51d93e263d5d.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=future/tests/remote.R:gimli:hornik:20953' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpXaNPNA/future.parent=20953.51d93e263d5d.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=127.0.0.1 PORT=34132 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 34132 cannot be opened'
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 34132 cannot be opened
  Killing worker process (PID 22745) if still alive
  [06:30:44.993] Attempting to find a working pid_exists_*() function ...
  Call: tools::pskill(20953, signal = 0L)
  [1] TRUE
  Call: tools::pskill(20953, signal = 0L)
  [1] TRUE
  [06:30:44.994] - success
  [06:30:44.994] Attempting to find a working pid_exists_*() function ... done
  Worker (PID 22745) 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 34132 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 34132 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=future/tests/remote.R:gimli:hornik:20953' -e 'try(suppressWarnings(cat(Sys.getpid(),file="/tmp/RtmpXaNPNA/future.parent=20953.51d93e263d5d.pid")), silent = TRUE)' -e 'parallel:::.slaveRSOCK()' MASTER=127.0.0.1 PORT=34132 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 22745) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'outfile=NULL' to see output from worker.
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted