citHeader("If you use 'ForeCA' in your publication we ask you to cite both the 'ForeCA' R package as well as the original ForeCA article in JMLR:")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

bibentry(bibtype = "Manual",
         title = "ForeCA: An R package for Forecastable Component Analysis",
         author = c(person("Georg M.", "Goerg")),
         year = year,
         note = vers,
         url = "https://CRAN.R-project.org/package=ForeCA",
         textVersion =
         paste0("Georg M. Goerg (",
                year,
                "). ForeCA: An R package for Forecastable Component Analysis. ",
                vers, "."))

bibentry(bibtype = "InProceedings",
         title = "Forecastable Component Analysis",
         author = c(person("Georg M.", "Goerg")),
         year = "2013",
         booktitle = "JMLR, W&CP",
         volume = "28",
         pages = "64-72",
         url = "https://proceedings.mlr.press/v28/goerg13.html",
         textVersion =
         paste0("Georg M. Goerg: Forecastable Component Analysis. JMLR, W&CP (2) 2013: 64-72."))
