From 92885f8281e983b3d10db0a119900fd9d79e17da Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Thu, 19 Oct 2023 15:13:02 +0100 Subject: [PATCH] fix tests --- tests/testthat/test-regional_epinow.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test-regional_epinow.R b/tests/testthat/test-regional_epinow.R index 08a2facaa..1e6f25ded 100644 --- a/tests/testthat/test-regional_epinow.R +++ b/tests/testthat/test-regional_epinow.R @@ -50,7 +50,7 @@ test_that("regional_epinow runs without error when given a very short timeout", out <- regional_epinow( reported_cases = cases, generation_time = generation_time_opts(example_generation_time), - delays = delay_opts(reporting_delay), + delays = delay_opts(example_reporting_delay), stan = stan_opts( samples = 1000, warmup = 100, cores = 1, chains = 2, @@ -64,7 +64,7 @@ test_that("regional_epinow runs without error when given a very short timeout", out <- regional_epinow( reported_cases = cases, generation_time = generation_time_opts(example_generation_time), - delays = delay_opts(reporting_delay), + delays = delay_opts(example_reporting_delay), stan = stan_opts( samples = 1000, warmup = 100, cores = 1, chains = 2, @@ -85,7 +85,7 @@ test_that("regional_epinow produces expected output when run with region specifi regional_epinow( reported_cases = cases, generation_time = generation_time_opts(example_generation_time), - delays = delay_opts(reporting_delay), + delays = delay_opts(example_reporting_delay), rt = rt, gp = gp, stan = stan_opts( samples = 100, warmup = 100,