[R-pkg-team] Bug#1082295: r-bioc-dropletutils: autopkgtest failure on riscv64

Graham Inggs ginggs at debian.org
Thu Sep 19 18:52:37 BST 2024


Source: r-bioc-dropletutils
Version: 1.24.0+ds-1
Tags: patch

Hi Maintainer

The autopkgtests of r-bioc-dropletutils are failing on riscv64 [1].
I've copied what I hope is the relevant part of the log below.

The following patch worked for me:

--- a/tests/testthat/test-hashing.R
+++ b/tests/testthat/test-hashing.R
@@ -241,7 +241,7 @@
         out <- hashedDrops(mat[keep,,drop=FALSE],
combinations=rbind(4:2), ambient=ambient[keep])
         SCALING <- median(mat[keep]/ambient[keep])
         PSEUDO <- mean(ambient[keep]) * SCALING
-        expect_identical(out$LogFC, .compute_expected_lfc(SCALING, PSEUDO))
+        expect_equal(out$LogFC, .compute_expected_lfc(SCALING, PSEUDO))
     }
 })

I am not sure whether it is preferable to maintain such a patch, or
update the list of architectures in
debian/tests/autopkgtest-pkg-r.hook.

Regards
Graham


[1] https://ci.debian.net/packages/r/r-bioc-dropletutils/testing/riscv64/


1154s > test_check("DropletUtils")
3081s [ FAIL 1 | WARN 461 | SKIP 0 | PASS 989 ]
3081s
3081s ══ Failed tests
════════════════════════════════════════════════════════════════
3081s ── Failure ('test-hashing.R:244:9'): edge cases are handled
correctly with combinatorial barcodes ──
3081s out$LogFC not identical to .compute_expected_lfc(SCALING, PSEUDO).
3081s Objects equal but not identical
3081s
3081s [ FAIL 1 | WARN 461 | SKIP 0 | PASS 989 ]
3084s Error: Test failures



More information about the R-pkg-team mailing list