Package: r-cran-bbmisc Version: 1.11-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu bionic ubuntu-patch autopkgtest
Hi Andreas, r-cran-bbmisc has recently started failing its autopkgtests in Debian and Ubuntu: Loading required package: BBmisc -- 1. Failure: lsort (@test_lsort.R#5) ---------------------------------------- lsort(c("a", "<U+00E4>", "<U+00F6>", "o")) not equal to c("a", "o", "<U+00E4>", "<U+00F6>"). 4/4 mismatches x[1]: "\u00e4" y[1]: "a" x[2]: "\u00f6" y[2]: "o" x[3]: "a" y[3]: "\u00e4" x[4]: "o" y[4]: "\u00f6" [...] == testthat results =========================================================== OK: 736 SKIPPED: 2 FAILED: 1 1. Failure: lsort (@test_lsort.R#5) Error: testthat unit tests failed Execution halted autopkgtest [09:50:30]: test run-unit-test: -----------------------] (https://ci.debian.net/packages/r/r-cran-bbmisc/unstable/amd64/) I don't know why this autopkgtest has regressed, but it is trivially fixed by using the C.UTF-8 locale instead of overriding it to C. A patch is attached. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru r-cran-bbmisc-1.11/debian/tests/run-unit-test r-cran-bbmisc-1.11/debian/tests/run-unit-test --- r-cran-bbmisc-1.11/debian/tests/run-unit-test 2017-10-12 07:35:51.000000000 -0700 +++ r-cran-bbmisc-1.11/debian/tests/run-unit-test 2018-03-02 16:25:26.000000000 -0800 @@ -7,5 +7,5 @@ cd $ADTTMP cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP gunzip -r * -LC_ALL=C R --no-save < run-all.R +LC_ALL=C.UTF-8 R --no-save < run-all.R rm -fr $ADTTMP/*