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, also returns details as if
returnDetails = TRUE (for backwards compatibility).
A character vector of sorted, unique packages that are identified in all named
modules, or if modules is omitted, then all modules in modulePath.