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

bibentry(
  bibtype = "manual",
  title   = "{fundiversity}: Easy Computation of Alpha Functional Diversity Indices",
  author  = c(person("Matthias", "Grenié"),
              person("Hugo", "Gruson")),
  year    = year,
  note    = note,
  header  = "To cite this package in publications, please use:",
  url     = "https://CRAN.R-project.org/package=fundiversity")

bibentry(
  bibtype = "manual",
  title   = "{fundiversity}: Easy Computation of Alpha Functional Diversity Indices",
  author  = c(person("Matthias", "Grenié"),
              person("Hugo", "Gruson")),
  year    = year,
  note    = note,
  header  = "To cite the development version, please use:",
  url     = "https://github.com/Bisaloo/fundiversity")
