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 | package name |
|---|---|
| version | If the specified version is NULL or the same as the most
recent version of the package, this function simply calls
|
| 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.