Re: [Rd] Function works when custom defined but not when part of a package

2010-09-28 Thread Mike Lawrence
Ah, "forgot" is a bit too generous. Seems I failed to get that far in the Extensions manual because I never dealt with S4 classes until now. Thanks for the pointer. Mike -- Mike Lawrence Graduate Student Department of Psychology Dalhousie University Looking to arrange a meeting? Check my public

Re: [Rd] Function works when custom defined but not when part of a package

2010-09-28 Thread Uwe Ligges
I guess you forgot to import the relevant S4 functionality into your namespace. Best, Uwe On 28.09.2010 02:33, Mike Lawrence wrote: Hi folks, I'm not sure if this is a bug or not so I thought I'd check here first. I came across it while working on an update to my package where I try to get

[Rd] Function works when custom defined but not when part of a package

2010-09-27 Thread Mike Lawrence
Hi folks, I'm not sure if this is a bug or not so I thought I'd check here first. I came across it while working on an update to my package where I try to get AICtab slot from the summary of an lmer object ( summary(my_lmer)@AICtab ). The attached contains a minimal example, where the code below