Skip to content

Commit 64500ac

Browse files
authored
qgis: install R packages
wow, I really should go to sleep...
1 parent 5771f46 commit 64500ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

qgis/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ USER root
6565
# book's bridge/companion packages (qgisprocess, Rsagacmd, rgrass, tmap, mlr3*,
6666
# vegan, ...). Without it, the CI/CD that builds geocompr against this image
6767
# fails on `library(qgisprocess)` etc.
68+
RUN R -e "install.packages('geocompkg', dependencies = TRUE, repos = c('https://geocompx.r-universe.dev', 'https://mlr-org.r-universe.dev', options('repos')))"
6869
# Set the options() for R users:
6970
RUN echo 'options(repos = "https://packagemanager.posit.co/cran/latest")' >> /usr/local/lib/R/etc/Rprofile.site
7071

0 commit comments

Comments
 (0)