I have a simple function in R with ... using tidyeval. Is is possible to change these into a string?
simple_paste <- function(...){
my_vars <- enquos(...)
paste(..., sep = "_x_")
}
simple_paste(hello, world)
As an output, I would like to get "hello_x_world". I could also consider using the glue function or str_c instead of paste, although I'm not sure that would be better.