function_body {oeli} | R Documentation |
Extract function body
Description
This function extracts the body of a function as a single character
.
Usage
function_body(fun, braces = FALSE, nchar = getOption("width") - 4)
Arguments
fun |
[ |
braces |
[ |
nchar |
[ |
Value
A character
, the body of f
.
See Also
Other function helpers:
do.call_timed()
,
function_arguments()
,
function_defaults()
,
quiet()
,
timed()
,
try_silent()
,
variable_name()
Examples
fun <- mean.default
function_body(fun)
function_body(fun, braces = TRUE)
function_body(fun, nchar = 30)
[Package oeli version 0.7.0 Index]