Labeled Optimal Partitioning
Overview
Change-point detection algorithm with label constraints and a penalty for each change outside of labels. Read TD Hocking, A Srivastava (2023) doi:10.1007/s00180-022-01238-z for details.
- fix ubsan issue by only doing &vec[0] if length>0.
- update citation in DESCRIPTION to Computational Statistics paper year/DOI.
- added CITATION file.
From NEWS in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Toby Dylan Hocking <toby.hocking@r-project.org>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = c("Toby", "Dylan"),
family = "Hocking",
role = c("aut", "cre"),
email = "toby.hocking@r-project.org")
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 14
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/tdhock/lopart on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing LOPART adds 2 packages (2 with compiled code, 7.5 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 2024.6.19Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2020.6.292020-06-30
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2020-06-30
- Total releases
- 2 / 6 yrs
- License
- GPL-3 OSI
- Download size
- 9.1 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("LOPART")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1007/s00180-022-01238-z.
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.