Skip to content

Commit

Permalink
fix if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Jul 30, 2024
1 parent 0e03e3b commit e784bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN R CMD javareconf

RUN Rscript -e "install.packages('pak', \
repos = sprintf('https://r-lib.github.io/p/pak/stable/%s/%s/%s', \
'source', 'linux-gnu', if Sys.getenv('ARCH') == 'x86_64' 'amd64' else 'aarch64'))"
'source', 'linux-gnu', if (Sys.getenv('ARCH') == 'x86_64') 'amd64' else 'aarch64'))"

RUN Rscript -e "options('repos'=c(RHUB='https://raw.githubusercontent.com/r-hub/repos/main/ubuntu-22.04-aarch64/4.4', \
PPM='https://p3m.dev/cran/__linux__/jammy/latest')); \
Expand Down

0 comments on commit e784bd2

Please sign in to comment.