citHeader("In published work that uses or mentions NIMBLE, please cite the Journal of Statistical Software article (which has the same title as the arXiv preprint below) when it is available, or the arXiv preprint before then. In work that uses NIMBLE, please also cite the R package for the specific version used. To help us track usage to justify funding support for NIMBLE, please include the DOI in the citation.")

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


bibentry(
 bibtype = "techreport",
 title = "Sequential {M}onte {C}arlo methods in the nimble {R} package", 
  year = "2020",
 author = c(person("N.", "Michaud"),
            person("P.", "de Valpine"),
            person("D.", "Turek"),
            person("C.J.", "Paciorek"),
            person("D.", "Nguyen")),
 institution = "arXiv preprint",
 number = "arxiv:1703.06206",
  textVersion = "N. Michaud, de Valpine, P., D. Turek, C.J. Paciorek, D. Nguyen. 2017. Sequential Monte Carlo Methods in the nimble R Package. arXiv. <arXiv:1703.06206>."
)


bibentry(
 bibtype = "misc",
 title = "{nimbleSMC}: {S}equential {M}onte {C}arlo methods for {NIMBLE}",
 author = person(given = "{NIMBLE} Development Team"),
 url = "https://cran.r-project.org/package=nimbleSMC",
 year = year,
 version = meta$Version,
 note = note,
 doi = "10.5281/zenodo.1211190"
)
