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

Use lowercase DOI and PMID #317

Closed joshwlambert closed 5 months ago

joshwlambert commented 5 months ago

This PR addresses issue #301. This issue is related to accessing elements from <bibentry> objects using upper or lower case list element names. For most OSs and R versions there does not seem to be an issue but in some cases accessing the DOI using the wrong case can result in an error. This issue meant the <multi_epidist> print method was erroring. For a full explanation of the possible reason for this issue see #301.

This PR resolves the issue by changing all instances of DOI and PMID in the package to use lowercase. This includes the epidemiological parameter library (parameters.json), data dictionary (data_dictionary.json) and in all R functions and vignettes.