get_dependent_packages {automagic} | R Documentation |
get packages required to run R code
Description
get packages required to run R code
Usage
get_dependent_packages(directory = getwd())
Arguments
directory |
folder to search for R and Rmd files |
Details
parses all R and Rmd files in a directory and uses parse_packages
to find all R packages required for the code to run
Value
a vector of package names
[Package automagic version 0.5.1 Index]