Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation examples no longer work #16

Open
friendly opened this issue May 7, 2023 · 0 comments
Open

documentation examples no longer work #16

friendly opened this issue May 7, 2023 · 0 comments

Comments

@friendly
Copy link

friendly commented May 7, 2023

With ggpcp 0.2.0, many examples in the README no longer work:
What has happened?

data(flea, package = "GGally")
flea %>%
  ggplot(aes(colour = species)) + 
  geom_pcp(aes(vars=vars(species, 2:7, species)))

Gives:

Error in `geom_pcp()`:
! Problem while computing aesthetics.
i Error occurred in the 1st layer.
Caused by error in `check_aesthetics()`:
! Aesthetics must be either length 1 or the same as the data (74)
x Fix the following mappings: `vars`
Run `rlang::last_trace()` to see where the error occurred.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant