Description Usage Arguments Value Examples
Count calls in a script or a directory
1 | count_calls(path, ignore_base = TRUE, find_pkgs = TRUE)
|
path |
Path to an R script or a directory, in that case all R scripts will be scanned. |
ignore_base |
Ignore calls from base package. |
find_pkgs |
Try to find from which package calls are from, need to scan for dependencies with |
a data.frame
with 2 columns: call
and n
1 2 3 4 5 6 | ## Not run:
count_calls("PATH/TO/SCRIPTS")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.