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.pebe...@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@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@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > [[alternative HTML version deleted]] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-geo