Last updated on 2025-12-24 09:49:46 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.3.4 | 18.97 | 369.75 | 388.72 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 2.3.4 | 11.89 | 237.04 | 248.93 | 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 | 31.00 | 575.93 | 606.93 | 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 | 29.00 | 352.00 | 381.00 | OK |
Version: 2.3.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [192s/86s]
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:39.834] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R: FATAL [04:36:39.979] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [04:36:42.369] 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 [04:36:43.467] 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 [04:36:45.198] 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:47.578] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: INFO [04:36:47.790] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: FATAL [04:36:48.021] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [04:36:49.799] 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:55.123] 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:34.817] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:34.836] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:34.852] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:34.869] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:34.887] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.170] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.190] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.207] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.224] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.242] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.495] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.531] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.563] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.594] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.627] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:35.968] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.054] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.071] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.089] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.107] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.126] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.409] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.426] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.445] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.463] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.479] 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 [04:37:36.714] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.746] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.778] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.812] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:36.842] 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 [04:37:37.175] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.254] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.270] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.288] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.305] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.322] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.592] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [04:37:37.646] 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 [04:37:41.011] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:41.227] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:41.382] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:41.537] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:41.622] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:42.117] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:42.204] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:42.352] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:42.433] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:42.524] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [04:37:42.580] 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 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’ [112s/57s]
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:16:59.187] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R: FATAL [17:16:59.285] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [17:17:01.682] 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:17:02.674] 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:17:04.264] 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:17:05.754] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: INFO [17:17:05.899] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [17:17:06.069] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [17:17:07.898] 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:17:11.928] 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-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.249] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.261] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.273] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.284] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.295] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.452] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.464] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.476] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.487] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.498] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.676] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.697] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.718] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.739] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:35.760] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> 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:17:35.987] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.057] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.068] Using column role 'space' ('polygon') for partitioning
> 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:17:36.079] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.091] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.102] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.261] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.271] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.279] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.287] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.295] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.471] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.490] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.509] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.528] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.548] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.771] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.826] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.837] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.847] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.857] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:36.867] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:37.026] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:17:37.064] 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-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-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:17:39.504] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:39.609] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:39.684] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:39.765] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:39.823] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:39.878] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:39.933] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:40.019] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:40.086] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:40.150] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:17:40.185] 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’ [277s/165s]
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 [00:12:51.376] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [00:12:51.684] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R:
> test-2-autoplot.R: WARN [00:12:57.198] 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 [00:12:59.427] 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 [00:13:04.469] 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 [00:13:09.432] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: INFO [00:13:10.055] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R:
> test-2-autoplot.R: FATAL [00:13:10.709] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R:
> test-2-autoplot.R: WARN [00:13:15.514] 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 [00:13:29.032] 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 [00:14:35.921] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:35.950] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:35.977] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.006] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.037] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.585] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.624] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.675] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.709] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:36.737] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:37.344] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:37.394] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:37.488] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:37.558] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:37.651] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:38.328] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:38.513] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:38.546] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:38.633] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:38.665] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:38.707] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:39.301] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:39.330] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:39.359] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:39.390] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:39.421] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:39.968] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:40.022] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:40.075] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:40.136] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:40.189] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:41.021] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:41.232] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:41.271] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:41.306] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:41.340] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R:
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:41.376] 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-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-ResamplingSpCVBlock.R: although coordinates are longitude/latitude, st_intersects assumes that they
> test-ResamplingSpCVBlock.R: are planar
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:42.085] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [00:14:42.180] 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 [00:14:48.942] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [00:14:49.258] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:49.458] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:49.749] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R:
> test-ResamplingSptCVCstf.R: INFO [00:14:49.901] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:50.077] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:50.249] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:50.546] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:50.692] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:50.823] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [00:14:50.917] 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 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