When building Docker containers (or CI things for, like, GitHub) for #rstats, is there a way to know which apt-based packages you need to install beforehand? I always end up rebuilding, finding a new error, googling the name of the missing library, and repeating over and over until it builds and *surely* there's a better way??
@andrew https://eddelbuettel.github.io/r2u/#docker this should help and make everything faster? They have a docker container at rocker/r2u
CRAN as Ubuntu Binaries - r2u

Easy, fast, reliable -- pick all three!

@erikjan @andrew r2u is the way to go if you only want tp work with the last versions of every package (x10 faster and dependency intelligent), pak otherwise. Here compared http://github.com/jrosell/playground4rocker
GitHub - jrosell/playground4rocker: Github actions and docker deployment workflows for R projects.

Github actions and docker deployment workflows for R projects. - jrosell/playground4rocker

GitHub