Re: [R] setMethods/setGeneric problem when R CMD CHECK'ing a package

2011-08-24 Thread Jonathan Greenberg
Hmm, so I moved the function call to the same file as the methods call, and placed it above the method in the file -- but I'm getting the same error. Is there something "odd" about as.yearmon in the zoo package that it might not be getting defined as a generic function? If so, how would I go about

Re: [R] setMethods/setGeneric problem when R CMD CHECK'ing a package

2011-08-24 Thread Uwe Ligges
On 24.08.2011 11:09, Jonathan Greenberg wrote: Hmm, so I moved the function call to the same file as the methods call, and placed it above the method in the file -- but I'm getting the same error. Is there something "odd" about as.yearmon in the zoo package that it might not be getting defined

Re: [R] setMethods/setGeneric problem when R CMD CHECK'ing a package

2011-08-24 Thread Uwe Ligges
On 24.08.2011 10:30, Jonathan Greenberg wrote: R-helpers: I'm trying to build a package, but I'm a bit new to the whole S3/S4 methods concept. I'm trying to add a new definition of the zoo function "as.yearmon", but I'm getting the following error when it gets to this point during a package i