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

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Fri, 07 Sep 2012 14:14:01 -0400

On 07/09/2012 2:00 PM, Simon Urbanek wrote:
> On Sep 7, 2012, at 12:59 PM, "Warnes, Gregory" <gregory.warnes@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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 07 Sep 2012 - 18:19:23 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Fri 07 Sep 2012 - 18:50:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive