Skip to content

metafor

Meta-Analysis Package for R

v5.0-1 · Apr 26, 2026 · GPL (>= 2)

Description

A comprehensive collection of functions for conducting meta-analyses in R. The package includes functions to calculate various effect sizes or outcome measures, fit equal-, fixed-, random-, and mixed-effects models to such data, carry out moderator and meta-regression analyses, and create various types of meta-analytical plots (e.g., forest, funnel, radial, L'Abbe, Baujat, bubble, and GOSH plots). For meta-analyses of binomial and person-time data, the package also provides functions that implement specialized methods, including the Mantel-Haenszel method, Peto's method, and a variety of suitable generalized linear (mixed-effects) models (i.e., mixed-effects logistic and Poisson regression models). Finally, the package provides functionality for fitting meta-analytic multivariate/multilevel models that account for non-independent sampling errors and/or true effects (e.g., due to the inclusion of multiple treatment studies, multiple endpoints, or other forms of clustering). Network meta-analyses and meta-analyses accounting for known correlation structures (e.g., due to phylogenetic relatedness) can also be conducted. An introduction to the package can be found in Viechtbauer (2010) <doi:10.18637/jss.v036.i03>.

Downloads

CRAN

51.5K

Last 30 days

501st

157.7K

Last 90 days

546.3K

Last year

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

r2u CRAN

399

Last 30 days

1.3K

Last 90 days

2.6K

Last year

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

autoCRAN

20

Last 7 days

176

Last 30 days

9

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

CRAN Check Status

13 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 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
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 History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

for unstated dependencies in examples

Warning in file() :
  cannot open file '/tmp/RtmpM3hIYv/Rf39127a20c66d7b': No space left on device
Error in file() : cannot open the connection
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  6.2Mb
  sub-directories of 1Mb or more:
    R      3.1Mb
    help   2.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  6.2Mb
  sub-directories of 1Mb or more:
    R      3.0Mb
    help   2.3Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.4Mb
  sub-directories of 1Mb or more:
    R      2.2Mb
    help   2.3Mb

Reverse Dependencies (99)

Dependency Network

Dependencies Reverse dependencies Matrix metadat numDeriv nlme mathjaxr pbapply digest bayesmeta mada metawho BayesCACE CaMeA CalibrationCurves CausalMetaR EValue GSEMA MAGMA.R MVPBT MetaDose MetaHD MetaStan MetaUtility +84 more reverse deps metafor

Version History

37 tracked
updated 5.0-1 ← 4.8-0 diff Apr 26, 2026
new 4.8-0 Mar 10, 2026
updated 4.8-0 ← 4.6-0 diff Jan 27, 2025
updated 4.6-0 ← 4.4-0 diff Mar 27, 2024
updated 4.4-0 ← 4.2-0 diff Sep 26, 2023
updated 4.2-0 ← 4.0-0 diff May 7, 2023
updated 4.0-0 ← 3.8-1 diff Mar 18, 2023
updated 3.8-1 ← 3.4-0 diff Aug 25, 2022
updated 3.4-0 ← 3.0-2 diff Apr 20, 2022
updated 3.0-2 ← 3.0-1 diff Jun 8, 2021
updated 3.0-1 ← 2.4-0 diff Jun 2, 2021
updated 2.4-0 ← 2.1-0 diff Mar 18, 2020
updated 2.1-0 ← 2.0-0 diff May 13, 2019
updated 2.0-0 ← 1.9-9 diff Jun 21, 2017
updated 1.9-9 ← 1.9-8 diff Sep 24, 2016