View source: R/check_namespace.R
check_namespace | R Documentation |
Importing too many packages can cause bugs due to namespace clashes. This check
enforces a set number of imports. As a rule of thumb, if you only use a few functions from
a package, use importFrom
instead of import
in your NAMESPACE file.
check_namespace(no_imports = NULL, path = ".")
no_imports |
Default NULL. Number of package imports via |
path |
Location of the package |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.