Skip to content

cpop

1.0.10Package record

Detection of Multiple Changes in Slope in Univariate Time-Series

0packages dependsuggested by 1
4.3Kdownloads / year
–test coverage
13/13flavors OK

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.

Changes in 1.0.10
  • Added post processing methods for cpop.crops results
  • Removed use of max_iterations in call to crops in cpop.crops method
  • Made compatible with the atest version 1.0.5 of crops

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-10-17
  • NOTE12 OK, 1 NOTE2026-10-15
  • WARNING9 OK, 2 NOTE, 2 WARNING2026-10-13
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.10
READMENoVignettesNoNEWSYes · 100% structured · mentions 1.0.10Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Cites a JSS article
Help pages
17
Examples that run
73%11 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran) · 2 hold no code
Exported functions with examples
100%
Documented parameters
77%
Return-value docs
100%
Help pages citing references
76% with a bibliography file

Downloads

4.3K
CRAN downloads in the past year
Rank #5,654 · ~12/day · ~356/mo
Daily download trend is not available in this view yet.
59330 days
1.5K90 days
4.3K1 year
Compare downloads with other packages →
Also on361 r2u11 autocran

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing cpop adds 112 packages (53 with compiled code, 75 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (3)
R >= 4.1.0cropspacman
LinkingTo (1)
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2022)
Releases (8)

Pick two releases to compare their code metrics.

  • 1.0.10Latest
    record
    2026-10-13 · current release · diff ↗
  • 1.0.9
    record
    2026-05-29 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.8
    record
    2025-06-11 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.7
    record
    2024-05-29 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.6
    record
    2022-11-21 · diff ↗
  • 1.0.4
    record
    2022-11-11 · diff ↗
  • 1.0.3
    record
    2022-08-23 · diff ↗ ·
    removed 1 export
    simulate
    added 1 export
    simchangeslope
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2022-03-11
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-11
Total releases
8 / 4 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
8.5 KB / 1 file
Download size
86 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("cpop")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v109.i07.

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

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