Closed phamdn closed 3 months ago
Unless you can suggest an existing R package that can go from a DOI to a citation, I think this is out of scope for usethis.
Until someone suggests a way to go from DOI to the citation data, this doesn't seem to be going anywhere.
Filling every field in the CITATION template is tiring. It would be great if one can insert a DOI in
use_citation()
and get a file with full metadata to use directly for R package.For example, here is the CITATION file of
lme4
: https://github.com/lme4/lme4/blob/master/inst/CITATIONIf I was the developer of this package, how could I make this file automatically in the first place with the DOI 10.18637/jss.v067.i01?
Citation management software such as Zotero can make BibTex file easily
which is similar to the output of
citation("lme4")
. My question could be translated into, how to reverse this process to get the code inside CITATION file.Thank you very much.