Skip to content

Empirical Sample Complexity Bounds

0packages depend
2.6Kdownloads / year
40.5%test coverage
13/13flavors OK

Overview

About

Provides tools for estimating empirical sample complexity bounds for supervised learning tasks. The package supports simulation-based estimates of generalization curves, parametric extrapolation of empirical sample complexity bounds, theoretical bounds based on Vapnik-Chervonenkis dimension, and optional monotone Gaussian process extrapolation for users who install the external 'cmdstanr' workflow. For more details, see Carter and Choi (2024) doi:10.31219/osf.io/evrcj.

Changes in 0.7.0
  • Adds optional monotone Gaussian process extrapolation using cmdstanr.
  • Moves packaged Stan source files under inst/stan.
  • Removes the hard dependency on caret for binary classification metrics.
  • Improves CRAN compatibility for documentation, imports, S3 methods, and no-crossing summary/plot behavior.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.7.0
READMEYes · 149 wordsVignettesNoNEWSYes · 100% structured · mentions 0.7.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
21 (1 internal)includes a package overview page
Examples that run
33%2 run in a plain check · 4 hold no code
Exported functions with examples
42%
Documented parameters
88%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #12,111 · ~7/day · ~214/mo
Daily download trend is not available in this view yet.
31130 days
91590 days
2.6K1 year
Compare downloads with other packages →
Also on83 r2u2 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2026-06-23
Responsiveness
not measured
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/pjesscarter/scr on 2026-10-21.

Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

Installing scR adds 72 packages (37 with compiled code, 65 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2024)
Releases (5)

Pick two releases to compare their code metrics.

  • 0.7.0Latest
    record
    2026-06-23 · current release · diff ↗ ·
    removed 1 export
    plot_accuracy
    added 6 exports
    conduct_interpolation, create_scb_model, create_scb_prediction, fit_gp_scb_curve, interpolate_scb, interpolate_scb_gp
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0
    record
    2024-12-23 · diff ↗
  • 0.3.0
    record
    2024-12-18 · diff ↗
  • 0.2.0
    record
    2024-12-16 · diff ↗
  • 0.1.0
    record
    2024-12-02
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-12-02
Total releases
5 / 2 yrs
License
MIT + file LICENSE OSI
Additional repositories
stan-dev.r-universe.dev
Minimum R
≥ 4.1.0
Download size
34 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("scR")
Carter, P., & Choi, D. (2026). scR: Empirical Sample Complexity Bounds (Version 0.7.0) [Computer software]. https://doi.org/10.32614/CRAN.package.scR

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 scR version 0.7.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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