[R-pkg-team] Bug#1104160: r-cran-testthat breaks r-cran-s2 autopkgtest on i386
Paul Gevers
elbrus at debian.org
Sat Apr 26 10:31:13 BST 2025
Source: r-cran-testthat, r-cran-s2
Control: found -1 r-cran-testthat/3.2.3-1
Control: found -1 r-cran-s2/1.1.7-1
Severity: serious
Tags: sid trixie
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainer(s),
With a recent upload of r-cran-testthat the autopkgtest of r-cran-s2
fails in testing when that autopkgtest is run with the binary packages
of r-cran-testthat from unstable on i386. It passes when run with only
packages from testing. In tabular form:
pass fail
r-cran-testthat from testing 3.2.3-1
r-cran-s2 from testing 1.1.7-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of r-cran-testthat
to testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=r-cran-testthat
https://ci.debian.net/data/autopkgtest/testing/i386/r/r-cran-s2/60243543/log.gz
42s BEGIN TEST area.R
43s 43s R version 4.4.3 (2025-02-28) -- "Trophy Case"
43s Copyright (C) 2025 The R Foundation for Statistical Computing
43s Platform: i686-pc-linux-gnu (32-bit)
43s 43s R is free software and comes with ABSOLUTELY NO WARRANTY.
43s You are welcome to redistribute it under certain conditions.
43s Type 'license()' or 'licence()' for distribution details.
43s 43s R is a collaborative project with many contributors.
43s Type 'contributors()' for more information and
43s 'citation()' on how to cite R or R packages in publications.
43s 43s Type 'demo()' for some demos, 'help()' for on-line help, or
43s 'help.start()' for an HTML browser interface to help.
43s Type 'q()' to quit R.
43s 43s > library(s2)
43s > 43s > u = s2_union(
43s + "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))",
43s + "POLYGON ((5 5, 15 5, 15 15, 5 15, 5 5))",
43s + s2_options(snap = s2_snap_level(30))
43s + )
43s > s2_area(u, radius = 1)
43s [1] 0.05284581
43s > s2_area("POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))", radius = 1) +
43s + s2_area("POLYGON ((5 5, 15 5, 15 15, 5 15, 5 5))", radius = 1) -
43s + s2_area("POLYGON ((5 5, 10 5, 10 15, 5 10, 5 5))", radius = 1)
43s [1] 0.04910511
43s > s2_area("POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))", radius = 1)
43s [1] 0.03038216
43s > s2_area("POLYGON ((5 5, 15 5, 15 15, 5 15, 5 5))", radius = 1)
43s [1] 0.03002974
43s > s2_area("POLYGON ((5 5, 10 5, 10 15, 5 10, 5 5))", radius = 1)
43s [1] 0.01130679
43s > 43s > df = s2_difference(
43s + "POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))",
43s + "POLYGON ((5 5, 15 5, 15 15, 5 15, 5 5))",
43s + s2_options(snap = s2_snap_level(30))
43s + )
43s > s2_area(df, radius = 1) -
43s + (s2_area("POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0))", radius = 1) -
43s + s2_area("POLYGON ((5 5, 10 5, 10 15, 5 10, 5 5))", radius = 1))
43s [1] 0.003740703
43s > 43s BEGIN TEST testthat.R
43s 43s R version 4.4.3 (2025-02-28) -- "Trophy Case"
43s Copyright (C) 2025 The R Foundation for Statistical Computing
43s Platform: i686-pc-linux-gnu (32-bit)
43s 43s R is free software and comes with ABSOLUTELY NO WARRANTY.
43s You are welcome to redistribute it under certain conditions.
43s Type 'license()' or 'licence()' for distribution details.
43s 43s R is a collaborative project with many contributors.
43s Type 'contributors()' for more information and
43s 'citation()' on how to cite R or R packages in publications.
43s 43s Type 'demo()' for some demos, 'help()' for on-line help, or
43s 'help.start()' for an HTML browser interface to help.
43s Type 'q()' to quit R.
43s 43s > # This file is part of the standard setup for testthat.
43s > # It is recommended that you do not modify it.
43s > #
43s > # Where should you do additional test configuration?
43s > # Learn more about the roles of various files in:
43s > # * https://r-pkgs.org/tests.html
43s > # *
https://testthat.r-lib.org/reference/test_package.html#special-files
43s > 43s > library(testthat)
43s > library(s2)
44s > 44s > test_check("s2")
63s [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1035 ]
63s 63s ══ Failed tests
════════════════════════════════════════════════════════════════
63s ── Error ('test-s2-transformers.R:626:5'): real data survives the
S2BooleanOperation ──
63s Error in `wk_handle.wk_wkb(wkb, s2_geography_writer(oriented =
oriented, 63s check = check, tessellate_tol = if (planar) {
63s tessellate_tol_m/s2_earth_radius_meters()
63s } else {
63s Inf
63s }))`: Loop 7 is not valid: Edge 5 is degenerate (duplicate vertex)
63s Backtrace:
63s ▆
63s 1. └─s2::s2_geog_from_wkb(exported, oriented = TRUE) at
test-s2-transformers.R:626:5
63s 2. ├─wk::wk_handle(...)
63s 3. └─wk:::wk_handle.wk_wkb(...)
63s 63s [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1035 ]
63s Error: Test failures
63s Execution halted
64s autopkgtest [02:08:02]: test run-unit-test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20250426/e95334ea/attachment-0001.sig>
More information about the R-pkg-team
mailing list