function_arguments {oeli} | R Documentation |
Get function arguments
Description
This function returns the names of function arguments.
Usage
function_arguments(f, with_default = TRUE, with_ellipsis = TRUE)
Arguments
f |
A |
with_default |
Either |
with_ellipsis |
Either |
Value
A character
vector.
Examples
f <- function(a, b = 1, c = "", ...) { }
function_arguments(f)
function_arguments(f, with_default = FALSE)
function_arguments(f, with_ellipsis = FALSE)
[Package oeli version 0.5.2 Index]