Running ‘testthat.R’ [187s/128s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("checkmate")
  +   library("testthat")
  +   library("mlr3spatiotempcv")
  +   test_check("mlr3spatiotempcv")
  + }
  Loading required package: mlr3
  Starting 2 test processes
  [ FAIL 1 | WARN 46 | SKIP 23 | PASS 1211 ]
  
  ══ Skipped tests (23) ══════════════════════════════════════════════════════════
  • On CRAN (20): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3', 'test-mlr3pipelines-graph-integration.R:5:3'
  • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
  • empty test (1): 'test-helper-DataBackend.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
  Error in `if (resampling$task_row_hash != task$row_hash) {
      stopf("Resampling '%s' is not instantiated on task '%s'", 
          resampling$id, task$id)
  }`: missing value where TRUE/FALSE needed
  Backtrace:
      ▆
   1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
   2.   └─mlr3misc::pmap_dtr(...)
   3.     └─mlr3misc:::mapply_list(.f, .x, list(...))
   4.       └─base::.mapply(.f, .dots, .args)
   5.         └─mlr3 (local) `<fn>`(...)
  
  [ FAIL 1 | WARN 46 | SKIP 23 | PASS 1211 ]
  Deleting unused snapshots:
  • 1-autoplot/autoplot-show-blocks-true-show-labels-true.svg
  • 1-autoplot/custom-cv-fold-1-2-sample-fold-n.svg
  • 1-autoplot/custom-cv-fold-1-2.svg
  • 1-autoplot/custom-cv-fold-1-sample-fold-n.svg
  • 1-autoplot/custom-cv-fold-1.svg
  • 1-autoplot/custom-cv-sample-fold-n.svg
  • 1-autoplot/cv-fold-1-2-groups-col-role.svg
  • 1-autoplot/cv-fold-1-2-sample-fold-n.svg
  • 1-autoplot/cv-fold-1-2.svg
  • 1-autoplot/cv-fold-1-groups-col-role.svg
  • 1-autoplot/cv-fold-1-sample-fold-n.svg
  • 1-autoplot/cv-fold-1.svg
  • 1-autoplot/cv-sample-fold-n.svg
  • 1-autoplot/repcv-fold-1-2-rep-1.svg
  • 1-autoplot/repcv-fold-1-2-rep-2.svg
  • 1-autoplot/repcv-fold-1-rep-1.svg
  • 1-autoplot/repcv-fold-1-rep-2.svg
  • 1-autoplot/repspcvblock-fold-1-2-rep-1.svg
  • 1-autoplot/repspcvblock-fold-1-2-rep-2.svg
  • 1-autoplot/repspcvblock-fold-1-rep-1.svg
  • 1-autoplot/repspcvblock-fold-1-rep-2.svg
  • 1-autoplot/repspcvcoords-fold-1-2-rep-1.svg
  • 1-autoplot/repspcvcoords-fold-1-2-rep-2.svg
  • 1-autoplot/repspcvcoords-fold-1-2-sample-fold-n.svg
  • 1-autoplot/repspcvcoords-fold-1-rep-1.svg
  • 1-autoplot/repspcvcoords-fold-1-rep-2.svg
  • 1-autoplot/repspcvcoords-fold-1-sample-fold-n.svg
  • 1-autoplot/repspcvcoords-sample-fold-n.svg
  • 1-autoplot/repspcvenv-fold-1-2-rep-1.svg
  • 1-autoplot/repspcvenv-fold-1-2-rep-2.svg
  • 1-autoplot/repspcvenv-fold-1-rep-1.svg
  • 1-autoplot/repspcvenv-fold-1-rep-2.svg
  • 1-autoplot/spcvblock-fold-1-2-sample-fold-n.svg
  • 1-autoplot/spcvblock-fold-1-2.svg
  • 1-autoplot/spcvblock-fold-1-sample-fold-n.svg
  • 1-autoplot/spcvblock-fold-1.svg
  • 1-autoplot/spcvblock-sample-fold-n.svg
  • 1-autoplot/spcvcoords-fold-1-2.svg
  • 1-autoplot/spcvcoords-fold-1.svg
  • 1-autoplot/spcvenv-fold-1-2-sample-fold-n.svg
  • 1-autoplot/spcvenv-fold-1-2.svg
  • 1-autoplot/spcvenv-fold-1-sample-fold-n.svg
  • 1-autoplot/spcvenv-fold-1.svg
  • 1-autoplot/spcvenv-sample-fold-n.svg
  • 2-autoplot/repspcvdisc-fold-1-2-rep-2.svg
  • 2-autoplot/repspcvdisc-fold-1-2-sample-fold-n.svg
  • 2-autoplot/repspcvdisc-fold-1-rep-1-sample-n-fold.svg
  • 2-autoplot/repspcvdisc-fold-1-rep-2.svg
  • 2-autoplot/repspcvdisc-fold-1-sample-fold-n.svg
  • 2-autoplot/repspcvdisc-sample-fold-n.svg
  • 2-autoplot/repspcvknndm-fold-1-2-rep-2.svg
  • 2-autoplot/repspcvknndm-fold-1-2-sample-fold-n.svg
  • 2-autoplot/repspcvknndm-fold-1-rep-1-sample-n-fold.svg
  • 2-autoplot/repspcvknndm-fold-1-rep-2.svg
  • 2-autoplot/repspcvknndm-fold-1-sample-fold-n.svg
  • 2-autoplot/repspcvknndm-sample-fold-n.svg
  • 2-autoplot/repspcvtiles-fold-1-2-rep-2.svg
  • 2-autoplot/repspcvtiles-fold-1-2-sample-fold-n.svg
  • 2-autoplot/repspcvtiles-fold-1-2.svg
  • 2-autoplot/repspcvtiles-fold-1-rep-2.svg
  • 2-autoplot/repspcvtiles-fold-1-sample-fold-n.svg
  • 2-autoplot/repspcvtiles-fold-1.svg
  • 2-autoplot/repspcvtiles-sample-fold-n.svg
  • 2-autoplot/repspcvtiles-show-omitted.svg
  • 2-autoplot/repsptcvcstf-2d-space-var-fold-1-2-rep-2.svg
  • 2-autoplot/repsptcvcstf-2d-space-var-fold-1-rep-2.svg
  • 2-autoplot/repsptcvcstf-fold-1-2-rep-1.svg
  • 2-autoplot/repsptcvcstf-fold-1-2-rep-2.svg
  • 2-autoplot/repsptcvcstf-fold-1-rep-1-sample-fold-n.svg
  • 2-autoplot/repsptcvcstf-fold-1-rep-2.svg
  • 2-autoplot/spcvdisc-fold-1-2.svg
  • 2-autoplot/spcvdisc-fold-1.svg
  • 2-autoplot/spcvdisc-show-omitted.svg
  • 2-autoplot/spcvknndm-fold-1-2.svg
  • 2-autoplot/spcvknndm-fold-1.svg
  • 2-autoplot/sptcvcstf-2d-space-var-all-test-sets.svg
  • 2-autoplot/sptcvcstf-2d-space-var-fold-1-2.svg
  • 2-autoplot/sptcvcstf-2d-space-var-fold-1.svg
  • 2-autoplot/sptcvcstf-2d-time-var-all-test-sets.svg
  • 2-autoplot/sptcvcstf-2d-time-var-fold-1-2-rep-2.svg
  • 2-autoplot/sptcvcstf-2d-time-var-fold-1-2-sample-fold-n.svg
  • 2-autoplot/sptcvcstf-2d-time-var-fold-1-2.svg
  • 2-autoplot/sptcvcstf-2d-time-var-fold-1-rep-2.svg
  • 2-autoplot/sptcvcstf-2d-time-var-fold-1-sample-fold-n.svg
  • 2-autoplot/sptcvcstf-2d-time-var-fold-1.svg
  • 2-autoplot/sptcvcstf-2d-time-var-sample-fold-n.svg
  • 2-autoplot/sptcvcstf-3d-time-var-fold-1-2-sample-fold-n.svg
  • 2-autoplot/sptcvcstf-3d-time-var-fold-1-2.svg
  • 2-autoplot/sptcvcstf-3d-time-var-fold-1-sample-fold-n.svg
  • autoplot_buffer/spcvbuffer-fold-1-2.svg
  Error: Test failures
  Execution halted