Dear all, I encounter a new warning with debian OS (only this one) when submitting a package to CRAN: * checking Rd files ... [4s/4s] WARNING prepare_Rd: rgeos: versions of GEOS runtime 3.10.2-CAPI-1.16.0 and GEOS at installation 3.10.1-CAPI-1.16.0differ ( https://win-builder.r-project.org/incoming_pretest/spNetwork_0.2.2_20220218_012321/Debian/00check.log ) I tried two things and the warning remains: - increasing rgeos version requirement - uninstalling R-devel, reinstalling and rebuilding package I can not find help online on that matter. Does someone know how to deal with this warning? Thank you in advance! --
[R-pkg-devel] CRAN warning prepare_Rd: rgeos: versions of GEOS
2 messages · jérémy Gelb, Ivan Krylov
On Thu, 17 Feb 2022 20:00:40 -0500
j?r?my Gelb <gelbjeremy22 at gmail.com> wrote:
prepare_Rd: rgeos: versions of GEOS runtime 3.10.2-CAPI-1.16.0 and GEOS at installation 3.10.1-CAPI-1.16.0differ
This warning is produced by rgeos:::.onLoad [1], because rgeos:::version_GEOS returns two different things [2], "3.10.2-CAPI-1.16.0" coming from the GEOSversion() in the shared library and "3.10.1-CAPI-1.16.0differ" coming from #define GEOS_CAPI_VERSION in the headers. I think that the incoming pretest machine needs a reinstall of the rgeos package, or a reinstall of GEOS itself (so that the headers match the shared object), or maybe both. There's nothing to fix in the spNetwork package.
Best regards, Ivan [1] https://r-forge.r-project.org/scm/viewvc.php/pkg/R/AAA.R?view=markup&revision=673&root=rgeos [2] https://r-forge.r-project.org/scm/viewvc.php/pkg/src/rgeos.c?view=markup&revision=576&root=rgeos