diff -Nru r-cran-rlang-0.4.10/debian/changelog r-cran-rlang-0.4.10/debian/changelog --- r-cran-rlang-0.4.10/debian/changelog 2021-01-16 15:51:36.000000000 +0000 +++ r-cran-rlang-0.4.10/debian/changelog 2021-03-02 11:37:52.000000000 +0000 @@ -1,3 +1,9 @@ +r-cran-rlang (0.4.10-1ubuntu1) hirsute; urgency=medium + + * Skip hash tests on big-endian platforms + + -- Graham Inggs Tue, 02 Mar 2021 11:37:52 +0000 + r-cran-rlang (0.4.10-1) unstable; urgency=medium * New upstream version diff -Nru r-cran-rlang-0.4.10/debian/control r-cran-rlang-0.4.10/debian/control --- r-cran-rlang-0.4.10/debian/control 2021-01-16 15:51:36.000000000 +0000 +++ r-cran-rlang-0.4.10/debian/control 2021-03-02 11:37:52.000000000 +0000 @@ -1,5 +1,6 @@ Source: r-cran-rlang -Maintainer: Debian R Packages Maintainers +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian R Packages Maintainers Uploaders: Andreas Tille Section: gnu-r Testsuite: autopkgtest-pkg-r diff -Nru r-cran-rlang-0.4.10/debian/patches/series r-cran-rlang-0.4.10/debian/patches/series --- r-cran-rlang-0.4.10/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ r-cran-rlang-0.4.10/debian/patches/series 2021-03-02 11:35:01.000000000 +0000 @@ -0,0 +1 @@ +skip-hash-tests-on-big-endian.patch diff -Nru r-cran-rlang-0.4.10/debian/patches/skip-hash-tests-on-big-endian.patch r-cran-rlang-0.4.10/debian/patches/skip-hash-tests-on-big-endian.patch --- r-cran-rlang-0.4.10/debian/patches/skip-hash-tests-on-big-endian.patch 1970-01-01 00:00:00.000000000 +0000 +++ r-cran-rlang-0.4.10/debian/patches/skip-hash-tests-on-big-endian.patch 2021-03-02 11:37:52.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Skip hash tests on big-endian platforms +Origin: upstream, https://github.com/r-lib/rlang/commit/7c43798eb9fb3b56e9df14b29efb8ae93daadc37 +Author: Davis Vaughan +Last-Update: 2021-01-26 + +--- a/tests/testthat/helper-rlang.R ++++ b/tests/testthat/helper-rlang.R +@@ -44,6 +44,13 @@ + } + }) + ++skip_if_big_endian <- function() { ++ skip_if( ++ identical(.Platform$endian, "big"), ++ "Skipping on big-endian platform." ++ ) ++} ++ + Rscript <- function(args, ...) { + out <- suppressWarnings(system2( + file.path(R.home("bin"), "Rscript"), +--- a/tests/testthat/test-hash.R ++++ b/tests/testthat/test-hash.R +@@ -1,4 +1,5 @@ + test_that("simple hashes with no ALTREP and no attributes are reproducible", { ++ skip_if_big_endian() + expect_identical(hash(1), "a3f7d4a39b65b170005aafbbeed05106") + expect_identical(hash("a"), "4d52a7da68952b85f039e85a90f9bbd2") + expect_identical(hash(1:5 + 0L), "0d26bf75943b8e13c080c6bab12a7440")