biocViews (version 1.36.2)

getPacksAndViews: Parse VIEWS file for views and packages

Description

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

Usage

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.