What is wrong with this tidy eval function?

Can you please turn this into a reprex (short for minimal reproducible example)? It's much easier to discuss code with code, and the same contents, etc.

(Essentially, it's impossible for me to say without knowing what your data data look like.)

Right now the best way to install reprex is:

# install.packages("devtools")

If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page.

For pointers specific to the community site, check out the reprex FAQ, linked to below.

1 Like