Open noamross opened 2 years ago
I like it. I do the same in the (smaller, more experimental) r-rspm image as "we know" what is missing and add it preemptively whereas this is and will always be the one sore spot and achilles heel of the RSPM packages.
The only possible wrinkle I could think of is that it may interfere with the 'versioned2' ability to install at different time points.
seems reasonable to me! looks like this could save > 1 GB in unpacked initial image size
For this use, it may make more sense to install and manage R with rig. https://github.com/r-lib/rig
Hi all - a proposal for an additional package in the stack: For projects using
renv
, especially in the context of CI systems, it's not really needed to have lots of packages pre-installed as they will just be re-installed later in project-specific libraries. What do we think of an image set that has all the system dependencies up throughgeospatial
, but no packages or RStudio installed?This would be
FROM r-ver:*
, and I'd make a new install scriptinstall_renv_sysdeps.sh
which would have all the system dependencies needed.