[R-sig-Geo] rgdal travis error: configure: error: gdal-config not found or not executable.

Edzer Pebesma edzer@pebe@m@ @end|ng |rom un|-muen@ter@de
Thu Mar 19 22:29:46 CET 2020


Maybe this:
https://github.com/edzer/sf_dep/blob/master/.travis.yml

On 3/19/20 8:26 PM, Joe Lewis wrote:
> Hi,
> 
> Thanks for the help.
> 
> I've incorporated some from sf's travis file, but it's still failing
> unfortunately.
> 
> # R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
> 
> language: R
> sudo: false
> cache: packages
> 
> r:
>   - oldrel
>   - release
>   - devel
> 
> repos:
>   CRAN: https://cran.rstudio.com
>   rforge: http://R-Forge.R-project.org
> 
> before_install:
>   - R -e 'install.packages("rgdal", repos="http://R-Forge.R-project.org")'
> 
> apt_packages:
> - gdal-bin
> - libgdal-dev
> - libxml2-dev
> - libproj-dev
> - libprotobuf-dev
> - protobuf-compiler
> - libv8-3.14-dev
> - libjq-dev
> - libudunits2-dev
> - libproj-dev
> - libgeos-dev
> - libspatialite-dev
> - libgdal-dev
> 
> - libjson-c-dev
> 
> 
> https://travis-ci.org/github/josephlewis/leastcostpath/builds/664541703
> 
> Any ideas?
> 
> Thanks.
> 
> Kind regards,
> Joseph Lewis
> 
> On Wed, Mar 18, 2020 at 4:04 PM Edzer Pebesma <edzer.pebesma using uni-muenster.de>
> wrote:
> 
>> At least libgdal-dev and libproj-dev are missing. You can have a look at
>> https://github.com/r-spatial/sf/blob/master/.travis.yml (but that tries
>> to do quite a bit more).
>>
>> On 3/18/20 3:21 PM, Joe Lewis wrote:
>>> Hi,
>>>
>>> I'm testing a package using travis and I keep getting an error message
>>> about rgdal not being found or executable. I've been trying to piece
>>> together things I've found online but to no avail.
>>>
>>> https://travis-ci.org/github/josephlewis/leastcostpath/builds/663944787
>>>
>>> travis.yml
>>>
>>> # R for travis: see documentation at
>>> https://docs.travis-ci.com/user/languages/r
>>>
>>> language: R
>>> sudo: false
>>> cache: packages
>>>
>>> repos:
>>>   CRAN: https://cran.rstudio.com
>>>   rforge: http://R-Forge.R-project.org
>>>
>>> apt_packages:
>>>     - gdal-bin
>>>
>>> before_install:
>>> install.packages("rgdal", repos="http://R-Forge.R-project.org")
>>>
>>>
>>> Any help would be appreciated.
>>>
>>> Thanks.
>>>
>>> Kind regards,
>>> Joseph Lewis
>>>
>>>       [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> R-sig-Geo using r-project.org
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>>
>>
>> --
>> Edzer Pebesma
>> Institute for Geoinformatics
>> Heisenbergstrasse 2, 48149 Muenster, Germany
>> Phone: +49 251 8333081
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo using r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48149 Muenster, Germany
Phone: +49 251 8333081

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 3110 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20200319/7de24faf/attachment.bin>


More information about the R-sig-Geo mailing list