Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate main packages citations #36

Open
ronnyhdez opened this issue Jun 28, 2023 · 1 comment
Open

Generate main packages citations #36

ronnyhdez opened this issue Jun 28, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ronnyhdez
Copy link
Owner

This can be done with:

https://bookdown.org/yihui/rmarkdown-cookbook/write-bib.html
@ronnyhdez ronnyhdez added this to the Open repository milestone Dec 15, 2023
@ronnyhdez ronnyhdez self-assigned this Mar 18, 2024
@ronnyhdez ronnyhdez added the enhancement New feature or request label Mar 18, 2024
@ronnyhdez
Copy link
Owner Author

ronnyhdez commented Mar 18, 2024

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},
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant