tests/testthat/test-helper_generate_datasets.R

testthat::test_that("Able to generate dataset for testing", {
  expect_no_error(generate_non_proportional_dataset())
  expect_no_error(generate_proportional_dataset())
  expect_no_error(generate_deltadelta_dataset())
})

Try the dabestr package in your browser

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

dabestr documentation built on Oct. 13, 2023, 5:10 p.m.