Skip to content

strucchangeRcpp

Testing, Monitoring, and Dating Structural Changes: C++ Version

v1.5-4-1.0.1 · Sep 26, 2025 · GPL-2 | GPL-3

Description

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.

Downloads

614

Last 30 days

6401st

2.5K

Last 90 days

16.1K

Last year

Trend: +11.6% (30d vs prior 30d)

CRAN Check Status

6 NOTE
8 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘strucchangeRcpp/libs/strucchangeRcpp.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘strucchangeRcpp/libs/strucchangeRcpp.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'strucchangeRcpp/libs/x64/strucchangeRcpp.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    libs   4.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘strucchangeRcpp/libs/strucchangeRcpp.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    libs   4.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘strucchangeRcpp-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: RealInt
> ### Title: US Ex-post Real Interest Rate
> ### Aliases: RealInt
> ### Keywords: data
...[truncated]...
nformable arguments
Error in meatHAC(x, order.by = order.by, prewhite = prewhite, weights = weights,  : 
  VAR(1) prewhitening of estimating functions failed
Calls: sapply ... vcov. -> kernHAC -> vcovHAC -> vcovHAC.default -> meatHAC
Execution halted
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    libs   4.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    libs   4.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   4.4Mb

Reverse Dependencies (1)

depends

Dependency Network

Dependencies Reverse dependencies zoo sandwich Rcpp bfast strucchangeRcpp

Version History

new 1.5-4-1.0.1 Mar 10, 2026
updated 1.5-4-1.0.1 ← 1.5-4-1.0.0 diff Sep 26, 2025
updated 1.5-4-1.0.0 ← 1.5-3-1.0.4 diff Oct 16, 2024
updated 1.5-3-1.0.4 ← 1.5-3-1.0.3 diff Nov 25, 2021
updated 1.5-3-1.0.3 ← 1.5-3-1.0.2 diff May 25, 2021
updated 1.5-3-1.0.2 ← 1.5-3-1.0.1 diff Apr 7, 2021
updated 1.5-3-1.0.1 ← 1.5-3-1.0.0 diff Mar 27, 2021
new 1.5-3-1.0.0 Mar 23, 2021