On Fri, 9 Mar 2018 15:24:45 +0200 Graham Inggs <gin...@debian.org> wrote:
> By changing the locale from C to C.UTF-8, similar to what I did in
> r-cran-urltools , 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 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?