datenguideR icon indicating copy to clipboard operation
datenguideR copied to clipboard

Travis build keeps failing due to 'sf'

Open lhehnke opened this issue 4 years ago • 4 comments

dg_map() uses 'sf'

lhehnke avatar Jul 23 '21 11:07 lhehnke

Maybe sf can just be in suggests:? Would mean no testing though for dg_map()

favstats avatar Jul 23 '21 11:07 favstats

I already implemented this in the current version, but the build keeps failing. Everything else works just fine and devtools::check() also runs through without any errors, warnings or notes. I also tried setting _R_CHECK_FORCE_SUGGESTS_ to FALSE. Same result as with Suggests:.

lhehnke avatar Jul 23 '21 11:07 lhehnke

AFAICT the tests fail on GHA because GDAL (or gdal-config) is not available and therefore the sf install. This only happens ATM, because there is currently a updated sf version available for which there are no binary builds available, yet. Once there are, I'd expect the GHA build to succeed.

IIRC we had a similar problem with {opencage} (unfortunately the logs are not available anymore).

In the meantime you may want to check whether the pipeline works with another OS, i.e. Linux or Windows. Remember to install system dependencies on Linux.

Hope this helps and I am not wildly off-topic here.

dpprdan avatar Jul 23 '21 15:07 dpprdan

Good catch, thank you so much, @dpprdan. This actually helps a lot! :)

lhehnke avatar Jul 23 '21 15:07 lhehnke