R Under development (unstable) (2025-06-06 r88283 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(BFpack) Loading required package: bain Registered S3 methods overwritten by 'BFpack': method from get_estimates.lm bain get_estimates.t_test bain This is BFpack 1.5.0. Updates on default settings: - For standard (exploratory) tests, the default prior probability for a zero, negative, and positive effect are 0.5, 0.25, and 0.25, respectively. The previous default was 1/3 for each hypothesis. Changing these prior probabilities can be done using the argument 'prior.hyp.explo'. - For linear regression, ANOVA, t-tests, the fractional Bayes factor ('FBF') is the new default. To change this to the adjusted fractional Bayes factor (the previous default), users can set the argument: BF.type='AFBF'. > > test_check("BFpack") Call: BF.lm(x = lm_conf, hypothesis = hypothesis, prior.hyp.explo = prior.hyp.explo, prior.hyp.conf = prior.hyp.conf, prior.hyp = prior.hyp, complement = complement, log = logIN, cov.prob = cov.prob, BF.type = BF.type) Bayesian hypothesis test Type: exploratory Object: lm Parameter: regression coefficients Method: generalized adjusted fractional Bayes factors Posterior probabilities of the hypotheses Model parameters: Pr(=5) Pr(<5) Pr(>5) mu 0.513 0.471 0.016 Bayesian hypothesis test Type: confirmatory Object: lm Parameter: regression coefficients Method: generalized adjusted fractional Bayes factors Posterior probabilities of the hypotheses Pr(hypothesis|data) H1 0.437 H2 0.527 H3 0.036 Evidence matrix (BFs): H1 H2 H3 H1 1.000 0.415 6.152 H2 2.412 1.000 14.839 H3 0.163 0.067 1.000 Specification table: comp_E comp_O fit_E fit_O BF_E BF_O BF PHP H1 0.195 1.00 0.205 1.000 1.053 1.000 1.053 0.437 H2 1.000 0.35 1.000 0.889 1.000 2.541 2.541 0.527 H3 1.000 0.65 1.000 0.111 1.000 0.171 0.171 0.036 Hypotheses: H1: mu=5 H2: mu<6&mu>4 H3: complement [ FAIL 0 | WARN 0 | SKIP 15 | PASS 114 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (15): 'test_BFcortest.R:77:3', 'test_BFcortest.R:152:3', 'test_BFergm.R:6:3', 'test_BFergm.R:42:3', 'test_BFmeta.R:13:3', 'test_BFmlm.R:43:3', 'test_anova_manova.R:27:3', 'test_anova_manova.R:40:3', 'test_anova_manova.R:79:3', 'test_anova_manova.R:95:3', 'test_application4_BF.mlm_regression.R:3:3', 'test_application6_BF.mlm_correlations.R:4:3', 'test_application7_BF.lmerMod.R:4:3', 'test_application7_BF.lmerMod.R:36:3', 'test_ttest.R:108:3' [ FAIL 0 | WARN 0 | SKIP 15 | PASS 114 ] > > proc.time() user system elapsed 44.79 1.15 45.93