citHeader("To cite the hespdiv package in publications use:")

bibentry(
  bibtype = "Article",
  title = "hespdiv: an R package for spatially constrained, hierarchical and contiguous regionalization in palaeobiogeography",
  author = c(
    person("Liudas", "Daumantas"),
    person("Andrej", "Spiridonov")
  ),
  journal = "Palaeontology",
  year = "2024",
  volume = "67",
  number = "3",
  pages = "e12702",
  doi = "10.1111/pala.12702",
  url = "https://onlinelibrary.wiley.com/doi/10.1111/pala.12702"
)

bibentry(
  bibtype = "Manual",
  title = "hespdiv: Hierarchical spatial subdivision in palaeobiogeography",
  author = person("Liudas", "Daumantas"),
  year = format(Sys.Date(), "%Y"),
  note = paste("R package version", meta$Version),
  url = "https://github.com/Liudas-Dau/hespdiv"
)