Docker containers for R developers

Available containers

Our ultimate goal is to have containers that match all primary CRAN Linux systems and all extra CRAN checks.

Currently we have the following CRAN-like containers:

CRAN name R-hub name OS R version Details
r-devel-linux-x86_64-debian-clang ubuntu-clang Ubuntu 22.04.5 LTS R Under development (unstable) (2024-11-18 r87347) Details
r-devel-linux-x86_64-debian-gcc ubuntu-gcc12 Ubuntu 22.04.5 LTS R Under development (unstable) (2024-11-18 r87347) Details
r-patched-linux-x86_64 ubuntu-next Ubuntu 22.04.5 LTS R version 4.4.2 Patched (2024-11-18 r87347) Details
r-release-linux-x86_64 ubuntu-release Ubuntu 22.04.5 LTS R version 4.4.2 (2024-10-31) Details

Plus the following containers for additional CRAN checks:

CRAN name R-hub name Description OS R version Details
ATLAS atlas Tests with alternative BLAS/LAPACK implementations Fedora Linux 38 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details
C23 c23 Checks of compiling C code in C23 mode Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-15 r87338) Details
clang-ASAN clang-asan Tests of memory access errors using AddressSanitizer Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-18 r87347) Details
clang-UBSAN clang-asan Tests of memory access errors using Undefined Behavior Sanitizer Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-18 r87347) Details
clang16 clang16 Checks with Clang 16.0.0 Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-15 r87338) Details
clang17 clang17 Checks with LLVM pre-17.0.0 Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-15 r87338) Details
clang18 clang18 Checks with LLVM pre-18.0.0 Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-15 r87338) Details
clang19 clang19 Checks with LLVM pre-19.0.0 Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-11-15 r87338) Details
clang20 clang20 Checks with LLVM pre-20.0.0 Ubuntu 22.04.5 LTS, libc++ R Under development (unstable) (2024-10-09 r87215) Details
donttest donttest Tests including \donttest examples Ubuntu 22.04.5 LTS R Under development (unstable) (2024-11-15 r87338) Details
gcc13 gcc13 Checks with GCC trunk aka 13.0 Fedora Linux 38 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details
gcc14 gcc14 Checks with GCC trunk aka 14.0 Fedora Linux 40 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details
Intel intel Checks with Intel oneAPI 2023.x compilers Fedora Linux 38 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details
MKL mkl Tests with alternative BLAS/LAPACK implementations Fedora Linux 38 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details
noLD nold Tests without long double Ubuntu 22.04.5 LTS R Under development (unstable) (2024-11-18 r87347) Details
noRemap noremap Compile C++ code with R_NO_REMAP defined Ubuntu 22.04.5 LTS R Under development (unstable) (2024-11-15 r87338) Details
noSuggests nosuggests Tests without suggested packages Fedora Linux 38 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details
rchk rchk Checks of native code (C/C++) based on static code analysis Ubuntu 22.04.5 LTS R Under development (unstable) (2024-11-18 r87347) Details
valgrind valgrind Tests of memory access errors using valgrind Fedora Linux 38 (Container Image) R Under development (unstable) (2024-11-18 r87347) Details

And these additional containers:

R-hub name Description OS R version Details
rhel7 RedHat Enterprise Linux 7 (needs RedHat subscription) Red Hat Enterprise Linux Server 7.9 (Maipo) R version 4.4.2 (2024-10-31) Details
rhel8 RedHat Enterprise Linux 8 (needs RedHat subscription) Red Hat Enterprise Linux 8.10 (Ootpa) R version 4.4.2 (2024-10-31) Details
rhel9 RedHat Enterprise Linux 9 (needs RedHat subscription) Red Hat Enterprise Linux 9.5 (Plow) R version 4.4.2 (2024-10-31) Details
s390x Test on a big-endian platform: s390x Linux Ubuntu 22.04.5 LTS R version 4.1.2 (2021-11-01) Details
centos7 Test R on CentOS 7 (equivalent to RHEL 7), w/ multiple R versions CentOS Linux 7 (Core) Last 5 releases, R-next, R-devel Details

All containers are available from Docker Hub and from Github Packages.

See the containers page for more data about the containers.

Usage

You can use these containers on your machine, or on GitHub Actions.