nathaneastwood / poorman

A poor man's dependency free grammar of data manipulation
https://nathaneastwood.github.io/poorman/
Other
338 stars 15 forks source link

`arrange()` doesn't work for descending character vectors #85

Closed nathaneastwood closed 2 years ago

nathaneastwood commented 3 years ago
df <- data.frame(x = letters, stringsAsFactors = FALSE)
arrange(df, -x)
# Error in -a : invalid argument to unary operator