lib_find: Find all packages used in scripts

Description Usage Arguments Value Examples

Description

Find all packages used via library(), require() or with package::function() in your project, a folder, or in a file (.R, .Rmd, .Rmarkdown; not case sensitive).

Usage

1
lib_find(path = ".", verbose = FALSE)

Arguments

path

Charater. Defines path to project file, a folder or an individual rmarkdown or script file. Defaults to current working directory

verbose

Logical. Set as TRUE if results from all files are to be reported

Value

Returns a list containing all packages used in file(s) supplied by path

Examples

1
## Not run: lib_find()

the-Hull/lib2bib documentation built on May 21, 2019, 12:35 a.m.