install_git {devtools} | R Documentation |
It is vectorised so you can install multiple packages with a single command. You do not need to have git installed.
install_git(url, subdir = NULL, branch = NULL, credentials = NULL, args = character(0), force = FALSE, quiet = FALSE, ...)
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 |
args |
DEPRECATED. A character vector providing extra arguments to pass on to git. |
force |
Force installation even if the git SHA1 has not changed since the previous install. |
quiet |
if |
... |
passed on to |
Other package installation: install_bitbucket
,
install_github
, install_svn
,
install_url
, install_version
,
install
, uninstall
## Not run: install_git("git://github.com/hadley/stringr.git") install_git("git://github.com/hadley/stringr.git", branch = "stringr-0.2") ## End(Not run)