I'd like to be able to create a character vector based on the names supplied to the ...
part of a function.
For instance, if I have the function foo(...)
and I type foo(x, y)
, how do I create a character vector that looks like c("x", "y")
?
I'm most interested in figuring out how to use rlang
for this, but base
solutions would be great as well.