GetPkgMeta: Get a package's metadata fields and associated entries.

Description Usage Arguments Value Examples

Description

GetPkgMeta Get metadata fields and associated entries from a package's documentation (e.g. "keyword" or "concepts".)

Usage

1
2
3
GetPkgMeta(meta = c("concept", "keyword"), package = "rwrfhydro",
  keyword = NULL, concept = NULL, quiet = FALSE,
  listMetaOnly = FALSE, byFunction = "")

Arguments

meta

Character the metadata field.

package

Character The package to query for metadata.

keyword

Character A specific keyword to look for.

concept

Character A specific concept to look for.

quiet

Logical Do not print summary to screen.

listMetaOnly

Logical Just return the meta categories (without functons)?

byFunction

Character Vector of functions for which concepts and keywords are desired.

Value

List of metadata fields in alphabetical order with corresponding entries.

Examples

1
2
3
4
5
6
7
GetPkgMeta()
GetPkgMeta('keyword', package='ggplot2')
GetPkgMeta(concept = 'foo', key='hplot' )
print( GetPkgMeta(concept = c('dataMgmt','foo'), key=c('foo','hplot') , quiet=TRUE))
str( GetPkgMeta(concept = c('dataMgmt','foo'), key=c('foo','hplot') , quiet=TRUE))
str( GetPkgMeta(concept = c('dataMgmt','DART'), key=c('internal','hplot') , quiet=TRUE))
GetPkgMeta(byFunction=c('MkDischargeVariance','SaveHucData'))

NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.