getPacksAndViews {biocViews} | R Documentation |
Given a repository URL, download and parse the VIEWS file.
getPacksAndViews(reposURL, vocab, defaultView, local=FALSE)
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. |
A list with named elements:
views
: Vector of view memberships. Names are package names.
pkgList
: A list of PackageDetail-class
objects.
Seth Falcon