* using log directory 'd:/RCompile/CRANincoming/R-devel/bayestestR.Rcheck' * using R Under development (unstable) (2025-01-16 r87584 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'bayestestR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'bayestestR' version '0.15.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [17s] OK * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'bayestestR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... 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 ... [32s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [25s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [21s] ERROR Running 'testthat.R' [21s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(bayestestR) > > test_check("bayestestR") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 76 | PASS 177 ] ══ Skipped tests (76) ══════════════════════════════════════════════════════════ • On CRAN (70): 'test-bayesfactor_models.R:58:3', 'test-bayesfactor_models.R:122:3', 'test-bayesfactor_restricted.R:36:3', 'test-bayesian_as_frequentist.R:1:1', 'test-blavaan.R:2:3', 'test-brms.R:2:3', 'test-brms.R:38:3', 'test-brms.R:57:3', 'test-brms.R:81:3', 'test-check_prior.R:4:3', 'test-check_prior.R:66:3', 'test-check_prior.R:104:3', 'test-ci.R:33:3', 'test-ci.R:50:3', 'test-contr.R:2:3', 'test-contr.R:25:3', 'test-contr.R:59:3', 'test-data.frame-with-rvar.R:3:3', 'test-data.frame-with-rvar.R:74:3', 'test-describe_posterior.R:3:3', 'test-describe_posterior.R:112:3', 'test-describe_posterior.R:249:3', 'test-describe_posterior.R:266:3', 'test-describe_posterior.R:284:3', 'test-describe_posterior.R:321:3', 'test-describe_prior.R:2:3', 'test-effective_sample.R:2:3', 'test-equivalence_test.R:1:1', 'test-hdi.R:3:3', 'test-hdi.R:25:3', 'test-hdi.R:43:3', 'test-hdi.R:61:3', 'test-map_estimate.R:23:3', 'test-map_estimate.R:36:3', 'test-marginaleffects.R:1:1', 'test-p_direction.R:38:3', 'test-p_direction.R:70:3', 'test-p_map.R:24:3', 'test-p_map.R:39:3', 'test-p_rope.R:2:3', 'test-p_significance.R:38:3', 'test-p_significance.R:50:3', 'test-p_significance.R:84:3', 'test-point_estimate.R:2:3', 'test-point_estimate.R:18:3', 'test-posterior.R:2:3', 'test-posterior.R:22:3', 'test-posterior.R:42:3', 'test-posterior.R:62:3', 'test-posterior.R:82:3', 'test-posterior.R:103:3', 'test-print.R:2:3', 'test-rope.R:2:3', 'test-rope.R:40:3', 'test-rope.R:83:3', 'test-bayesfactor_parameters.R:56:3', 'test-bayesfactor_parameters.R:94:3', 'test-rstanarm.R:2:3', 'test-rstanarm.R:50:3', 'test-rstanarm.R:69:3', 'test-rstanarm.R:89:3', 'test-rstanarm.R:109:3', 'test-si.R:33:3', 'test-spi.R:3:3', 'test-spi.R:25:3', 'test-spi.R:42:3', 'test-spi.R:60:3', 'test-weighted_posteriors.R:4:3', 'test-weighted_posteriors.R:31:3', 'test-weighted_posteriors.R:52:3' • On Windows (1): 'test-rope.R:98:1' • TODO: check hard-coded values (1): 'test-check_prior.R:27:3' • Test creates error, must check why... (1): 'test-weighted_posteriors.R:71:3' • {rstanarm} cannot be loaded (3): 'test-bayesfactor_models.R:81:3', 'test-different_models.R:3:3', 'test-emmGrid.R:4:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rope_range.R:33:3'): rope_range ──────────────────────────────── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/rstan/libs/x64/rstan.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-rope_range.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─brms::brm(mpg ~ wt + gear, data = mtcars, iter = 300) 4. │ └─brms::do_call(compile_model, compile_args) 5. │ └─brms:::eval2(call, envir = args, enclos = envir) 6. │ └─base::eval(expr, envir, ...) 7. │ └─base::eval(expr, envir, ...) 8. │ └─brms (local) .fun(...) 9. │ └─brms (local) .compile_model(model, ...) 10. │ ├─brms:::eval_silent(...) 11. │ │ └─base::eval(expr, envir) 12. │ │ └─base::eval(expr, envir) 13. │ └─brms::do_call(rstan::stan_model, args) 14. └─base::loadNamespace(x) 15. └─base::library.dynam(lib, package, package.lib) 16. └─base::dyn.load(file, DLLpath = DLLpath, ...) 17. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) ── Error ('test-rope_range.R:44:3'): rope_range (multivariate) ───────────────── Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.5/rstan/libs/x64/rstan.dll': LoadLibrary failure: Das angegebene Modul wurde nicht gefunden. Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-rope_range.R:44:3 2. │ └─base::withCallingHandlers(...) 3. ├─brms::brm(...) 4. │ └─brms::do_call(compile_model, compile_args) 5. │ └─brms:::eval2(call, envir = args, enclos = envir) 6. │ └─base::eval(expr, envir, ...) 7. │ └─base::eval(expr, envir, ...) 8. │ └─brms (local) .fun(...) 9. │ └─brms (local) .compile_model(model, ...) 10. │ ├─brms:::eval_silent(...) 11. │ │ └─base::eval(expr, envir) 12. │ │ └─base::eval(expr, envir) 13. │ └─brms::do_call(rstan::stan_model, args) 14. └─base::loadNamespace(x) 15. └─base::library.dynam(lib, package, package.lib) 16. └─base::dyn.load(file, DLLpath = DLLpath, ...) 17. └─base (local) inDL(x, as.logical(local), as.logical(now), ...) [ FAIL 2 | WARN 0 | SKIP 76 | PASS 177 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [33s] OK * checking HTML version of manual ... [13s] OK * DONE Status: 1 ERROR