Skip to content

spatialsample

Spatial Resampling Infrastructure

v0.6.1 · Dec 1, 2025 · MIT + file LICENSE

Description

Functions and classes for spatial resampling to use with the 'rsample' package, such as spatial cross-validation (Brenning, 2012) <doi:10.1109/IGARSS.2012.6352393>. The scope of 'rsample' and 'spatialsample' is to provide the basic building blocks for creating and analyzing resamples of a spatial data set, but neither package includes functions for modeling or computing statistics. The resampled spatial data sets created by 'spatialsample' do not contain much overhead in memory.

Downloads

3.2K

Last 30 days

2316th

11.4K

Last 90 days

40.9K

Last year

Trend: -26.9% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘rsample’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (4)

depends

imports

suggests

Dependency Network

Dependencies Reverse dependencies dplyr ggplot2 glue purrr rlang rsample sf tibble tidyselect units vctrs tidysdm RiskMap h3sdm waywiser spatialsample

Version History

10 tracked
new 0.6.1 Mar 10, 2026
updated 0.6.1 ← 0.6.0 diff Dec 1, 2025
updated 0.6.0 ← 0.5.1 diff Oct 1, 2024
updated 0.5.1 ← 0.5.0 diff Nov 7, 2023
updated 0.5.0 ← 0.4.0 diff Nov 2, 2023
updated 0.4.0 ← 0.3.0 diff May 16, 2023
updated 0.3.0 ← 0.2.1 diff Jan 16, 2023
updated 0.2.1 ← 0.2.0 diff Aug 5, 2022
updated 0.2.0 ← 0.1.0 diff Jun 16, 2022
new 0.1.0 Mar 3, 2021