citHeader("To cite sparsebn in publications use:")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

bibentry(bibtype = "Article",
  title        = "Learning Large-Scale {B}ayesian Networks with the {sparsebn} Package",
  author       = c(person(given = "Bryon", family = "Aragam"),
                   person(given = "Jiaying", family = "Gu"),
                   person(given = "Qing", family = "Zhou")),
  journal      = "Journal of Statistical Software",
  year         = "2019",
  volume       = "91",
  number       = "11",
  pages        = "1--38",
  doi          = "10.18637/jss.v091.i11",
  header       = "To cite sparsebn in publications use:"
)

citFooter("A lot of effort has gone into building and maintaining the sparsebn package. Please cite it in all papers where it is used.")
