benmarwick / rrtools

rrtools: Tools for Writing Reproducible Research in R
Other
670 stars 85 forks source link

Discussion: Use YAML `bibliography: [references.bib, ../../references.bib]` #103

Closed ntrlshrp closed 4 years ago

ntrlshrp commented 4 years ago

This is rather minor, but I'm curious what better heads think.

Is your feature request related to a problem? Please describe. I use the R package, citr, to do my citations--in part, because it nicely collects them from Zotero for me to choose from when adding to paper.Rmd. When I add a citation to paper.Rmd, citr adds the citation to ProjectPath/references.bib when it sees bibliography: references.bib in the YAML.

Of course, paper.Rmd knits with another path, ProjectPath/analysis/paper/references.bib, which has not received biblographic references from citr. I can't figure out how to make citr and rrtools work together without bibliography: [references.bib, ../../references.bib] in the YAML.

Describe the solution you'd like I want to easily use citr with my rrtools papers. This of course may place me among a very small minority of users.

Describe alternatives you've considered

Additional context

ntrlshrp commented 4 years ago

After noting this "problem" on multiple packages, I currently can't reliably reproduce the "problem". I'll close until I can do so.