citHeader("To cite rhinotypeR in publications, please use:")

pkg_year <- if (!is.null(meta$Date)) {
  substr(meta$Date, 1, 4)
} else {
  format(Sys.Date(), "%Y")
}

# Software citation
bibentry(
  bibtype = "Manual",
  title   = "rhinotypeR: Rhinovirus genotyping",
  author  = c(
    person("Martha",  "Luka"),
    person("Ruth",    "Nanjala"),
    person("Wafaa",   "Rashed"),
    person("Winfred", "Gatua"),
    person("Olaitan", "Awe")
  ),
  year    = pkg_year,
  note    = sprintf("R package version %s", meta$Version),
  url     = "https://bioconductor.org/packages/rhinotypeR"
)