epiverse-trace / epiparameter

R package with library of epidemiological parameters for infectious diseases and functions and classes for working with parameters
https://epiverse-trace.github.io/epiparameter
Other
26 stars 10 forks source link

Update `epi_dist` in README example #231

Closed adamkucharski closed 6 months ago

adamkucharski commented 6 months ago

Currently we have the following in the README:

influenza_incubation <- epidist_db(
  disease = "influenza",
  epi_dist = "incubation period",
  single_epidist = TRUE
)

But I think we now use incubation_period as the epi_dist type?

Also getting a bug for epidists <- epidist_db():

Error in checkmate::assert_string(disease) : argument "disease" is missing, with no default

Not sure if there's a version mismatch somewhere?

adamkucharski commented 6 months ago

Closing, as seems to work with newer version