Skip to content
Prev 28463 / 29559 Next

Reporting an issue with rgdal in macOS BigSur

Dear Gilberto,

The easiest way to deploy the JP2OpenJPEG driver is to check whether it is 
in the CRAN MacOS rgdal or sf binary packages, as I described before. If 
it is not there, then we need to post an issue or PR on 
https://github.com/R-macos/recipes, I think.

Could any MacOS user with rgdal installed binary from CRAN please run:

drvs <- rgdal::gdalDrivers()$name; drvs[grep("JP2", drvs)]
rgdal::extSoftVersion()

and the R and rgdal versions? The equivalent for sf is:

drvs <- sf::st_drivers("raster")$name; drvs[grep("JP2", drvs)]
sf::sf_extSoftVersion()

This is just to check whether the recent change to the automated recipes 
system perhaps missed the openjpeg library which is used automatically if 
present.

If it went missing, we should be able to reinstate it (or if never 
available - provide it - the CRAN Windows binary does have this driver), 
then all users of CRAM MacOS binary packages built against GDAL will be 
able to use the driver without having to build from source.

Best wishes,

Roger
On Fri, 27 Nov 2020, Gilberto Camara wrote: