To cite cpop in publications use:

Fearnhead P, Grose D (2024). “cpop: Detecting Changes in Piecewise-Linear Signals.” Journal of Statistical Software, 109(7), 1–30. doi:10.18637/jss.v109.i07.

Corresponding BibTeX entry:

  @Article{,
    title = {{cpop}: Detecting Changes in Piecewise-Linear Signals},
    author = {Paul Fearnhead and Daniel Grose},
    journal = {Journal of Statistical Software},
    year = {2024},
    volume = {109},
    number = {7},
    pages = {1--30},
    doi = {10.18637/jss.v109.i07},
  }