Hello everyone,
I'm trying to update the locfit package so that it passes package check
in R 2.6.0. However, the check seems to think some of the functions
with dot in the names are S3 methods (thus warns about the format of the
\usage{} part) when they are not. Can anyone recommend a workaround for
this? I tried reading R-exts, but couldn't find any hint. I'd very
much appreciate any help!
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000 RY33-300
Merck Research Labs Rahway, NJ 07065
andy_liaw(a)merck.com 732-594-0820
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachme...{{dropped:15}}
dot in function name taken as S3 method by package check
2 messages · Liaw, Andy, Duncan Murdoch
On 05/11/2007 3:48 PM, Liaw, Andy wrote:
Hello everyone,
I'm trying to update the locfit package so that it passes package check
in R 2.6.0. However, the check seems to think some of the functions
with dot in the names are S3 methods (thus warns about the format of the
\usage{} part) when they are not. Can anyone recommend a workaround for
this? I tried reading R-exts, but couldn't find any hint. I'd very
much appreciate any help!
I think you need a NAMESPACE file. That's where you declare whether things are S3 methods or not. Without a NAMESPACE, a function like locfit.raw could act as the locfit method for raw objects, if someone ever declared a locfit generic function. Probably not what was intended. Duncan Murdoch