Closed edzer closed 3 years ago
No, it is a check train issue, that rgeos was built with 3.10.0 but run with 3.10.1, unless I'm mistaken. Is Debian now using binary rgeos? The test is:
if (!isTRUE(all.equal(version_GEOS(TRUE), version_GEOS(FALSE),
check.attributes=FALSE))) {
warning("rgeos: versions of GEOS runtime ", c(version_GEOS(TRUE)),
"\nand GEOS at installation ", version_GEOS(FALSE), "differ")
}
in rgeos::.onLoad()
, and
version_GEOS <- function(runtime=TRUE) {
stopifnot(is.logical(runtime))
stopifnot(length(runtime) == 1L)
res0 <- .Call("rgeos_GEOSversion", runtime, PACKAGE="rgeos")
res1 <- strsplit(res0, " ")[[1]]
res <- res1[1]
if (length(res1) > 1) attr(res, "rev") <- res1[2]
res
}
and
SEXP rgeos_GEOSversion(SEXP runtime) {
int rt = LOGICAL_POINTER(runtime)[0];
SEXP ans;
PROTECT(ans = NEW_CHARACTER(1));
if (rt) {
SET_STRING_ELT(ans, 0, COPY_TO_USER_STRING(GEOSversion()));
} else {
SET_STRING_ELT(ans, 0, COPY_TO_USER_STRING(GEOS_CAPI_VERSION));
}
UNPROTECT(1);
return(ans);
}
in the context of
#include <geos_c.h>
Thanks!
This seems to be an issue in rgeos, shall I say that @rsbivand ?