Skip to content

Commit 32a4fa3

Browse files
committed
Update geocompkg install bit
1 parent e11194c commit 32a4fa3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pythonr/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ RUN mkdir -p /etc/R && \
2626
echo "options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux__/bookworm/latest'))" > /root/.Rprofile
2727

2828
# Install pak
29-
RUN R -e "options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux__/bookworm/latest')); install.packages('pak')"
29+
RUN R -e "install.packages('pak')"
3030

3131
# # Install packages with pak (binaries from RSPM)
32-
# RUN Rscript -e "pak::pkg_install('sf')"
32+
RUN Rscript -e "pak::pkg_install('sf')"
3333

3434
# RUN wget https://raw.githubusercontent.com/rocker-org/rocker-versioned2/refs/heads/master/scripts/setup_R.sh
3535
# RUN bash setup_R.sh
@@ -76,7 +76,7 @@ RUN R -e "options(repos = c(CRAN = 'https://packagemanager.posit.co/cran/__linux
7676
# # Install bookdown for book building:
7777
# RUN R -e "install.packages('bookdown', repos = 'https://cloud.r-project.org')"
7878
# # Install geocompx:
79-
# RUN R -e "install.packages('geocompkg', repos = c('https://geocompx.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE, force = TRUE)"
79+
RUN R -e "install.packages('geocompkg', repos = c('https://geocompx.r-universe.dev', 'https://packagemanager.posit.co/cran/__linux__/bookworm/latest'), dependencies = TRUE, force = TRUE)"
8080

8181
# # build the book
8282
# RUN wget https://github.com/geocompx/geocompr/archive/main.zip && \

0 commit comments

Comments
 (0)