# Citation for the NDPalette package.
#
# After archiving a release on Zenodo (or publishing a software paper),
# add the DOI: uncomment the `doi =` line below and put the same DOI in
# CITATION.cff and the README. A single, consistent citation with a DOI is
# what lets Google Scholar cluster citations to this package into one entry
# and attribute them to the author.

if (!exists("meta") || is.null(meta)) meta <- packageDescription("NDPalette")
ver <- meta$Version
if (is.null(ver) || !nzchar(ver)) ver <- "1.0.0"

citHeader("To cite the NDPalette package in publications, use:")

bibentry(
  bibtype = "Manual",
  key     = "NDPalette",
  title   = "{NDPalette}: Notre Dame Color Palettes for R",
  author  = person("Ken", "Kelley",
                   comment = c(ORCID = "0000-0002-4756-8360")),
  year    = "2026",
  note    = paste("R package version", ver),
  url     = "https://github.com/yelleKneK/NDPalette"
  # doi   = "10.5281/zenodo.XXXXXXX"
)
