Last updated on 2025-12-21 09:50:47 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.3.4 | 20.22 | 370.04 | 390.26 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 2.3.4 | 12.13 | 235.01 | 247.14 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 2.3.4 | 30.00 | 561.17 | 591.17 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 2.3.4 | 29.00 | 555.33 | 584.33 | ERROR | |
| r-devel-windows-x86_64 | 2.3.4 | 20.00 | 260.00 | 280.00 | OK | |
| r-patched-linux-x86_64 | 2.3.4 | 19.74 | 328.65 | 348.39 | OK | |
| r-release-linux-x86_64 | 2.3.4 | 18.52 | 326.26 | 344.78 | OK | |
| r-release-macos-arm64 | 2.3.4 | OK | ||||
| r-release-macos-x86_64 | 2.3.4 | 13.00 | 247.00 | 260.00 | OK | |
| r-release-windows-x86_64 | 2.3.4 | 20.00 | 253.00 | 273.00 | OK | |
| r-oldrel-macos-arm64 | 2.3.4 | OK | ||||
| r-oldrel-macos-x86_64 | 2.3.4 | 13.00 | 249.00 | 262.00 | OK | |
| r-oldrel-windows-x86_64 | 2.3.4 | 26.00 | 337.00 | 363.00 | OK |
Version: 2.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [190s/88s]
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.
> test-2-autoplot.R: INFO [04:36:30.577] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [04:36:30.728] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [04:36:33.185] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R: ERROR [04:36:34.195] Neither 'time' or 'plot' column roles are set. At least one is required for 3D plotting. If the variable is only used for plotting purposes, please define argument 'plot_time_var' in `autoplot()` and remove the column role 'feature' for this variable.
> test-2-autoplot.R: WARN [04:36:36.013] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [04:36:38.362] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: INFO [04:36:38.573] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [04:36:38.820] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [04:36:40.623] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [04:36:46.293] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-1-autoplot.R: Spherical geometry (s2) switched off
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: Spherical geometry (s2) switched off
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: This function is deprecated! Please use 'cv_spatial' instead.
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:25.692] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:25.709] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:25.726] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:25.743] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:25.765] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:25.998] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.017] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.035] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.052] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.069] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.333] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.365] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.398] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.431] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.464] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.831] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.914] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.933] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.951] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.969] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:26.990] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.233] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.248] Using column role 'time' ('day') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.264] Using column role 'time' ('day') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.283] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.301] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.572] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.605] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.640] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.675] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:27.710] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.084] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.166] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.181] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.196] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.212] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.232] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.487] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:28.539] Using column role 'time' ('day') for partitioning
Saving _problems/test-ResamplingRepeatedSptCVCstf-144.R
Saving _problems/test-ResamplingRepeatedSptCVCstf-407.R
> test-ResamplingSptCVCstf.R: INFO [04:37:31.024] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.107] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.198] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.334] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.408] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.488] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.569] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.708] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.786] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.887] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:31.940] Using column role 'time' ('day') for partitioning
Saving _problems/test-ResamplingSptCVCstf-144.R
Saving _problems/test-ResamplingSptCVCstf-407.R
Saving _problems/test-autotuner-38.R
[ FAIL 5 | WARN 1 | SKIP 24 | PASS 972 ]
══ Skipped tests (24) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-2-autoplot.R:84:1', 'test-2-autoplot.R:143:1',
'test-2-autoplot.R:189:1', 'test-2-autoplot.R:209:1',
'test-2-autoplot.R:304:1', 'test-2-autoplot.R:356:1',
'test-1-autoplot.R:20:1', 'test-1-autoplot.R:50:1', 'test-1-autoplot.R:79:1',
'test-1-autoplot.R:105:1', 'test-1-autoplot.R:142:1',
'test-1-autoplot.R:162:1', 'test-1-autoplot.R:203:1',
'test-1-autoplot.R:234:1', 'test-1-autoplot.R:268:3',
'test-1-autoplot.R:291:1', 'test-1-autoplot.R:322:1',
'test-1-autoplot.R:353:1', 'test-autoplot_buffer.R:3:1'
• On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
• empty test (1): 'test-helper-DataBackend.R:1:1'
• {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
• {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ResamplingRepeatedSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingRepeatedSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
[ FAIL 5 | WARN 1 | SKIP 24 | PASS 972 ]
Deleting unused snapshots:
'1-autoplot/autoplot-show-blocks-true-show-labels-true.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/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', and
'2-autoplot/sptcvcstf-2d-time-var-sample-fold-n.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [114s/59s]
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.
> test-2-autoplot.R: INFO [17:19:15.143] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R: FATAL [17:19:15.241] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [17:19:17.627] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R:
> test-2-autoplot.R: ERROR [17:19:18.630] Neither 'time' or 'plot' column roles are set. At least one is required for 3D plotting. If the variable is only used for plotting purposes, please define argument 'plot_time_var' in `autoplot()` and remove the column role 'feature' for this variable.
> test-2-autoplot.R: WARN [17:19:20.232] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [17:19:21.778] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: INFO [17:19:21.907] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: FATAL [17:19:22.067] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [17:19:23.848] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [17:19:27.939] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-1-autoplot.R: Spherical geometry (s2) switched off
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: This function is deprecated! Please use 'cv_spatial' instead.
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.294] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.308] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.321] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.334] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.346] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.537] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.550] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.563] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.576] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.589] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.774] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.796] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.817] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.837] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:52.858] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.060] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.131] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.142] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.152] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.163] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.173] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.328] Using column role 'time' ('day') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.340] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.350] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.362] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.373] Using column role 'time' ('day') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.577] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.600] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.621] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.643] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.665] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.915] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.988] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:53.997] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:54.007] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:54.017] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:54.026] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:54.170] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:19:54.203] Using column role 'time' ('day') for partitioning
Saving _problems/test-ResamplingRepeatedSptCVCstf-144.R
Saving _problems/test-ResamplingRepeatedSptCVCstf-407.R
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSptCVCstf.R: INFO [17:19:56.170] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.288] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.349] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.431] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.518] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.584] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.648] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.745] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.803] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.875] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:19:56.911] Using column role 'time' ('day') for partitioning
Saving _problems/test-ResamplingSptCVCstf-144.R
Saving _problems/test-ResamplingSptCVCstf-407.R
Saving _problems/test-autotuner-38.R
[ FAIL 5 | WARN 1 | SKIP 24 | PASS 972 ]
══ Skipped tests (24) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-1-autoplot.R:20:1', 'test-1-autoplot.R:50:1',
'test-1-autoplot.R:79:1', 'test-1-autoplot.R:105:1',
'test-1-autoplot.R:142:1', 'test-1-autoplot.R:162:1',
'test-1-autoplot.R:203:1', 'test-1-autoplot.R:234:1',
'test-1-autoplot.R:268:3', 'test-1-autoplot.R:291:1',
'test-1-autoplot.R:322:1', 'test-1-autoplot.R:353:1',
'test-2-autoplot.R:84:1', 'test-2-autoplot.R:143:1',
'test-2-autoplot.R:189:1', 'test-2-autoplot.R:209:1',
'test-2-autoplot.R:304:1', 'test-2-autoplot.R:356:1',
'test-autoplot_buffer.R:3:1'
• On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
• empty test (1): 'test-helper-DataBackend.R:1:1'
• {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
• {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ResamplingRepeatedSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingRepeatedSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
[ FAIL 5 | WARN 1 | SKIP 24 | PASS 972 ]
Deleting unused snapshots:
'1-autoplot/autoplot-show-blocks-true-show-labels-true.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/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', and
'2-autoplot/sptcvcstf-2d-time-var-sample-fold-n.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [281s/262s]
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.
> test-2-autoplot.R: INFO [17:52:30.601] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [17:52:30.885] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R:
> test-2-autoplot.R: WARN [17:52:37.091] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R: ERROR [17:52:39.508] Neither 'time' or 'plot' column roles are set. At least one is required for 3D plotting. If the variable is only used for plotting purposes, please define argument 'plot_time_var' in `autoplot()` and remove the column role 'feature' for this variable.
> test-2-autoplot.R:
> test-2-autoplot.R: WARN [17:52:44.733] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [17:52:49.404] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [17:52:50.169] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: FATAL [17:52:50.815] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [17:52:55.691] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [17:53:10.484] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-1-autoplot.R: Spherical geometry (s2) switched off
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: Spherical geometry (s2) switched off
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: This function is deprecated! Please use 'cv_spatial' instead.
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:17.953] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.023] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.059] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.093] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.126] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.806] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.839] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.882] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:18.947] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:19.017] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:19.812] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:19.895] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:19.979] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:20.055] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:20.189] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:21.675] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:21.956] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:22.039] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:22.089] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:22.129] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:22.182] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:23.167] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:23.229] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:23.287] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:23.352] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:23.412] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:24.376] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:24.492] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:24.557] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:24.627] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:24.746] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:25.707] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:26.007] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:26.061] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:26.089] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:26.150] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:26.215] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:27.222] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:55:27.394] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
Saving _problems/test-ResamplingRepeatedSptCVCstf-144.R
Saving _problems/test-ResamplingRepeatedSptCVCstf-407.R
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSptCVCstf.R: INFO [17:55:37.847] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:55:38.506] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [17:55:38.835] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [17:55:39.111] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:55:39.308] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:55:39.573] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [17:55:39.844] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:55:40.285] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [17:55:40.529] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [17:55:40.708] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [17:55:40.804] Using column role 'time' ('day') for partitioning
Saving _problems/test-ResamplingSptCVCstf-144.R
Saving _problems/test-ResamplingSptCVCstf-407.R
Saving _problems/test-autotuner-38.R
[ FAIL 5 | WARN 1 | SKIP 24 | PASS 972 ]
══ Skipped tests (24) ══════════════════════════════════════════════════════════
• On CRAN (19): 'test-2-autoplot.R:84:1', 'test-2-autoplot.R:143:1',
'test-2-autoplot.R:189:1', 'test-2-autoplot.R:209:1',
'test-2-autoplot.R:304:1', 'test-2-autoplot.R:356:1',
'test-1-autoplot.R:20:1', 'test-1-autoplot.R:50:1', 'test-1-autoplot.R:79:1',
'test-1-autoplot.R:105:1', 'test-1-autoplot.R:142:1',
'test-1-autoplot.R:162:1', 'test-1-autoplot.R:203:1',
'test-1-autoplot.R:234:1', 'test-1-autoplot.R:268:3',
'test-1-autoplot.R:291:1', 'test-1-autoplot.R:322:1',
'test-1-autoplot.R:353:1', 'test-autoplot_buffer.R:3:1'
• On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
• empty test (1): 'test-helper-DataBackend.R:1:1'
• {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
• {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ResamplingRepeatedSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingRepeatedSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
[ FAIL 5 | WARN 1 | SKIP 24 | PASS 972 ]
Deleting unused snapshots:
'1-autoplot/autoplot-show-blocks-true-show-labels-true.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/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', and
'2-autoplot/sptcvcstf-2d-time-var-sample-fold-n.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [280s/303s]
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.
> test-2-autoplot.R: INFO [12:32:58.963] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R: FATAL [12:32:59.410] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [12:33:06.324] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R:
> test-2-autoplot.R: ERROR [12:33:10.269] Neither 'time' or 'plot' column roles are set. At least one is required for 3D plotting. If the variable is only used for plotting purposes, please define argument 'plot_time_var' in `autoplot()` and remove the column role 'feature' for this variable.
> test-2-autoplot.R:
> test-2-autoplot.R: WARN [12:33:17.997] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [12:33:23.617] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: INFO [12:33:24.701] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [12:33:25.697] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [12:33:33.877] Unfortunately plotly does not support a dynamic arrangement of multiple subplots.
> test-2-autoplot.R: See article 'Visualization of spatiotemporal clusters' (https://mlr3spatiotempcv.mlr-org.com/articles/spatiotemp-viz) for a manual workaround.
> test-2-autoplot.R: Use the objects in the returned list to arrange a custom grid.
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[1]]
> test-2-autoplot.R:
> test-2-autoplot.R: [[2]]
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [12:34:02.405] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-1-autoplot.R: Spherical geometry (s2) switched off
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-1-autoplot.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-1-autoplot.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: This function is deprecated! Please use 'cv_spatial' instead.
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingRepeatedSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:11.922] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:12.202] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:12.407] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:12.502] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:12.588] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:13.770] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:13.824] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:13.874] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:13.956] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:14.077] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:15.092] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:15.157] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:15.218] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:15.316] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:15.420] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:16.720] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:17.005] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:17.066] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:17.131] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:17.196] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:17.253] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:18.362] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:18.418] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:18.483] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:18.546] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:18.606] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:19.570] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:19.759] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:19.925] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:20.065] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:20.175] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:21.735] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSpCVBlock.R: Spherical geometry (s2) switched off
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:22.030] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:22.055] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:22.081] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:22.110] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:22.142] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:22.933] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [12:36:23.068] Using column role 'time' ('day') for partitioning
Saving _problems/test-ResamplingRepeatedSptCVCstf-144.R
Saving _problems/test-ResamplingRepeatedSptCVCstf-407.R
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingSptCVCstf.R: INFO [12:36:39.981] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:40.585] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:41.189] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:42.108] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:42.573] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:42.988] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:43.370] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:44.026] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:44.408] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:44.871] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [12:36:45.318] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R:
Saving _problems/test-ResamplingSptCVCstf-144.R
Saving _problems/test-ResamplingSptCVCstf-407.R
Saving _problems/test-autotuner-38.R
[ FAIL 5 | WARN 1 | SKIP 23 | PASS 977 ]
══ Skipped tests (23) ══════════════════════════════════════════════════════════
• On CRAN (20): 'test-1-autoplot.R:20:1', 'test-1-autoplot.R:50:1',
'test-1-autoplot.R:79:1', 'test-1-autoplot.R:105:1',
'test-1-autoplot.R:142:1', 'test-1-autoplot.R:162:1',
'test-1-autoplot.R:203:1', 'test-1-autoplot.R:234:1',
'test-1-autoplot.R:268:3', 'test-1-autoplot.R:291:1',
'test-1-autoplot.R:322:1', 'test-1-autoplot.R:353:1',
'test-2-autoplot.R:84:1', 'test-2-autoplot.R:143:1',
'test-2-autoplot.R:189:1', 'test-2-autoplot.R:209:1',
'test-2-autoplot.R:304:1', 'test-2-autoplot.R:356:1',
'test-autoplot_buffer.R:3:1', '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-ResamplingRepeatedSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingRepeatedSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingRepeatedSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingRepeatedSptCVCstf__.sample(...)
5. └─mlr3misc::map(...)
6. └─base::lapply(.x, .f, ...)
7. └─mlr3spatiotempcv (local) FUN(X[[i]], ...)
8. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
9. ├─...[]
10. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:144:3'): stratify on target and group by space works ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:144:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-ResamplingSptCVCstf.R:407:3'): stratify on target and group by space works with multiple observations within space unit ──
Error in ``[.data.table`(group_space, , `:=`(fold_space, shuffle(seq_len0(.N)%%folds + 1)), by = target)`: attempt access index 2/2 in VECTOR_ELT
Backtrace:
▆
1. └─resampling$instantiate(task) at test-ResamplingSptCVCstf.R:407:3
2. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__instantiate(...)
3. └─private$.sample(task)
4. └─mlr3spatiotempcv:::.__ResamplingSptCVCstf__.sample(...)
5. └─mlr3spatiotempcv:::sample_cast(task, pv$stratify, pv$folds)
6. ├─...[]
7. └─data.table:::`[.data.table`(...)
── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
[ FAIL 5 | WARN 1 | SKIP 23 | PASS 977 ]
Deleting unused snapshots:
'1-autoplot/autoplot-show-blocks-true-show-labels-true.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/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', and
'2-autoplot/sptcvcstf-2d-time-var-sample-fold-n.svg'
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc