View source: R/get_all_created_funs.R
get_all_created_funs | R Documentation |
Get all functions created in a R file
get_all_created_funs(file)
file |
A R file |
A character vector of function names
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.