devtools (version 1.12.0)

install_url: Install a package from a url

Description

This function is vectorised so you can install multiple packages in a single command.

Usage

install_url(url, subdir = NULL, config = list(), ...)

Arguments

url
location of package on internet. The url should point to a zip file, a tar file or a bzipped/gzipped tar file.
subdir
subdirectory within url bundle that contains the R package.
config
additional configuration argument (e.g. proxy, authentication) passed on to GET.
...
Other arguments passed on to install.

See Also

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

Examples

Run this code
## Not run: 
# install_url("https://github.com/hadley/stringr/archive/master.zip")
# ## End(Not run)

Run the code above in your browser using DataCamp Workspace