[Rd] diff.default / diff.ts in wrong package bug (PR#640)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
22 Aug 2000 18:58:39 +0200


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._