Running '000.sessionDetails.R' [1s]
  Running 'ClusterRegistry.R' [9s]
  Running 'Future-class.R' [4s]
  Running 'FutureError.R' [1s]
  Running 'FutureGlobals.R' [1s]
  Running 'FutureRegistry.R' [1s]
  Running 'as.cluster.R' [5s]
  Running 'availableCores.R' [1s]
  Running 'availableWorkers.R' [1s]
  Running 'backtrace.R' [4s]
  Running 'cluster-missing-future-pkg.R' [2s]
  Running 'cluster.R' [21s]
  Running 'constant.R' [1s]
  Running 'demo.R' [15s]
  Running 'dotdotdot.R' [4s]
  Running 'early-signaling.R' [25s]
  Running 'future,labels.R' [5s]
  Running 'future.R' [1s]
  Running 'futureAssign.R' [5s]
  Running 'futureAssign_OP.R' [6s]
  Running 'futureAssign_OP_with_environment.R' [1s]
  Running 'futureAssign_OP_with_listenv.R' [2s]
  Running 'futureCall.R' [9s]
  Running 'futureOf.R' [1s]
  Running 'futureOf_with_environment.R' [1s]
  Running 'futureOf_with_listenv.R' [1s]
  Running 'futures.R' [29s]
  Running 'globals,NSE.R' [7s]
  Running 'globals,formulas.R' [6s]
  Running 'globals,manual.R' [6s]
  Running 'globals,resolve.R' [4s]
  Running 'globals,subassignment.R' [4s]
  Running 'globals,toolarge.R' [4s]
  Running 'globals,tricky.R' [9s]
  Running 'globals,tricky_recursive.R' [4s]
  Running 'globalsOf,tweaks.R' [1s]
  Running 'invalid-owner.R' [4s]
  Running 'makeClusterPSOCK.R' [3s]
  Running 'mandelbrot.R' [1s]
  Running 'mpi.R' [1s]
  Running 'multicore.R' [2s]
  Running 'multiprocess.R' [4s]
  Running 'multisession.R' [11s]
  Running 'nbrOfWorkers.R' [15s]
  Running 'nested_futures,mc.cores.R' [21s]
  Running 'nested_futures.R' [11s]
  Running 'non-exportable,connections.R' [3s]
  Running 'objectSize.R' [1s]
  Running 'plan.R' [4s]
  Running 'remote.R' [4s]
  Running 'requestCore.R' [3s]
  Running 'requestNode.R' [10s]
  Running 'resolve.R' [25s]
  Running 'rng.R' [7s]
  Running 'sequential.R' [1s]
  Running 'sessionDetails.R' [1s]
  Running 'startup.R' [11s]
  Running 'stdout.R' [5s]
  Running 'transparent.R' [1s]
  Running 'tweak.R' [1s]
  Running 'utils.R' [14s]
  Running 'uuid.R' [1s]
  Running 'whichIndex.R' [1s]
Running the tests in 'tests/early-signaling.R' failed.
Complete output:
  > source("incl/start.R")
  plan(): Setting new future strategy stack:
  List of future strategies:
  1. sequential:
     - args: function (expr, envir = parent.frame(), substitute = TRUE, lazy = FALSE, seed = NULL, globals = TRUE, local = TRUE, earlySignal = FALSE, label = NULL, ...)
     - tweaked: FALSE
     - call: future::plan("sequential")
  
  plan(): nbrOfWorkers() = 1
  > 
  > options(future.debug = FALSE)
  > 
  > message("*** Early signaling of conditions ...")
  *** Early signaling of conditions ...
  > 
  > message("*** Early signaling of conditions with sequential futures ...")
  *** Early signaling of conditions with sequential futures ...
  > 
  > plan(sequential)
  > f <- future({ stop("bang!") })
  > r <- resolved(f)
  > stopifnot(r)
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > message("- with lazy evaluation ...")
  - with lazy evaluation ...
  > f <- future({ stop("bang!") }, lazy = TRUE)
  > r <- resolved(f)
  > stopifnot(r)
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > plan(sequential, earlySignal = TRUE)
  > f <- tryCatch(future({ stop("bang!") }), error = identity)
  > stopifnot(inherits(f, "error"))
  > 
  > message("- with lazy evaluation ...")
  - with lazy evaluation ...
  > 
  > ## Errors
  > f <- future({ stop("bang!") }, lazy = TRUE)
  > r <- tryCatch(resolved(f), error = identity)
  > stopifnot(inherits(r, "error"))
  > v <- tryCatch(value(f), error = identity)
  > stopifnot(inherits(v, "error"))
  > 
  > ## Warnings
  > f <- future({ warning("careful!") }, lazy = TRUE)
  > res <- tryCatch({
  +   r <- resolved(f)
  + }, condition = function(w) w)
  > str(res)
  List of 2
   $ message: chr "careful!"
   $ call   : language eval(quote({     warning("careful!") ...
   - attr(*, "class")= chr [1:3] "simpleWarning" "warning" "condition"
  > stopifnot(inherits(res, "warning"))
  > 
  > ## Messages
  > f <- future({ message("hey!") }, lazy = TRUE)
  > res <- tryCatch({
  +   r <- resolved(f)
  + }, condition = function(w) w)
  > stopifnot(inherits(res, "message"))
  > 
  > ## Condition
  > f <- future({ signalCondition(simpleCondition("hmm")) }, lazy = TRUE)
  > res <- tryCatch({
  +   r <- resolved(f)
  + }, condition = function(w) w)
  > stopifnot(inherits(res, "condition"))
  > 
  > message("*** Early signaling of conditions with sequential futures ... DONE")
  *** Early signaling of conditions with sequential futures ... DONE
  > 
  > 
  > message("Number of available cores: ", availableCores())
  Number of available cores: 2
  > 
  > message("*** Early signaling of conditions with multisession futures ...")
  *** Early signaling of conditions with multisession futures ...
  > 
  > plan(multisession)
  Warning in socketConnection("localhost", port = port, server = TRUE, blocking = TRUE,  :
    port 11789 cannot be opened
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  Warning in doTryCatch(return(expr), name, parentenv, handler) :
    NAs introduced by coercion
  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 'CRANWIN'.
   * The error produced by socketConnection() was: 'cannot open the connection'
   * In addition, socketConnection() produced 1 warning(s):
     - Warning #1: 'port 11789 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 11789 using a communication timeout of 120 seconds and a connection timeout of 120 seconds.
   * Worker launch call: "D:/RCompile/recent/R-35~1.3/bin/x64/Rscript" --default-packages=datasets,utils,grDevices,graphics,stats,methods -e "#label=future/tests/early-signaling.R:CRANWIN:CRAN:6404" -e "try(cat(Sys.getpid(),file=\"D:/temp/Rtmp8krTqA/future.parent=6404.1904229c3414.pid\"), silent = TRUE)" -e "parallel:::.slaveRSOCK()" MASTER=localhost PORT=11789 OUT=/dev/null TIMEOUT=120 XDR=TRUE.
   * Worker (PID 103996) was successfully killed: TRUE
   * Troubleshooting suggestions:
     - Suggestion #1: Set 'verbose=TRUE' to see more details.
     - Suggestion #2: On Windows, output from worker when using 'outfile=NULL' is only visible when running R from a terminal (not a GUI).
  Calls: plan ... tryCatchList -> tryCatchOne -> <Anonymous> -> <Anonymous>
  Execution halted