From p.dalgaard@biostat.ku.dk  Tue Aug 22 17:58:39 2000
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 22 Aug 2000 18:58:39 +0200
Subject: [Rd] diff.default / diff.ts in wrong package bug (PR#640)
In-Reply-To: maechler@stat.math.ethz.ch's message of "Tue, 22 Aug 2000 18:36:18 +0200 (MET DST)"
References: <200008221636.SAA03685@pubhealth.ku.dk>
Message-ID: <x2bsylfd1c.fsf@blueberry.kubism.ku.dk>

maechler@stat.math.ethz.ch writes:

> One easy and "clean" fix is to put the following at the very beginning of
> diff.default :
> 
>     if(is.ts(x)) {
>         require(ts)
>         UseMethod("diff")
>     }
...
> The above passes "make check" (and more).
> 
> Anybody against this?

I'm not really pro or con, but what is wrong with autoloading diff.ts?? 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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] diff.default / diff.ts in wrong package bug (PR#640)
Peter Dalgaard BSA