Re: [Rd] dot in function name taken as S3 method by package check

From: Duncan Murdoch <>
Date: Mon, 05 Nov 2007 16:19:37 -0500

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 mailing list Received on Mon 05 Nov 2007 - 21:48:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 06 Nov 2007 - 05:30:14 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.