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).
lib_find(path = ".", verbose = FALSE)
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 |
Returns a list containing all packages used in file(s) supplied by path
# NOT RUN { lib_find() # }