function_body {oeli} | R Documentation |
This function extracts the body of a function as a single character
.
function_body(fun, braces = FALSE, nchar = getOption("width") - 4)
fun |
A |
braces |
Either |
nchar |
An |
A character
, the body of f
.
fun <- mean.default
function_body(fun)
function_body(fun, braces = TRUE)
function_body(fun, nchar = 30)