Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Posit Package Manager (PPM) for installation #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand All @@ -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 \
Expand Down
Loading