tests/testthat/test-format_p_adjust.R

test_that("format_p_adjust", {
  expect_identical(format_p_adjust("holm"), "Holm (1979)")
  expect_identical(format_p_adjust("bonferroni"), "Bonferroni")
})

Try the parameters package in your browser

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

parameters documentation built on Nov. 2, 2023, 6:13 p.m.