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

2017-11-14 Thread Duncan Garmonsway
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

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] vignette leaflet Mac

2017-11-14 Thread Duncan Murdoch

On 14/11/2017 10:44 AM, Berry Boessenkool wrote:


Hi,

I have a vignette (URL below) with

leaflet(geoIndex) %>% addTiles() %>%
 addCircles(~lon, ~lat) [...]

that produces the following warning on solaris and osx:


Error in re-building vignettes:

Warning in engine$weave(file, quiet = quiet, encoding = enc) :
Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R 
Markdown v1.
Warning in normalizePath(f2) :
path[1]="./webshot339b5b6a34d4.png": No such file or directory


I have no access to Solaris and OSX. How can I go about fixing this?
The warning started to appear with the last package update, but the vignette 
was not changed...


Do you list Pandoc (>= 1.12.3) and pandoc-citeproc in your 
SystemRequirements?  That's about all you can do.  I think that version 
of Pandoc is not available on Solaris (or at least on the Solaris 
machines that CRAN tests on).  It is available on MacOS.


When you submit an update, mention the issue as you discuss your 
response to existing errors in CRAN tests.


Duncan Murdoch



Thanks ahead,
Berry

URLs to vignette source, CRAN html view, check results:
https://raw.githubusercontent.com/brry/rdwd/master/vignettes/mapDWD.Rmd
https://cran.r-project.org/web/packages/rdwd/vignettes/mapDWD.html

https://cran.r-project.org/web/checks/check_results_rdwd.html


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel



__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel