function_arguments {oeli} | R Documentation |
This function returns the names of function arguments.
function_arguments(f, with_default = TRUE, with_ellipsis = TRUE)
f |
A |
with_default |
Either |
with_ellipsis |
Either |
A character
vector.
f <- function(a, b = 1, c = "", ...) { }
function_arguments(f)
function_arguments(f, with_default = FALSE)
function_arguments(f, with_ellipsis = FALSE)