From murdoch.duncan at gmail.com  Fri Sep  7 20:14:01 2012
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 07 Sep 2012 14:14:01 -0400
Subject: [Rd] Need to tell R CMD check that a function qr.R is not a
	method
In-Reply-To: <12FFEEBD-0124-49ED-82DB-8E8C8B241D14@r-project.org>
References: <0CAEE2B1235DF643B0F5E1EAE1487B5309472AFD@023-CH1MPN1-043.023d.mgd.msft.net>
	<12FFEEBD-0124-49ED-82DB-8E8C8B241D14@r-project.org>
Message-ID: <504A3969.4050607@gmail.com>

On 07/09/2012 2:00 PM, Simon Urbanek wrote:
> On Sep 7, 2012, at 12:59 PM, "Warnes, Gregory" <gregory.warnes at novartis.com> wrote:
>
> >
> > On 9/7/12 12:55 PM, "Uwe Ligges" <ligges at statistik.tu-dortmund.de> wrote:
> >
> >> On 07.09.2012 17:05, Tim Hesterberg wrote:
> >>> When creating a package, I would like a way to tell R that
> >>> a function with a period in its name is not a method.
> >>
> >> You can't. There are few exception for historic names (S definitions)
> >> hardcoded in R.
> >>
> >
> > Would it be possible to add a \notmethod{} decorator to allow package maintainers to avoid these messages?
> >
>
> I would strongly support any solution since it has bitten me as well...

An alternative would be to say that if it's not declared to be a method 
in the NAMESPACE file, it's not one.  I think that would actually be 
more work though, since it would probably break a lot of packages...

Duncan Murdoch



[Rd] Need to tell R CMD check that a function qr.R is not a method
Duncan Murdoch