[Debian-med-packaging] Bug#892481: r-cran-testthat: autopkgtest failure

Graham Inggs ginggs at debian.org
Fri Mar 9 13:24:45 UTC 2018


Source: r-cran-testthat
Version: 2.0.0-1
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu bionic autopkgtest

Hi Dylan

Since the upload of 2.0.0-1, r-cran-testthat's autopkgtests have been 
failing [1].  I noticed you already added a missing test dependency [2] 
in Salsa.  This reduced the number of failing tests to 4.

By changing the locale from C to C.UTF-8, similar to what I did in 
r-cran-urltools [3], there is only one test failure remaining:

 > test_check("testthat")
── 1. Error: returns local path when called from 
tools::testInstalledPackages (@
cannot change working directory
1: setwd("test-path-installed/testthat-tests/testthat") at 
testthat/test-test-path.R:11

══ testthat results 
═══════════════════════════════════════════════════════════
OK: 449 SKIPPED: 2 FAILED: 1
1. Error: returns local path when called from 
tools::testInstalledPackages (@test-test-path.R#11)

It is a new test, not a regression, so skipping it may be a valid option.

Regards
Graham


[1] https://ci.debian.net/packages/r/r-cran-testthat/unstable/amd64/
[2] 
https://salsa.debian.org/r-pkg-team/r-cran-testthat/commit/c5c04175436b406abe675080beca0b9672d9b412
[3] 
https://salsa.debian.org/r-pkg-team/r-cran-urltools/commit/8e5db0e366c651e31846afd49f4f981fa23bd4ac



More information about the Debian-med-packaging mailing list