From conrad.halling at bifx.org  Wed Apr 20 16:42:05 2005
From: conrad.halling at bifx.org (Conrad Halling)
Date: Wed Apr 20 16:42:11 2005
Subject: [Rd] make check failure -- R 2.1.0 Windows XP SP2
Message-ID: <42666A3D.505@bifx.org>

I compiled R 2.1.0 under Windows XP SP2 as a preliminary to rebuilding a 
custom package for use with R 2.1.0. The compile completed successfully, 
and I was able to run demo(graphics) successfully. But make check and 
make check-recommended fail.

 > version
         _
platform i386-pc-mingw32
arch     i386
os       mingw32
system   i386, mingw32
status
major    2
minor    1.0
year     2005
month    04
day      18
language R


I downloaded the R source code and the tools on Tuesday morning, 
19-Apr-2005. I carefully followed the directions in the 
R-2.1.0/doc/html/R-admin.html document and the directions at 
http://www.murdoch-sutherland.com/Rtools/. I used the Unix tools from 
http://www.murdoch-sutherland.com/Rtools/tools.zip and the MinGW 
compilers, MinGW-3.2.0-rc-3 (gcc 3.4.2) with the fixed f771.exe compiler 
from http://www.stats.ox.ac.uk/pub/RWin/gcc-3.4.2-fix/f771.exe.

Make check fails with the following error:


running code in 'd-p-q-r-tests.R' ...OK
  comparing 'd-p-q-r-tests.Rout' to './d-p-q-r-tests.Rout.save' 
...386,387c386,387
<  [7,]  7 -1.279898e-12   -1.279813e-12     -27.384307       -27.384307
<  [8,]  8 -6.991040e-16   -6.220961e-16     -35.013437       -35.013437
---
 >  [7,]  7 -1.279865e-12   -1.279813e-12     -27.384307       -27.384307
 >  [8,]  8 -6.661338e-16   -6.220961e-16     -35.013437       -35.013437
932,940c932
< [1] "TRUE"
< [2] "TRUE"
< [3] "TRUE"
< [4] "TRUE"
< [5] "TRUE"
< [6] "TRUE"
< [7] "`is.NA' value mismatches: 1 in current, 0  in target"
< Warning message:
< NaNs produced in: pgamma(q, shape, scale, lower.tail, log.p)
---
 > [1] TRUE TRUE TRUE TRUE TRUE TRUE TRUE
951c943
< [1] "Mean scaled  difference: 7.710642e-05"
---
 > [1] TRUE
make[3]: *** [d-p-q-r-tests.Rout] Error 1
make[2]: *** [test-Specific] Error 2
make[1]: *** [test-all-basics] Error 1
make: [test-Basic] Error 2 (ignored)



After building the recommended packages and then running make 
check-recommended, I got the following error:


C:\RTools\src\R-2.1.0\src\gnuwin32>make check-recommended
-------- Testing package boot --------
Massaging examples into 'boot-Ex.R' ...
Running examples in 'boot-Ex.R' ...
-------- Testing package cluster --------
Massaging examples into 'cluster-Ex.R' ...
Running examples in 'cluster-Ex.R' ...
Running specific tests
  Running `agnes-ex.R'
  Comparing `agnes-ex.Rout' to `agnes-ex.Rout.save' ...552c552
<  [9]   2.0000   9.0000   6.0000  32.1172  10.0000   8.0000  16.0000  
27.9063
---
 >  [9]   2.0000   9.0000   6.0000  32.1172  10.0000   8.0000  16.0000  
27.9062
554c554
< [25]   4.0000   5.5000   5.0000  22.3438   5.0000  12.5000  23.7813   
8.0000
---
 > [25]   4.0000   5.5000   5.0000  22.3438   5.0000  12.5000  23.7812   
8.0000
559c559
< [65]   5.0000  19.1250   2.0000   6.0000  10.5000   4.0000  15.0000  
41.5313
---
 > [65]   5.0000  19.1250   2.0000   6.0000  10.5000   4.0000  15.0000  
41.5312
OK
  Running `clara-NAs.R'
  Comparing `clara-NAs.Rout' to `clara-NAs.Rout.save' ...36,47c36,47
