
citHeader("Please cite both the letsRept package and the Reptile Database if you use this package:")

# 1. Package citation
bibentry(
  bibtype = "Manual",
  title   = "letsRept: An Interface to the Reptile Database",
  author  = c(as.person("João Paulo Santos Vieira-Alencar"),
              as.person("H. Christoph Liedtke")),
  year    = "2025",
  note    = paste("R package version 1.1.0"),
  url = "https://doi.org/10.32614/CRAN.package.letsRept"
)

# 2. Package manuscript citation
bibentry(
  bibtype = "Article",
  title   = "letsRept: An R Package to Access the Global Reptile Database and Facilitate Taxonomic Harmonization",
  author  = c(
    as.person("João Paulo Santos Vieira-Alencar"),
    as.person("H. Christoph Liedtke"),
    as.person("Shai Meiri"),
    as.person("Uri Roll"),
    as.person("Peter Uetz"),
    as.person("Javier Nori")
  ),
  year  = 2025,
  journal = "Biodiversity Informatics",
  volume = "19",
  pages = "120-143",
  note = "https://doi.org/10.17161/bi.v19i.24329"
)

# 3. Reptile Database citation
bibentry(
  bibtype = "Misc",
  title   = "The Reptile Database",
  author  = c(
    as.person("Peter Uetz"),
    as.person("Paula Freed"),
    as.person("Rafael Aguilar"),
    as.person("Felipe Reyes"),
    as.person("Jiri Kudera"),
    as.person("Jiri Hošek")
  ),
  year    = format(Sys.Date(), "%Y"),  # automatically current year
  note    = paste0(
    "Accessed on ", format(Sys.Date(), "%B %d, %Y"),
    ". Available at: http://www.reptile-database.org"
  )
)