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

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

citHeader("To cite BioVenn in publications, please use these two references:")

bibentry(
  bibtype   = "Article",
  title     = "BioVenn--an R and Python package for the comparison and visualization of biological lists using area-proportional Venn diagrams",
  author    = "Hulsen, Tim",
  journal   = "Data Science",
  volume    = "4",
  number    = "1",
  pages     = "51--61",
  year      = "2021",
  publisher = "IOS Press",
  url       = "https://dx.doi.org/10.3233/DS-210032"
)

bibentry(
  bibtype = "Manual",
  title   = "BioVenn: Create Area-Proportional Venn Diagrams from Biological Lists",
  author  = personList(as.person("Tim Hulsen")),
  year    = year,
  note    = note,
  url     = "https://cran.r-project.org/package=BioVenn"
)
