install_dev: Install the development version of a package

Description Usage Arguments See Also Examples

View source: R/install-dev.R

Description

install_dev() retrieves the package DESCRIPTION from the CRAN mirror and looks in the 'URL' and 'BugReports' fields for GitHub, GitLab or Bitbucket URLs. It then calls the appropriate install_() function to install the development package.

Usage

1
install_dev(package, cran_url = getOption("repos")[["CRAN"]], ...)

Arguments

package

The package name to install.

cran_url

The URL of the CRAN mirror to use, by default based on the 'repos' option. If unset uses 'https://cloud.r-project.org'.

...

Additional arguments passed to install_github(), install_gitlab(), or install_bitbucket() functions.

See Also

Other package installation: install_bioc, install_bitbucket, install_cran, install_github, install_gitlab, install_git, install_local, install_svn, install_url, install_version

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# From GitHub
install_dev("dplyr")

# From GitLab
install_dev("iemiscdata")

# From Bitbucket
install_dev("argparser")

## End(Not run)

metrumresearchgroup/rmotes documentation built on May 18, 2019, 2:35 a.m.