Skip to content

Commit 38712c6

Browse files
committed
Test if pak problems are solved
1 parent d2a1418 commit 38712c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DESCRIPTION

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,3 @@ Imports:
2828
yaml,
2929
xml2
3030
RoxygenNote: 7.3.1
31-
Remotes:
32-
ropensci/postdoc,
33-
jeroen/maketools

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ RUN sed -i 's/-Werror=format-security//g' $(R RHOME)/etc/Makeconf
1515
RUN unzip -P dummy /key.zip -d /root/.ssh/ &&\
1616
chmod 400 /root/.ssh/id_rsa &&\
1717
ssh-keyscan github.com >> ~/.ssh/known_hosts
18+
19+
# Use devel-pak
20+
RUN R -e 'install.packages("pak", repos = "https://r-lib.github.io/p/pak/devel/devel/linux-gnu/x86_64")'
1821
RUN R -e 'install.packages("remotes");remotes::install_local("/pkg");library(buildtools)'
1922

2023
RUN echo "options(error = rlang::entrace)" >> /etc/R/Rprofile.site

R/buildtools.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ install_sysdeps <- function(path = '.'){
307307
}
308308

309309
# Temp workaround for pak hanging in resolver
310-
options(repos = c(universe = Sys.getenv("MY_UNIVERSE"), CRAN = 'https://cloud.r-project.org'))
310+
# options(repos = c(universe = Sys.getenv("MY_UNIVERSE"), CRAN = 'https://cloud.r-project.org'))
311311

312312
# Try to install missing sysdeps.
313313
tryCatch({

0 commit comments

Comments
 (0)