devtools (version 0.7.1)

install_github: Attempts to install a package directly from github.

Description

This function is vectorised so you can install multiple packages in a single command.

Usage

install_github(repo, username = getOption("github.user"),
    branch = "master", subdir = NULL, ...)

Arguments

username
Github username
repo
Repo name
branch
Desired branch - defaults to "master"
subdir
subdirectory within repo that contains the R package.
...
Other arguments passed on to install.

See Also

Other package installation: install, install_bitbucket, install_gitorious, install_url, install_version

Examples

Run this code
install_github("roxygen")

Run the code above in your browser using DataCamp Workspace