The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

BORG: Bounded Outcome Risk Guard for Model Evaluation

Comprehensive toolkit for valid spatial, temporal, and grouped model evaluation. Automatically detects data dependencies (spatial autocorrelation, temporal structure, clustered observations), generates appropriate cross-validation schemes (spatial blocking, checkerboard, hexagonal, KNNDM, environmental blocking, leave-location-out, purged CV), and validates evaluation pipelines for leakage. Includes area of applicability (AOA) assessment following Meyer & Pebesma (2021) <doi:10.1111/2041-210X.13650>, forward feature selection with blocked CV, spatial thinning, block-permutation variable importance, extrapolation detection, and interactive visualizations. Integrates with 'tidymodels', 'caret', 'mlr3', 'ENMeval', and 'biomod2'. Based on evaluation principles described in Roberts et al. (2017) <doi:10.1111/ecog.02881>, Kaufman et al. (2012) <doi:10.1145/2382577.2382579>, Kapoor & Narayanan (2023) <doi:10.1016/j.patter.2023.100804>, and Linnenbrink et al. (2024) <doi:10.5194/gmd-17-5897-2024>.

Version: 0.3.1
Depends: R (≥ 4.1.0)
Imports: Rcpp, methods, stats, utils
LinkingTo: Rcpp
Suggests: caret, ggplot2 (≥ 3.4.0), leaflet, rsample, tidyselect, recipes, mlr3, sf, terra, tidyterra, ranger, parsnip, workflows, xgboost, lightgbm, future.apply, testthat (≥ 3.0.0), knitr, rmarkdown
Published: 2026-03-29
DOI: 10.32614/CRAN.package.BORG
Author: Gilles Colling ORCID iD [aut, cre, cph]
Maintainer: Gilles Colling <gilles.colling051 at gmail.com>
BugReports: https://github.com/gcol33/BORG/issues
License: MIT + file LICENSE
URL: https://github.com/gcol33/BORG, https://gillescolling.com/BORG/
NeedsCompilation: yes
Language: en-US
Citation: BORG citation info
Materials: README, NEWS
CRAN checks: BORG results

Documentation:

Reference manual: BORG.html , BORG.pdf
Vignettes: Framework Integration (source, R code)
Quick Start (source, R code)
Risk Taxonomy (source, R code)

Downloads:

Package source: BORG_0.3.1.tar.gz
Windows binaries: r-devel: BORG_0.3.1.zip, r-release: BORG_0.3.1.zip, r-oldrel: BORG_0.3.1.zip
macOS binaries: r-release (arm64): BORG_0.3.1.tgz, r-oldrel (arm64): BORG_0.2.5.tgz, r-release (x86_64): BORG_0.3.1.tgz, r-oldrel (x86_64): BORG_0.3.1.tgz
Old sources: BORG archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=BORG to link to this page.

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.