cpop
1.0.9Detection of Multiple Changes in Slope in Univariate Time-Series
0packages depend
3.7Kdownloads / year
57.8%test coverage
11/13checks pass
Overview
About
Detects multiple changes in slope using the CPOP dynamic programming approach of Fearnhead, Maidstone, and Letchford (2019) doi:10.1080/10618600.2018.1512868. This method finds the best continuous piecewise linear fit to data under a criterion that measures fit to data using the residual sum of squares, but penalizes complexity based on an L0 penalty on changes in slope. Further information regarding the use of this package with detailed examples can be found in Fearnhead and Grose (2024) doi:10.18637/jss.v109.i07.
Install
Health
CRAN checks
2NOTE11OK
Failing flavors
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.39
57.8%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
- NOTE2026-07-1112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 85%
- Documented parameters
- 77%
- Return-value docs
- 100%
- References docs
- 100%
Downloads
3.7K
CRAN downloads in the past year
Rank #8,772 · ~10/day · ~311/mo
Daily download trend is not available in this view yet.
36030 days
1.2K90 days
3.7K1 year
Also on405 r2u22 autocran
Dependencies
Declared dependencies
9 external dependencies (excludes base and recommended)
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Datasets
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- 1.0.9Latest
- RR 4.6.0 released · 2026-04-24
- 1.0.82025-06-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.0.72024-05-29 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.62022-11-21 · diff ↗
- 1.0.42022-11-11 · diff ↗
- 1.0.32022-08-23 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.02022-03-11
- RR 4.1.0 released · 2021-05-18
0 of 2 selectedCompare selected
Package metadata
- First published
- 2022-03-11
- Total releases
- 7 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 8.5 KB / 1 file
- Download size
- 275 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet