install_github {packrat}R Documentation

Install a package from GitHub

Description

Use the devtools::install_github function to install packages into a project private library. Using this function rather than calling devtools directly enables you to install GitHub packages without adding devtools and it's dependencies to your project private library.

Usage

install_github(repo, ..., build_vignettes = FALSE, dependencies = NA)

Arguments

repo

Repository address in the format [username/]repo[/subdir][@ref|#pull]. Alternatively, you can specify username, subdir, ref or pull using the respective parameters.

...

Other arguments passed on to devtools::install_github.

build_vignettes

If TRUE, will build the package's vignettes (default to FALSE for faster in)

dependencies

NA (the default) has the same behavior as install.packages (installs "Depends", "Imports", and "LinkingTo"). See the documentation for install.packages for details on other valid arguments.

Note

This function requires the devtools package and will prompt to to install it if it's not already available in the standard library paths. In this case, devtools will be installed into the standard user package library rather than the project private library.


[Package packrat version 0.3.0.101 Index]