cmd_args_named {cmdfun} | R Documentation |
Return all named arguments from parent function call
Description
Return all named arguments from parent function call
Usage
cmd_args_named(keep = NULL, drop = NULL)
Arguments
keep |
name of arguments to keep |
drop |
name of arguments to drop (NOTE: keep or drop are mutually exclusive settings) |
Value
named list of all defined function arguments from parent
Examples
theFunction <- function(arg1, ...) { cmd_args_named() }
theNamedArgs <- theFunction(arg1 = "test", example = "hello")
[Package cmdfun version 1.0.2 Index]