R Observatory
Search
install.packages("metaBMA")
CRAN 30-day downloads, method
4,032+28.3% up on the 30 days before, the better direction
Test coverage, method
62%of lines run by tests

Computes the posterior model probabilities for standard meta-analysis models (null model vs. alternative model assuming either fixed- or random-effects, respectively).

Full description

Computes the posterior model probabilities for standard meta-analysis models (null model vs. alternative model assuming either fixed- or random-effects, respectively). These posterior probabilities are used to estimate the overall mean effect size as the weighted average of the mean effect size estimates of the random- and fixed-effect model as proposed by Gronau, Van Erp, Heck, Cesario, Jonas, & Wagenmakers (2017, <doi:10.1080/23743603.2017.1326760>). The user can define a wide range of non-informative or informative priors for the mean effect size and the heterogeneity coefficient. Moreover, using pre-compiled Stan models, meta-analysis with continuous and discrete moderators with Jeffreys-Zellner-Siow (JZS) priors can be fitted and tested. This allows to compute Bayes factors and perform Bayesian model averaging across random- and fixed-effects meta-analysis with and without moderators. For a primer on Bayesian model-averaged meta-analysis, see Gronau, Heck, Berkhout, Haaf, & Wagenmakers (2021, <doi:10.1177/25152459211031256>).

Maintainer
Daniel W. Heck
Licence
GPL-3
Latest release
13 Sep 2023
First release
26 Jul 2017

Compare with another package

More details
Releases
9
Needs compilation
Yes
Needs R
>= 4.0.0
Date
2023-09-12
Language
en-US
LazyData
true
RoxygenNote
7.2.3
SystemRequirements
GNU make
Task views (1)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("metaBMA")

The package provides a citation file, so citation() returns the authors' own entry.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for metaBMA version 0.6.9 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.6.9
    Time taken
    1,093 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.6.9
    Time taken
    1,100 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.6.9
    Time taken
    745 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.6.9
    Time taken
    1,104 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    1,571 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.6.9
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    688 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    1,949 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    1,380 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    1,319 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.6.9
    Time taken
    112 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    667 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.6.9
    Time taken
    1,506 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (8)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
29 Jul 2026OK13000
27 Jul 2026Error12001
25 Apr 2026OK12000
22 Apr 2026Note11300
18 Apr 2026Error10301
10 Mar 2026Note11300

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
4,858+46.6% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

1,771 of 26,530

CRAN

4,032 downloads in the last 30 days

Rank
1,771 of 26,530
Change
+28.3% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

41 downloads in the last 30 days

Rank
3,464 of 30,526
Change
−25.5% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

4 downloads in the last 30 days

Rank
13,992 of 29,212
Change
−76.5% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

752 downloads in the last 30 days

Rank
1,193 of 3,828
Change
+840% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

29 downloads in the last 30 days

Rank
661 of 7,575
Change
+52.6% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
13
Dependent packages
1
Suggested by
5
Needs (13)
Installing it adds
56 packages, 59.2 MB of source
Of those, need compilation
25
Optional extras (4)
Dependent packages (1)
PackageTitleDownloads in 30 days
BFpackFlexible Bayes Factor Testing of Scientific Expectations938
Functions
114
Public exports
14
Lines of R code
4,401
Median complexity
3
Functions (114)
Size and composition

Lines by kind (15,287)

KindLinesShare
R code4,40129%
Tests9016%
Documentation1,3299%
Guides1250.8%
Compiled code8,53156%

Lines by language

LanguageLinesShare
C8,23654%
R5,30235%
Rd1,3299%
C++2952%
Vignettes1250.8%

Languages are counted from file extensions.

Files
131
R functions
84
Compiled functions
46
Object systems
S3: 17 methods
Complexity
Median
3
Mean
4.93
Highest
42
Median lines per function
26
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
84
Calls
130
Unconnected
13
Groups
3
Growth (9 releases)
Total lines by release
3,044 on 26 Jul 201715,287 on 13 Sep 2023
Release changes

The tests ran and coverage was measured.

Lines run by tests
62%
Expressions run by tests
62%
Test cases
30
Exports named in tests
78.6%
Coverage by file (33)
Coverage run
Lines counted
1,986
Lines the tests ran
1,396
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
30
Lines of tests
901
Test lines per line of code
0.2
Exports documented
100%
Arguments documented
92.8%
Return value documented
21.4%
Help pages with examples
76.2%
Examples run in checks
62.5%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
21
Lines of documentation
1,329
DatasetSizeColumns
facial_feedbackData Set: Facial Feedback17 × 3study, d, SE
power_poseData Set: Power Pose Effect6 × 13study, n_high_power, n_low_power, mean_high_power, mean_low_power, sd_high_power and 7 more
power_pose_unfamiliarData Set: Power Pose Effect6 × 13study, n_high_power, n_low_power, mean_high_power, mean_low_power, sd_high_power and 7 more
towelsData Set: Reuse of Towels in Hotels7 × 3study, logOR, SE

danheck / metabma on github.com

Stars
29
Forks
2
Open issues
1
Last commit
22 Jul 2025
Activity
Commits
248
Open pull requests
0
Tagged releases
2
Latest tagged release
v0.3.9, 4 Aug 2017
Issues closed in
45 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
2 Feb 2017
Licence file reads as
–
Development practices (9)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow, Travis CI (config file)
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceGitHub Pages site last deployed 2025-07-22
The repository has a site deploy workflow
CoverageCoverage reporting
Lint, format, editorlintr, Lint workflow, RStudio project

Method, repository practices

Across danheck

R releases
  • On CRAN
  • Release
VersionReleasedR
0.6.9 current13 Sep 20234.3.1
0.6.717 Mar 20214.0.4
0.6.68 Jan 20214.0.3
0.6.529 Oct 20204.0.3
0.6.32 Jun 20204.0.0
0.6.216 Sep 20193.6.1
0.6.110 Jul 20193.6.1
0.3.94 Aug 20173.4.1
Earlier versions (1)
VersionReleasedR
0.3.826 Jul 20173.4.1
Release notes (0.6.9)
  • Updated syntax for Stan arrays (thanks to @andrjohns)
  • Dependency on newest version of rstan (>= 2.26.0)
  • Updated references for tutorials on meta-analysis with model averaging
  • Bug fixes for passing of arguments in plot_forest() (#23 and #24)