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

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

citEntry(
  entry    = "Manual",
  title    = "waves: Vis-NIR Spectral Analysis Wrapper",
  author   = c(
         person(given = "Jenna", middle = "M.", family = "Hershberger",
                email="jmh579@cornell.edu",
                role = c("aut", "cre"),
         person(given = "Michael", middle = "A.", family = "Gore", role="ths"))),
  year     = year,
  note     = note,
  url      = "https://github.com/GoreLab/waves",
  textVersion = paste0("Jenna M. Hershberger and Michael A. Gore (", year, "). waves: Vis-NIR           Spectral Analysis Wrapper. ", note, ".")
)
