| spec | R Documentation |
useParse a mod or pkg spec expression passed to use
parse_spec(expr, alias)
mod_spec(spec, ...)
pkg_spec(spec, ...)
spec_name(spec)
expr |
the mod or pkg spec expression to parse |
alias |
the mod or pkg spec alias as a character, or |
spec |
named list of information the parser constructed from a given spec expression |
... |
further information about a spec, not represented by the spec expression parse tree |
parse_spec returns a named list that contains information
about the parsed mod specification. Currently it contains:
namethe module or package name
prefixthe prefix, if the spec is a module
attacha named vector of symbols to attach, or
TRUE to attach all symbols, or NULL to attach nothing
aliasthe module or package alias
explicita logical value indicating whether the caller provided an explicit alias
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.