terra icon indicating copy to clipboard operation
terra copied to clipboard

configuration error 'terra'. Load failed .

Open jenmunoz opened this issue 2 years ago • 2 comments

When trying to install 'terra', I am getting:

configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘terra’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/terra’
Warning in install.packages :
  installation of package ‘terra’ had non-zero exit status

jenmunoz avatar Aug 10 '22 19:08 jenmunoz

It looks like you are trying to install "terra" from source. Can't you instead install the compiled version from CRAN?

rhijmans avatar Aug 11 '22 06:08 rhijmans

The README contains information on how to install {terra} on various systems.

kadyb avatar Aug 11 '22 10:08 kadyb

Thanks, it seems that I just needed to update my R version to be able to install it from CRAN.

jenmunoz avatar Aug 12 '22 02:08 jenmunoz