View source: R/install-packages.R
download_packages | R Documentation |
Version of download.file
that verifies downloads. All
arguments are passed through to utils::download.packages
verbatim and the documentation there should be consulted for the
meaning of arguments.
download_packages(pkgs, destdir, available = NULL, repos = getOption("repos"), contriburl = contrib.url(repos, type), method, type = getOption("pkgType"), ..., pubkey = NULL)
pkgs |
Character vector of packages to download |
destdir |
Destination directory |
available |
Set of available packages, as created by
|
repos |
Character vector of base URL(s) of repositories
(passed through to |
contriburl |
URL(s) of the contrib sections of the repositories |
method |
Download method |
type |
character string, indicating which type of packages to install. |
... |
Additional arguments passed through to
|
pubkey |
Public key used to verify the package index |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.