Learn R Programming

oeli (version 0.7.4)

find_namespace_calls: Namespace calls

Description

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)

Value

A data.frame. If as_list = TRUE, a list.

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?

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

Run this code
if (FALSE) {
find_namespace_calls()
find_namespace_calls(as_list = TRUE)
}

Run the code above in your browser using DataLab