I've been trying to figure out how to address the error I get on Travis for a package that otherwise works and installs fine from Github.
The package builds fine until it gets to a vignette and throws this error
package or namespace load failed for 'sf' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/travis/R/Library/sf/libs/sf.so':
/home/travis/R/Library/sf/libs/sf.so: undefined symbol: _ZN17GDALDriverManager14GetDriverCountEv
The error seems to stem from GDAL, but I'm not sure how to address this. The travis configuration file uses the same approach to installing the binaries for GDAL as do other packages that import the sf package.
I can't find any documentation on this error or similar errors elsewhere. The full log can be viewed here, and the travis configuration file is here.
Any help would be appreciated.