Learn R Programming

pacman (version 0.5.1)

p_install_version_gh: Install Minimal GitHub Package Version

Description

Install minimal GitHub package version(s).

Usage

p_install_version_gh(package, version, dependencies = TRUE)

Arguments

package

character vector of the repository address(es) of the package(s) you want to install a particular minimal version of. Repository address(es) in the format username/repo[/subdir][@ref|#pull].

version

Corresponding character vector of the minimal package version(s).

dependencies

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

Examples

Run this code
# NOT RUN {
p_install_version_gh(
    c("trinker/pacman", "hadley/testthat"), 
    c("0.2.0", "0.9.1")
)
# }

Run the code above in your browser using DataLab