* using log directory ‘/data/gannet/ripley/R/packages/tests-clang/bayestestR.Rcheck’ * using R Under development (unstable) (2025-02-28 r87848) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 20.1.0-rc3 flang version 20.1.0-rc3 * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘bayestestR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘bayestestR’ version ‘0.15.2’ * 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 ‘bayestestR’ can be installed ... [22s/29s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/bayestestR-00install.html' for details. * checking installed package size ... OK * 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 ... 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 ... [63s/82s] 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 ... [32s/40s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [718s/501s] ERROR Running ‘testthat.R’ [718s/500s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(bayestestR) > > test_check("bayestestR") Starting 2 test processes [ FAIL 4 | WARN 16 | SKIP 79 | PASS 220 ] â•â• Skipped tests (79) â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• • On CRAN (73): 'test-bayesfactor_parameters.R:56:3', 'test-bayesfactor_parameters.R:94: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: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-bayesfactor_models.R:58:3', 'test-bayesfactor_models.R:85:3', 'test-bayesfactor_models.R:122: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-emmGrid.R:132:3', 'test-emmGrid.R:142:3', 'test-emmGrid.R:172:3', 'test-emmGrid.R:188:3', 'test-emmGrid.R:224:3', 'test-emmGrid.R:234:3', 'test-rope.R:2:3', 'test-rope.R:40:3', 'test-rope.R:83: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' • On Linux (5): 'test-BFBayesFactor.R:1:1', 'test-ci.R:2:3', 'test-describe_posterior.R:111:3', 'test-rope.R:98:3', 'test-weighted_posteriors.R:1:1' • TODO: check hard-coded values (1): 'test-check_prior.R:27:3' â•â• Failed tests â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• ── Failure ('test-bayesfactor_models.R:35:3'): bayesfactor_models BIC ────────── update(BFM2, reference = 1)$log_BF (`actual`) not equal to c(0, -2.8, -6.2, -57.4) (`expected`). `actual`: 0.00 -9.82 -12.10 -57.18 `expected`: 0.00 -2.80 -6.20 -57.40 ── Failure ('test-bayesfactor_models.R:208:3'): bayesfactor_inclusion | LMM ──── bfinc_all$log_BF (`actual`) not equal to c(NaN, 57.651, -2.352, -4.064, -4.788) (`expected`). `actual`: NaN 55.8 -10.0 -10.9 -10.5 `expected`: NaN 57.7 -2.4 -4.1 -4.8 ── Failure ('test-bayesfactor_models.R:213:3'): bayesfactor_inclusion | LMM ──── bfinc_matched$p_posterior (`actual`) not equal to c(1, 0.875, 0.125, 0.009, 0.002) (`expected`). `actual`: 1.00 1.00 0.00 0.00 0.00 `expected`: 1.00 0.88 0.12 0.01 0.00 ── Failure ('test-bayesfactor_models.R:214:3'): bayesfactor_inclusion | LMM ──── bfinc_matched$log_BF (`actual`) not equal to c(NaN, 58.904, -3.045, -3.573, -1.493) (`expected`). `actual`: NaN 57.2 -10.7 -11.0 0.2 `expected`: NaN 58.9 -3.0 -3.6 -1.5 [ FAIL 4 | WARN 16 | SKIP 79 | PASS 220 ] 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 ... [13s/15s] OK * checking HTML version of manual ... [7s/10s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR