Open ronnyhdez opened 1 year ago
Use data frame to iterate with the toBibtext function and write to txt file appending.
> renv::dependencies() -> dep
Finding R package dependencies ... Done!
> glimpse(dep)
Rows: 89
Columns: 5
$ Source <chr> "/home/ronny/Documents/repos/github/thesis_msc/appendices.…
$ Package <chr> "dplyr", "gt", "tibble", "cowplot", "ggridges", "rmarkdown…
$ Require <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""…
$ Version <chr> "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""…
$ Dev <lgl> FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FA…
> toBibtex(citation("dplyr"))
@Manual{,
title = {dplyr: A Grammar of Data Manipulation},
author = {Hadley Wickham and Romain François and Lionel Henry and Kirill Müller and Davis Vaughan},
year = {2023},
note = {R package version 1.1.2},
url = {https://CRAN.R-project.org/package=dplyr},
}
This can be done with: