Skip to contents

Extract the function assignments from an R script

Usage

get_function_assignments(file, ...)

Arguments

file

path to R script from which function definitions are to be extracted

...

further arguments passed to parse

Value

named list of expressions. The names of the list elements represent the names of the functions that are defined by the expressions in the list.