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

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

citEntry(entry = "Manual",
         title = "texmex: Statistical modelling of extreme values",
         author = personList(as.person("Harry Southworth"),
                             as.person("Janet E. Heffernan")),
         year = year,
         note = vers,

         textVersion =
         paste0("Harry Southworth and Janet E. Heffernan (",year,"). ",
                "texmex: Statistical modelling of extreme values. ",
                vers, "."))
