Closed Robinlovelace closed 3 years ago
It sounds like a great feature! I'd be happy to accept a PR as long as it has tests!
Would an addin also be relevant? You could detect the bib path from the rmd path by looking at the bib field in the header yaml.
FWIW I'd reverse the arguments (put path_rmd
first).
Looking at this now...
Fixed in #27!
Common scenario in my writing, I write a non-evaluated code chunk that I use to update citations every now and then, e.g.:
I've written this many times now but never remember, always referring back to the README (of which I wrote the relevant bit!). A function like this works and would save me, and I guess others, time:
Do you like the idea @paleolimbot ? Happy to put in a PR if so!