getPacksAndViews: Parse VIEWS file for views and packages

View source: R/getPackNames.R

getPacksAndViewsR Documentation

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.

Author(s)

Seth Falcon


Bioconductor/biocViews documentation built on Nov. 2, 2024, 7:23 a.m.