[R] make check when installing R-1.6.0

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Oct 11 17:26:19 CEST 2002


On Fri, 11 Oct 2002, Jonathan Rougier wrote:

> ripley at stats.ox.ac.uk wrote:
> >
> > On Fri, 11 Oct 2002, Jonathan Rougier wrote:
> >
> > > Brian O'Gorman wrote:
> > > >
> > > > This is the result of my make check,  could anyone help me out on this
> > > > one?
> > > >
> > > >      Formats: text example
> > > > running code in 'base-Ex.R' ...*** Error code 1
> > > > make: Fatal error: Command failed for target `base-Ex.Rout'
> > > > Current working directory /apps/R/R-1.6.0/tests/Examples
> > > > *** Error code 1
> > > > make: Fatal error: Command failed for target `test-Examples-Base'
> > > > Current working directory /apps/R/R-1.6.0/tests/Examples
> > > > *** Error code 1
> > > > make: Fatal error: Command failed for target `test-Examples'
> > > > Current working directory /apps/R/R-1.6.0/tests
> > > > *** Error code 1
> > > > make: Fatal error: Command failed for target `test-all-basics'
> > > > Current working directory /apps/R/R-1.6.0/tests
> > > > *** Error code 1
> > > > make: Fatal error: Command failed for target `check'
> > >
> > > You want to check the file "${R_HOME}/test/Examples/base-Ex.Rout"
> > > but my guess would be that you are picking up an old version of MASS.
> >
> > Pretty unlikely: MASS ships with 1.6.0 and the test is run with --vanilla
> > so no other library directory is used (unless you have R_LIBS set in the
> > environment, not a good idea).  So why pick on MASS?
>
> Hi Brian,
>
> It's what happened to me!  We have a common library on our network that
> contained a very old version of MASS, and it is specified in the R_LIBS
> variable.  After installing R-1.6.0 I arranged in my .Rprofile to
> exchange the order of common/lib/R and ${R_HOME}/library in my search
> list but, as you point out, this didn't allow me to run "make check"
> without getting caught up with the old version of MASS.

~/.Rprofile is not read under --vanilla, AFAIK. Do you have R_LIBS in your
shell environment?

It's much easier to use .Renviron.

>
> Cheers, Jonathan.
>
> --
> Jonathan Rougier                       Science Laboratories
> Department of Mathematical Sciences    South Road
> University of Durham                   Durham DH1 3LE
> tel: +44 (0)191 374 2361, fax: +44 (0)191 374 7388
> http://www.maths.dur.ac.uk/stats/people/jcr/jcr.html
>

-- 
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list