Re: [R] S 3 generic method consistency warning please help

2008-07-30 Thread stephen sefick
changed data argument to x and it passes the check. FOR NOW. Thanks for all of the help On Wed, Jul 30, 2008 at 10:49 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > Mac OS X 10.5.4 > R 2.7.1 > the function works fine when I use it in a regular session. I can post > source code and the lik

Re: [R] S 3 generic method consistency warning please help

2008-07-30 Thread stephen sefick
Mac OS X 10.5.4 R 2.7.1 the function works fine when I use it in a regular session. I can post source code and the like if it is necessary to diagnose the problem. If ya'll need anything else just tell me. thanks Stephen On Wed, Jul 30, 2008 at 10:40 PM, stephen sefick <[EMAIL PROTECTED]> wrote

Re: [R] S 3 generic method consistency warning please help

2008-07-30 Thread Gabor Grothendieck
If you look at the generic formal arguments they look like this > args(window) function (x, ...) but your window method does not start with an argument called x so its inconsistent with its generic. On Wed, Jul 30, 2008 at 10:40 PM, stephen sefick <[EMAIL PROTECTED]> wrote: > I would like to in

[R] S 3 generic method consistency warning please help

2008-07-30 Thread stephen sefick
I would like to include this in a package. The S3 methods on R CMD check says * checking S3 generic/method consistency ... WARNING window: function(x, ...) window.chron: function(data, day1, hour1, day2, hour2, ...) See section 'Generic functions and methods' of the 'Writing R Extensions' man