From ligges at statistik.tu-dortmund.de  Fri Sep  7 18:55:10 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Fri, 07 Sep 2012 18:55:10 +0200
Subject: [Rd] Need to tell R CMD check that a function qr.R is not a
	method
In-Reply-To: <CAAWNEwbx+hp3xJn9Sbb_cPkX3rCc1tZb7ku8AgewbXtDyDg-yg@mail.gmail.com>
References: <CAAWNEwbx+hp3xJn9Sbb_cPkX3rCc1tZb7ku8AgewbXtDyDg-yg@mail.gmail.com>
Message-ID: <504A26EE.3000702@statistik.tu-dortmund.de>



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.

Best,
Uwe



>
> I'm writing a package now with a modified version of qr.R.
> R CMD check gives warnings:
>
> * checking S3 generic/method consistency ... WARNING
> qr:
>    function(x, ...)
> qr.R:
>    function(qr, complete, pivot)
>
> See section ?Generic functions and methods? of the ?Writing R
> Extensions? manual.
>
> * checking Rd \usage sections ... NOTE
> S3 methods shown with full name in documentation object 'QR.Auxiliaries':
>    ?qr.R?
>
> The \usage entries for S3 methods should use the \method markup and
> not their full name.
> See the chapter ?Writing R documentation files? in the ?Writing R
> Extensions? manual.
>
> 	[[alternative HTML version deleted]]
>
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



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