tests/testthat/test-vi_works.R

library(metaforest)

test_that("vi works", {
  expect_error({
    MetaForest(yi~.,
               data = fukkink_lont,
               vi = "vi",
               study = "id_exp",
               whichweights = "random",
               num.trees = 20000)
  }, NA)
})
cjvanlissa/metaforest documentation built on Jan. 28, 2024, 12:19 p.m.