From 7af0ed7781fbc699685531ead59ce7e1dc3984d2 Mon Sep 17 00:00:00 2001 From: Anthony Sena Date: Mon, 25 Mar 2024 10:41:56 -0400 Subject: [PATCH] Use Posit Package Manager (PPM) for installation --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ac0f270..ef92934 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y openjdk-11-jdk liblzma-dev libbz2-dev l && rm -rf /var/lib/apt/lists/* # install utility R packages -RUN install2.r \ +RUN install2.r --error --skipinstalled --repos "https://packagemanager.posit.co/cran/latest" \ openssl \ httr \ xml2 \ @@ -23,7 +23,7 @@ RUN --mount=type=secret,id=build_github_pat \ && cp /tmp/Renviron /usr/local/lib/R/etc/Renviron # install useful R libraries to help RStudio users to create/use their own GitHub Personal Access Token -RUN install2.r \ +RUN install2.r --error --skipinstalled --repos "https://packagemanager.posit.co/cran/latest" \ usethis \ gitcreds \ && rm -rf /tmp/download_packages/ /tmp/*.rds @@ -38,7 +38,7 @@ EOF # install shiny and other R packages used by the OHDSI PatientLevelPrediction R package viewPLP() function # and additional model related R packages -RUN install2.r \ +RUN install2.r --error --skipinstalled --repos "https://packagemanager.posit.co/cran/latest" \ DT \ markdown \ plotly \