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@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
pEpkey.asc
Description: application/pgp-keys
_______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo