-
Notifications
You must be signed in to change notification settings - Fork 596
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
Updated install_R_packages.R to fix broken ggplot2 dependency in gatkbase Docker image. #5040
Conversation
997ee7e
to
2654da6
Compare
…base Docker image.
…riates integration tests to cover plotting.
2654da6
to
08beb3f
Compare
Codecov Report
@@ Coverage Diff @@
## master #5040 +/- ##
==============================================
+ Coverage 86.38% 86.485% +0.104%
- Complexity 28640 29299 +659
==============================================
Files 1782 1791 +9
Lines 132603 135334 +2731
Branches 14761 15341 +580
==============================================
+ Hits 114543 117043 +2500
- Misses 12740 12841 +101
- Partials 5320 5450 +130
|
@cmnbroad Just saw your email about releasing---I think this definitely needs to go in before then. Can you review? |
} | ||
|
||
dependencies = c("gplots", | ||
"digest", "gtable", "MASS", "plyr", "reshape2", "scales", "tibble", "lazyeval") # ggplot2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized the comment might not be very helpful. I'll change it from "ggplot2" to "for ggplot2".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samuelklee Looks good - a couple of questions though, just to confirm that I understand the changes:
- I pulled the 2.0.1 base image and the R dependencies look right to me, but there is a gatkbase image published as
2.1.0
that looks older. Presumably that was from the first solution you tried for this, and we don't want that now (or rather yet) ? - BQSR.R doesn't have an explicit dependency on
reshape
, butreshape2
is still needed for ggplot2 ? - When this branch ran on travis, was the travis cache cleared first ? If not, we should probably force it to re-run with the cache cleared just to be sure.
Thanks, @cmnbroad!
|
@samuelklee I'd say lets leave 2.1 base image up there for now, and yes on the cache clearing. Once tests pass with the cache cleared it should be good to merge. Feel free to squash and rebase if you like. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once tests pass on travis with the cache cleared.
OK, done, thanks! Fingers crossed that everything is fixed now...! |
The ggplot2 R dependency was not installed correctly in the gatkbase-2.0.0 Docker image. It appears that this resulted from a recent ggplot2 update that has broken dependencies (perhaps for the version of R that we use). This missing ggplot2 dependency was the root cause of #5022.
I updated the install_R_packages.R script, which should now fail if any package fails to install, and pushed an updated gatkbase-2.0.1 image. The second commit addresses #5022.
This should be considered a temporary fix until #5026 is in.
Closes #5022.