- using R version 4.4.3 Patched (2026-02-12 r89409)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘bayesianVARs/DESCRIPTION’ ... OK
- this is package ‘bayesianVARs’ version ‘0.1.8’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘bayesianVARs’ can be installed ... [18s/9s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.sdk’
- checking installed package size ... NOTE
installed size is 9.8Mb
sub-directories of 1Mb or more:
doc 1.1Mb
libs 8.3Mb
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking compiled code ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [20s/20s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/10s] ERROR
Running ‘testthat.R’ [9s/10s]
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.002 0.044
[ 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [186s/188s] OK
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '