[R-pkg-devel] win-builder fails via CRAN, not otherwise

Duncan Garmonsway nacnudus at gmail.com
Tue Nov 14 00:01:23 CET 2017


Hi,

I submitted a package to CRAN, and it failed the automatic build on
win-builder.  But it passed when I uploaded it directly to
win-builder.

Here is the relevant part of each build.  First, the build done via
the CRAN submission.  It fails something to do with character
encoding.

```
* using log directory 'd:/RCompile/CRANincoming/R-devel/tidyxl.Rcheck'
* using R Under development (unstable) (2017-09-12 r73242)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'tidyxl/DESCRIPTION' ... OK
* this is package 'tidyxl' version '1.0.0'
* package encoding: UTF-8
...
** running tests for arch 'i386' ... [7s] ERROR
  Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
  x[2]: "1~`!@#$%^&()_-+={}|;\"'<,>.£¹÷¦°"
  y[2]: "1~`!@#$%^&()_-+={}|;\"'<,>.£¹÷¦°"
...
** running tests for arch 'x64' ... [8s] ERROR
  Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
  x[2]: "1~`!@#$%^&()_-+={}|;\"'<,>.£¹÷¦°"
  y[2]: "1~`!@#$%^&()_-+={}|;\"'<,>.£¹÷¦°"
```

Second, the same build, but directly (not via a CRAN submission, see
the first two lines)

```
* using log directory 'd:/RCompile/CRANguest/R-devel/tidyxl.Rcheck'
* using R Under development (unstable) (2017-09-12 r73242)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* checking for file 'tidyxl/DESCRIPTION' ... OK
* this is package 'tidyxl' version '1.0.0'
* package encoding: UTF-8
...
** running tests for arch 'i386' ... [6s] OK
  Running 'testthat.R' [6s]
** running tests for arch 'x64' ... [6s] OK
  Running 'testthat.R' [5s]
```

How could I investigate this further?

Thanks,
Duncan



More information about the R-package-devel mailing list