gh_install_packages: Install Packages from GitHub

Description Usage Arguments Details Value Examples

View source: R/gh_install_packages.R

Description

Install Packages from GitHub

Usage

1
2
3
4
5
6
7
gh_install_packages(packages, ask = TRUE, ref = "master",
  build_vignettes = FALSE, dependencies = NA, verbose = TRUE,
  quiet = !verbose, lib = NULL, ...)

githubinstall(packages, ask = TRUE, ref = "master",
  build_vignettes = FALSE, dependencies = NA, verbose = TRUE,
  quiet = !verbose, lib = NULL, ...)

Arguments

packages

character vector of the names of the packages. You can specify ref argument (see below) using package_name[@ref|#pull]. If both are specified, the values in repo take precedence.

ask

logical. Indicates ask to confirm before install.

ref

character vector. Desired git reference. Could be a commit, tag, or branch name, or a call to github_pull. Defaults to "master".

build_vignettes

logical. If TRUE, will build vignettes.

dependencies

logical. Indicating to also install uninstalled packages which the packages depends on/links to/suggests. See argument dependencies of install.packages.

verbose

logical. Indicating to print details of package building and installation. Dfault is TRUE.

quiet

logical. Not verbose.

lib

character vector giving the library directories where to install the packages. Recycled as needed. Defaults to the first element of .libPaths().

...

additional arguments to control installation of package, passed to install_github.

Details

githubinstall() is an alias of gh_install_packages().

Value

TRUE if success.

Examples

1
2
3
4
5
## Not run: 
gh_install_packages("AnomalyDetection")
githubinstall("AnomalyDetection")

## End(Not run)

githubinstall documentation built on May 2, 2019, 4:20 a.m.