Skip to content

binsegRcpp

2025.5.13Package record

Efficient Implementation of Binary Segmentation

0packages dependsuggested by 3
11.3Kdownloads / year
77.6%test coverage
13/13flavors OK

Overview

About

Standard template library containers are used to implement an efficient binary segmentation algorithm, which is log-linear on average and quadratic in the worst case.

Changes in 2025.5.13
  • correct first/last subtrain.borders (was defined using first/last validation data, now using all/train data).

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2025.5.13
READMENoVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2025.5.13Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
32
Examples that run
100%8 run in a plain check
Exported functions with examples
40%
Documented parameters
91%
Return-value docs
45%
Help pages citing references
0%

Downloads

11.3K
CRAN downloads in the past year
Rank #4,456 · ~31/day · ~940/mo
Daily download trend is not available in this view yet.
63930 days
1.9K90 days
11.3K1 year
Compare downloads with other packages →
Also on411 r2u50 autocran

Repository

7Stars
8Forks
5Open issues
5Open PRs
0Releases
205Commits
2Commit identities
205 commits · Last activity 2025-05-13
Responsiveness
How these are sampled
PRs merged (all time)
77%
Median days to close, 50 most recently updated closed issues
2
Median days to close, 50 most recently updated closed PRs
0

PRs over time

2026-07-14 · 32026-09-18 · 5
PracticesBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/tdhock/binsegrcpp on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Coverage (1)
Coverage reporting (Codecov)
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing binsegRcpp adds 2 packages (2 with compiled code, 7.5 MB of source tarballs). Heaviest: data.table 5.7 MB, Rcpp 1.8 MB.

Depends (0)
none
Imports (2)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 2020.9.3 (2020)
Listed in earlier versions (1)
Hocking
no longer listed · 2025.5.13
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2025.5.13Latest
    record
    2025-05-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2023.8.31
    record
    2023-09-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2022.7.21
    record
    2022-08-07 · diff ↗
  • 2022.7.19
    record
    2022-07-20 · diff ↗ ·
    added 12 exports
    cum_median, binseg, depth_first_interface, get_distribution_info, get_complexity_worst, get_complexity_best_heuristic_equal_depth_full, get_complexity_best_heuristic_equal_breadth_full, get_complexity_best_optimal_tree, get_complexity_best_optimal_cost, get_tree_empirical, tree_layout, size_to_splits
  • R
    R 4.2.0 released · 2022-04-22
  • 2022.1.24
    record
    2022-01-26 · diff ↗
  • 2021.11.3
    record
    2022-01-20 · diff ↗ ·
    added 7 exports
    get_complexity, get_complexity_empirical, get_complexity_extreme, case.colors, case.sizes, random_set_vec, binseg_normal_cv
  • R
    R 4.1.0 released · 2021-05-18
  • 2020.9.3
    record
    2020-09-14
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-14
Total releases
7 / 6 yrs
License
GPL-3 OSI
Download size
58 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("binsegRcpp")
Hocking, T. D. (2025). binsegRcpp: Efficient Implementation of Binary Segmentation (Version 2025.5.13) [Computer software]. https://doi.org/10.32614/CRAN.package.binsegRcpp

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

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