You can get the relevant information for citing packages by using citation()
.
Example for the dplyr
package:
citation("dplyr")
#>
#> To cite package 'dplyr' in publications use:
#>
#> Hadley Wickham, Romain François, Lionel Henry and Kirill Müller
#> (2021). dplyr: A Grammar of Data Manipulation. R package version
#> 1.0.7. https://CRAN.R-project.org/package=dplyr
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {dplyr: A Grammar of Data Manipulation},
#> author = {Hadley Wickham and Romain François and Lionel Henry and Kirill Müller},
#> year = {2021},
#> note = {R package version 1.0.7},
#> url = {https://CRAN.R-project.org/package=dplyr},
#> }
Created on 2021-10-20 by the reprex package (v2.0.1)
Read more here: Source link