- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mlr3spatiotempcv/DESCRIPTION’ ... OK
- this is package ‘mlr3spatiotempcv’ version ‘2.3.4’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mlr3spatiotempcv’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [2s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [21s/30s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [1s/2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [17s/25s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
mlr_resamplings_repeated_spcv_knndm 5.371 0.184 7.624
mlr_resamplings_spcv_knndm 4.815 0.159 8.484
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [115s/62s] ERROR
Running ‘testthat.R’ [115s/62s]
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:14:51.017] Using column role 'space' ('SOURCEID') for partitioning
> test-2-autoplot.R: FATAL [17:14:51.113] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R: WARN [17:14:53.839] 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:14:54.798] 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:14:56.426] 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:14:57.980] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: INFO [17:14:58.202] Using column roles 'space' ('SOURCEID') and 'time' ('Date') for partitioning
> test-2-autoplot.R: FATAL [17:14:58.381] This method requires to set argument 'fold_id'. See ?autoplot.ResamplingSptCVCstf for more information.
> test-2-autoplot.R:
> test-2-autoplot.R: WARN [17:15:00.266] 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:15:04.729] 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:15:30.353] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.366] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.378] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.390] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.403] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.597] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.609] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.619] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.631] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.644] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.828] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.850] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.877] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.903] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:30.929] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.145] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.205] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.214] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.222] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.230] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.238] 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:15:31.380] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.406] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.417] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.427] Using column role 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.436] 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:15:31.574] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.591] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.610] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.628] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.647] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.821] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.908] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.918] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.927] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.936] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:31.945] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:32.090] Using column role 'space' ('polygon') for partitioning
> test-ResamplingRepeatedSptCVCstf.R: INFO [17:15:32.123] 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
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-ResamplingSptCVCstf.R: INFO [17:15:33.749] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:33.824] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:33.898] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.019] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.080] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.137] Using column role 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.192] Using column roles 'space' ('polygon') and 'time' ('day') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.296] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.359] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.422] Using column role 'space' ('polygon') for partitioning
> test-ResamplingSptCVCstf.R: INFO [17:15:34.462] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [23s/38s] OK
- checking PDF version of manual ... [6s/11s] OK
- checking HTML version of manual ... [5s/10s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR