yaweige / ggpcp

Webpage for ggpcp: https://yaweige.github.io/ggpcp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Must subset elements with a valid subscript vector

aloy opened this issue · comments

I get an error when I try to run your example:

library(ggplot2)
library(dplyr)
data(mtcars)
mtcars %>%
mutate(cyl = factor(cyl),
      vs = factor(vs),
      am = factor(am),
      gear = factor(gear)) %>%
 ggplot(aes(vars = vars(cyl, vs:gear))) +
 geom_pcp(aes(color = vs))
Error: Must subset elements with a valid subscript vector.
x The subscript has the wrong type `quosures`.
ℹ It must be numeric or character.
Run `rlang::last_error()` to see where the error occurred.

This should be resolved back to Feb after reacting to the tidyselect update? This works well for me now