Learn R Programming

reproducible (version 1.1.1)

available.packagesMem: Memoised version of available.packages

Description

This has a 6 minute memory time window. This will be replaced upon first calls to.

Usage

available.packagesMem(contriburl, method, fields, type, filters, repos)

Arguments

contriburl

URL(s) of the contrib sections of the repositories. Specify this argument only if your repository mirror is incomplete, e.g., because you burned only the contrib section on a CD.

method

download method, see download.file.

fields

a character vector giving the fields to extract from the PACKAGES file(s) in addition to the default ones, or NULL (default). Unavailable fields result in NA values.

type

character string, indicate which type of packages: see install.packages.

If type = "both" this will use the source repository.

filters

a character vector or list or NULL (default). See ‘Details’.

repos

character vector, the base URL(s) of the repositories to use.