Running ‘testthat.R’ [44s/58s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("checkmate")
  +   library("testthat")
  +   library("mlr3spatial")
  +   test_check("mlr3spatial")
  + }
  Loading required package: mlr3
  Saving _problems/test_predict_spatial-146.R
  Loading required package: sp
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 324 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_predict_spatial.R:146:5'): parallel execution works with callr ──
  <FutureLaunchError/FutureError/error/FutureCondition/condition>
  Error: Caught an unexpected error of class simpleError when trying to launch future ('future_lapply-2') on backend of class CallrFutureBackend. The reason was: cannot open the connection [future 'future_lapply-2' (e7050d0475156986da8a62635bc68395-10); on e7050d0475156986da8a62635bc68395@gimli1<3888917>]
  Backtrace:
       ▆
    1. ├─mlr3spatial:::with_future(...) at test_predict_spatial.R:145:3
    2. │ └─base::force(expr) at ./helper_future.R:5:3
    3. └─mlr3spatial::predict_spatial(task_predict, learner, chunksize = 1L) at test_predict_spatial.R:146:5
    4.   └─mlr3misc::pmap(...)
    5.     └─mlr3misc:::mapply_list(.f, .x, list(...))
    6.       └─base::.mapply(.f, .dots, .args)
    7.         └─mlr3spatial (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]])
    8.           └─learner$predict(...)
    9.             └─mlr3spatial:::.__LearnerClassifSpatial__predict(...)
   10.               └─self$learner$predict_newdata(data[ids])
   11.                 └─mlr3:::.__Learner__predict_newdata(...)
   12.                   └─self$predict(task)
   13.                     └─mlr3:::.__Learner__predict(...)
   14.                       └─future.apply::future_lapply(...)
   15.                         └─future.apply:::future_xapply(...)
   16.                           └─base::tryCatch(...)
   17.                             └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   18.                               └─base (local) tryCatchOne(...)
   19.                                 └─value[[3L]](cond)
   20.                                   └─future.apply:::onError(e, futures = fs, debug = debug)
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 324 ]
  Error:
  ! Test failures.
  Execution halted