From murdoch.duncan at gmail.com  Sat Sep 11 01:30:04 2010
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Fri, 10 Sep 2010 19:30:04 -0400
Subject: [Rd] Windows build
In-Reply-To: <AANLkTi=_LmP8Ycp6SCrqMSZ9xgTJJMz9njMP6N+AMvGN@mail.gmail.com>
References: <AANLkTi=_LmP8Ycp6SCrqMSZ9xgTJJMz9njMP6N+AMvGN@mail.gmail.com>
Message-ID: <4C8ABF7C.5010802@gmail.com>

On 10/09/2010 5:05 PM, pooja varshneya wrote:
> Hi Folks,
> 
> I am trying to build R-2.11.1 from source code on Windows 2003. I am
> able to build it, but when i run 'make check', it fails as follows:
> Does the tests produce a log somewhere that i can use for
> troubleshooting the problem ?
> 
> -------------------------------------------------------------------------------------------------
> C:\R\R-2.11.1\src\gnuwin32>make check
> 
> Collecting examples for package 'base'
>   Extracting from parsed Rd's ........................................
> Running examples in package 'base'
> 
> Collecting examples for package 'tools'
>   Extracting from parsed Rd's ....
> Running examples in package 'tools'
> 
> Collecting examples for package 'utils'
>   Extracting from parsed Rd's .............
> Running examples in package 'utils'
> Error: testing 'utils' failed
> Execution halted
> make[3]: *** [test-Examples-Base] Error 1
> make[2]: *** [test-Examples] Error 2
> make[1]: *** [test-all-basics] Error 1
> make: *** [check] Error 2

Yes, if you look in the R_HOME/tests directory, you'll see a 
subdirectory named Examples; that's where the logs of all the tests of 
examples are saved.  But I can guess at the problem:  you don't have the 
recommended packages installed.  They're needed to run the tests.  In 
Windows you get them by

make rsync-recommended
make recommended

Getting them in other OS's is slightly different, but I forget the 
details.  See the R Installation and Administration manual.

Duncan Murdoch



[Rd] Windows build
Duncan Murdoch