[geos-devel] 3.12 release warning

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue Jun 20 09:16:04 PDT 2023


On 6/20/23 17:58, Paul Ramsey wrote:
>> On Jun 20, 2023, at 8:55 AM, Sebastiaan Couwenberg <sebastic at xs4all.nl> wrote:
>> On 6/20/23 00:04, Paul Ramsey wrote:
>>> Please, test 3.12beta2 and let us know if you’re finding any issues, I am planning to release 3.12 at the end of the week, if there are no reports of issues with the last beta release.
>>
>> r-cran-rgeos 0.6-1 is failing its test suite with beta2:
>>
>> https://qa.debian.org/excuses.php?experimental=1&package=geos
> 
> Can you break this down for me? What GEOS function is failing on what inputs? I cannot do a lot with
>> run-unit-test        FAIL non-zero exit status 1
> Thanks!

You need to scroll up for the output of the failing test:

autopkgtest [23:08:41]: test run-unit-test: [-----------------------

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 > library(testthat)
 > library(rgeos)
Loading required package: sp
rgeos version: 0.6-1, (SVN revision 692)
  GEOS runtime version: 3.12.0beta2-CAPI-1.18.0
  Please note that rgeos will be retired during 2023,
plan transition to sf functions using GEOS at your earliest convenience.
  GEOS using OverlayNG
  Linking to sp version: 1.5-1
  Polygon checking: TRUE

Warning message:
In fun(libname, pkgname) :
   rgeos: versions of GEOS runtime 3.12.0beta2-CAPI-1.18.0
and GEOS at installation 3.11.1-CAPI-1.17.1differ
 >
 > set_do_poly_check(FALSE)
 > #test_dir(system.file("tests", package = "rgeos"), 
StopReporter)#SummaryByContextReporter)
 > #test_package("rgeos")
 > test_check("rgeos")
[ FAIL 1 | WARN 28 | SKIP 0 | PASS 116 ]

== Failed tests 
================================================================
-- Error ('test-misc.R:50'): gNearestPoints works with different 
geometries as inputs --
Error: Unable to parse: MULTIPOLYGON(((34 54, 60 34, 60 54, 34 54), 
                          (50 50, 52 50, 52 48, 50 48, 50 50)), 
                     ((100 100, 150 100, 150 150, 100 150, 100 100), 
                           (120 120, 120 130, 130 130, 130 120, 120 120))))
GEOS reported: "rgeos_readWKT: unable to read wkt"
Backtrace:
     x
  1. \-rgeos::readWKT("MULTIPOLYGON(((34 54, 60 34, 60 54, 34 54),\n 
                           (50 50, 52 50, 52 48, 50 48, 50 50)),\n 
                        ((100 100, 150 100, 150 150, 100 150, 100 
100),\n                               (120 120, 120 130, 130 130, 130 
120, 120 120))))") at test-misc.R:50:2
  2.   \-base::tryCatch(...)
  3.     \-base (local) tryCatchList(expr, classes, parentenv, handlers)
  4.       \-base (local) tryCatchOne(expr, names, parentenv, 
handlers[[1L]])
  5.         \-value[[3L]](cond)

[ FAIL 1 | WARN 28 | SKIP 0 | PASS 116 ]
Error: Test failures
Execution halted
autopkgtest [23:08:43]: test run-unit-test: -----------------------]
autopkgtest [23:08:43]: test run-unit-test:  - - - - - - - - - - results 
- - - - - - - - - -
run-unit-test        FAIL non-zero exit status 1


Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the geos-devel mailing list