Skip to content

Commit

Permalink
Added tidyverse to preinstalled R packages (#509)
Browse files Browse the repository at this point in the history
* added tidyverse and test

* modified DF

* removed redundancies in R packages

* adding positive test

* different positive check
  • Loading branch information
akarukappadath authored Jul 31, 2018
1 parent efe5fd8 commit 6c31baa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}

}

}
9 changes: 2 additions & 7 deletions jupyter-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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)' \
Expand Down

0 comments on commit 6c31baa

Please sign in to comment.