Running ‘test-FutureError.R’
  Running ‘test-FutureGlobals.R’
  Running ‘test-FutureRegistry.R’
  Running ‘test-adhoc_native_to_utf8.R’
  Running ‘test-backtrace.R’ [4s/12s]
  Running ‘test-bquote.R’
  Running ‘test-capture_journals.R’ [3s/13s]
  Running ‘test-cluster,worker-termination.R’
  Running ‘test-cluster-connection-clashes.R’ [3s/16s]
  Running ‘test-cluster-missing-future-pkg.R’
  Running ‘test-demo-fibonacci.R’
  Running ‘test-demo-mandelbrot.R’ [6s/18s]
  Running ‘test-dotdotdot.R’ [7s/19s]
  Running ‘test-early-signaling.R’
  Running ‘test-future,labels.R’ [5s/15s]
  Running ‘test-future,optsenvvars.R’
  Running ‘test-future.R’
  Running ‘test-futureAssign.R’ [7s/22s]
  Running ‘test-futureAssign_OP.R’ [11s/27s]
  Running ‘test-futureAssign_OP_with_environment.R’
  Running ‘test-futureAssign_OP_with_listenv.R’
  Running ‘test-futureCall.R’ [6s/21s]
  Running ‘test-futureOf.R’
  Running ‘test-futureOf_with_environment.R’
  Running ‘test-futureOf_with_listenv.R’
  Running ‘test-futureSessionInfo.R’
  Running ‘test-futures.R’ [34s/78s]
  Running ‘test-globals,NSE.R’ [3s/13s]
  Running ‘test-globals,S4methods.R’ [4s/14s]
  Running ‘test-globals,formulas.R’ [13s/36s]
  Running ‘test-globals,locals.R’ [4s/13s]
  Running ‘test-globals,manual.R’ [8s/26s]
  Running ‘test-globals,resolve.R’ [3s/11s]
  Running ‘test-globals,subassignment.R’ [11s/34s]
  Running ‘test-globals,toolarge.R’
  Running ‘test-globals,tricky.R’ [29s/75s]
  Running ‘test-globals,tricky_recursive.R’
  Running ‘test-globalsOf,tweaks.R’
  Running ‘test-immediateCondition.R’
  Running ‘test-interrupt-sets.R’ [3s/13s]
  Running ‘test-interrupt.R’
  Running ‘test-interrupts-from-worker-itself.R’
  Running ‘test-invalid-owner.R’ [2s/10s]
  Running ‘test-mandelbrot.R’
  Running ‘test-misuse-connections.R’
  Running ‘test-mpi.R’
  Running ‘test-multicore,multithreading.R’
  Running ‘test-multicore,worker-termination.R’
  Running ‘test-nbrOfWorkers.R’ [4s/20s]
  Running ‘test-nested_futures,mc.cores.R’ [7s/45s]
  Running ‘test-nested_futures.R’ [6s/28s]
  Running ‘test-non-exportable,connections.R’
  Running ‘test-objectSize.R’
  Running ‘test-plan.R’ [4s/32s]
  Running ‘test-relaying,muffle.R’
  Running ‘test-relaying,split.R’
  Running ‘test-relaying.R’ [4s/11s]
  Running ‘test-requestCore.R’
  Running ‘test-requestNode.R’
  Running ‘test-reserved-keyword-functions.R’
  Running ‘test-reset.R’ [5s/17s]
  Running ‘test-resolve.R’ [14s/42s]
  Running ‘test-resolved-non-blocking-test.R’
  Running ‘test-rng.R’ [49s/96s]
  Running ‘test-rng_utils.R’
  Running ‘test-sequential.R’
  Running ‘test-sessionDetails.R’
  Running ‘test-startup-onAttach.R’
  Running ‘test-startup-onLoad.R’
  Running ‘test-startup-parseCmdArgs.R’
  Running ‘test-stdout.R’ [8s/15s]
  Running ‘test-timeouts.R’
  Running ‘test-tweak.R’
  Running ‘test-utils.R’
  Running ‘test-uuid.R’
  Running ‘test-value.R’ [21s/35s]
  Running ‘test-whichIndex.R’
Running the tests in ‘tests/test-early-signaling.R’ failed.
Complete output:
  > ## This runs testme test script incl/testme/test-early-signaling.R
  > ## Don't edit - it was autogenerated by inst/testme/deploy.R
  > future:::testme("early-signaling")
  Test 'early-signaling' ...
  Sourcing 9 prologue scripts ...
  01/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/001.load.R'
  02/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/002.record-state.R'
  03/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/030.imports.R'
  04/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/050.utils.R'
  05/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/090.context.R'
  06/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/090.options.R'
  07/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/091.envvars.R'
  08/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/099.future-setup.R'
  09/09 prologue script '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/_prologue/995.detrius-connections.R'
  Sourcing 9 prologue scripts ... done
  Running test script: '/data/gannet/ripley/R/packages/tests-clang/future.Rcheck/future/testme/test-early-signaling.R'
  
  > library(future)
  [07:26:35.046] Option 'future.startup.script': TRUE
  [07:26:35.047] Future startup scripts considered: '.future.R', '~/.future.R'
  [07:26:35.048] Future startup scripts found: <none>
  
  > 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)
  
  > 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 ...
  
  > 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"))
  
  > 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({     { ...
   - attr(*, "class")= chr [1:3] "simpleWarning" "warning" "condition"
  
  > stopifnot(inherits(res, "warning"))
  
  > f <- future({
  +     message("hey!")
  + }, lazy = TRUE)
  
  > res <- tryCatch({
  +     r <- resolved(f)
  + }, condition = function(w) w)
  
  > stopifnot(inherits(res, "message"))
  
  > 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)
  
  > f <- future({
  +     stop("bang!")
  + })
  
  > Sys.sleep(0.2)
  
  > r <- resolved(f)
  
  > stopifnot(r)
  Error: r is not TRUE
  Execution halted