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

hd <- "To cite the R package 'SampleCore' in publications use:"
ft <- paste("This free and open-source software implements academic",
            "research by the authors and co-workers. If you use it, please support",
            "the project by citing the package.", collapse = "\n")

bibentry(header = hd,
         bibtype = "Manual",
         title  = "SampleCore: Sampling Strategies for Constructing Core Collections",
         author = c(person(given = "J.", family = "Aravind",
                           email = "j.aravind@icar.org.in",
                           role = c("aut", "cre")),
                    person(given = "Suman", family = "Roy",
                           email = "suman.roy@icar.org.in",
                           role = c("aut")),
                    person(given = "Anju Mahendru", family = "Singh",
                           email = "anju.singh@icar.org.in",
		                       role = "aut")),
         year = year,
         textVersion = paste(
           "Aravind, J., Roy, S., and Singh, A. M. (",
           year, ").  SampleCore: Sampling Strategies for Constructing Core Collections. ",
           vers, ", ", "https://aravind-j.github.io/SampleCore/",
           ".", sep=""),
         note = paste(vers, "https://aravind-j.github.io/SampleCore/"),
         footer = ft)
