IALSA / IALSA-2015-Portland

Hub to accompany IALSA 2015 workshop at Portland, OR, Feb 22-25, 2015
GNU General Public License v2.0
2 stars 0 forks source link

Adapting for ggplot2 2.0 #113

Open wibeasley opened 8 years ago

wibeasley commented 8 years ago

@andkov , 2.0 of ggplot2 was just released. There's a lot of new features & functions; much more than I anticipated. I've been through the list once and I don't recognize anything that will break our graphs, but be aware. If something weird happens with the graphing code, at least consider if these changes are involved.

If you see any changes that need to happen to our code, paste them here. We might need to hunt for similar changes in other places in our repo.

https://github.com/hadley/ggplot2/releases/tag/v2.0.0

wibeasley commented 8 years ago

In the geom_vline() call, the x parameter will need to be corrected to xintercept. I needed to do this in another package, and it's showing up a few times here.

@andkov, here are the search hits for this particular problem. It's from your code. Can you change it and make sure it's still working the way you want? https://github.com/IALSA/IALSA-2015-Portland/search?utf8=%E2%9C%93&q=geom_vline


This blog post had a lot of stuff yesterday: http://blog.rstudio.org/2015/12/21/ggplot2-2-0-0/