From vdergachev at rcgardis.com  Wed Nov 15 22:42:50 2006
From: vdergachev at rcgardis.com (Vladimir Dergachev)
Date: Wed, 15 Nov 2006 16:42:50 -0500
Subject: [Rd] base-Ex.R make check failure
Message-ID: <200611151642.50702.vdergachev@rcgardis.com>


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



[Rd] base-Ex.R make check failure
Vladimir Dergachev