Just a very minor proposal to add to the error message at https://github.com/r-lib/rlang/blob/1a53bd085c8e0ed41dcc56cce334dde926da7067/R/dots-ellipsis.R#L169
"These dots only exist to allow future extensions and should be empty."
"Did you misspecify an argument?"
It seems a common way to reach this error is forgetting to use c() e.g. I was using any_of("a","b","c") when it should have been any_of(c("a","b","c"))
Would it be acceptable to add "Did you misspecify an argument? e.g. forget to use c()"?" to this error message? I think it could be helpful for beginners.
Just a very minor proposal to add to the error message at https://github.com/r-lib/rlang/blob/1a53bd085c8e0ed41dcc56cce334dde926da7067/R/dots-ellipsis.R#L169
"These dots only exist to allow future extensions and should be empty."
"Did you misspecify an argument?"
It seems a common way to reach this error is forgetting to use c() e.g. I was using any_of("a","b","c") when it should have been any_of(c("a","b","c"))
Would it be acceptable to add "Did you misspecify an argument? e.g. forget to use c()"?" to this error message? I think it could be helpful for beginners.