Re: [R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Duncan Murdoch
On 24/08/2019 10:36 a.m., Kevin Coombes wrote: Hi, I've been building a package and hit a NAMESPACE issue that took a while to resolve. My package implements a (new) generic function, and the method for a package in the class calls the "smoothScatter" function from the "graphics" package. I cou

Re: [R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Jeff Newmiller
I think yes. If a direct user of graphics opted not to call smoothScatter then they would have no need to even install KernSmooth. However, since generics automatically trigger loading of class-specific methods, one of which in your case includes that dependency, your package cannot avoid at lea

[R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Kevin Coombes
Hi, I've been building a package and hit a NAMESPACE issue that took a while to resolve. My package implements a (new) generic function, and the method for a package in the class calls the "smoothScatter" function from the "graphics" package. I could build and install the package successfull