[R] R-1.6.0 and R CMD check

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat Oct 5 14:42:18 CEST 2002


Laurent Gautier <laurent at cbs.dtu.dk> writes:

> Hi,
> 
> I upgraded to R-1.6.0 and R CMD check is behaving a bit weird.
> The package I am check cannot make it throught because of
> errors like 
> 
> > ##___ Examples ___:
> > 
> >      data(Dilution)
> >      hist(Dilution[,1])
> Error in if (log == T) { : missing value where logical needed
> Execution halted
> 
> 
> while the function called in the example defined in the .Rd fiel
> as a signature in which 'log=T' is stated...
> If I comment out this example I end up with an another similar error
> in an another example. 
> 
> 
> Am I the only one ?

The new QA tools are more insistent that you use the canonical
TRUE/FALSE rather than T/F in examples. T and F are ordinary variables
which might be redefined by the user and R CMD check now simulates
that situation by running the checks with T <- F <- NULL.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list