tests/testthat/test-ashplots.R

# context("ashplot()")
ashplot( ~age | substance, groups = sex, data = HELPrct)

testthat::test_that("Ashplots work", {
  wrapped_expect_doppelganger("ashplots1", ashplot( ~age | substance, groups = sex, data = HELPrct))
})

Try the mosaic package in your browser

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

mosaic documentation built on Nov. 10, 2023, 1:11 a.m.