Learn R Programming

pacman (version 0.5.1)

p_install_gh: Installs & Loads GitHub Packages

Description

Installs a GitHub package. A wrapper for install_github which is the same as install_github.

Usage

p_install_gh(package, dependencies = TRUE, ...)

Arguments

package

Repository address(es) in the format username/repo[/subdir][@ref|#pull]. Note that this must be a character string.

dependencies

logical. If TRUE necessary dependencies will be installed as well.

Additional parameters to pass to install_github.

See Also

install_github

Examples

Run this code
# NOT RUN {
p_install_gh("trinker/pacman")

## Package doesn't exist
p_install_gh("trinker/pacmanAwesomer")
# }

Run the code above in your browser using DataLab