| cff_extract_to_bibtex {cffr} | R Documentation |
Extract the information of a package to BibTeX. This is done by creating a
cff object with cff_create() and extracting the corresponding entries
with cff_to_bibtex().
cff_extract_to_bibtex(x, what = "preferred")
x |
The source that would be used for generating
the
|
what |
Fields to extract. The value could be:
|
A bibentry object or a list of bibentry objects. This could
be parsed to BibTeX using toBibtex()
Other bibtex:
cff_to_bibtex(),
encoded_utf_to_latex(),
write_bib()
jsonvalidate <- cff_extract_to_bibtex("jsonvalidate")
jsonvalidate
toBibtex(jsonvalidate)
lite <- cff_extract_to_bibtex("jsonlite", "references")
lite
toBibtex(lite)