R 1.6.0 beta; R CMD check fails

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Thu, 12 Sep 2002 18:14:16 +0200

>>>>> "GB" == Göran Broström <gb@stat.umu.se>
>>>>>     on Thu, 12 Sep 2002 17:50:04 +0200 (CEST) writes:

    GB> On 10 Sep 2002, Peter Dalgaard BSA wrote: [...]
    >> If you want to help ensure that the final 1.6.0 works
    >> satisfactorily on *your* platform, it might be a good
    >> idea to make a test build of the beta and report any
    >> errors back.

    GB> R : Copyright 2002, The R Development Core Team Version
    GB> 1.6.0 beta (2002-09-11)

    GB> Debian/gcc-3.2

    GB> Building and fullchecking caused no errors to talk
    GB> about, but

Thank you for the report.

    GB> $ R CMD check my.package

    GB> failed on the example. From my.package-Ex.Rout: ....
    GB> Error in match.call(definition, call, expand.dots) :
    GB> NULL is not a logical Execution halted

    GB> This does not happen in 1.5.1, and in 1.6.0, if I
    GB> install my.package and run the example, it works fine.

You are using "T" and "F" in your package instead of "TRUE" and "FALSE".
This is now tested a bit (by setting T <- F <- NULL).

NEWS of "R-1.6.0 beta" 
----		       (probably should be read by ``everyone'')	

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

where I'm pretty sure you won't be the only one..

BTW, (not to Göran, but the publich), also in NEWS

||    o	The assignment operator `_' is deprecated: a warning is	given
||	once per R session.

which really suggests to everyone (you should finally listen ;-) ..
your R code might no longer run in the not so distant future (some time
next year probably) when you'll still be using "_" for assignment

Regards, Martin

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