rocker-org / rocker-versioned2

Run current & prior versions of R using docker. rocker/r-ver, rocker/rstudio, rocker/shiny, rocker/tidyverse, and so on.
https://rocker-project.org
GNU General Public License v2.0
411 stars 175 forks source link

How to clone geospatial to choose versions of external software? #344

Open rsbivand opened 2 years ago

rsbivand commented 2 years ago

@edzer and @HenrikBengtsson (https://github.com/r-spatial/sf/issues/1899#issuecomment-1030665979) : Since Solaris is no longer available for testing on CRAN (it was stuck at GDAL: 2.2.4, PROJ: 5.2.0, GEOS: 3.7.3), we need to add a GHA to check sf (and terra, vapour, "gdalcubes", etc.) HEAD to see that installation still succeeds for the versions of external software on CentOS 7.9 and Ubuntu 18.04, which were trapped before by CRAN/Solaris.

I've been rebuilding and installing GDAL: 2.2.4, PROJ: 5.2.0, GEOS: 3.7.3 on my fully updated Fedora 35, so I don't think that there is a problem with the older PROJ/GDAL/GEOS versions needing older versions of their upstream dependencies; my checks were all run with current R.

Which choices should we look at to be able just to see that say R CMD SHLIB completes successfully (not INSTALL to avoid installing packages sf depends on) after having run ./configure?

cboettig commented 2 years ago

@rsbivand thanks for reaching out. Others here may have more expertise on some of the nuances, but re: the headline question of different versions for rocker/geospatial:

HTH and apologies if that's not what you were asking about

rsbivand commented 2 years ago

Thanks; I'll wait for other participants to respond @edzer @HenrikBengtsson; I think that standard ubuntu:bionic would work (PROJ 4.9.3,GDAL 2.2.3, GEOS 3.6.2), or ubuntugis:bionic (PROJ 5.2.0, GDAL 2.4.2, GEOS 3.7.1). I note that there were issues with lwgeom on (some version of sources) on bionic, but all we need to do is to check that the C/C++ code compiles, we don't need to run CMD check. Since I have never used Debian/Ubuntu, the packaging isn't something I grasp intuitively, sorry.