get_function_body | R Documentation |
body
reformats the code (see Examples and
Details).
get_function_body(object)
object |
The function from which to extract the body. |
If we want to check a function as it is coded in a file, we need to get the
original thing as coded in the file, no optimized version.
In sys.source
and source
, keep.source = FALSE
seems to use body
.
So we have to do it all over after sourcing with keep.source = TRUE (in
check_functions_in_file
).
character(n)
the function body's lines.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.