Closed vnijs closed 8 months ago
Minor update:
repoPrefix <- function(type, Rversion) {
Rversion <- twodigitRversion(Rversion)
if ((type == "mac.binary.big-sur-arm64") && (numeric_version(Rversion) < "4.1")) {
warning("Type mac.binary.big-sur-arm64 only valid for R >= 4.1")
} else if ((type == "mac.binary.el-capitan") && (numeric_version(Rversion) < "3.4")) {
warning("Type mac.binary.el-capitan only valid for R >= 3.4")
} else if ((type == "mac.binary.mavericks") && (numeric_version(Rversion) >= "3.4")) {
warning("Type mac.binary.mavericks only valid for R < 3.4")
}
switch(type,
"source" = "src/contrib",
"win.binary" = sprintf("bin/windows/contrib/%s", Rversion),
"mac.binary" = sprintf("bin/macosx/contrib/%s", Rversion),
"mac.binary.el-capitan" = sprintf("bin/macosx/el-capitan/contrib/%s", Rversion),
"mac.binary.big-sur-arm64" = sprintf("bin/macosx/big-sur-arm64/contrib/%s", Rversion),
"mac.binary.leopard" = sprintf("bin/macosx/leopard/contrib/%s", Rversion),
"mac.binary.mavericks" = sprintf("bin/macosx/mavericks/contrib/%s", Rversion),
stop("Type ", type, " not recognised.")
)
}
Hi @andrie, do you plan on addressing these changes to the infrastructure?
@andrie this looks the same as PR #152, which was passing checks and likely ready to be merged
Thank you. I've merged #152 and am now slowly working to fix all the tests that broke because MRAN no longer exists.
Thank you very much @andrie
If you need MRAN time machine functionality I suggest using Posit Package Manger public instance and its snapshots :)
I tried the below but
makeRep
doesn't work for ARM macOS packagesIf you could update
repoPrefix
as below all should be well. Thanks