Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_dependent_packages

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


automagic

Automagically Document and Install Packages Necessary to Run R Code

v0.5.1
GPL
Authors
Cole Brokamp [aut, cre], Steph Locke [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.