Control Polygon Reduction
Overview
Implementation of the Control Polygon Reduction and Control Net Reduction methods for finding parsimonious B-spline regression models.
Bug fixes:
plot_bs()builds the x-axis correctly for a basis built with values outside of the boundary knots.
Other fixes:
- Spelling and gammar fixes in documentation and vignettes.
Non-User Visible Changes
- C++ error handling now uses
Rcpp::stop()for consistent error signaling. (Thanks to @Enchufa2, re #63)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 42 (1 internal)includes a package overview page
- Examples that run
- 95%35 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 95%
- Documented parameters
- 95%
- Return-value docs
- 90%
- Help pages citing references
- 14%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 16
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/dewittpe/cpr on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-01-08 · The repository has a site deploy workflow
pkgdown site last built 2026-01-08
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.4.1Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.4.02024-02-15 · diff ↗ ·
removed 1 export
loglikelihoodadded 6 exports
d_order_statistic, influence_of_iknots, insert_a_knot, p_order_statistic, sign_changes, wiegh_iknots - 0.3.02023-11-29 · diff ↗ ·
removed 6 exports
is.cpr_bs, is.cpr_bt, is.cpr_cn, is.cpr_cnr, is.cpr_cp, is.cpr_cpr - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.2.32017-03-07
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-03-07
- Total releases
- 4 / 9 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 277 KB / 2 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cpr")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.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.