Skip to content

Commit

Permalink
Skip test without {distributional}
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikunterwegs committed Nov 20, 2023
1 parent e65005e commit 6d356ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-estimate_ascertainment.R
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ covid_uk <- covid_data[covid_data$country == "United Kingdom" &
covid_data$date < "2021-01-01", ]

test_that("Basic expectations for time-varying ascertainment", {
skip_if_not_installed("distributional") # use pkg to check functionality
# provide burn in as mean of lognormal distribution
distr_lnorm <- distributional::dist_lognormal(mu = 2.577, sigma = 0.440)
burn_in <- round(mean(distr_lnorm))
Expand Down

0 comments on commit 6d356ac

Please sign in to comment.