CRAN Package Check Results for Package strucchange

Last updated on 2026-03-25 05:55:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-4 8.22 68.26 76.48 NOTE
r-devel-linux-x86_64-debian-gcc 1.5-4 5.83 46.99 52.82 ERROR
r-devel-linux-x86_64-fedora-clang 1.5-4 14.00 103.53 117.53 NOTE
r-devel-linux-x86_64-fedora-gcc 1.5-4 13.00 110.47 123.47 NOTE
r-devel-macos-arm64 1.5-4 3.00 24.00 27.00 NOTE
r-devel-windows-x86_64 1.5-4 12.00 112.00 124.00 NOTE
r-patched-linux-x86_64 1.5-4 9.48 60.84 70.32 NOTE
r-release-linux-x86_64 1.5-4 7.08 61.08 68.16 NOTE
r-release-macos-arm64 1.5-4 NOTE
r-release-macos-x86_64 1.5-4 7.00 78.00 85.00 NOTE
r-release-windows-x86_64 1.5-4 12.00 108.00 120.00 NOTE
r-oldrel-macos-arm64 1.5-4 NOTE
r-oldrel-macos-x86_64 1.5-4 7.00 133.00 140.00 NOTE
r-oldrel-windows-x86_64 1.5-4 15.00 124.00 139.00 NOTE

Check Details

Version: 1.5-4
Check: R code for possible problems
Result: NOTE efpFunctional: multiple local function definitions for ‘plotProcess’ with different formal arguments mefp.efp: multiple local function definitions for ‘computeEmpProc’ with different formal arguments Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.5-4
Check: examples
Result: ERROR Running examples in ‘strucchange-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: datasets > > ### ** Examples > > ## load and plot data > data("RealInt") > plot(RealInt) > > ## estimate breakpoints > bp.ri <- breakpoints(RealInt ~ 1, h = 15) > plot(bp.ri) > summary(bp.ri) Optimal (m+1)-segment partition: Call: breakpoints.formula(formula = RealInt ~ 1, h = 15) Breakpoints at observation number: m = 1 79 m = 2 47 79 m = 3 24 47 79 m = 4 24 47 64 79 m = 5 16 31 47 64 79 Corresponding to breakdates: m = 1 1980(3) m = 2 1972(3) 1980(3) m = 3 1966(4) 1972(3) 1980(3) m = 4 1966(4) 1972(3) 1976(4) 1980(3) m = 5 1964(4) 1968(3) 1972(3) 1976(4) 1980(3) Fit: m 0 1 2 3 4 5 RSS 1214.9 645.0 456.0 445.2 444.9 449.6 BIC 555.7 499.8 473.3 480.1 489.3 499.7 > > ## fit segmented model with three breaks > fac.ri <- breakfactor(bp.ri, breaks = 3, label = "seg") > fm.ri <- lm(RealInt ~ 0 + fac.ri) > summary(fm.ri) Call: lm(formula = RealInt ~ 0 + fac.ri) Residuals: Min 1Q Median 3Q Max -4.5157 -1.3674 -0.0578 1.3248 6.0990 Coefficients: Estimate Std. Error t value Pr(>|t|) fac.riseg1 1.8236 0.4329 4.213 5.57e-05 *** fac.riseg2 0.8661 0.4422 1.959 0.053 . fac.riseg3 -1.7961 0.3749 -4.791 5.83e-06 *** fac.riseg4 5.6429 0.4329 13.036 < 2e-16 *** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Residual standard error: 2.121 on 99 degrees of freedom Multiple R-squared: 0.6842, Adjusted R-squared: 0.6714 F-statistic: 53.62 on 4 and 99 DF, p-value: < 2.2e-16 > > ## setup kernel HAC estimator > vcov.ri <- function(x, ...) kernHAC(x, kernel = "Quadratic Spectral", + prewhite = 1, approx = "AR(1)", ...) > > ## Results from Table 1 in Bai & Perron (2003): > ## coefficient estimates > coef(bp.ri, breaks = 3) (Intercept) 1961(1) - 1966(4) 1.8236167 1967(1) - 1972(3) 0.8660848 1972(4) - 1980(3) -1.7961384 1980(4) - 1986(3) 5.6428896 > ## corresponding standard errors > sapply(vcov(bp.ri, breaks = 3, vcov = vcov.ri), sqrt) Error in ar.ols(x, aic = aic, order.max = order.max, na.action = na.action, : non-conformable 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 Flavor: r-devel-linux-x86_64-debian-gcc