From d2a1418bdfb5e8b8559a1a80abdb38590a2fa64a Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Tue, 5 Nov 2024 21:06:53 +0100 Subject: [PATCH] Workaround for pak hangs --- R/buildtools.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/buildtools.R b/R/buildtools.R index 9533481..704d29f 100644 --- a/R/buildtools.R +++ b/R/buildtools.R @@ -306,6 +306,9 @@ install_sysdeps <- function(path = '.'){ system("apt-get install -y default-jdk") } + # Temp workaround for pak hanging in resolver + options(repos = c(universe = Sys.getenv("MY_UNIVERSE"), CRAN = 'https://cloud.r-project.org')) + # Try to install missing sysdeps. tryCatch({ skiplist <- '(libcurl|pandoc|cargo|rustc)'