wviechtb / metafor

A meta-analysis package for R
https://www.metafor-project.org
226 stars 52 forks source link

Test assumes R version >= 4.0.0 #55

Closed MichaelChirico closed 2 years ago

MichaelChirico commented 2 years ago

https://github.com/wviechtb/metafor/blob/1c571656e7e482d9db8026523c2b9faf5d423019/tests/testthat/test_misc_matreg.r#L18-L19

This test fails on R<4.0.0:

Component "study": 'current' is not a factor

Reporting here for you to decide the right fix as there are several options.

wviechtb commented 2 years ago

This is in essence already fixed since the package requires R >= 4.0.0 already in the devel version (https://github.com/wviechtb/metafor/blob/master/DESCRIPTION).

MichaelChirico commented 2 years ago

that works thanks!