Parses module code, looking for the metadataItem
(default = "reqdPkgs"
)
element in the defineModule
function.
character vector of module names
path to directory containing the module(s) named in modules
character identifying the metadata field to extract
logical indicating whether to unlist
the resulting metadata look up
Numeric or logical indicating how verbose should the function
be. If -1 or -2, then as little verbosity as possible. If 0 or FALSE,
then minimal outputs; if 1
or TRUE, more outputs; 2
even more. NOTE: in
Require
function, when verbose >= 2
, the return object will have an
attribute: attr(.., "Require")
which has lots of information about the
processes of the installs.
A character vector of sorted, unique packages that are identified in all named
modules, or if modules
is omitted, then all modules in modulePath
.