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

Error using e_flip_coords with e_boxplot #336

Closed
vituri opened this issue Jun 29, 2021 · 1 comment
Closed

Error using e_flip_coords with e_boxplot #336

vituri opened this issue Jun 29, 2021 · 1 comment

Comments

@vituri
Copy link

vituri commented Jun 29, 2021

Here is a repex:

iris %>% 
  e_charts() %>% 
  e_boxplot(Petal.Length) %>% 
  e_flip_coords()

which gives the error Erro: $ operator is invalid for atomic vectors. Browsing a little the e_flip_coords function it seems that the issue is cause in a loop, where e$x$opts$series[[i]]$data[[j]]$value appears. More precisely,

> e$x$opts$series[[i]]$data[[j]]
[1] 1.00 1.60 4.35 5.10 6.90
@JohnCoene
Copy link
Owner

Thanks for reporting this. I just pushed a fix to Github, please install the dev version and try again.

remotes::install_github("JohnCoene/echarts4r")

Feel free to reopen if it does not work.

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

2 participants