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