From ripley@stats.ox.ac.uk  Fri Sep 28 19:44:50 2001
From: ripley@stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 28 Sep 2001 19:44:50 +0100 (BST)
Subject: [Rd] problems with new checks in R-devel
In-Reply-To: <3BB4C2CE.66325EAB@bank-banque-canada.ca>
Message-ID: <Pine.LNX.4.31.0109281941260.6685-100000@gannet.stats>

On Fri, 28 Sep 2001, Paul Gilbert wrote:

> Below are a few problems I have encountered with the new checks
> being done in R-devel.
>
> 1/ I have two generics, test.equal and test.equal.tframe. The
> first checks that two objects are equal while the second checks
> if two objects have equal tframes (time frames).  There is no
> reason these should have similar arguments but the check seems to
> think that test.equal.tframe is a method for test.equal so I get:
>
> * checking generic/method consistency ... WARNING
> test.equal:
>   function(obj1, obj2, ...)
> test.equal.tframe:
>   function(tf1, tf2)

There is a stop list in checkMethods, but naming one generic to look like
a method of another is surely peverse.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] problems with new checks in R-devel
Prof Brian Ripley