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()
.
Arguments
- repos
character vector, the base URL(s) of the repositories to use.
- type
character string, indicate which type of packages: see
install.packages
.If
type = "both"
this will use the source repository.
See also
utils::available.packages()
for full documentation on the output format.