Cross-Validating Regression Models
Overview
Cross-validation methods of regression models that exploit features of various modeling functions to improve speed. Some of the methods implemented in the package are novel, as described in Fox and Monette (2026) doi:10.18637/jss.v116.i08, and the package vignettes. For general introductions to cross-validation, see, for example, Gareth James, Daniela Witten, Trevor Hastie, and Robert Tibshirani (2021, ISBN 978-1-0716-1417-4, Secs. 5.1, 5.3), "An Introduction to Statistical Learning with Applications in R, Second Edition", and Trevor Hastie, Robert Tibshirani, and Jerome Friedman (2009, ISBN 978-0-387-84857-0, Sec. 7.10), "The Elements of Statistical Learning, Second Edition".
- CRAN release in conjunction with the publication of Fox and Monette (2026) <doi:10.18637/jss.v116.i08>
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-17
- ERROR12 OK, 1 ERROR2026-07-16
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 7
- Examples that run
- 100%7 run in a plain check (4 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 83%
- Return-value docs
- 100%
- Help pages citing references
- 14%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/gmonette/cv on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-09 · The repository has a site deploy workflow
pkgdown site last built 2026-06-09
Dependencies
Installing cv adds 69 packages (36 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, glmmTMB 5.2 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.0.6Latest
- RR 4.6.0 released · 2026-04-24
- 2.0.4
- RR 4.5.0 released · 2025-04-11
- 2.0.3
- 2.0.22024-08-19 · diff ↗
- 2.0.0
- RR 4.4.0 released · 2024-04-24
- 1.1.02024-01-27 · diff ↗ ·
removed 1 export
getResponseadded 4 exports
GetResponse, medAbsErr, rmse, selectTransStepAIC - 1.0.12023-10-31
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-10-31
- Total releases
- 7 / 3 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.1 KB / 1 file
- Download size
- 4.2 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("cv")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v116.i08.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.