This function searches for namespace calls in .R
files, i.e., code lines of
the format <package name>::<function name>
.
Usage
find_namespace_calls(path = "R", triple_colon = FALSE, as_list = FALSE)
Arguments
- path
[character(1)
]
The path name to a folder. All .R
files in this folder and sub-directories
will be searched.
- triple_colon
[logical(1)
]
Also search for :::
?
- as_list
[logical(1)
]
Simplify the output into a list
of unique function names per package?
Value
A data.frame
. If as_list = TRUE
, a list
.
See also
Other package helpers:
Dictionary
,
Storage
,
check_missing()
,
identical_structure()
,
input_check_response()
,
match_arg()
,
package_logo()
,
print_data.frame()
,
print_matrix()
,
system_information()
,
unexpected_error()
,
user_confirm()
Examples
if (FALSE) { # \dontrun{
find_namespace_calls()
find_namespace_calls(as_list = TRUE)
} # }