From 9fe04de60ebeadd505b8d76223a346617ccca836 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Wed, 30 Oct 2024 18:01:09 +0100 Subject: [PATCH] Fix for NO_REFERENCES symbol errors --- rechecktools/R/linux-binaries.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rechecktools/R/linux-binaries.R b/rechecktools/R/linux-binaries.R index f8f6044..b827e39 100644 --- a/rechecktools/R/linux-binaries.R +++ b/rechecktools/R/linux-binaries.R @@ -7,7 +7,7 @@ preinstall_linux_binaries <- function(tocheck){ rver <- getRversion() distro <- system2('lsb_release', '-sc', stdout = TRUE) options(HTTPUserAgent = sprintf("R/%s R (%s); r-universe (%s)", rver, paste(rver, R.version$platform, R.version$arch, R.version$os), distro)) - bioc <- sprintf("https://bioc.r-universe.dev/bin/linux/%s/4/", distro) + bioc <- sprintf("https://bioc.r-universe.dev/bin/linux/%s/%s/", distro, substr(rver, 1, 3)) cran <- sprintf("https://p3m.dev/cran/__linux__/%s/latest", distro) repos <- c(cran, bioc) db <- utils::available.packages(repos = c(CRAN = cran, BIOC = bioc, official_bioc_repos()))