Test that older r snapshots get MRAN

pull/1104/head
YuviPanda 2022-01-04 19:17:06 +05:30
rodzic 3ea55e9205
commit d75c0079ad
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -6,3 +6,8 @@ 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 (!grepl("https://mran.microsoft.com", options()$CRAN, fixed=TRUE)) {
quit("yes", 1)
}