Last updated on 2025-11-20 05:49:37 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.6.0 | 37.62 | 676.09 | 713.71 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.6.0 | 24.46 | 457.26 | 481.72 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.6.0 | 113.00 | 1137.85 | 1250.85 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.6.0 | 106.00 | 1087.19 | 1193.19 | ERROR | |
| r-devel-windows-x86_64 | 0.6.0 | 51.00 | 367.00 | 418.00 | OK | |
| r-patched-linux-x86_64 | 0.6.0 | 37.64 | 663.68 | 701.32 | ERROR | |
| r-release-linux-x86_64 | 0.6.0 | 36.55 | 662.34 | 698.89 | ERROR | |
| r-release-macos-arm64 | 0.6.0 | 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 | OK | ||||
| r-oldrel-macos-x86_64 | 0.6.0 | 37.00 | 373.00 | 410.00 | OK | |
| r-oldrel-windows-x86_64 | 0.6.0 | 63.00 | 504.00 | 567.00 | OK |
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [331s/170s]
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.14.1" "3.11.4" "9.7.0" "true" "true"
PROJ
"9.7.0"
>
> 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.14.1, GDAL 3.11.4, PROJ 9.7.0; 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-debian-clang
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [211s/110s]
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.14.1" "3.11.4" "9.7.0" "true" "true"
PROJ
"9.7.0"
>
> 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.14.1, GDAL 3.11.4, PROJ 9.7.0; 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-debian-gcc
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [580s/517s]
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’ [534s/334s]
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_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-gcc
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [325s/165s]
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.14.1" "3.11.4" "9.7.0" "true" "true"
PROJ
"9.7.0"
>
> 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.14.1, GDAL 3.11.4, PROJ 9.7.0; 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-patched-linux-x86_64
Version: 0.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [325s/169s]
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.14.1" "3.11.4" "9.7.0" "true" "true"
PROJ
"9.7.0"
>
> 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.14.1, GDAL 3.11.4, PROJ 9.7.0; 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-release-linux-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.