getPacksAndViews: Parse VIEWS file for views and packages

Description Usage Arguments Value Author(s)

View source: R/getPackNames.R

Description

Given a repository URL, download and parse the VIEWS file.

Usage

1
getPacksAndViews(reposURL, vocab, defaultView, local=FALSE)

Arguments

reposURL

character vector giving the URL of a CRAN-style repository containing a VIEWS file at the top-level.

vocab

A graph-class object representing the ontologyof views. This graph should be a directed acyclic graph (DAG).

defaultView

A string giving the term to use for packages that do not list a term of their own via the biocViews field in the ‘DESCRIPTION’ file.

local

logical indicating whether certain links should be absolute (using reposURL) or relative.

Value

A list with named elements:

views: Vector of view memberships. Names are package names.

pkgList: A list of PackageDetail-class objects.

Author(s)

Seth Falcon


biocViews documentation built on Nov. 19, 2020, 2:01 a.m.