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

automagic

Automagically install all required R packages


Description

Searches a given directory for all R and R Markdown files, parses them for required packages and attempts to install them from CRAN. More importantly, if a 'deps.yaml' file was made using make_deps_file, automagic will use this rather than try to install based on a best guess.

Usage

automagic(directory = getwd())

Arguments

directory

folder to search for R and Rmd files

See Also


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.