bug in all.equal.character (PR#1767)

maechler@stat.math.ethz.ch maechler@stat.math.ethz.ch
Thu, 11 Jul 2002 10:08:06 +0200 (MET DST)


>>>>> "Dave" == Dave Kane <a296180@agate.fmr.com> writes:

    Dave> There is a bug in all.equal.character:
    >> all.equal.character(c("A", "B", "C"), c("A", "B", "C"))
    Dave> [1] TRUE
    >> all.equal.character(c("A", "B", "C"), c("A", "B", NA))
    Dave> Error in sum(out) : Object "out" not found
    
    ....

    Dave> It appears that there is a typo in
    Dave> all.equal.character. "out" is never created.

yes.  Definitely a bug introduced by cut&paste (from *.numeric).
It will be fixed in R-patched and R-devel by this night.

Thank you, Dave!

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><

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