R/save_to_bib.R
save_to_bib.Rd
This function will generate a .bib file for an R package.
save_to_bib(package, file_name = NULL)
A character vector of the package you want to cite.
A character vector for the file name of the output. Defaults to the package name.
# Create a .bib file called "test.bib" to cite the tidyverse # save_to_bib("tidyverse", "test")