bayestestR
Understand and Describe Bayesian Models and Posterior Distributions
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
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)
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
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.
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
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.
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
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
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.
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
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
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
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