CRAN Package Check Results for Package bridgr

Last updated on 2026-07-05 02:50:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 4.37 89.25 93.62 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 3.59 63.13 66.72 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 8.00 128.13 136.13 OK
r-devel-linux-x86_64-fedora-gcc 0.1.2 8.00 152.71 160.71 OK
r-devel-windows-x86_64 0.1.2 9.00 168.00 177.00 ERROR
r-patched-linux-x86_64 0.1.2 4.99 72.20 77.19 OK
r-release-linux-x86_64 0.1.2 3.55 222.72 226.27 OK
r-release-macos-arm64 0.1.2 1.00 24.00 25.00 OK
r-release-macos-x86_64 0.1.2 3.00 93.00 96.00 OK
r-release-windows-x86_64 0.1.2 8.00 96.00 104.00 OK
r-oldrel-macos-arm64 0.1.2 1.00 26.00 27.00 OK
r-oldrel-macos-x86_64 0.1.2 3.00 134.00 137.00 OK
r-oldrel-windows-x86_64 0.1.2 10.00 107.00 117.00 OK

Check Details

Version: 0.1.2
Check: tests
Result: ERROR Running 'testthat.R' [98s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(bridgr) > > test_check("bridgr") Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2000-07-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-04-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-04-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-04-01 | Forecast horizon: 2 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2000-10-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-04-01 | Forecast horizon: 1 quarter(s) Saving _problems/test-bridge-62.R Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-04-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-04-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-10-01 | Forecast horizon: 1 quarter(s) Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-10-01 | Forecast horizon: 1 quarter(s) Bridge model summary ----------------------------------- Main model: ----------------------------------- Series: target Regression with ARIMA(0,0,0) errors Coefficients: intercept indic indic_lag1 0.0281 -0.6427 -0.0526 s.e. 0.2151 0.2946 0.2982 sigma^2 = 0.6966: log likelihood = -11.87 AIC=31.74 AICc=38.4 BIC=33.33 ----------------------------------- Single indicator models: ----------------------------------- Series: indic ARIMA(0,0,0) with zero mean sigma^2 = 1.258: log likelihood = -58.29 AIC=118.57 AICc=118.68 BIC=120.21 Aggregation to low frequency: Using mean over values in corresponding periods. ----------------------------------- Dependent variable: target | Frequency: quarter | Estimation sample: 2000-01-01 - 2002-10-01 | Forecast horizon: 1 quarter(s) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bridge.R:62:3'): bridge supports expalmon aggregator function ── Error in `if (any(weights < 0)) { return(Inf) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. └─bridgr::bridge(...) at test-bridge.R:62:3 2. └─stats::optim(...) 3. └─stats (local) `<fn>`(`<dbl>`) 4. └─bridgr (local) fn(par, ...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64