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