[R] R-1.6.0 and R CMD check

Deepayan Sarkar deepayansarkar at yahoo.com
Sun Oct 6 00:04:13 CEST 2002


Hi,

this is probably due to changes in R CMD check that now complain if T and F are
used instead of TRUE and FALSE (which is risky because T and F can be
overridden by the user). From the R 1.6.0 announcement:


         CHANGES IN R VERSION 1.6.0

[...]


UTILITIES

    o	R CMD check now tests for mis-use on an installed or binary
	package, and sets 'T' and 'F' to 'NULL' when running the
	examples.


Deepayan

--- Laurent Gautier <laurent at cbs.dtu.dk> wrote:
> 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 ?
> 
> 
> Laurent
> 
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


__________________________________________________

Faith Hill - Exclusive Performances, Videos & More

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