available_packages: Simpler available.packages

Description Usage Arguments See Also

View source: R/cran.R

Description

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().

Usage

1
2
3
4
5

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.


remotes documentation built on Dec. 11, 2021, 9:39 a.m.