available_packages_set {remotes} | R Documentation |
This is mostly equivalent to utils::available.packages()
however it also
caches the full result. Additionally the cache can be assigned explicitly with
available_packages_set()
and reset (cleared) with available_packages_reset()
.
available_packages_set(repos, type, db)
available_packages_reset()
available_packages(repos = getOption("repos"), type = getOption("pkgType"))
repos |
character vector, the base URL(s) of the repositories to use. |
type |
character string, indicate which type of packages: see
If |
utils::available.packages()
for full documentation on the output format.