Description Usage Arguments Value
View source: R/check_package_use.R
This will check what functions contained within a specified package are used in code.
1 2 3 | checkPackagesUsage(package_names, code, verbose = TRUE)
checkPackageUsage(package_name, code)
|
package_names, package_name |
Name(s) of the package to check against |
code |
A character vector of code chunks to check for package use |
verbose |
Logical, should informative messages be printed during the dependency evaluation? |
checkPackageUsage
will return a data.frame of class package_usage
. When printed it will show
a summary of the package usage.
checkPackagesUsage
will return a list of class multi_package_usage
. When printed it will show
a summary of all packages mentioned, and flag any rarely used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.