[Rd] Windows build
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 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Windows build
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 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Windows build
Thanks Duncan !! Running 'make rsync-recommended' solved the problem. Thanks, Pooja On Fri, Sep 10, 2010 at 7:30 PM, Duncan Murdoch 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 > __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] Windows build not running on r-forge
Please forgive any mis-post, and do feel free to point me to a more appropriate list if this isn't properly R-dev. I have a package on R-forge that shows correct linux and other *nix builds, but no windows build. The log for the patched version shows the error below, which appears to be due to a lack of /src files, a problem that does not halt the *nix builds. The package contains no compiled code (src is intentionally empty). Log as follows: * installing to library 'R:/lib/R/CRAN/2.12' * installing *source* package 'metRology' ... ** libs *** arch - i386 Error in file.copy(Sys.glob("src/*"), ss, recursive = TRUE) : no files to copy from * removing 'R:/lib/R/CRAN/2.12/metRology' Run time: 1.27 seconds. Advice would be welcome on what I can do about it...? Steve Ellison *** This email and any attachments are confidential. Any use...{{dropped:8}} __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] Windows build not running on r-forge
Please forgive any mis-post, and do feel free to point me to a more appropriate list if this isn't properly R-dev. I have a package on R-forge that shows correct linux and other *nix builds, but no windows build. The log for the patched version shows the error below, which appears to be due to a lack of /src files, a problem that does not halt the *nix builds. The package contains no compiled code (src is intentionally empty). Log as follows: * installing to library 'R:/lib/R/CRAN/2.12' * installing *source* package 'metRology' ... ** libs *** arch - i386 Error in file.copy(Sys.glob("src/*"), ss, recursive = TRUE) : no files to copy from * removing 'R:/lib/R/CRAN/2.12/metRology' Run time: 1.27 seconds. Advice would be welcome on what I can do about it...? Steve Ellison *** This email and any attachments are confidential. Any use...{{dropped:8}} __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Windows build not running on r-forge
On Mon, 28 Mar 2011, S Ellison wrote: Please forgive any mis-post, and do feel free to point me to a more appropriate list if this isn't properly R-dev. I have a package on R-forge that shows correct linux and other *nix builds, but no windows build. The log for the patched version shows the error below, which appears to be due to a lack of /src files, a problem that does not halt the *nix builds. The package contains no compiled code (src is intentionally empty). Log as follows: * installing to library 'R:/lib/R/CRAN/2.12' * installing *source* package 'metRology' ... ** libs *** arch - i386 Error in file.copy(Sys.glob("src/*"), ss, recursive = TRUE) : no files to copy from * removing 'R:/lib/R/CRAN/2.12/metRology' Run time: 1.27 seconds. Advice would be welcome on what I can do about it...? Don't have an empty 'src' directory: that is not a valid source package. And please do tell us the version of R as per the posting guide. I am guessing 2.12.2 here. Steve Ellison *** This email and any attachments are confidential. Any use...{{dropped:8}} __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Windows build not running on r-forge
Thanks for the advice; blindingly simple. I was foxed by the fact that the R-forge linux 'builds' ran successfully with warning but not error. Regret that I couldn't provide R version detail, but the problem was the build at the r-forge end and not my own installed version of R; I could only tell you what the R-forge log told me. Steve Ellison >>> Prof Brian Ripley 28/03/2011 05:32 >>> On Mon, 28 Mar 2011, S Ellison wrote: > Please forgive any mis-post, and do feel free to point me to a more > appropriate list if this isn't properly R-dev. > > I have a package on R-forge that shows correct linux and other *nix > builds, but no windows build. The log for the patched version shows the > error below, which appears to be due to a lack of /src files, a problem > that does not halt the *nix builds. > > The package contains no compiled code (src is intentionally empty). > > > Log as follows: > * installing to library 'R:/lib/R/CRAN/2.12' > * installing *source* package 'metRology' ... > ** libs > > *** arch - i386 > Error in file.copy(Sys.glob("src/*"), ss, recursive = TRUE) : > no files to copy from > * removing 'R:/lib/R/CRAN/2.12/metRology' > Run time: 1.27 seconds. > > Advice would be welcome on what I can do about it...? Don't have an empty 'src' directory: that is not a valid source package. And please do tell us the version of R as per the posting guide. I am guessing 2.12.2 here. > > Steve Ellison > > > *** > This email and any attachments are confidential. Any\ ...{{dropped:24}} __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel