diff --git a/automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/NotebookRKernelSpec.scala b/automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/NotebookRKernelSpec.scala index 37ff2fd9595..b2d56b670ee 100644 --- a/automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/NotebookRKernelSpec.scala +++ b/automation/src/test/scala/org/broadinstitute/dsde/workbench/leonardo/NotebookRKernelSpec.scala @@ -101,6 +101,14 @@ class NotebookRKernelSpec extends ClusterFixtureSpec { } } + "should have tidyverse automatically installed" in { clusterFixture => + withWebDriver { implicit driver => + withNewNotebook(clusterFixture.cluster, RKernel) { notebookPage => + notebookPage.executeCell(""""tidyverse" %in% installed.packages()""") shouldBe Some("TRUE") + } + } + } + } } diff --git a/jupyter-docker/Dockerfile b/jupyter-docker/Dockerfile index 42084d80787..cc7a86f3d70 100644 --- a/jupyter-docker/Dockerfile +++ b/jupyter-docker/Dockerfile @@ -203,19 +203,14 @@ RUN apt-get update \ libxml2-dev RUN R -e 'install.packages(c( \ - "repr", \ "IRdisplay", \ "evaluate", \ - "crayon", \ "pbdZMQ", \ "devtools", \ "uuid", \ - "digest", \ - "ggplot2", \ - "dplyr", \ - "tidyr", \ "reshape2", \ - "bigrquery"), \ + "bigrquery", \ + "tidyverse"), \ repos="https://cran.mtu.edu")' \ && R -e 'devtools::install_github("IRkernel/IRkernel")' \ && R -e 'IRkernel::installspec(user=FALSE)' \