furrer-lab / r-containers

GNU General Public License v3.0
1 stars 0 forks source link

container to run abn test #3

Closed j-i-l closed 6 months ago

j-i-l commented 6 months ago

Build a container that is configured to run checks for abn.

For a start we focus on r-devel on ubuntu using clang as compiler front end.

j-i-l commented 6 months ago

What would be a sensible choice as source for the base image?

j-i-l commented 6 months ago

Until we decided ( see #4 ) I'll go with r-devel-linux-x86_64-debian-clang from r-hub

j-i-l commented 6 months ago

We might want to use MRAN instead of CRAN (see https://towardsdatascience.com/reproducible-work-in-r-e7d160d5d198?gi=82335aadc2b0)

e.g.:

ENV MRAN_BUILD_DATE=2022-12-20 # Install Basic Utility R Packages
RUN install2.r -r https://cran.microsoft.com/snapshot/${MRAN_BUILD_DATE} \
    --error \
   <package1> \
    # more R Packages
j-i-l commented 6 months ago

We might want to use MRAN instead of CRAN (see https://towardsdatascience.com/reproducible-work-in-r-e7d160d5d198?gi=82335aadc2b0)

e.g.:

ENV MRAN_BUILD_DATE=2022-12-20 # Install Basic Utility R Packages
RUN install2.r -r https://cran.microsoft.com/snapshot/${MRAN_BUILD_DATE} \
    --error \
   <package1> \
    # more R Packages

scratch that! cran.microsoft.com seems dead