Skip to content

Commit

Permalink
fix(docker): pak, use install method from official doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fxi committed Feb 21, 2025
1 parent 8a8ddbe commit 45d2f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ options(Ncpus = as.numeric(system("nproc --all", intern=TRUE))); \
options(repos = rep)' > .Rprofile

# Install R packages with error handling
RUN Rscript -e 'install.packages("pak", type = "source"); \
RUN Rscript -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch)); \
tryCatch({ \
pak::pkg_install(c( \
"shiny", \
Expand Down

0 comments on commit 45d2f69

Please # to comment.