< 6  NaN NaN NaN NaN NaN
< 7   40  45  12  56  65 NaN
< 8    8  21  46  52  33 NaN  34
< 9   23  18  64  41  22 NaN  63  29
< 10  19  30  42  61  44 NaN  33  13  42
< 11 165 178 270 209 190 NaN 181 157 168 148
< 12 169 182 244 213 194 NaN 185 161 172 152  30
< 13 155 168 248 199 180 NaN 171 147 158 138  12  18
< 14 208 216 252 236 208 NaN 264 206 188 210  18   8   4
< 15 214 222 258 242 214 NaN 270 212 194 216  12  14  10   6
< 16 157 170 260 201 182 NaN 173 149 160 140   8  28  10   8   2
< 17 171 184 246 215 196 NaN 187 163 174 154  30   2  18   6  12  28
---
 > 6   NA  NA  NA  NA  NA
 > 7   40  45  12  56  65  NA
 > 8    8  21  46  52  33  NA  34
 > 9   23  18  64  41  22  NA  63  29
 > 10  19  30  42  61  44  NA  33  13  42
 > 11 165 178 270 209 190  NA 181 157 168 148
 > 12 169 182 244 213 194  NA 185 161 172 152  30
 > 13 155 168 248 199 180  NA 171 147 158 138  12  18
 > 14 208 216 252 236 208  NA 264 206 188 210  18   8   4
 > 15 214 222 258 242 214  NA 270 212 194 216  12  14  10   6
 > 16 157 170 260 201 182  NA 173 149 160 140   8  28  10   8   2
 > 17 171 184 246 215 196  NA 187 163 174 154  30   2  18   6  12  28
50c50
<    2.00   27.25  147.50  114.60  188.50  270.00   16.00
---
 >    2.00   27.25  147.50  114.50  188.50  270.00   16.00
OK
  Running `clara-ex.R'
  Running `clara.R'
  Comparing `clara.Rout' to `clara.Rout.save' ...OK
  Running `clusplot-out.R'
  Comparing `clusplot-out.Rout' to `clusplot-out.Rout.save' ...26,28c26,28
< [1,]   0.0000  NaN 166.9258
< [2,]      NaN    0      NaN
< [3,] 166.9258  NaN   0.0000
---
 > [1,]   0.0000   NA 166.9258
 > [2,]       NA    0       NA
 > [3,] 166.9258   NA   0.0000
35,38c35,38
< [1,]   0.0000  NaN 146.3222 291.3211
< [2,]      NaN    0      NaN      NaN
< [3,] 146.3222  NaN   0.0000      NaN
< [4,] 291.3211  NaN      NaN   0.0000
---
 > [1,]   0.0000   NA 146.3222 291.3211
 > [2,]       NA    0       NA       NA
 > [3,] 146.3222   NA   0.0000       NA
 > [4,] 291.3211   NA       NA   0.0000
62,63c62,63
< [2,] 1.433071 0.000000      NaN
< [3,] 2.851715      NaN 0.000000
---
 > [2,] 1.433071 0.000000       NA
 > [3,] 2.851715       NA 0.000000
71,73c71,73
< [2,] 2.241570 0.00000       NaN       NaN
< [3,] 1.634033     NaN 0.0000000 0.9461858
< [4,] 3.094589     NaN 0.9461858 0.0000000
---
 > [2,] 2.241570 0.00000        NA        NA
 > [3,] 1.634033      NA 0.0000000 0.9461858
 > [4,] 3.094589      NA 0.9461858 0.0000000
81,83c81,83
< [2,] 1.989916 0.0000000      NaN        NaN 0.94713417
< [3,] 1.552387       NaN 0.000000 1.17348334 2.22769309
< [4,] 3.115161       NaN 1.173483 0.00000000 0.04539385
---
 > [2,] 1.989916 0.0000000       NA         NA 0.94713417
 > [3,] 1.552387        NA 0.000000 1.17348334 2.22769309
 > [4,] 3.115161        NA 1.173483 0.00000000 0.04539385
OK
  Running `daisy-ex.R'
make[2]: *** [daisy-ex.Rout] Error 1
make[1]: *** [tests] Error 2
make: *** [pkgcheck-cluster] Error 2

-- 
Conrad Halling
conrad.halling@bifx.org


[Rd] make check failure -- R 2.1.0 Windows XP SP2
Conrad Halling