Learn R Programming

automagic (version 0.5.1)

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

install_package_guess, parse_packages