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.

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

Examples

# NOT RUN {
# From GitHub
install_dev("dplyr")

# From GitLab
install_dev("iemiscdata")

# From Bitbucket
install_dev("argparser")
# }