bibtex {pkgmaker} | R Documentation |
Bibtex Utilities
Description
Utility functions to work with BiBTeX files.
Usage
packageReferenceFile(PACKAGE = NULL, check = FALSE)
package_bibliography(PACKAGE = NULL, action = c("path", "copy", "load"))
Arguments
PACKAGE |
package name. If |
check |
logical that indicates if the result should be an empty string if the bibliography file (or package) does not exist. |
action |
single character string that specifies the action to be performed:
|
Value
-
packageReferenceFile
: returns the path to the REFERENCES file as a character string.
-
package_bibliography
: returns the bibiliography as a bibtex list object, as returned by rbibutils::readBib.
Functions
-
packageReferenceFile()
: returns the path to a package REFERENCES.bib file. -
package_bibliography()
: returns the bibliography associated with a package. This can
Examples
packageReferenceFile('pkgmaker')
packageReferenceFile('pkgmaker', check = TRUE)