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
33 stars 11 forks source link

`get_citation.multi_epidist()` return a `<bibentry>` #272

Closed joshwlambert closed 7 months ago

joshwlambert commented 7 months ago

This PR updates the get_citation() <multi_epidist> S3 method to return a <bibentry> object which can contain multiple references. This was requested in #259 and allows multiple references to use the <bibentry> methods, instead of having to loop or lapply over the list of references.

joshwlambert commented 7 months ago

Merging PR even though R CMD Check from Ubuntu R devel is failing to build the extract_convert.Rmd vignette. This is unrelated to the changes made in this PR and likely due to changes in R in the devel version.