install_dev: Install the development version of a package

View source: R/install-dev.R

install_devR Documentation

Install the development version of a package

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

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

## Not run: 
# From GitHub
install_dev("dplyr")

# From GitLab
install_dev("iemiscdata")

# From Bitbucket
install_dev("argparser")

## End(Not run)

remotes documentation built on May 29, 2024, 7:51 a.m.