View source: R/install-version.R
download_version | R Documentation |
It downloads the package to a temporary file, and returns the name of the file.
download_version(
package,
version = NULL,
repos = getOption("repos"),
type = getOption("pkgType"),
...
)
package |
Name of the package to install. |
version |
Version of the package to install. Can either be a string giving the exact version required, or a specification in the same format as the parenthesized expressions used in package dependencies. One of the following formats:
|
repos |
character vector, the base URL(s) of the repositories
to use, e.g., the URL of a CRAN mirror such as
Can be |
type |
character, indicating the type of package to download and
install. Will be |
... |
Other arguments passed on to |
Name of the downloaded file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.