Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-16 Thread David Hugh-Jones
Thanks to Maëlle for getting me fixed up with r-hub, which is looking quite slick. I debugged the problem and it comes down to the R tinytex package not playing nicely with Debian’s texlive installation. I think the answer is just to turn off all relevant tests on CRAN. It’s reasonable for them

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-14 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- To follow up on the great answers regarding R-hub,- to use R-hub Linux Docker images you can use this brand-new rhub function  https://r-hub.github.io/rhub/reference/local_check_linux.html (untested on Windows)- here's WIP R-hub docs entry about choosing a platform to

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-14 Thread David Hugh-Jones
Thank you! Got it. This should be close enough to CRAN, and there’s a Docker image available too. On Thu, 14 Mar 2019 at 00:40, Duncan Murdoch wrote: > On 13/03/2019 8:34 p.m., David Hugh-Jones wrote: > > > > Hi guys > > > > That might be it. But there was no error until the latest release - >

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread Duncan Murdoch
On 13/03/2019 8:34 p.m., David Hugh-Jones wrote: Hi guys That might be it. But there was no error until the latest release - whereas that test has been there for 9 months. The file is written within testthat... is there a new check for this in CRAN? Meanwhile, I am still figuring out how

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread David Hugh-Jones
Hi guys That might be it. But there was no error until the latest release - whereas that test has been there for 9 months. The file is written within testthat... is there a new check for this in CRAN? Meanwhile, I am still figuring out how to debug this problem. I uploaded to r-hub... does

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread Duncan Murdoch
On 13/03/2019 12:59 p.m., William Dunlap wrote: The complaint test_check("huxtable") -- 1. Failure: Data written in appropriate format (@test-openxlsx.R#101) -- `openxlsx::saveWorkbook(wb, file = "test-xlsx.xlsx", overwrite = TRUE)` produced messages. comes from your call to

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread Klaus Schliep
On Wed, Mar 13, 2019, 1:13 PM David Hugh-Jones wrote: > Hi Bill, > > I take your point. Meanwhile, though, is there any way to debug the > problem? I’ll assume that making repeated uploads to CRAN is not a viable > approach it would be great if there were a Docker image of their setup >

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread William Dunlap
You can stick your own version of expect_silent into the test file. Have it print the messages, output, and warnings that it finds. Bill Dunlap TIBCO Software wdunlap tibco.com On Wed, Mar 13, 2019 at 10:13 AM David Hugh-Jones wrote: > Hi Bill, > > I take your point. Meanwhile, though, is

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread David Hugh-Jones
Hi Bill, I take your point. Meanwhile, though, is there any way to debug the problem? I’ll assume that making repeated uploads to CRAN is not a viable approach it would be great if there were a Docker image of their setup available, for example. On Wed, 13 Mar 2019 at 17:00, William Dunlap

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread William Dunlap
The complaint > test_check("huxtable") -- 1. Failure: Data written in appropriate format (@test-openxlsx.R#101) -- `openxlsx::saveWorkbook(wb, file = "test-xlsx.xlsx", overwrite = TRUE)` produced messages. comes from your call to testthat::expect_silent() test_that("Data written

[R-pkg-devel] How to debug CRAN errors?

2019-03-13 Thread David Hugh-Jones
Hi all, My package has errors on CRAN's Linux and Solaris: https://cran.r-project.org/web/checks/check_results_huxtable.html which I can't reproduce on my local OSX Machine, nor on Linux on Travis. Does anyone have any general hints on how to reproduce and/or debug such errors? Specifically