guido-s / meta

Official Git repository of R package meta
http://cran.r-project.org/web/packages/meta/index.html
GNU General Public License v2.0
82 stars 32 forks source link

meta 4.8 update broke metacum for metacont object #1

Closed felixthoemmes closed 7 years ago

felixthoemmes commented 7 years ago

In 4.7 the following minimal example worked, but in 4.8 report an error:

data(Fleiss93cont) meta1 <- metacont(n.e, mean.e, sd.e, n.c, mean.c, sd.c, data=Fleiss93cont, sm="SMD") meta1 forest(meta1) metacum(meta1)

Thanks for creating the very useful meta package!

guido-s commented 7 years ago

Thank you for pointing out this bug. Fixed in meta, version 4.8-1. I just added checks of metacum() and metainf() for all meta-analysis objects, i.e., metacor() - metarate(), to my test suite.