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

bibentry (bibtype="Manual",
          header="To cite package 'hyperSpec' please use:",
          title = "hyperSpec: a package to handle hyperspectral data sets in R",
          author = c (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="")
)
