Skip to content

Commit

Permalink
Workaround for pak hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Nov 5, 2024
1 parent 20c2236 commit d2a1418
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/buildtools.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)'
Expand Down

0 comments on commit d2a1418

Please sign in to comment.