This function takes a path to a directory and parses the code from all
.R
and .Rmd
files, retrieving any detected package dependencies, and
optionally outputs a deps.yaml
and deps.R
file.
Usage
get_package_deps(
path = getwd(),
write_yaml = TRUE,
write_r = TRUE,
include_versions = TRUE
)