Learn R Programming

githubinstall (version 0.0.1)

gh_install_packages: Install Packages from GitHub

Description

Install Packages from GitHub

Usage

gh_install_packages(packages, ask = TRUE, build_args = NULL, build_vignettes = FALSE, verbose = TRUE, dependencies = c("Depends", "Imports", "LinkingTo"), ...)
githubinstall(packages, ask = TRUE, build_args = NULL, build_vignettes = FALSE, verbose = TRUE, dependencies = c("Depends", "Imports", "LinkingTo"), ...)

Arguments

packages
character vector of the names of packages.
ask
logical. Indicates ask to confirm before install.
build_args
character string used to control the package build, passed to R CMD build.
build_vignettes
logical specifying whether to build package vignettes, passed to R CMD build. Can be slow. Default is FALSE.
verbose
logical specifying whether to print details of package building and installation.
dependencies
character vector specifying which dependencies to install (of "Depends", "Imports", "Suggests", etc.).
...
additional arguments to control installation of package, passed to install.packages.

Value

A named character vector of versions of R packages installed.

Details

githubinstall() is an alias of gh_install_packages().

Examples

Run this code
## Not run: 
# githubinstall("AnomalyDetection")
# gh_install_packages("AnomalyDetection")
# ## End(Not run)

Run the code above in your browser using DataLab