On Jun 5, 2020, at 10:36 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
To all macOS users of r-spatial packages requiring external software for installation.
Unless you are completely confident that you can install the external software, and install source packages without assistance, do not try to install packages like sf, rgdal, terra, gdalcubes and others from source. Do not choose "both", choose "binary". We cannot help you to install these packages from source. If that means waiting for new functionality, wait.
If however you are confident that you can install from source yourself without asking us for help, for example because you are familiar with the software, or where you need to use the same versions of say PROJ, GEOS and GDAL that other geospatial programs do, please go ahead. We have an issue open on the r-spatial task view repo, which we can use to propagate proven ideas: https://github.com/r-spatial/task_views/issues/16 <https://github.com/r-spatial/task_views/issues/16>. "It works for me now" is not proven - we need paths that have worked predictably for years without significant modification (unfortunately it seems that notarization has defeated Kyngchaos, which had worked well for years but no longer).
Roger
On Fri, 5 Jun 2020, Manuel Sp?nola wrote:
Thank you very much Thiago.
I am very interested in that because I use R in macOS.
Manuel
El vie., 5 jun. 2020 a las 10:35, Thiago V. dos Santos via R-sig-Geo (<
r-sig-geo at r-project.org>) escribi?:
Hi Roy,
I use and recommend MacPorts as a package manager for macOS computers. It
is quite comprehensive in terms of programs/libraries available, almost
always up-to-date and pretty simple to use. It does not always provide
binaries though, it needs to compile a few packages from source (gdal is an
example) - which can take a little bit, depending on your machine
configuration.
I have some notes on how to set it up - maybe it's useful for you:
https://thiagodossantos.com/post/1-mac-science-software/
Greetings,
-- Thiago V. dos Santos
ThiagoDosSantos.com
MudancasClimaticasBrasil.com
On Friday, June 5, 2020, 10:54:55 AM GMT-3, Roy Mendelssohn - NOAA Federal
via R-sig-Geo <r-sig-geo at r-project.org> wrote:
Hi All:
Is there a source for binaries of PROJ >= 6 and GDAL > 3 for the Mac,
other than the Anaconda ones which cause problems because they use @rpart?
Thanks,
-Roy
On Jun 5, 2020, at 4:29 AM, Roger Bivand <Roger.Bivand at nhh.no> wrote:
The release candidate of rgdal_1.5-9 is ready for testing on R-forge:
https://r-forge.r-project.org/R/?group_id=884
Those insisting on installing on PROJ >= 6 and GDAL < 3 must use
configure argument --with-proj_api="proj_api.h"; with this used, this
version builds with --no-build-vignettes and installs and checks OK on PROJ
7.0.1 and GDAL 2.2.4 with --with-proj_api="proj_api.h".
Otherwise checked OK with PROJ 4.8.0, 4.9.2, 4.9.3 and 5.2.0 with GDAL
1.11.4; with PROJ 5.2.0 and GDAL 2.2.4, 2.3.2 and 2.4.2; with PROJ 6.3.2
and GDAL 3.0.4; with PROJ 7.0.1 and GDAL 3.0.4 and 3.1.0.
All who have indicated issues with source installs are asked to try the
release candidate and to report back here by midnight CEST Monday 8 June.
If no indications are forthcoming, I'll assume that problems with 1.5-8 are
resolved.