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 ------------------------------------------------------------------------------------------------ Thanks, Pooja
Windows build
3 messages · Duncan Murdoch, pooja varshneya
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
1 day later
Thanks Duncan !! Running 'make rsync-recommended' solved the problem. Thanks, Pooja On Fri, Sep 10, 2010 at 7:30 PM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
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