View source: R/update-packages.R
update_packages | R Documentation |
Update Outdated Packages, with Caching
update_packages(lib.loc = NULL, repos = getOption("repos"),
contriburl = contrib.url(repos, type), method, instlib = NULL,
ask = TRUE, available = NULL, oldPkgs = NULL, ...,
checkBuilt = FALSE, type = getOption("pkgType"))
lib.loc |
character vector describing the location of R
library trees to search through (and update packages therein), or
|
repos |
character vector, the base URL(s) of the repositories
to use, e.g., the URL of a CRAN mirror such as
|
contriburl |
URL(s) of the contrib sections of the
repositories. Use this argument if your repository is
incomplete. Overrides argument |
method |
Download method, see |
instlib |
character string giving the library directory where to install the packages. |
ask |
logical indicating whether to ask the user to select
packages before they are downloaded and installed, or the character
string |
available |
an object as returned by |
oldPkgs |
if specified as non-NULL, |
... |
additional arguments are passed to
|
checkBuilt |
If |
type |
character, indicating the type of package to download and
install. See |
Other caching package management functions: available_packages
,
download_packages
,
install_packages
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.