Skip to content
Prev 26600 / 29559 Next

CRAN releases of sp, rgdal and rgeos

Hi Roger, thanks for the follow up. Answering to your comments:

a) I am using Macports's gdal version?2.3.0.20180523. I am pretty sure that its source code (i.e. the one that is compiled on my machine) is downloaded from OSGEO (at least according to?https://github.com/macports/macports-ports/blob/master/gis/gdal/Portfile);

b) I do have more than one libproj installed on my system (as QGIS for macOS requires its own gdal and proj stuff), but only the Macports one is on my path;


c) I tried running:
tools::testInstalledPackage("rgdal", outDir=tempdir())list.files(tempdir())file.show(file.path(tempdir(), "rgdal-Ex.Rout"))

but it unexpectedly returned "Error in library("rgdal") : there is no package called ?rgdal?. Execution halted".

It looks weird but so far I am able to normally load and use at least a couple of rgdal's functions.

I will keep monitoring it though, and report any other issue.

Cheers,
?-- Thiago V. dos Santos
Postdoctoral Research FellowDepartment of Climate and Space Science and EngineeringUniversity of Michigan
On Sunday, June 10, 2018, 4:46:04 AM EDT, Roger Bivand <Roger.Bivand at nhh.no> wrote:
Thanks for reporting, comments inline below (note that I have no OSX 
access at all):
On Sat, 9 Jun 2018, Thiago V. dos Santos wrote:

            
All OK up to the GDAL version returned by gdal-config - are you using the 
released GDAL 2.3.0 (probably not) or master?
Will check, that line is:

if test ${PROJ_VERSION} = "" ; then

from configure.ac line 305. Possibly a shell dialect issue.
These relate to configure.ac lines 376-419, and the outcome: epsg found 
and readable is OK - could there be two libproj on your system (maybe for 
different architectures)?
Same here for next block in configure.ac; conus found and readable.
Please try to run:

tools::testInstalledPackage("rgdal", outDir=tempdir())
list.files(tempdir())
file.show(file.path(tempdir(), "rgdal-Ex.Rout"))

and if the outcomes are as expected, you should be OK, please let us know.

If any OSX users installing from source can contribute, that would be 
useful. It will take a little while before the CRAN OSX binaries catch up 
with new PROJ and GDAL.

Again thanks for reporting!

Roger