[Rd] reg-tests-1a fails with r70391

Martin Maechler maechler at stat.math.ethz.ch
Wed Mar 30 11:16:15 CEST 2016


>>>>> Hiroyuki Kawakatsu <hkawakat at gmail.com>
>>>>>     on Wed, 30 Mar 2016 09:27:16 +0100 writes:

    > Hi, This may be a `transitional' bug but I am reporting a
    > make check fail with R-devel r70391 in
    > reg-tests-1a.Rout. The tail of reg-tests-1a.Rout.fail is

    >> ## prcomp(tol=1e-6) x <- matrix(runif(30),ncol=10) s <-
    >> prcomp(x, tol=1e-6) stopifnot(length(s$sdev) ==
    >> ncol(s$rotation))
    > Error: length(s$sdev) == ncol(s$rotation) is not TRUE
    > Execution halted

    > Looking at stats:::prcomp.default(), it appears that s$v
    > is truncated but not s$d (unlike in the code before
    > r70391) for the reduced rank case.

Exactly.  I had this in the list of changes to be committed in
r70391, but not on the computer I did commit.

The 'transitional' period (above) has terminated 2 minutes ago.
Thank you, Hiroyuki for the reminder.

Martin



More information about the R-devel mailing list