availpkgs: available.packages A generic for available.packages and a...

Description Usage Arguments Examples

Description

available.packages A generic for available.packages and a method for GRANRepository objects

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
available.packages(contriburl, method, fields = NULL,
  type = getOption("pkgType"), filters = NULL, repos = NULL)

## S4 method for signature 'ANY'
available.packages(contriburl, method, fields = NULL,
  type = getOption("pkgType"), filters = NULL, repos = NULL)

## S4 method for signature 'GRANRepository'
available.packages(contriburl, method,
  fields = NULL, type = getOption("pkgType"), filters = NULL,
  repos = NULL)

Arguments

contriburl

The repository or contrib url

method

See base documentation

fields

See base documentation

type

The type of packages to query

filters

See base documetnation

repos

Character string for the repository to query. GRANRepository objects should be passed to the contriburl argument.

Examples

1
2
3
repo = GRANRepository(GithubManifest("gmbecker/fastdigest"), basedir = tempdir())
## none because the repository hasn't been built...
available.packages(repo)

GRANCore documentation built on Feb. 4, 2020, 5:06 p.m.

Related to availpkgs in GRANCore...