Description Usage Arguments Details Value Note Author(s)
The function compares the imports and dynamic library requirements from the package's NAMESPACE file with the directives in the DESCRIPTION file, and prints a suggestion if some requirements seem to be missing.
1 | descriptionHints(package)
|
package |
The quoted file path to the source package's directory. Files
|
The "NAMESPACE"
file is parsed and the various import and
dynamic library requirements are processed to give a list of the
apparently needed packages. This list is compared to the
"Depends"
and "Imports"
directives
in the "DESCRIPTION"
file. If some dependencies are missing, the function prints a
message with a suggested line for the "DESCRIPTION"
file.
Returns invisibly the suggested dependencies, if these were not provided.
In addition to the dependencies noted here, the current version of R
(2.14.0) requires "Depends: methods"
for the check
utility if the package uses formal methods and classes.
John M. Chambers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.