citHeader("To cite package 'rasterVis' in publications use:")

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

bibentry(bibtype="Manual",
         title ="{rasterVis}",
         author = c(person("Oscar Perpi{\\~n}{\\'a}n"), person("Robert Hijmans")),
         year = year,
         url ="https://oscarperpinan.codeberg.page/rastervis/",
         note = vers,
         textVersion = paste0("Oscar Perpinan Lamigueiro and Robert Hijmans (",
                              year, "), rasterVis. ", vers, ".")
         )



