I have this:
cond <- "cyl == 4"
mtcars %>% filter_(cond)
which throws warning messege:
filter_() is deprecated. Please use filter() instead
The problem is that I have no idea how to do the same thing with filter() function.
I'm using quoting and unquoting functions with select/mutate, but it seems they only work on columns. How to quote the logical condition?