Docker images with a complete Debian CRAN check server
The CRAN team maintains a debian meta package which depends on all packages that are installed on the CRAN check servers. This provides a reproducible 'R CMD check' environment that works for all CRAN packages.
# Get the latest image
docker pull cran/debian
# Start interactive bash shell
docker run --rm -it cran/debian bash
To quickly test if a package can be built:
docker run --rm -it cran/debian R -e 'install.packages("sf")'
The CRAN team always uses the Debian testing branch. This repository also provides an alternative based on the latest Ubuntu (LTS) server with R backports from the ppa:marutter/rrutter.