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
library(dplyr, warn.conflicts=FALSE)
df<-data.frame(x=1:10, g= rep(1:2, each=5)) %>% group_by(g)
filter(df, "a")
#> Error: Problem with `filter()` input `..1`.#> ℹ Input `..1` is `"a"`.#> x Input `..1` must be a logical vector, not a character.#> ℹ The error occurred in group 1: g = 1.
slice(df, "a")
#> Error: `slice()` expressions should return indices (positive or negative integers).
... the same way
filter()
etc ... give:Created on 2021-06-28 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: