year <- if (!is.null(meta$`Date/Publication`)) {
  sub("-.*", "", meta$`Date/Publication`)
} else {
  format(Sys.Date(), "%Y")
}

bibentry(
  bibtype = "Manual",
  title   = "predictset: Conformal Prediction and Uncertainty Quantification",
  author  = person("Charles", "Coverdale"),
  year    = year,
  note    = sprintf("R package version %s", meta$Version),
  url     = "https://CRAN.R-project.org/package=predictset"
)
