diff --git a/tests/testthat/test-estimate_secondary.R b/tests/testthat/test-estimate_secondary.R index 880ccd285..a887c2381 100644 --- a/tests/testthat/test-estimate_secondary.R +++ b/tests/testthat/test-estimate_secondary.R @@ -105,7 +105,7 @@ test_that("estimate_secondary works with weigh_delay_priors = TRUE", { mean = 2.5, mean_sd = 0.5, sd = 0.47, sd_sd = 0.25, max = 30 ) inc_weigh <- estimate_secondary( - cases[1:60], delays = delays, + cases[1:60], delays = delay_opts(delays), obs = obs_opts(scale = list(mean = 0.2, sd = 0.2), week_effect = FALSE), weigh_delay_priors = TRUE, verbose = FALSE )