Description Usage Arguments Value Examples
Assembles a formatted function call from a function and a list of parameters
1 | assemble_call(fun_name, params, non_char = NULL)
|
fun_name |
Name of the function to be called (must be a character or coercible to a character). |
params |
Named list or vector containing the parameters for the fun call. |
non_char |
Names of the parameters whose values should not be interpreted as character values |
A character string with the formatted function call.
1 2 3 4 5 6 7 | chronicle::assemble_call(fun_name = 'base::sapply',
params = list(X = 'iris',
FUN= 'class'))
chronicle::assemble_call(fun_name = 'base::sapply',
params = list(X = 'iris',
FUN= 'class'),
non_char = c('X', 'FUN'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.