Learn R Programming

grateful (version 0.0.3)

scan_packages: Scan a project or folder for packages used

Description

Scan a project or folder for packages used

Usage

scan_packages(all.pkgs = TRUE, ...)

Arguments

all.pkgs

Logical. Include all packages used in scripts within the project/folder (the default), or only packages used in the current session? If TRUE, uses dependencies, otherwise uses sessionInfo.

...

Other parameters passed to dependencies.

Value

a character vector of package names

Examples

Run this code
# NOT RUN {
library(grateful)
scan_packages()
# }

Run the code above in your browser using DataLab