Skip to content

bayestestR

Understand and Describe Bayesian Models and Posterior Distributions

v0.18.1 · May 24, 2026 · GPL-3

Description

Provides utilities to describe posterior distributions and Bayesian models. It includes point-estimates such as Maximum A Posteriori (MAP), measures of dispersion (Highest Density Interval - HDI; Kruschke, 2015 <doi:10.1016/C2012-0-00477-2>) and indices used for null-hypothesis testing (such as ROPE percentage, pd and Bayes factors). References: Makowski et al. (2021) <doi:10.21105/joss.01541>.

Downloads

98.8K

Last 30 days

352nd

320.2K

Last 90 days

1.2M

Last year

Trend: -15.7% (30d vs prior 30d)

CRAN Check Status

3 WARNING
10 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 WARNING
r-oldrel-macos-x86_64 WARNING
r-oldrel-windows-x86_64 WARNING
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
WARNING r-oldrel-macos-arm64

Rd files

prepare_Rd: ./man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
checkRd: (7) contr.equalprior.Rd:24: Tag LIST is invalid in a \code block
WARNING r-oldrel-macos-arm64

whether package can be installed

Found the following significant warnings:
  Warning: /Volumes/Builds/packages/big-sur-arm64/results/4.5/bayestestR.Rcheck/00_pkg_src/bayestestR/man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/bayestestR.Rcheck/00install.out’ for details.
WARNING r-oldrel-macos-x86_64

Rd files

prepare_Rd: ./man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
checkRd: (7) contr.equalprior.Rd:24: Tag LIST is invalid in a \code block
WARNING r-oldrel-macos-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/bayestestR.Rcheck/00_pkg_src/bayestestR/man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/bayestestR.Rcheck/00install.out’ for details.
WARNING r-oldrel-windows-x86_64

Rd files

prepare_Rd: ./man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
checkRd: (7) contr.equalprior.Rd:24: Tag LIST is invalid in a \code block
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: D:/temp/2026_06_24_01_50_00_18373/RtmpKSHxfs/R.INSTALL1506867b76034/bayestestR/man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
See 'd:/Rcompile/CRANpkg/local/4.5/bayestestR.Rcheck/00install.out' for details.

Check History

WARNING 11 OK · 0 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE May 25, 2026
WARNING r-oldrel-macos-arm64

whether package can be installed

Found the following significant warnings:
  Warning: /Volumes/Builds/packages/big-sur-arm64/results/4.5/bayestestR.Rcheck/00_pkg_src/bayestestR/man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
See ‘/Volumes/Builds/packages/big-sur-arm64/results/4.5/bayestestR.Rcheck/00install.out’ for details.
WARNING r-oldrel-macos-x86_64

whether package can be installed

Found the following significant warnings:
  Warning: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/bayestestR.Rcheck/00_pkg_src/bayestestR/man/contr.equalprior.Rd:24: unexpected TEXT '[Matrix]', expecting '{'
See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/bayestestR.Rcheck/00install.out’ for details.
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 22, 2026
ERROR r-release-macos-arm64

tests

Running ‘testthat.R’ [60s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayestestR)
  > 
  > test_check("bayestestR")
  Starting 2 test processes.
  > test-BFBayesFactor.R: Multiple `BFBayesFa
...[truncated]...
 ──
  Expected `dp2$Rhat` to equal `c(1.00125536330078, 1.00087301991599)`.
  Differences:
    `actual`: 1.001255 1.000845
  `expected`: 1.001255 1.000873
  
  
  [ FAIL 1 | WARN 0 | SKIP 82 | PASS 247 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-oldrel-macos-arm64

tests

Running ‘testthat.R’ [61s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(bayestestR)
  > 
  > test_check("bayestestR")
  Starting 2 test processes.
  > test-BFBayesFactor.R: Multiple `BFBayesFa
...[truncated]...
 ──
  Expected `dp2$Rhat` to equal `c(1.00125536330078, 1.00087301991599)`.
  Differences:
    `actual`: 1.001255 1.000845
  `expected`: 1.001255 1.000873
  
  
  [ FAIL 1 | WARN 0 | SKIP 82 | PASS 247 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [156s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(bayestestR)
  > 
  > test_check("bayestestR")
  Starting 2 test processes.
  > test-BFBayesFactor.R: Multiple `BFBayesFacto
...[truncated]...
n (local) .fun(model_code = .x1)
   18.                         └─rstan:::cxxfunctionplus(...)
   19.                           └─base::sink(type = "output")
  
  [ FAIL 4 | WARN 0 | SKIP 83 | PASS 259 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (41)

Dependency Network

Dependencies Reverse dependencies insight datawizard BayesFBHborrow GCEstim LoTTA SSVS bayesMeanScale brmsmargins clinicalsignificance correlation eDNAjoint easystats effectsize fbst modelbased movedesign multifear +26 more reverse deps bayestestR

Version History

36 tracked
updated 0.18.1 ← 0.18.0 diff May 24, 2026
updated 0.18.0 ← 0.17.0 diff May 21, 2026
new 0.17.0 Mar 10, 2026
updated 0.17.0 ← 0.16.1 diff Aug 28, 2025
updated 0.16.1 ← 0.16.0 diff Jun 30, 2025
updated 0.16.0 ← 0.15.3 diff May 19, 2025
updated 0.15.3 ← 0.15.2 diff Apr 27, 2025
updated 0.15.2 ← 0.15.1 diff Feb 6, 2025
updated 0.15.1 ← 0.15.0 diff Jan 16, 2025
updated 0.15.0 ← 0.14.0 diff Oct 16, 2024
updated 0.14.0 ← 0.13.2 diff Jul 23, 2024
updated 0.13.2 ← 0.13.1 diff Feb 11, 2024
updated 0.13.1 ← 0.13.0 diff Apr 6, 2023
updated 0.13.0 ← 0.12.1 diff Sep 17, 2022
updated 0.12.1 ← 0.11.5 diff May 1, 2022