Skip to contents

Using utils::getParseData(), searches for function definitions by matching the FUNCTION keyword (i.e. "function") with it's associated SYMBOL (i.e the function name)

Usage

find_function_definitions(filename)

Arguments

filename

A string containing a path to an R source file

Value

A dataframe with interesting information

Examples

if (FALSE) { # \dontrun{
find_function_definitions(filename = "tests/testthat/example_scripts/example_tricky_functions.R")
} # }