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

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

citEntry(entry = "Manual",
  title        = "{rotasym}: Tests for Rotational Symmetry on the Hypersphere",
  author       = personList(as.person("Eduardo García-Portugués"),
                   as.person("Davy Paindaveine"),
                   as.person("Thomas Verdebout")),
  year = year,
  note = note,
  url = "https://CRAN.R-project.org/package=rotasym",
  textVersion  =
  paste("García-Portugués, E., Paindaveine, D., and Verdebout, T. (2020).",
        "rotasym: Tests for Rotational Symmetry on the Hypersphere.",
        paste0("R package version ", meta$Version, "."),
        "https://CRAN.R-project.org/package=rotasym")
)

citEntry(entry = "Article",
  title        = "On optimal tests for rotational symmetry against new classes of hyperspherical distributions",
  author       = personList(as.person("Eduardo García-Portugués"),
                   as.person("Davy Paindaveine"),
                   as.person("Thomas Verdebout")),
  journal      = "Journal of the American Statistical Association",
  year         = "2020",
  volume       = "to appear.",
  number       = "",
  pages        = "",
  url          = "https://doi.org/10.1007/s11222-017-9790-2",
  textVersion  =
  paste("García-Portugués, E., Paindaveine, D., and Verdebout, T. (2020).",
        "On optimal tests for rotational symmetry against new classes of hyperspherical distributions.",
        "Journal of the American Statistical Association, to appear.",
        "https://doi.org/10.1007/s11222-017-9790-2")
)
