Print bibliography of all identified packages, or output a list for subsequent use.

lib_print(libs, textformat = TRUE, silent = FALSE)

Arguments

libs

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

textformat

Logical. Print as text version or as BibTeX.

silent

Logical. If TRUE, will output a list for subsequent use. If FALSE, prints bibliography (ready for e.g. copy-paste or capture).

Value

Returns a list of citations, either in text or BibTeX format.

Examples

lib_print("base")
#> R Core Team (2017). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.