kopia lustrzana https://github.com/jupyterhub/repo2docker
Merge pull request #1118 from yuvipanda/no-ggplot2
Use a smaller R library in our testspull/1122/head
commit
3f07830957
|
@ -1,3 +1,3 @@
|
|||
dependencies:
|
||||
- r-base=3.6
|
||||
- r-ggplot2
|
||||
- r-testthat
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
jupyter serverextension list 2>&1 | grep jupyter_server_proxy
|
||||
jupyter nbextension list 2>&1 | grep jupyter_server_proxy
|
||||
R -e "library('ggplot2')"
|
||||
R -e "library('testthat')"
|
||||
# Fail if version is not 3.6
|
||||
R -e 'if (!(version$major == "3" && as.double(version$minor) >= 6 && as.double(version$minor) < 7)) quit("yes", 1)'
|
||||
R -e 'if (!(version$major == "3" && as.double(version$minor) >= 6 && as.double(version$minor) < 7)) quit("yes", 1)'
|
||||
|
|
|
@ -1 +1 @@
|
|||
install.packages("ggplot2")
|
||||
install.packages("testthat")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('ggplot2')
|
||||
library('testthat')
|
||||
|
||||
print(version)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
install.packages("ggplot2")
|
||||
install.packages("testthat")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('ggplot2')
|
||||
library('testthat')
|
||||
|
||||
print(version)
|
||||
# Fail if version is not 3.6
|
||||
|
|
|
@ -1 +1 @@
|
|||
install.packages("ggplot2")
|
||||
install.packages("testthat")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('ggplot2')
|
||||
library('testthat')
|
||||
|
||||
print(version)
|
||||
# Fail if version is not 4.0
|
||||
|
|
|
@ -1 +1 @@
|
|||
install.packages("ggplot2")
|
||||
install.packages("testthat")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('ggplot2')
|
||||
library('testthat')
|
||||
|
||||
print(version)
|
||||
# Fail if version is not 4.0
|
||||
|
|
|
@ -1 +1 @@
|
|||
install.packages("ggplot2")
|
||||
install.packages("testthat")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('ggplot2')
|
||||
library('testthat')
|
||||
|
||||
# Fail if version is not 4.1
|
||||
if (!(version$major == "4" && as.double(version$minor) >= 1 && as.double(version$minor) < 2)) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
install.packages("ggplot2")
|
||||
install.packages("testthat")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('ggplot2')
|
||||
library('testthat')
|
||||
|
||||
# Fail if version is not 4.1
|
||||
if (!(version$major == "4" && as.double(version$minor) >= 1 && as.double(version$minor) < 2)) {
|
||||
|
|
Ładowanie…
Reference in New Issue