kopia lustrzana https://github.com/jupyterhub/repo2docker
13 wiersze
327 B
R
Executable File
13 wiersze
327 B
R
Executable File
#!/usr/bin/env Rscript
|
|
library('testthat')
|
|
|
|
# Fail if version is not 4.1
|
|
if (!(version$major == "4" && as.double(version$minor) >= 1 && as.double(version$minor) < 2)) {
|
|
quit("yes", 1)
|
|
}
|
|
|
|
# R 4.1 always uses rspm snapshots
|
|
if (!(startsWith(options()$repos["CRAN"], "https://packagemanager.rstudio.com"))) {
|
|
quit("yes", 1)
|
|
}
|