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

2014-10-31 Thread Martyn Plummer
On Thu, 2014-10-30 at 17:18 -0400, Michael Friendly wrote: 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

[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 frien...@yorku.ca 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

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