Last updated on 2026-02-20 12:52:25 CET.
| Package | ERROR | OK |
|---|---|---|
| bayesianVARs | 3 | 11 |
Current CRAN status: ERROR: 3, OK: 11
Version: 0.1.6
Check: whether package can be installed
Result: ERROR
Installation failed.
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.1.8
Check: installed package size
Result: NOTE
installed size is 9.8Mb
sub-directories of 1Mb or more:
doc 1.1Mb
libs 8.3Mb
Flavor: r-oldrel-macos-arm64
Version: 0.1.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/9s]
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(bayesianVARs)
>
> test_check("bayesianVARs")
Since argument 'type' is specified with 'cholesky', all arguments starting with 'factor_' are being ignored.
Since argument 'type' is specified with 'cholesky', all arguments starting with 'factor_' are being ignored.
Argument 'cholesky_priorhomoscedastic' not specified. Setting both shape and rate of inverse gamma prior equal to 0.01.
Since argument 'type' is specified with 'factor', all arguments starting with 'cholesky_' are being ignored.
Cannot do deep factor_interweaving if (some) factor_factors are homoskedastic. Setting 'factor_interweaving' to 3.
Argument 'factor_priorhomoskedastic' must be a matrix with dimension c(M, 2) if some of the
elements of 'factor_heteroskedastic' are FALSE. Setting factor_priorhomoskedastic to a matrix with
all rows equal to c(1.1, 1.1).
Saving _problems/test-irf-64.R
Timing stopped at: 0.042 0.001 0.043
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 238 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-bvar.R:396:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-irf.R:64:2'): (code run outside of `test_that()`) ──────────────
Error in `bvar_cpp(Y, X, M, Tobs, K, draws, burnin, thin, sv_keep, intercept, priorIntercept, PHI0, prior_phi[["prior_phi_cpp"]], prior_sigma[["prior_sigma_cpp"]], startvals, i_mat, i_vec, !quiet, prior_phi[["general_settings"]][["PHI_tol"]], prior_sigma[["general_settings"]][["cholesky_U_tol"]], expert_huge)`: Error in run 1: Couldn't Cholesky-decompose posterior loadings precision in row 1
Backtrace:
▆
1. └─bayesianVARs::bvar(...) at test-irf.R:64:9
2. ├─base::system.time(...)
3. └─bayesianVARs:::bvar_cpp(...)
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 238 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-macos-arm64