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

Dylan Aïssi bob.dybian at gmail.com
Sat Mar 10 14:00:35 UTC 2018


Hi Graham,

On Fri, 9 Mar 2018 15:24:45 +0200 Graham Inggs <ginggs at debian.org> wrote:
>
> 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:

Thanks. Done.

>
>  > 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.
>

I am not sure how to proceed here. Is there a simple way to skip this
test except to patch the relevant file and to use the skip function?

Best,
Dylan



More information about the Debian-med-packaging mailing list