Skip to content

spatialsample

0.6.1

Spatial Resampling Infrastructure

4packages depend
43.8Kdownloads / year
91.7%test coverage
13/13checks pass

Overview

About
Maintained by Michael MahoneyFirst published 2021-03-049 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 12.1 min · r-devel-linux-x86_64-debian-clang
Code health
Yes
Tests · ratio 20.54
91.7%
Coverage · measured lines
100%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 333 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
94%
Return-value docs
60%
References docs
40%

Downloads

43.8K
CRAN downloads in the past year
Rank #2,266 · ~120/day · ~3.7K/mo
Daily download trend is not available in this view yet.
2.9K30 days
9K90 days
43.8K1 year
Compare downloads with other packages →
Also on599 r2u19 autocran1.6K conda_forge78 c2d4u

Repository

Repository
80Stars
6Forks
4Open issues
0Open PRs
8Releases
160Commits
5Contributors
160 commits · Last activity 2026-07-06 · +2.6% stars, 30d

Stars over time

2025-04-28 · 742026-08-11 · 80

Repository practices

Upstream repositoryBeta

10 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/tidymodels/spatialsample on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (3)
AirVS CodeRStudio project
Coverage (1)
Codecov
Governance and community (1)
CODEOWNERS
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
4direct
1indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 0.2.0
Authors (2)
Author, Maintainer · added in 0.2.0
Copyright holders (1)
Copyright holder, Funder · added in 0.4.0
Funders (1)
Copyright holder, Funder · added in 0.4.0
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.3.0
Package Timeline

9 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.1Latest
    2025-12-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.6.0
    2024-10-02 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1
    2023-11-08 · diff ↗
  • 0.5.0
    2023-11-03 · diff ↗
  • 0.4.0
    2023-05-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0
    2023-01-17 · diff ↗
  • 0.2.1
    2022-08-06 · diff ↗
  • 0.2.0
    2022-06-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.0
    2021-03-04
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("spatialsample")
Mahoney, M., Posit Software, PBC, & Silge, J. (2025). spatialsample: Spatial Resampling Infrastructure (Version 0.6.1) [Computer software]. https://doi.org/10.32614/CRAN.package.spatialsample

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spatialsample version 0.6.1 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy