When using citation("package") the bibtext format is not complete in the sense that is not posible to insert in a quarto document
citation("dplyr")
To cite package ‘dplyr’ in publications use:
Wickham H, François R, Henry L, Müller K, Vaughan D (2023). dplyr: A Grammar of Data Manipulation. R package version
1.1.4, 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 and Davis Vaughan},
year = {2023},
note = {R package version 1.1.4},
url = {CRAN: Package dplyr},
}
I was expecting:
@Manual{Wickham2023,
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.4},
url = {CRAN: Package dplyr},
}
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.4},
#> url = {https://CRAN.R-project.org/package=dplyr},
#> }
Quarto uses the standard Pandoc markdown representation for citations (e.g. [@citation]) — citations go inside square brackets and are separated by semicolons. Each citation must have a key, composed of ‘@’ + the citation identifier from the database.
Now, what is the identifier in the bibtex style citation generated by citation("dplyr")?