View source: R/check_namespace.R
check_namespace | R Documentation |
Given a path to a package source tree, return a data.frame of Imports (both whole packages and fully qualified references).
check_namespace(pkg_path, imports_to_flag = dangerous_imports())
pkg_path |
path to package source tree |
imports_to_flag |
character vector of dangerous items to find |
## Not run: check_namespace("../testevil") check_namespace( "../testevil", dangerous_imports(additional_dangerous_imports = "sys::exec_background") ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.