
year <- sub("-.*", "", meta$Date)
note <- paste("R package version", meta$Version)

citHeader("To cite DirStats in publications use:")

bibentry(
  bibtype      = "Manual",
  title        = "{DirStats}: Nonparametric Methods for Directional Data",
  author       = person(given = "Eduardo", family = "García-Portugués",
                        role = c("aut", "cre")),
  year         = year,
  note         = note,
  url          = "https://CRAN.R-project.org/package=DirStats",
  textVersion  =
  paste(paste0("García-Portugués, E. (", year, ")."),
        "DirStats: Nonparametric Methods for Directional Data.",
        paste0(note, "."), "https://CRAN.R-project.org/package=DirStats")
)
