The bibliography of identified packages can be saved in two formats (plain-text or bibtex). Currently, the function does not recognize the text format from the file ending, so ensure to set the argument appropriately.

lib_write(libs, path_out, append, textformat = TRUE)

Arguments

libs

Character (string) of package name(s) or Dataframe with a column "Package".

path_out

Character. Path to new or existing bibliography file

append

Logical. Determines if package bibliography should be appended or not

textformat

Logical. Determines if plain-text or bibtex format should be used

Examples

# NOT RUN {
lib_write(libs, ".", append = FALSE)
# }