[Rd] 'library' or 'require' call not declared from: 'rgl'

2014-10-30 Thread Michael Friendly
I'm checking a new release of vcdExtra via win builder with R-devel 2014-10-29 r66897 and have run into a Warning I don't know how to fix. I have one S3 generic, mosaic3d() that uses rgl and don't want to have rgl always loaded via Depends:. Instead, the mosaic3d.default() method includes

Re: [Rd] 'library' or 'require' call not declared from: 'rgl'

2014-10-30 Thread Simon Urbanek
> On Oct 30, 2014, at 3:11 PM, Michael Friendly wrote: > > I'm checking a new release of vcdExtra via win builder with R-devel > 2014-10-29 r66897 > and have run into a Warning I don't know how to fix. > > I have one S3 generic, mosaic3d() that uses rgl and don't want to have rgl > always loa

Re: [Rd] 'library' or 'require' call not declared from: 'rgl'

2014-10-30 Thread Michael Friendly
On 10/30/2014 4:19 PM, Simon Urbanek wrote: Did you intend rgl to be optional? If so, then you should use Suggests: instead. When you use Imports: it will load rgl automatically so require() does't make sense (since it will be always TRUE). I always had it as Suggests: rgl before. But R-devel

Re: [Rd] RFC: is.whole() ? {"how to judge if a variable is an integer"}

2014-10-30 Thread Michel Lang
2014-10-28 10:32 GMT+01:00 Martin Maechler : > Given all this, the r-help and stackoverflow threads, > maybe we should decide that such an is.whole() function should > be added to R and maintained (by me for the time), so we do have > a better place to point people to, and well documented -- and >

[Rd] DIY Rtools?

2014-10-30 Thread kaveh
Dear List, I'm currently working on an R package that works great when compiled with GCC 4.8 under linux but which doesn't seem to work so well when compiled by the win builder (http://win-builder.r-project.org/). After asking around a bit, the primary culprit could be the older version of GCC

Re: [Rd] DIY Rtools?

2014-10-30 Thread Duncan Murdoch
On 30/10/2014, 2:45 PM, kaveh wrote: > Dear List, > > I'm currently working on an R package that > works great when compiled with GCC 4.8 under linux > but which doesn't seem to work so well when compiled > by the win builder (http://win-builder.r-project.org/). > > After asking around a bit, t

Re: [Rd] DIY Rtools?

2014-10-30 Thread kaveh
Thank you very much for all these infos! Best regards, On 2014-10-30 22:54, Duncan Murdoch wrote: On 30/10/2014, 2:45 PM, kaveh wrote: Dear List, I'm currently working on an R package that works great when compiled with GCC 4.8 under linux but which doesn't seem to work so well when compiled