This PR addresses #61 by updating the {superspreading} package to use the newest features and accommodate breaking changes from the {epiparameter} package.
The single_epidist argument is added to epidist_db() calls to ensure only a single <epidist> is returned from the function. suppressMessages() replaces suppressWarnings() when calling epidist_db() in tests. The author names given to the author argument of epidist_db() are updated to remove "_etal". Epidemiological distributions provided to the epi_dist argument are now whitespace separated (not necessary but is now the preferred style from {epiparameter}).
The superspreading.Rmd vignette is updated to use the updated Ebola offspring distribution from the {epiparameter} database and updates to the text are made given changes in interpretation of function outputs.
This PR addresses #61 by updating the {superspreading} package to use the newest features and accommodate breaking changes from the {epiparameter} package.
The
single_epidist
argument is added toepidist_db()
calls to ensure only a single<epidist>
is returned from the function.suppressMessages()
replacessuppressWarnings()
when callingepidist_db()
in tests. The author names given to theauthor
argument ofepidist_db()
are updated to remove"_etal"
. Epidemiological distributions provided to theepi_dist
argument are now whitespace separated (not necessary but is now the preferred style from {epiparameter}).The
superspreading.Rmd
vignette is updated to use the updated Ebola offspring distribution from the {epiparameter} database and updates to the text are made given changes in interpretation of function outputs.