kopia lustrzana https://github.com/jupyterhub/repo2docker
Merge pull request #1416 from yuvipanda/runtime
Add a test for runtime.txt with full R version specifiedpull/1419/head
commit
17a23c4ae6
|
@ -0,0 +1 @@
|
|||
install.packages("digest")
|
|
@ -0,0 +1 @@
|
|||
r-4.3.2-2024-01-10
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env Rscript
|
||||
library('digest')
|
||||
|
||||
# Fail if version is not 4.3.2
|
||||
print(version)
|
||||
if (!(version$major == "4" && version$minor == "3.2")) {
|
||||
quit("yes", 1)
|
||||
}
|
||||
|
||||
# The date we have chosen should give us an rspm mirror
|
||||
if (!(startsWith(options()$repos["CRAN"], "https://packagemanager.posit.co"))) {
|
||||
quit("yes", 1)
|
||||
}
|
Ładowanie…
Reference in New Issue