Learn R Programming

devtools (version 1.13.6)

install_svn: Install a package from a SVN repository

Description

This function requires svn to be installed on your system in order to be used.

Usage

install_svn(url, subdir = NULL, branch = NULL, args = character(0), ...,
  revision = NULL, quiet = FALSE)

Arguments

url

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

subdir

A sub-directory withing a svn repository that may contain the package we are interested in installing. By default, this points to the 'trunk' directory.

branch

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

args

A character vector providing extra arguments to pass on to

...

Other arguments passed on to install

revision

svn revision, if omitted updates to latest

quiet

if TRUE suppresses output from this function.

Details

It is vectorised so you can install multiple packages with a single command.

See Also

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

Examples

Run this code
# NOT RUN {
install_svn("https://github.com/hadley/stringr")
install_svn("https://github.com/hadley/httr", branch = "oauth")
# }

Run the code above in your browser using DataLab