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

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] 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

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

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

2015-08-17 Thread Hadley Wickham
| Check DetailsVersion: 1.8.3 | Check: tests | Result: ERROR | Running the tests in ‘tests/stdUsage.R’ failed. | Last 13 lines of output: | plot(ffTest42,col=Col,plot_GOF=TRUE,speed=T) | [1] compute goodness-of-fit with leave-one-out k-nearest neighbor(guassian kernel),

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

2015-08-16 Thread Dr Gregory Jefferis
Dear Duncan, On 12 Aug 2015, at 14:07, Duncan Murdoch wrote: A while ago I added support in rgl to run on headless machines. Set the environment variable RGL_USE_NULL=TRUE before loading rgl, and should never try to call X11 (or whatever graphics system you're using). (It's also possible to

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

2015-08-16 Thread Dr Gregory Jefferis
On 12 Aug 2015, at 23:30, Søren Havelund Welling wrote: I placed in top of all test scripts: if(!interactive()) Sys.setenv(RGL_USE_NULL=TRUE) #disable RGL for headless machines System environment variables are inherited, so I think you should be able to do this once in your master test

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

2015-08-12 Thread Dirk Eddelbuettel
On 12 August 2015 at 09:07, Duncan Murdoch wrote: | On 12/08/2015 8:26 AM, Dirk Eddelbuettel wrote: | I frequently tests against all reverse dependencies against some of my | packages, ie Rcpp, RcppArmadillo, ... and packages using rgl generally fail | during these tests. [...] | A while

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

2015-08-12 Thread Søren Havelund Welling
? -they wine a lot From: Dirk Eddelbuettel [e...@debian.org] Sent: Wednesday, August 12, 2015 5:48 PM To: Duncan Murdoch Cc: Dirk Eddelbuettel; Søren Havelund Welling; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] how to make r-release-osx-x86_64

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

2015-08-12 Thread Dirk Eddelbuettel
Hi Søren, On 12 August 2015 at 11:44, Søren Havelund Welling wrote: | Dear all | | I have a package(forestFloor) which produces an test error when built on the r-release-osx-x86_64-mavericks machine. I'm quite sure it's due to Xquartz(or similar) graphical resources have to be installed for