paleolimbot / rbbt

R Interface to the Better BiBTex Zotero Connector
142 stars 25 forks source link

[enhancement] Including r-references.bib #19

Closed utkuturk closed 3 years ago

utkuturk commented 3 years ago

Hi, great work! I use papaja package most of the time and I automate my citations for R packages, which does not live in my Zotero. I use the following code to create them:

r_refs(file = "r-references.bib")
my_citations <- cite_r(file = "r-references.bib")

I am not sure if there is an already easy way to integrate those in the bibliography part, but here's what I do. Maybe you can find a more elegant way to solve it.

bibliography      : ["`r rbbt::bbt_write_bib('biblio.json', overwrite = TRUE)`", "r-references.bib"]
paleolimbot commented 3 years ago

That's the best solution I can think of!