Skip to content
Back to formatted view

Raw Message

Message-ID: <CAARqVQNyACi6HqMQZ__GVjgFikUsLivm_dAq-qafuyzB93cHjg@mail.gmail.com>
Date: 2017-11-13T23:01:23Z
From: Duncan Garmonsway
Subject: [R-pkg-devel] win-builder fails via CRAN, not otherwise

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