Skip to content
Prev 28115 / 29559 Next

rgdal 1.5-8 released on CRAN

Hi all,

For what it's worth I'm having the same issue and am getting this message:

inverser.c:5:10: fatal error: projects.h: No such file or directory
 #include <projects.h>
          ^~~~~~~~~~~~
compilation terminated.
/usr/lib/R/etc/Makeconf:168: recipe for target 'inverser.o' failed
make: *** [inverser.o] Error 1
ERROR: compilation failed for package ?rgdal?
* removing ?/home/robin/R/x86_64-pc-linux-gnu-library/3.6/rgdal?
* restoring previous ?/home/robin/R/x86_64-pc-linux-gnu-library/3.6/rgdal?

The development version of sf installs OK. I'm on Ubuntu with the following
versions:

sf::sf_extSoftVersion()
          GEOS           GDAL         proj.4 GDAL_with_GEOS     USE_PROJ_H
       "3.8.0"        "3.0.4"        "7.0.0"         "true"         "true"

I think I need to set the proj path. My projinfo binary is at

which projinfo
# /usr/bin/projinfo