On Wed, 26 Jun 2002, Patrick Connolly wrote:
> These are probably very basic questions, but I don't know how one
> reads output such as this:
>
> [hrapgc at biomat1 R-1.5.1]$ make check
> make[1]: Entering directory `/home/hrapgc/local/R-1.5.1/tests'
> make[2]: Entering directory `/home/hrapgc/local/R-1.5.1/tests'
> make[3]: Entering directory `/home/hrapgc/local/R-1.5.1/tests/Examples'
> make[4]: Entering directory `/home/hrapgc/local/R-1.5.1/tests/Examples'
> make[4]: `Makedeps' is up to date.
> make[4]: Leaving directory `/home/hrapgc/local/R-1.5.1/tests/Examples'
> make[4]: Entering directory `/home/hrapgc/local/R-1.5.1/tests/Examples'
> running code in 'base-Ex.R' ...make[4]: *** [base-Ex.Rout] Error 1
> make[4]: Leaving directory `/home/hrapgc/local/R-1.5.1/tests/Examples'
> make[3]: *** [test-Examples] Error 2
> make[3]: Leaving directory `/home/hrapgc/local/R-1.5.1/tests/Examples'
> make[2]: *** [test-Examples] Error 2
> make[2]: Leaving directory `/home/hrapgc/local/R-1.5.1/tests'
> make[1]: *** [test-all-basics] Error 1
> make[1]: Leaving directory `/home/hrapgc/local/R-1.5.1/tests'
> make: *** [check] Error 2
> [hrapgc at biomat1 R-1.5.1]$
>
> Just what do Error 1 and Error 2 refer to?
Return codes from programs called by your make. In this case the first is
forced by the line
@$(R) < $< > $@ || (mv $@ $@.fail && exit 1)
so the command has return code 1.
> And does it make sense that certain directories were "entered"
twice
> in succession?
Yes. Note that this reflects spawning new copies of make with different
targets. I have only ever seen GNU make give this output, and it's rather
misleading. It means `starting/ending a make run in directory foo'.
You need to look at the file base-Ex.Rout.fail to see the actual problem,
--
Brian D. Ripley, ripley at 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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._