Running ‘spelling.R’
  Running ‘testthat.R’ [49s/481s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sparrpowR)
  
  Welcome to {sparrpowR} version 0.2.5
  > help("sparrpowR") # for documentation
  > citation("sparrpowR") # for how to cite
  
  > 
  > ## WORKAROUND: Avoid R bug 18119 [1] that is trigger when for instance the
  > ## 'tcltk' package is loaded on macOS, or when running in the RStudio Console
  > ## [1] https://bugs.r-project.org/bugzilla/show_bug.cgi?id=18119
  > options(parallelly.makeNodePSOCK.setup_strategy = "sequential")
  > 
  > test_check("sparrpowR")
  
  
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 23 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-jitter_power.R:67:3): parallel processing with future package functions properly ──
  <FutureError/error/FutureCondition/condition>
  Error: MultisessionFuture (doFuture-2) failed to call grmall() on cluster RichSOCKnode #2 (PID 1705629 on localhost 'localhost'). The reason reported was 'error reading from connection'. Post-mortem diagnostic: No process exists with this PID, i.e. the localhost worker is no longer alive. The total size of the 13 globals exported is 123.99 KiB. The three largest globals are 'rcluster_control' (67.91 KiB of class 'function'), 'progBar' (35.98 KiB of class 'function') and 'obs_data' (15.50 KiB of class 'list')
  Backtrace:
       ▆
    1. ├─testthat::expect_named(...) at test-jitter_power.R:67:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─sparrpowR::jitter_power(...)
    5.   ├─... %fun% ...
    6.   │ └─base::do.call("%dopar%", list(obj, ex), envir = parent.frame())
    7.   └─`<foreach>` %dopar% ...
    8.     └─e$fun(obj, substitute(ex), parent.frame(), e$data)
    9.       └─future::future(...)
   10.         ├─future::run(future)
   11.         └─future:::run.Future(future)
   12.           ├─future::run(future)
   13.           └─future:::run.ClusterFuture(future)
   14.             └─future:::cluster_call(cl, fun = grmall, future = future, when = "call grmall() on")
   15.               └─base::tryCatch(...)
   16.                 └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   17.                   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   18.                     └─value[[3L]](cond)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 23 ]
  Error: Test failures
  Execution halted