get_all_created_funs {fusen} | R Documentation |
Get all functions created in a R file
Description
Get all functions created in a R file
Usage
get_all_created_funs(file)
Arguments
file |
A R file |
Value
A character vector of function names
Examples
file_path <- tempfile(fileext = ".R")
cat(
"my_fun <- function() {1}",
"my_fun2 <- function() {2}",
sep = "\n",
file = file_path
)
get_all_created_funs(file_path)
[Package fusen version 0.6.0 Index]