spatialsample
0.6.1Spatial Resampling Infrastructure
Overview
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.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 94%
- Return-value docs
- 60%
- References docs
- 40%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
10 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/tidymodels/spatialsample on 2026-07-19.
Show all practices
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 13 max
- Test cases
- 90 / 20.54 per code line
Test coverage
Line coverage
92%
Expression
89.1%
Tests / Examples
91.7% / 64% ex
Functions
103 5 exported
Complexity
1.8 avg / 13 max
Call network
103 nodes / 81 edges
Call graph
Open call graph →Lowest coverage
103 functions| Function | Cyclo | Coverage |
|---|---|---|
| .onLoad | 1 | 0% |
| stop_never_called | 1 | 0% |
| test_data | 1 | 0% |
| vec_ptype2.data.frame.spatial_block_cv | 1 | 0% |
| vec_ptype2.data.frame.spatial_buffer_vfold_cv | 1 | 0% |
| vec_ptype2.data.frame.spatial_clustering_cv | 1 | 0% |
People & History
9 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.6.1Latest
- RR 4.5.0 released · 2025-04-11
- 0.6.02024-10-02 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.5.12023-11-08 · diff ↗
- 0.5.02023-11-03 · diff ↗
- 0.4.02023-05-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.3.02023-01-17 · diff ↗
- 0.2.12022-08-06 · diff ↗
- 0.2.02022-06-17 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.1.02021-03-04
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-04
- Total releases
- 9 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6
- Bundled data
- 0.1 KB / 1 file
- Download size
- 3.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet