You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f<-function(df, var) filter(df, {{ var }})
f(mtcars, am)
# Error in `filter()`:# ℹ In argument: `vs`.# Caused by error:# ! `..1` must be a logical vector, not a double vector.
This code works:
f<-function(df, var) filter(df, {{ var }} ==0)
f(mtcars, vs)
The text was updated successfully, but these errors were encountered:
This code does not work:
This code works:
The text was updated successfully, but these errors were encountered: