year <- sub("-.*", "", meta$Date %||% format(Sys.Date(), "%Y"))
note <- sprintf("R package version %s", meta$Version)

bibentry(
  bibtype  = "Manual",
  title    = "sumExtras: Extra Functions for 'gtsummary' Table Styling",
  author   = c(
    person(
      "Kyle", "Grealis",
      email = "kyleGrealis@proton.me",
      role = c("aut", "cre"),
      comment = c(ORCID = "0000-0002-9223-8854")
    ),
    person(
      "Raymond", "Balise",
      email = "balise@miami.edu",
      role = "ctb",
      comment = c(ORCID = "0000-0002-9856-5901")
    ),
    person(
      "Daniel", "Maya",
      email = "dheal.maya@gmail.com",
      role = "ctb",
      comment = c(ORCID = "0000-0002-0164-7768")
    )
  ),
  year     = year,
  note     = note,
  url      = "https://www.kyleGrealis.com/sumExtras/"
)
