Skip to content

Cross-Validating Regression Models

1packages depend
6.7Kdownloads / year
20.6%test coverage
13/13flavors OK

Overview

About

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".

Changes in 2.0.6
  • 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

CRAN checks
13OK
Slowest check: 14.4 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 2.0.6
READMEYes · 298 wordsVignettesYes · 5 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 2.0.6Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS article
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

6.7K
CRAN downloads in the past year
Rank #4,802 · ~18/day · ~562/mo
Daily download trend is not available in this view yet.
75630 days
1.7K90 days
6.7K1 year
Compare downloads with other packages →
Also on205 r2u12 autocran

Repository

5Stars
3Forks
0Open issues
0Open PRs
0Releases
544Commits
3Commit identities
544 commits · Last activity 2026-06-09 · 0% stars, 30d
Responsiveness
How these are sampled
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

2023-10-31 · 32026-07-07 · 5
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-06-09 · The repository has a site deploy workflow

pkgdown site last built 2026-06-09

Coverage (1)
Coverage reporting
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

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.

Depends (2)
R >= 3.5.0doParallel
Imports (15)
carforeachglmmTMBgraphicsgrDevicesgtoolsinsightlatticelme4MASSmethodsnlmeparallelstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0.1 (2023)
Author
Releases (7)

Pick two releases to compare their code metrics.

  • 2.0.6Latest
    record
    2026-06-09 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.4
    record
    2025-06-16 · diff ↗ ·
    added 1 export
    checkFormula
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.3
    record
    2024-09-22 · diff ↗ ·
    added 1 export
    cvInfo
  • 2.0.2
    record
    2024-08-19 · diff ↗
  • 2.0.0
    record
    2024-04-29 · diff ↗ ·
    added 4 exports
    cvCompute, fold, folds, selectModelList
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    record
    2024-01-27 · diff ↗ ·
    removed 1 export
    getResponse
    added 4 exports
    GetResponse, medAbsErr, rmse, selectTransStepAIC
  • 1.0.1
    record
    2023-10-31
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cv version 2.0.6 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

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