Package check result: OK Changes to worse in reverse depends: Package: bsvarSIGNs Check: examples New result: ERROR Running examples in ‘bsvarSIGNs-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: bsvarSIGNs-package > ### Title: Bayesian Estimation of Structural Vector Autoregressions > ### Identified by Sign, Zero, and Narrative Restrictions > ### Aliases: bsvarSIGNs-package bsvarSIGNs > > ### ** Examples > > # investigate the effects of the optimism shock > data(optimism) > > # specify identifying restrictions: > # + no effect on productivity (zero restriction) > # + positive effect on stock prices (positive sign restriction) > sign_irf = matrix(c(0, 1, rep(NA, 23)), 5, 5) > > # specify the model > specification = specify_bsvarSIGN$new(optimism * 100, + p = 4, + sign_irf = sign_irf) Error in initialize(...) : Argument N must be a positive integer number. Calls: ... initialize -> -> initialize -> stopifnot Execution halted Package: bsvarSIGNs Check: tests New result: ERROR Running ‘tinytest.R’ [0s/0s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + tinytest::test_package("bsvarSIGNs") + } Loading required package: RcppArmadillo Loading required package: bsvars test_bsvarSIGNs.R............. 1 tests OK 35ms test_compute_fitted_values.R.. 0 tests test_compute_fitted_values.R.. 0 tests Error in initialize(...) : Argument N must be a positive integer number. Calls: ... initialize -> -> initialize -> stopifnot Execution halted