[R-pkg-team] Bug#916334: r-cran-lwgeom: autopkgtest regression
Andreas Tille
tille at debian.org
Thu Dec 13 09:00:08 GMT 2018
Control: tags -1 upstream
Control: forwarded -1 Edzer Pebesma <edzer.pebesma at uni-muenster.de>
Hi Edzer,
I's like to inform you about an issue that occured in the Debian
packaging. As you can see below, three tests are failing (at least
under the conditions of the Debian packaged environment). As far
as I can see these are basically rounding errors. I wonder whether
you might like to adapt the test suite accordingly.
Kind regards and thanks for providing lwgeom as Free Software
Andreas.
On Thu, Dec 13, 2018 at 09:05:29AM +0200, Graham Inggs wrote:
> Source: r-cran-lwgeom
> Version: 0.1-5+dfsg-1
> Severity: serious
> X-Debbugs-CC: debian-ci at lists.debian.org
> User: debian-ci at lists.debian.org
> Usertags: regression
>
> Hi Maintainer
>
> Since the upload of 0.1-5+dfsg-1, r-cran-lwgeom has been failing its
> own autopkgtests [1] with the following error:
>
> > test_check("lwgeom")
> -- 1. Failure: Prints Points (@test-as_text.R#6) ------------------------------
> st_asewkt(pt, 3) not equal to "SRID=4326;POINT(1 2.3)".
> 1/1 mismatches
> x[1]: "SRID=4326;POINT(1 2.303)"
> y[1]: "SRID=4326;POINT(1 2.3)"
>
> -- 2. Failure: Prints Points (@test-as_text.R#7) ------------------------------
> st_astext(pt, 3, EWKT = FALSE) not equal to "POINT(1 2.3)".
> 1/1 mismatches
> x[1]: "POINT(1 2.303)"
> y[1]: "POINT(1 2.3)"
>
> -- 3. Failure: Prints Points (@test-as_text.R#8) ------------------------------
> st_astext(pt, 4, EWKT = FALSE) not equal to "POINT(1 2.303)".
> 1/1 mismatches
> x[1]: "POINT(1.0002 2.303)"
> y[1]: "POINT(1 2.303)"
>
> Reading layer `nc.gpkg' from data source
> `/usr/lib/R/site-library/sf/gpkg/nc.gpkg' using driver `GPKG'
> Simple feature collection with 100 features and 14 fields
> geometry type: MULTIPOLYGON
> dimension: XY
> bbox: xmin: -84.32385 ymin: 33.88199 xmax: -75.45698 ymax: 36.58965
> epsg (SRID): 4267
> proj4string: +proj=longlat +datum=NAD27 +no_defs
> == testthat results ===========================================================
> OK: 57 SKIPPED: 2 FAILED: 3
> 1. Failure: Prints Points (@test-as_text.R#6)
> 2. Failure: Prints Points (@test-as_text.R#7)
> 3. Failure: Prints Points (@test-as_text.R#8)
>
> Error: testthat unit tests failed
> Execution halted
>
> Regards
> Graham
>
> [1] https://ci.debian.net/packages/r/r-cran-lwgeom/unstable/amd64/
>
> _______________________________________________
> R-pkg-team mailing list
> R-pkg-team at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/r-pkg-team
--
http://fam-tille.de
More information about the R-pkg-team
mailing list