Description Usage Arguments Author(s) Examples
Extract Argument Name from an Expression
| 1 | arg_name(expr)
 | 
| expr | An expression created inside a function using  | 
Thomas Neitmann, Ondrej Slama
| 1 2 3 4 5 6 7 8 | test_fun <- function(something) {
  admiral:::arg_name(substitute(something))
}
inner_function <- function(x) x
test_fun2 <- function(something) {
  admiral:::arg_name(substitute(inner_function(something)))
}
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.