diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 6121411..636f73c 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -1,4 +1,4 @@ -name: conda R packages +name: Last version R packages using conda on: push: diff --git a/.github/workflows/renv.yml b/.github/workflows/renv.yml index 35f8bdc..14a5e06 100644 --- a/.github/workflows/renv.yml +++ b/.github/workflows/renv.yml @@ -1,4 +1,4 @@ -name: Locked version R packages +name: Locked version R packages using renv on: push: diff --git a/conda.Dockerfile b/conda.Dockerfile index 51b18e3..b7562d3 100644 --- a/conda.Dockerfile +++ b/conda.Dockerfile @@ -1,14 +1,15 @@ FROM python:3.12-slim-bookworm -RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/* \ - && wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ +RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/* + +RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ && mkdir /root/.conda \ && bash Miniconda3-latest-Linux-x86_64.sh -b \ && rm -f Miniconda3-latest-Linux-x86_64.sh \ && conda install r-base r-dplyr r-purrr r-purrr r-readr r-stringr r-ggplot2 r-janitor r-targets r-curl -y --quiet --channel=conda-forge WORKDIR /workspace -COPY _targets.R functions.R /workspace +COPY _targets.R functions.R /workspace/ CMD R -e "sessionInfo(); \ list.files(); \ diff --git a/pak.Dockerfile b/pak.Dockerfile index abc0373..0d4558e 100644 --- a/pak.Dockerfile +++ b/pak.Dockerfile @@ -4,7 +4,7 @@ WORKDIR /workspace RUN R -e "install.packages('pak');pak::pak(c('dplyr', 'purrr', 'curl', 'readr', 'stringr', 'ggplot2', 'janitor', 'targets'))" -COPY _targets.R functions.R /workspace +COPY _targets.R functions.R /workspace/ CMD R -e "sessionInfo(); \ list.files(); \ diff --git a/r2u.Dockerfile b/r2u.Dockerfile index 44ee8a8..08012b1 100644 --- a/r2u.Dockerfile +++ b/r2u.Dockerfile @@ -4,7 +4,7 @@ WORKDIR /workspace RUN R -e "install.packages(c('dplyr', 'purrr', 'curl', 'readr', 'stringr', 'ggplot2', 'janitor', 'targets'))" -COPY _targets.R functions.R /workspace +COPY _targets.R functions.R /workspace/ CMD R -e "sessionInfo(); \ list.files(); \ diff --git a/renv.Dockerfile b/renv.Dockerfile index b2882e1..9893a32 100644 --- a/renv.Dockerfile +++ b/renv.Dockerfile @@ -13,7 +13,7 @@ RUN mkdir renv/cache ENV RENV_PATHS_CACHE renv/cache RUN R -e "renv::restore()" -COPY _targets.R functions.R /workspace +COPY _targets.R functions.R /workspace/ CMD R -e "sessionInfo(); \ list.files(); \