Skip to content

blockCV

Spatial and Environmental Blocking for K-Fold and LOO Cross-Validation

v3.2-0 · Aug 21, 2025 · GPL (>= 3)

Description

Creating spatially or environmentally separated folds for cross-validation to provide a robust error estimation in spatially structured environments; Investigating and visualising the effective range of spatial autocorrelation in continuous raster covariates and point samples to find an initial realistic distance band to separate training and testing datasets spatially described in Valavi, R. et al. (2019) <doi:10.1111/2041-210X.13107>.

Downloads

4.1K

Last 30 days

1962nd

12.8K

Last 90 days

47.2K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (11)

Dependency Network

Dependencies Reverse dependencies sf sp terra ggplot2 cowplot automap Rcpp CompositionalSR PointedSDMs caretSDM glossa intSDM BiodiversityR ENMeval confcons forestecology mlr3spatiotempcv tidysdm blockCV

Version History

new 3.2-0 Mar 10, 2026
updated 3.2-0 ← 3.1-6 diff Aug 20, 2025
updated 3.1-6 ← 3.1-5 diff Jun 22, 2025
updated 3.1-5 ← 3.1-4 diff Oct 31, 2024
updated 3.1-4 ← 3.1-3 diff May 22, 2024
updated 3.1-3 ← 3.1-2 diff Jun 3, 2023
updated 3.1-2 ← 3.1-1 diff May 19, 2023
updated 3.1-1 ← 3.0-0 diff Apr 7, 2023
updated 3.0-0 ← 2.1.4 diff Feb 5, 2023
updated 2.1.4 ← 2.1.1 diff Jun 16, 2021
new 2.1.1 Feb 22, 2020