tests/testthat/test-meta-random-parametric.R

test_that(
  desc = "meta_analysis works - parametric",
  code = {
    skip_if_not_installed("metafor")

    set.seed(123)
    df <- meta_analysis(data_meta)

    set.seed(123)
    expect_snapshot(select(df, -expression))
    expect_snapshot(df[["expression"]])

    expect_snapshot(meta_analysis(mtcars), error = TRUE)
  }
)

Try the statsExpressions package in your browser

Any scripts or data that you put into this service are public.

statsExpressions documentation built on June 8, 2025, 11:06 a.m.