Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Ott Toomet
Alternatively, you can exclude selected tests from being included in the package. Most of the tests I do are not necessary to run on CRAN, these are not system dependent while still time consuming. To run these just on my PC in enough. So I use .Rbuildignore to exclude those. Cheers, Ott On Th

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Duncan Murdoch
On 08/10/2015 7:55 PM, Ott Toomet wrote: > Alternatively, you can exclude selected tests from being included in the > package. Most of the tests I do are not necessary to run on CRAN, these > are not system dependent while still time consuming. To run these just > on my PC in enough. So I use .R

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Duncan Murdoch
On 08/10/2015 4:41 PM, Dr Gregory Jefferis wrote: > Dear Duncan, > > Could I just revive this one more time > > On 16 Aug 2015, at 17:21, Duncan Murdoch wrote: > >> It is harder for you to implement this yourself, because CRAN frowns >> on >> tests that try to detect whether they're running und

Re: [R-pkg-devel] how to make "r-release-osx-x86_64-mavericks" machine support rgl 3D plots

2015-10-08 Thread Dr Gregory Jefferis
Dear Duncan, Could I just revive this one more time On 16 Aug 2015, at 17:21, Duncan Murdoch wrote: It is harder for you to implement this yourself, because CRAN frowns on tests that try to detect whether they're running under CRAN or not. You could put in "if (interactive())" checks around

Re: [R-pkg-devel] Diagnosing error on CRAN's old R, old Windows

2015-10-08 Thread Mark van der Loo
I had the same problem recently. It was apparently a windows-only oldrel-only problem (and a specific oldrel, I can't remember which one). I opted to adjust the DESCRIPTION to depend on a higher R version. Main reason was that I don't have access to the right type of Windows version to test it loca

Re: [R-pkg-devel] Diagnosing error on CRAN's old R, old Windows

2015-10-08 Thread Ben Bond-Lamberty
>Unfortunately the error diagnostics are not particularly helpful, only showing >that four tests failed; the only common thread I see, maybe, is that all four >tests--and no others--use R's file.size() function. Brief follow-up for completeness: it turns out that `file.size()` doesn't exist on W

Re: [R-pkg-devel] Diagnosing error on CRAN's old R, old Windows

2015-10-08 Thread Ben Bond-Lamberty
My intent wasn't particularly to blame CRAN, just puzzlement that a normally-chatty test script is silently dying in this one case. Anyway, thanks for the advice. Ben On Thu, Oct 8, 2015 at 8:43 AM, Duncan Murdoch wrote: > On 08/10/2015 8:06 AM, Ben Bond-Lamberty wrote: >> Dear list, >> >> My r

Re: [R-pkg-devel] Diagnosing error on CRAN's old R, old Windows

2015-10-08 Thread Duncan Murdoch
On 08/10/2015 8:06 AM, Ben Bond-Lamberty wrote: > Dear list, > > My recent package was accepted and posted by CRAN, but the check > results (https://cran.r-project.org/web/checks/check_results_luzlogr.html) > show an error for flavor 'r-oldrel-windows-ix86+x86_64'. Everything > else passes fine. U

[R-pkg-devel] Diagnosing error on CRAN's old R, old Windows

2015-10-08 Thread Ben Bond-Lamberty
Dear list, My recent package was accepted and posted by CRAN, but the check results (https://cran.r-project.org/web/checks/check_results_luzlogr.html) show an error for flavor 'r-oldrel-windows-ix86+x86_64'. Everything else passes fine. Unfortunately the error diagnostics are not particularly help