[Rd] base-Ex.R make check failure

Vladimir Dergachev vdergachev at rcgardis.com
Wed Nov 15 22:42:50 CET 2006


Hi all, 

   make check fails for me with latest SVN code for file base-Ex.R:


> sw[1,]       # a one-row data frame
Warning in format.data.frame(x, digits = digits, na.encode = FALSE) :
         corrupt data frame: columns will be truncated or padded with NAs
           Fertility Agriculture Examination Education
Courtelary      80.2          17          15        12
> sw[1,, drop=TRUE]  # a list
Warning in format.data.frame(x, digits = digits, na.encode = FALSE) :
         corrupt data frame: columns will be truncated or padded with NAs
           Fertility Agriculture Examination Education
Courtelary      80.2          17          15        12
>
> swiss[ c(1, 1:2), ]   # duplicate row, unique row names are created
Error in `[[<-.data.frame`(`*tmp*`, j, value = c(80.2, 80.2, 83.1)) :
        replacement has 3 rows, data has 47
Execution halted

  R-2.4.0 runs through the same test just fine.

  Does anyone else see the same thing ? 

                         thank you !

                              Vladimir Dergachev



More information about the R-devel mailing list