CRAN Package Check Results for Package spatialsample

Last updated on 2025-11-14 10:50:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.0 37.64 489.81 527.45 OK
r-devel-linux-x86_64-debian-gcc 0.6.0 25.74 340.72 366.46 OK
r-devel-linux-x86_64-fedora-clang 0.6.0 148.00 1113.54 1261.54 ERROR
r-devel-linux-x86_64-fedora-gcc 0.6.0 191.00 1088.99 1279.99 ERROR
r-devel-windows-x86_64 0.6.0 46.00 377.00 423.00 OK
r-patched-linux-x86_64 0.6.0 38.12 480.00 518.12 OK
r-release-linux-x86_64 0.6.0 38.04 477.35 515.39 OK
r-release-macos-arm64 0.6.0 17.00 158.00 175.00 OK
r-release-macos-x86_64 0.6.0 43.00 417.00 460.00 OK
r-release-windows-x86_64 0.6.0 44.00 377.00 421.00 OK
r-oldrel-macos-arm64 0.6.0 20.00 152.00 172.00 OK
r-oldrel-macos-x86_64 0.6.0 37.00 373.00 410.00 OK
r-oldrel-windows-x86_64 0.6.0 58.00 508.00 566.00 OK

Check Details

Version: 0.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [584s/369s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spatialsample) > > sf::sf_extSoftVersion() GEOS GDAL proj.4 GDAL_with_GEOS USE_PROJ_H "3.13.0" "3.11.5" "9.6.2" "true" "true" PROJ "9.6.2" > > test_check("spatialsample") Starting 2 test processes. > test-buffer.R: Spherical geometry (s2) switched off > test-buffer.R: Spherical geometry (s2) switched on > test-autoplot.R: Only 4% of blocks contain any data > test-autoplot.R: i Check that your block sizes make sense for your data > test-compat-dplyr.R: > test-compat-dplyr.R: Attaching package: 'dplyr' > test-compat-dplyr.R: > test-compat-dplyr.R: The following objects are masked from 'package:stats': > test-compat-dplyr.R: > test-compat-dplyr.R: filter, lag > test-compat-dplyr.R: > test-compat-dplyr.R: The following objects are masked from 'package:base': > test-compat-dplyr.R: > test-compat-dplyr.R: intersect, setdiff, setequal, union > test-compat-dplyr.R: > test-spatial_block_cv.R: Spherical geometry (s2) switched off > test-spatial_block_cv.R: Spherical geometry (s2) switched on > test-spatial_nndm_cv.R: Linking to GEOS 3.13.0, GDAL 3.11.5, PROJ 9.6.2; sf_use_s2() is TRUE > test-spatial_vfold_cv.R: Spherical geometry (s2) switched off > test-spatial_vfold_cv.R: Spherical geometry (s2) switched on Saving _problems/test-spatial_vfold_cv-202.R [ FAIL 1 | WARN 0 | SKIP 26 | PASS 535 ] ══ Skipped tests (26) ══════════════════════════════════════════════════════════ • On CRAN (26): 'test-autoplot.R:33:3', 'test-autoplot.R:125:1', 'test-buffer.R:10:3', 'test-buffer.R:168:1', 'test-buffer.R:205:3', 'test-buffer.R:291:3', 'test-compat-vctrs.R:128:1', 'test-misc.R:1:1', 'test-misc.R:20:1', 'test-misc.R:31:1', 'test-spatial_clustering_cv.R:70:1', 'test-spatial_clustering_cv.R:110:1', 'test-spatial_clustering_cv.R:217:1', 'test-spatial_nndm_cv.R:13:1', 'test-spatial_nndm_cv.R:37:1', 'test-spatial_nndm_cv.R:76:1', 'test-spatial_nndm_cv.R:101:1', 'test-spatial_block_cv.R:10:1', 'test-spatial_block_cv.R:68:1', 'test-spatial_block_cv.R:225:1', 'test-spatial_block_cv.R:261:1', 'test-spatial_block_cv.R:321:1', 'test-spatial_vfold_cv.R:10:1', 'test-spatial_vfold_cv.R:24:1', 'test-spatial_vfold_cv.R:84:1', 'test-spatial_vfold_cv.R:225:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-spatial_vfold_cv.R:200:3'): bad args ─────────────────────────── Error in `rsample::vfold_cv(data = data, v = v, repeats = repeats, strata = { { strata } }, breaks = breaks, pool = pool, ...)`: Leave-one-out cross-validation is not supported by this function. x You set `v` to `nrow(data)`, which would result in a leave-one-out cross-validation. i Use `loo_cv()` in this case. Backtrace: ▆ 1. └─spatialsample::spatial_buffer_vfold_cv(...) 2. └─rsample::vfold_cv(...) 3. └─rsample:::vfold_splits(...) 4. └─rsample:::check_v(v, n, prevent_loo = prevent_loo, call = rlang::caller_env()) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 26 | PASS 535 ] Deleting unused snapshots: 'autoplot/buffered-llo-set-plot.svg', 'autoplot/buffered-llo-split-plot.svg', 'autoplot/buffered-rsample-plot.svg', 'autoplot/buffered-rset-plot.svg', 'autoplot/buffered-vfold-plot.svg', 'autoplot/buffered-vfold-split.svg', 'autoplot/repeated-block-cv.svg', 'autoplot/repeated-llo.svg', 'autoplot/repeated-vfold.svg', and 'autoplot/snake-flips-rows-the-right-way.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.6.0
Check: tests
Result: ERROR Running ‘testthat.R’ [581s/313s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(spatialsample) > > sf::sf_extSoftVersion() GEOS GDAL proj.4 GDAL_with_GEOS USE_PROJ_H "3.13.0" "3.10.3" "9.6.2" "true" "true" PROJ "9.6.2" > > test_check("spatialsample") Starting 2 test processes. > test-buffer.R: Spherical geometry (s2) switched off > test-buffer.R: Spherical geometry (s2) switched on > test-autoplot.R: Only 4% of blocks contain any data > test-autoplot.R: i Check that your block sizes make sense for your data > test-compat-dplyr.R: > test-compat-dplyr.R: Attaching package: 'dplyr' > test-compat-dplyr.R: > test-compat-dplyr.R: The following objects are masked from 'package:stats': > test-compat-dplyr.R: > test-compat-dplyr.R: filter, lag > test-compat-dplyr.R: > test-compat-dplyr.R: The following objects are masked from 'package:base': > test-compat-dplyr.R: > test-compat-dplyr.R: intersect, setdiff, setequal, union > test-compat-dplyr.R: > test-spatial_block_cv.R: Spherical geometry (s2) switched off > test-spatial_block_cv.R: Spherical geometry (s2) switched on > test-spatial_nndm_cv.R: Linking to GEOS 3.13.0, GDAL 3.10.3, PROJ 9.6.2; sf_use_s2() is TRUE > test-spatial_vfold_cv.R: Spherical geometry (s2) switched off > test-spatial_vfold_cv.R: Spherical geometry (s2) switched on Saving _problems/test-spatial_vfold_cv-202.R [ FAIL 1 | WARN 0 | SKIP 26 | PASS 535 ] ══ Skipped tests (26) ══════════════════════════════════════════════════════════ • On CRAN (26): 'test-autoplot.R:33:3', 'test-autoplot.R:125:1', 'test-buffer.R:10:3', 'test-buffer.R:168:1', 'test-buffer.R:205:3', 'test-buffer.R:291:3', 'test-compat-vctrs.R:128:1', 'test-misc.R:1:1', 'test-misc.R:20:1', 'test-misc.R:31:1', 'test-spatial_clustering_cv.R:70:1', 'test-spatial_clustering_cv.R:110:1', 'test-spatial_clustering_cv.R:217:1', 'test-spatial_nndm_cv.R:13:1', 'test-spatial_nndm_cv.R:37:1', 'test-spatial_nndm_cv.R:76:1', 'test-spatial_nndm_cv.R:101:1', 'test-spatial_vfold_cv.R:10:1', 'test-spatial_vfold_cv.R:24:1', 'test-spatial_vfold_cv.R:84:1', 'test-spatial_vfold_cv.R:225:1', 'test-spatial_block_cv.R:10:1', 'test-spatial_block_cv.R:68:1', 'test-spatial_block_cv.R:225:1', 'test-spatial_block_cv.R:261:1', 'test-spatial_block_cv.R:321:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-spatial_vfold_cv.R:200:3'): bad args ─────────────────────────── Error in `rsample::vfold_cv(data = data, v = v, repeats = repeats, strata = { { strata } }, breaks = breaks, pool = pool, ...)`: Leave-one-out cross-validation is not supported by this function. x You set `v` to `nrow(data)`, which would result in a leave-one-out cross-validation. i Use `loo_cv()` in this case. Backtrace: ▆ 1. └─spatialsample::spatial_buffer_vfold_cv(...) 2. └─rsample::vfold_cv(...) 3. └─rsample:::vfold_splits(...) 4. └─rsample:::check_v(v, n, prevent_loo = prevent_loo, call = rlang::caller_env()) 5. └─cli::cli_abort(...) 6. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 26 | PASS 535 ] Deleting unused snapshots: 'autoplot/buffered-llo-set-plot.svg', 'autoplot/buffered-llo-split-plot.svg', 'autoplot/buffered-rsample-plot.svg', 'autoplot/buffered-rset-plot.svg', 'autoplot/buffered-vfold-plot.svg', 'autoplot/buffered-vfold-split.svg', 'autoplot/repeated-block-cv.svg', 'autoplot/repeated-llo.svg', 'autoplot/repeated-vfold.svg', and 'autoplot/snake-flips-rows-the-right-way.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc