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

make_deps_file

Make a package dependencies (deps.yaml) file


Description

This function parses R code for required packages using parse_packages and then queries the R package library to determine the exact source and version of each package to install. Currently, only CRAN and GitHub packages are supported. Install packages from the 'deps.yaml' file using automagic{install_deps_file}

Usage

make_deps_file(directory = getwd())

Arguments

directory

directory containing R code to parse

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.