install_githubV is a vectorized remotes::install_github. This will attempt to identify all dependencies of all supplied packages first, then load the packages in the correct order so that each of their dependencies are met before each is installed.

parseGitHub(pkgDT)

install_githubV(gitPkgNames, install_githubArgs = list(), dots = dots)

Arguments

pkgDT

A character string with full package names or a data.table with at least 2 columns "Package" and "packageFullName".

gitPkgNames

Character vector of package to install from GitHub

install_githubArgs

Any arguments passed to install_github

dots

A list of ..., e.g., list(...). Only for internal use.

Value

parseGitHub returns a data.table with added columns.

install_githubV returns a named character vector indicating packages successfully installed, unless the word "Failed" is returned, indicating installation failure. The names will be the full GitHub package name, as provided to gitPkgNames in the function call.

Details

parseGitHub turns the single character string representation into 3 or 4: Account, Repo, Branch, SubFolder.

Examples

if (FALSE) { install_githubV(c("PredictiveEcology/Require", "PredictiveEcology/quickPlot")) }