Skip to content
Prev 2378 / 63424 Next

summary.default & is.recursive (PR#221)

PD> Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:
    >> is.recursive(list(z, a=list(1:3)) )
    >> 
    >> R64.2:> [1] FALSE
    Splus3.3> [1] T

    PD> Yup, it's a bug. Cc'ed to r-bugs so that we don't forget.

    >> is.recursive(list(1,2))
    PD> [1] FALSE
    >> is.recursive(pairlist(1,2))
    PD> [1] TRUE

Now fixed.

    PD> [maybe Martin would want to add a check that is.whatever works
    PD> identically on lists and pairlists. Not is.pairlist, though...]

Added to tests/is-things.R (& .Rout.save).
Both should be in the snapshots (R-devel.tar.gz) shortly..

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