strucchangeRcpp
1.5-4-1.0.1Testing, Monitoring, and Dating Structural Changes: C++ Version
Overview
A fast implementation with additional experimental features for testing, monitoring and dating structural changes in (linear) regression models. 'strucchangeRcpp' features tests/methods from the generalized fluctuation test framework as well as from the F test (Chow test) framework. This includes methods to fit, plot and test fluctuation processes (e.g. cumulative/moving sum, recursive/moving estimates) and F statistics, respectively. These methods are described in Zeileis et al. (2002) doi:10.18637/jss.v007.i02. Finally, the breakpoints in regression models with structural changes can be estimated together with confidence intervals, and their magnitude as well as the model fit can be evaluated using a variety of statistical measures.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE2026-07-1611 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-05-0213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-04-2212 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1811 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-2712 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-03-2511 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 82%
- Return-value docs
- 100%
- References docs
- 65%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/bfast2/strucchangercpp on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 3.0 median / 69 max
Test coverage
Line coverage
31%
Expression
32.1%
Tests / Examples
30.9% / 60% ex
Functions
126 30 exported
Complexity
7.1 avg / 69 max
Call network
126 nodes / 113 edges
Call graph
Open call graph →Lowest coverage
126 functions| Function | Cyclo | Coverage |
|---|---|---|
| LWZ exp | 1 | 0% |
| boundary exp | 1 | 0% |
| breakfactor exp | 4 | 0% |
| catL2BB exp | 3 | 0% |
| efpFunctional exp | 57 | 0% |
| gefp exp | 25 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| BostonHomicide | data.frame | 77 × 8 | in 2 packages |
| DJIA | zooreg/zoo | – | in 3 packages |
| GermanM1 | data.frame | 140 × 14 | in 2 packages |
| Grossarl | data.frame | 200 × 10 | in 2 packages |
| historyM1 | data.frame | 118 × 14 | in 2 packages |
| monitorM1 | data.frame | 22 × 14 | in 2 packages |
| scPublications | data.frame | 835 × 9 | in 2 packages |
People & History
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.5-4-1.0.1Latest
- RR 4.5.0 released · 2025-04-11
- 1.5-4-1.0.02024-10-17 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.5-3-1.0.42021-11-26 · diff ↗
- 1.5-3-1.0.32021-05-26 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.5-3-1.0.22021-04-08 · diff ↗
- unarchivedReturned to CRAN2021-04-08
- archivedRemoved from CRAN2021-04-07check problems were not corrected in time
- 1.5-3-1.0.12021-03-28 · diff ↗
- 1.5-3-1.0.02021-03-24
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-03-24
- Total releases
- 7 / 5 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 2.10.0
- Bundled data
- 128 KB / 10 files
- Download size
- 539 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet