{
  "_id": "6a199082acfb0bcc41dfdb41",
  "Package": "cpop",
  "Type": "Package",
  "Title": "Detection of Multiple Changes in Slope in Univariate Time-Series",
  "Version": "1.0.9",
  "Date": "2026-05-29",
  "Maintainer": "Daniel Grose <dan.grose@lancaster.ac.uk>",
  "Authors@R": "c(person(\"Daniel\", \"Grose\", role = c(\"aut\", \"cre\"),email = \"dan.grose@lancaster.ac.uk\"),\nperson(\"Paul\", \"Fearnhead\", role = \"aut\",email = \"p.fearnhead@lancaster.ac.uk\"))",
  "Description": "Detects multiple changes in slope using the CPOP dynamic\nprogramming approach of Fearnhead, Maidstone, and Letchford\n(2019) <doi:10.1080/10618600.2018.1512868>. This method finds\nthe best continuous piecewise linear fit to data under a\ncriterion that measures fit to data using the residual sum of\nsquares, but penalizes complexity based on an L0 penalty on\nchanges in slope. Further information regarding the use of this\npackage with detailed examples can be found in Fearnhead and\nGrose (2024) <doi:10.18637/jss.v109.i07>.",
  "License": "GPL (>= 2)",
  "RdMacros": "Rdpack,mathjaxr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-29 13:07:50 UTC",
    "User": "root"
  },
  "Author": "Daniel Grose [aut, cre], Paul Fearnhead [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-29 12:30:38 UTC",
  "RemoteUrl": "https://github.com/cran/cpop",
  "RemoteRef": "HEAD",
  "RemoteSha": "498992ceaef762ad8f4b7588778a4a7fddc569da",
  "MD5sum": "485d5f05e49207b82d1f41259d84ca73",
  "_user": "cran",
  "_type": "src",
  "_file": "cpop_1.0.9.tar.gz",
  "_fileid": "4da3d059de944813eee983f462db5a80a966db1dc67b4bcf9d7970f8f0c1d08f",
  "_filesize": 289577,
  "_sha256": "4da3d059de944813eee983f462db5a80a966db1dc67b4bcf9d7970f8f0c1d08f",
  "_created": "2026-05-29T13:07:50.000Z",
  "_published": "2026-05-29T13:11:30.704Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78506849752,
      "time": 171,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291459068"
    },
    {
      "job": 78506849743,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291459590"
    },
    {
      "job": 78506849713,
      "time": 173,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291459719"
    },
    {
      "job": 78506849756,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291452041"
    },
    {
      "job": 78506172564,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291398377"
    },
    {
      "job": 78506849762,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291452088"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26638440651",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/cpop",
  "_commit": {
    "id": "498992ceaef762ad8f4b7588778a4a7fddc569da",
    "author": "Daniel Grose <dan.grose@lancaster.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.9\n",
    "time": 1780057838
  },
  "_maintainer": {
    "name": "Daniel Grose",
    "email": "dan.grose@lancaster.ac.uk"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "crops",
      "role": "Depends"
    },
    {
      "package": "pacman",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.13",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.8",
      "date": "2025-06-11"
    },
    {
      "name": "1.0.9",
      "date": "2026-05-29"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 224,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cpop"
  },
  "_searchresults": 36,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cpop.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-03-11"
    },
    {
      "version": "1.0.3",
      "date": "2022-08-23"
    },
    {
      "version": "1.0.4",
      "date": "2022-11-11"
    },
    {
      "version": "1.0.6",
      "date": "2022-11-21"
    },
    {
      "version": "1.0.7",
      "date": "2024-05-28"
    },
    {
      "version": "1.0.8",
      "date": "2025-06-11"
    },
    {
      "version": "1.0.9",
      "date": "2026-05-29"
    }
  ],
  "_exports": [
    "changepoints",
    "cost",
    "cpop",
    "cpop.crops",
    "cpop.crops.models",
    "estimate",
    "fitted",
    "plot",
    "residuals",
    "simchangeslope",
    "summary"
  ],
  "_datasets": [
    {
      "name": "wavenumber_spectra",
      "title": "Wavenumber power spectra data",
      "object": "wavenumber_spectra",
      "file": "wavenumber_spectra.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "wavenumber",
        "power_spectra_Feb2000",
        "power_spectra_Aug2000",
        "power_spectra_Feb2100",
        "power_spectra_Aug2100"
      ],
      "rows": 247,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "changepoints-methods",
      "title": "Changepoint locations",
      "topics": [
        "changepoints",
        "changepoints,cpop.class-method"
      ]
    },
    {
      "page": "cost-methods",
      "title": "Calculate the cost of a model fitted by cpop",
      "topics": [
        "cost",
        "cost,cpop.class-method"
      ]
    },
    {
      "page": "cpop",
      "title": "Find the best segmentation of data for a change-in-slope model",
      "topics": [
        "cpop"
      ]
    },
    {
      "page": "cpop.crops-methods",
      "title": "Calculate changepoint locations over a range of penalty values",
      "topics": [
        "cpop.crops",
        "crops.cpop,cpop.crops.class-method"
      ]
    },
    {
      "page": "cpop.crops.models-methods",
      "title": "Extract the cpop models created by cpop.crops",
      "topics": [
        "cpop.crops.models",
        "cpop.crops.models,cpop.crops.class-method"
      ]
    },
    {
      "page": "estimate-methods",
      "title": "Estimate the fit of a cpop model",
      "topics": [
        "estimate",
        "estimate,cpop.class-method"
      ]
    },
    {
      "page": "fitted-methods",
      "title": "Extract model fitted values",
      "topics": [
        "fitted",
        "fitted,cpop.class-method"
      ]
    },
    {
      "page": "plot-methods",
      "title": "Visualise changepoint locations and associated data",
      "topics": [
        "plot",
        "plot,cpop.class,ANY-method"
      ]
    },
    {
      "page": "residuals-methods",
      "title": "Extract residuals from a cpop model",
      "topics": [
        "residuals",
        "residuals,cpop.class-method"
      ]
    },
    {
      "page": "show-methods",
      "title": "Display the S4 object produced by cpop",
      "topics": [
        "show",
        "show,cpop.class-method"
      ]
    },
    {
      "page": "simchangeslope",
      "title": "Generate simulated data",
      "topics": [
        "simchangeslope"
      ]
    },
    {
      "page": "summary-methods",
      "title": "Summarise a cpop analysis",
      "topics": [
        "summary",
        "summary,cpop.class-method"
      ]
    },
    {
      "page": "wavenumber-spectra-data",
      "title": "Wavenumber power spectra data",
      "topics": [
        "wavenumber_spectra"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "blob",
    "broom",
    "bslib",
    "cachem",
    "callr",
    "cellranger",
    "cli",
    "clipr",
    "conflicted",
    "cowplot",
    "cpp11",
    "crayon",
    "crops",
    "curl",
    "data.table",
    "DBI",
    "dbplyr",
    "digest",
    "dplyr",
    "dtplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "fs",
    "gargle",
    "generics",
    "ggplot2",
    "glue",
    "googledrive",
    "googlesheets4",
    "gtable",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "httr",
    "ids",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "mathjaxr",
    "memoise",
    "mime",
    "modelr",
    "openssl",
    "pacman",
    "pillar",
    "pkgconfig",
    "plyr",
    "pracma",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "readr",
    "readxl",
    "rematch",
    "rematch2",
    "remotes",
    "reprex",
    "reshape",
    "rlang",
    "rmarkdown",
    "rstudioapi",
    "rvest",
    "S7",
    "sass",
    "scales",
    "selectr",
    "sets",
    "stringi",
    "stringr",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "tidyverse",
    "timechange",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1.8573324964312685,
  "_indexed": true,
  "_nocasepkg": "cpop",
  "_universes": [
    "cran"
  ],
  "_previous": "1.0.8",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-05-29T13:10:26.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "498992ceaef762ad8f4b7588778a4a7fddc569da",
      "fileid": "7a18f221a9994663a2fee460db57810b599010e6d2a3c1ae49d41647d699d023",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638440651"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-05-29T13:10:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "498992ceaef762ad8f4b7588778a4a7fddc569da",
      "fileid": "9035baf07669e3d14493dafec0b250663a135db7eb234be5b71d738bc41ff561",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638440651"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-05-29T13:10:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "498992ceaef762ad8f4b7588778a4a7fddc569da",
      "fileid": "007d3281cb7120198b5933e182571440bfe6c5483c2653de2d96f9adf338e69a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638440651"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.9",
      "date": "2026-05-29T13:10:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "498992ceaef762ad8f4b7588778a4a7fddc569da",
      "fileid": "2aba1fde9394c566073e63f9e152a3114e46a00cead0fac868d526e36d7c39fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638440651"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.9",
      "date": "2026-05-29T13:10:42.000Z",
      "arch": "emscripten",
      "commit": "498992ceaef762ad8f4b7588778a4a7fddc569da",
      "fileid": "8d20c04f0d731d13d3da0ef5c60c97521efea56571eda9873212fbf153b8037c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638440651"
    }
  ]
}