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

citHeader("To cite pbdDEMO in a publication use:")

citEntry(
  entry = "Misc",
  title = "{pbdDEMO}: Programming with Big Data --
           Demonstrations of pbd Packages",
  author = personList(as.person("Drew Schmidt"),
                      as.person("Wei-Chen Chen"),
                      as.person("George Ostrouchov"),
                      as.person("Pragneshkumar Patel")),
  year = year,
  note = note,
  url = "https://cran.r-project.org/package=pbdDEMO",
  textVersion = NULL,
  key = "pbdDEMOpackage"
)

citEntry(
  entry = "Manual",
  title = "Speaking Serial R with a Parallel Accent",
  author = personList(as.person("Drew Schmidt"),
                      as.person("Wei-Chen Chen"),
                      as.person("Pragneshkumar Patel"),
                      as.person("George Ostrouchov")),
  year = year,
  note = "R package vignette",
  url = "https://cran.r-project.org/package=pbdDEMO",
  textVersion = NULL,
  key = "pbdDEMOvignette"
)

