Re: [Rd] R CMD check -- non S3 method warning

2012-04-21 Thread Prof Brian Ripley
On 21/04/2012 14:18, Whit Armstrong wrote: I'm trying to R CMD check a package, and I'm getting the 'checking S3 generic/method consistency' warning. I have written a function 'gamma.dist' which is _not_ an S3 method, but happens to collide with the 'gamma' function from the R::base namespace.

[Rd] R CMD check -- non S3 method warning

2012-04-21 Thread Whit Armstrong
I'm trying to R CMD check a package, and I'm getting the 'checking S3 generic/method consistency' warning. I have written a function 'gamma.dist' which is _not_ an S3 method, but happens to collide with the 'gamma' function from the R::base namespace. Is there a way of telling CMD check that the