OptHoldoutSize
Estimation of Optimal Size for a Holdout Set for Updating a Predictive Score
Description
Predictive scores must be updated with care, because actions taken on the basis of existing risk scores causes bias in risk estimates from the updated score. A holdout set is a straightforward way to manage this problem: a proportion of the population is 'held-out' from computation of the previous risk score. This package provides tools to estimate a size for this holdout set and associated errors. Comprehensive vignettes are included. Please see: Haidar-Wehbe S, Emerson SR, Aslett LJM, Liley J (2022) <doi:10.48550/arXiv.2202.06374> (in Annals of Applied Statistics) for details of methods.
Downloads
500
Last 30 days
8048th
1.5K
Last 90 days
3.5K
Last year
Trend: +0.8% (30d vs prior 30d)
0
Last 30 days
54
Last 90 days
178
Last year
Trend: -100% (30d vs prior 30d)
14
Last 7 days
28
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 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-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 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'ASPRE_example.Rmd' using rmarkdown ! Package pdftex.def Error: File `0eaf7c8e427710ea5e018c6c3030463ec06581b1.pdf' not found: using draft setting. Error: processing vignette 'ASPRE_example.Rmd' fa ...[truncated]... le.log for more info. --- failed re-building 'simulated_example.Rmd' SUMMARY: processing the following files failed: 'ASPRE_example.Rmd' 'comparison_of_algorithms.Rmd' 'simulated_example.Rmd' Error: Vignette re-building failed. Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code & tests
Open call graph →Code intelligence has not been computed for this package yet.
Code
Structure
Lines of code
8,654
Files
81
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
30
Internal functions
2
Recent export changes
Testing & CI
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5.0
System requirements
–
C++ standard
–
License
GPL (>= 3)
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2022-02-09
Latest release
2026-04-07
Avg cadence
363 days
Cold removal rate
–
Dep drift
1
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.