githubinstall (version 0.2.2)

gh_install_packages: Install Packages from GitHub

Description

Install Packages from GitHub

Usage

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.

Value

TRUE if success.

Details

githubinstall() is an alias of gh_install_packages().

Examples

Run this code
# NOT RUN {
gh_install_packages("AnomalyDetection")
githubinstall("AnomalyDetection")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab