update local/ scripts

This commit is contained in:
Patrick Schratz 2024-11-25 10:04:23 +01:00
commit 2588b2512f
Signed by: pat-s
GPG key ID: 3C6318841EF78925

45
local/check-NA.R Normal file
View file

@ -0,0 +1,45 @@
### Scope: Check whether there are any incomplete entries in PACKAGES.rds. These will result in NA when calling available.packages()
foo = available.packages("https://cran.devxy.io/amd64/jammy/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/amd64/noble/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/amd64/rhel8/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/amd64/rhel9/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/amd64/alpine320/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
# arm64
foo = available.packages("https://cran.devxy.io/arm64/jammy/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/arm64/noble/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/arm64/rhel8/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/arm64/rhel9/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))
foo = available.packages("https://cran.devxy.io/arm64/alpine320/latest/src/contrib")
sum((is.na(foo[, "Version"])))
which((is.na(foo[, "Version"])))