Skip to content

Commit d2a1418

Browse files
committed
Workaround for pak hangs
1 parent 20c2236 commit d2a1418

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/buildtools.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ install_sysdeps <- function(path = '.'){
306306
system("apt-get install -y default-jdk")
307307
}
308308

309+
# Temp workaround for pak hanging in resolver
310+
options(repos = c(universe = Sys.getenv("MY_UNIVERSE"), CRAN = 'https://cloud.r-project.org'))
311+
309312
# Try to install missing sysdeps.
310313
tryCatch({
311314
skiplist <- '(libcurl|pandoc|cargo|rustc)'

0 commit comments

Comments
 (0)