Running ‘spelling.R’
  Running ‘testthat.R’ [4m/31m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(envi)
  
  Welcome to {envi} version 1.0.1
  > help("envi") # for documentation
  > citation("envi") # 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("envi")
  
  
  Saving _problems/test-perlrren-170.R
  [ FAIL 1 | WARN 2 | SKIP 4 | PASS 39 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-plot_cv.R:124:3', 'test-plot_obs.R:100:3',
    'test-plot_perturb.R:82:3', 'test-plot_predict.R:128:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-perlrren.R:163:3'): parallel processing with future package functions properly ──
  <FutureLaunchError/FutureError/error/FutureCondition/condition>
  Error: Caught an unexpected error of class FutureError when trying to launch future ('doFuture-1') on backend of class MultisessionFutureBackend. The reason was: MultisessionFuture ('doFuture-1') failed to launch future on cluster RichSOCKnode #1 (PID 2714260 on localhost 'localhost'). The reason reported was 'error writing to connection'. Post-mortem diagnostic: A process with this PID exists, which suggests that the localhost worker is still alive. The total size of the 12 globals exported is 1.32 MiB The three largest globals are 'predict_locs' (634.62 KiB of class 'list'), 'obs_ppp' (386.21 KiB of class 'list') and 'covariates' (329.50 KiB of class 'list') [future 'doFuture-1' (b5e07101871319ced7df7648503cea33-3); on b5e07101871319ced7df7648503cea33@gannet.stats.ox.ac.uk<2609825>] [future 'doFuture-1' (b5e07101871319ced7df7648503cea33-3); on b5e07101871319ced7df7648503cea33@gannet.stats.ox.ac.uk<2609825>]
  Backtrace:
       ▆
    1. ├─testthat::expect_named(...) at test-perlrren.R:163:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─envi::perlrren(...)
    5.   ├─... %fun% ...
    6.   │ └─base::do.call(`%dopar%`, list(obj, ex), envir = parent.frame())
    7.   └─foreach (local) `<fn>`(...)
    8.     └─e$fun(obj, substitute(ex), parent.frame(), e$data)
    9.       └─base::tryCatch(...)
   10.         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   11.           └─base (local) tryCatchOne(...)
   12.             └─value[[3L]](cond)
   13.               └─doFuture:::onError(e, futures = fs, debug = debug)
  
  [ FAIL 1 | WARN 2 | SKIP 4 | PASS 39 ]
  Error:
  ! Test failures.
  Execution halted