# year
year <- sub("-.*", "", meta$Date)
if(!length(year))
  year <- substr(Sys.Date(), 1, 4)

# version
vers <- meta$Version
if(is.null(vers))
  vers <- packageVersion("eulerr")
note <- paste("R package version", vers)

citHeader("To cite eulerr in publications, please use:")

bibentry(
  bibtype      = "Manual",
  title        = "{eulerr}: Area-Proportional {Euler} and {Venn} Diagrams with Ellipses",
  author       = personList(as.person("Johan Larsson")),
  year         = year,
  note         = note,
  url          = "https://cran.r-project.org/package=eulerr"
)
