kopia lustrzana https://github.com/jupyterhub/repo2docker
13 wiersze
352 B
R
Executable File
13 wiersze
352 B
R
Executable File
#!/usr/bin/env Rscript
|
|
library('digest')
|
|
|
|
# Fail if version is not 4.0
|
|
print(version)
|
|
if (!(version$major == "4" && as.double(version$minor) >= 0 && as.double(version$minor) < 1)) {
|
|
quit("yes", 1)
|
|
}
|
|
|
|
# The date we have chosen should give us an MRAN mirror
|
|
if (!(startsWith(options()$repos["CRAN"], "https://mran.microsoft.com"))) {
|
|
quit("yes", 1)
|
|
} |