tests/testthat/test-opts.R

test_that("default generation time options produce a warning", {
  expect_warning(generation_time_opts(), "1 day")
})

test_that("deprecated arguments are caught", {
  expect_deprecated(stan_opts(init_fit = "cumulative"))
})
epiforecasts/EpiNow2 documentation built on May 13, 2024, 3:11 a.m.