Skip to content

Commit

Permalink
Pass delays to delay_opts
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Nov 10, 2023
1 parent d291b12 commit c4064c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-estimate_secondary.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit c4064c3

Please sign in to comment.