diff --git a/packages.R b/packages.R index 115d9de..a256803 100644 --- a/packages.R +++ b/packages.R @@ -1,3 +1,3 @@ #!/usr/bin/env Rscript -install.packages(c("dplyr","data.table","tidyr"), repos="https://cran.r-project.org") +install.packages(c("dplyr","data.table","tidyr"), repos="https://cran.r-project.org", dependencies=TRUE) diff --git a/r.Dockerfile b/r.Dockerfile index 5cbd5d7..5a90f7f 100644 --- a/r.Dockerfile +++ b/r.Dockerfile @@ -1,4 +1,5 @@ -FROM r-base:4.3.3 +FROM rocker/r2u:22.04 + RUN mkdir /app WORKDIR /app