Create Bibliography File

library(papillon)

Build a reference page

To award people hard working for open-source, it is always good to cite their work. In order to add an informative page in your Shiny applications for instance, you can create a html or markdown page listing all package dependencies used.

papillon::create_pkg_biblio_file(to = "html", out.dir = "inst")
# Can be included in a shiny app using 
shiny::includeHTML("bibliography.html")
# OR
papillon::create_pkg_biblio_file(to = "markdown")
# Can be included in a shiny app using 
shiny::includeMarkdown("bibliography.md")

Add references to this page

desc_file <- system.file("DESCRIPTION", package = "papillon")
out.dir <- tempdir()
papillon::create_pkg_biblio_file(
  path = desc_file, to = "html",
  out.dir = out.dir, edit = FALSE)
#> File /tmp/RtmpxogyKu/bibliography.html created
shiny::includeHTML(file.path(out.dir, "bibliography.html"))

List of dependencies

  • attachment (Guyader et al. (2026))
  • bookdown (Xie (2025a))
  • cli (Csárdi (2026))
  • crayon (Csárdi (2024))
  • desc (Csárdi et al. (2023))
  • devtools (Wickham, Hester, Chang, et al. (2026))
  • knitr (Xie (2025b))
  • magrittr (Bache and Wickham (2026))
  • pkgdown (Wickham, Hesselberth, et al. (2025))
  • readr (Wickham, Hester, and Bryan (2026))
  • remotes (Csárdi et al. (2024))
  • rmarkdown (Allaire et al. (2026))
  • shiny (Chang et al. (2026))
  • testthat (Wickham (2026))
  • usethis (Wickham, Bryan, et al. (2025))
  • utils ((R-utils?))

References

Allaire, JJ, Yihui Xie, Christophe Dervieux, et al. 2026. Rmarkdown: Dynamic Documents for r. https://github.com/rstudio/rmarkdown.
Bache, Stefan Milton, and Hadley Wickham. 2026. Magrittr: A Forward-Pipe Operator for r. https://magrittr.tidyverse.org.
Chang, Winston, Joe Cheng, JJ Allaire, et al. 2026. Shiny: Web Application Framework for r. https://shiny.posit.co/.
Csárdi, Gábor. 2024. Crayon: Colored Terminal Output. https://r-lib.github.io/crayon/.
Csárdi, Gábor. 2026. Cli: Helpers for Developing Command Line Interfaces. https://cli.r-lib.org.
Csárdi, Gábor, Jim Hester, Hadley Wickham, Winston Chang, Martin Morgan, and Dan Tenenbaum. 2024. Remotes: R Package Installation from Remote Repositories, Including GitHub. https://remotes.r-lib.org.
Csárdi, Gábor, Kirill Müller, and Jim Hester. 2023. Desc: Manipulate DESCRIPTION Files. https://desc.r-lib.org/.
Guyader, Vincent, Sébastien Rochette, Murielle Delmotte, and Swann Floc’hlay. 2026. Attachment: Deal with Dependencies. https://thinkr-open.github.io/attachment/.
Wickham, Hadley. 2026. Testthat: Unit Testing for r. https://testthat.r-lib.org.
Wickham, Hadley, Jennifer Bryan, Malcolm Barrett, and Andy Teucher. 2025. Usethis: Automate Package and Project Setup. https://usethis.r-lib.org.
Wickham, Hadley, Jay Hesselberth, Maëlle Salmon, Olivier Roy, and Salim Brüggemann. 2025. Pkgdown: Make Static HTML Documentation for a Package. https://pkgdown.r-lib.org/.
Wickham, Hadley, Jim Hester, and Jennifer Bryan. 2026. Readr: Read Rectangular Text Data. https://readr.tidyverse.org.
Wickham, Hadley, Jim Hester, Winston Chang, and Jennifer Bryan. 2026. Devtools: Tools to Make Developing r Packages Easier. https://devtools.r-lib.org/.
Xie, Yihui. 2025a. Bookdown: Authoring Books and Technical Documents with r Markdown. https://github.com/rstudio/bookdown.
Xie, Yihui. 2025b. Knitr: A General-Purpose Package for Dynamic Report Generation in r. https://yihui.org/knitr/.