citHeader("To cite package 'hyperSpec' please use:")

year <- sub ("^[^-]*-([[:digit:]]{4}).*$", "\\1", meta$Version)
vers <- paste ("R package version", meta$Version)

citEntry (entry="Manual",
          title = "hyperSpec: a package to handle hyperspectral data sets in R",
          author = personList (as.person("Claudia Beleites"),
                               as.person("Valter Sergo")),
          year = year,
          note = vers,
          URL = 'https://github.com/r-hyperspec/hyperSpec',

          textVersion =
          paste("Claudia Beleites and Valter Sergo: ",
                "`hyperSpec: a package to handle hyperspectral data sets in R', ",
                vers, ". https://github.com/r-hyperspec/hyperSpec",
                sep="")
)
