install_git

0th

Percentile

Install a package from a git repository

It is vectorised so you can install multiple packages with a single command. You do not need to have git installed.

Usage
install_git(url, subdir = NULL, branch = NULL, credentials = NULL,
  quiet = FALSE, ...)
Arguments
url

Location of package. The url should point to a public or private repository.

subdir

A sub-directory within a git repository that may contain the package we are interested in installing.

branch

Name of branch or tag to use, if not master.

credentials

A git2r credentials object passed through to clone.

quiet

if TRUE suppresses output from this function.

...

passed on to install

See Also

Other package installation: install_bioc, install_bitbucket, install_cran, install_github, install_svn, install_url, install_version, install, uninstall

Aliases
  • install_git
Examples
# NOT RUN {
install_git("git://github.com/hadley/stringr.git")
install_git("git://github.com/hadley/stringr.git", branch = "stringr-0.2")
# }
Documentation reproduced from package devtools, version 1.13.3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.