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

Violin plot support #63

Merged
merged 4 commits into from
Oct 8, 2017
Merged

Violin plot support #63

merged 4 commits into from
Oct 8, 2017

Conversation

alanocallaghan
Copy link
Contributor

@alanocallaghan alanocallaghan commented Sep 12, 2017

Close #62

@daattali
Copy link
Owner

Thank you, I'll take a look and merge on the weekend. If you'd like, you can also add violin to the function documentation, examples, and a unit test

@alanocallaghan
Copy link
Contributor Author

I'll do the above today. Cheers

@alanocallaghan
Copy link
Contributor Author

Done, I also re-ran devtools::document(). I get one failing test and one warning seemingly due to a missing file

@daattali
Copy link
Owner

daattali commented Oct 8, 2017

Hey, sorry for taking so long, I finally took a look. Thanks for adding the documentation!

One last thing is that the tests need to pass. I see you added a test for violin plot, but I don't see the associated expected image. For any visual test there's an expected image (see https://github.com/daattali/ggExtra/tree/master/tests/figs/ggMarginal) so that the test will be able to compare. Could you add the expected images for this? @crew102 can weigh in on how to generate them if you don't know

@alanocallaghan
Copy link
Contributor Author

Thanks Dean.

I wasn't quite sure how the comparison of images worked (never seen tests laid out like this before) & thought maybe the tests would just pass on your machine. I've rendered them it out, but as noted in the commit message it also updated an unrelated file in the ggplot2-latest folder

By the way, why is the environment variable named RunGgplot2Tests=yes with a value of "yes", rather than RunGgplot2Tests? I don't think I can create a variable of that name on my Linux box

@daattali
Copy link
Owner

daattali commented Oct 8, 2017

@alanocallaghan thanks for the quick job! As for the env variable, that's a good question, and you're right I think it was an error.

@daattali daattali merged commit 89c0737 into daattali:master Oct 8, 2017
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

Successfully merging this pull request may close these issues.

2 participants