[R] Output from make check

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Thu Jun 27 08:57:51 CEST 2002


On Thu, 27 Jun 2002, Patrick Connolly wrote:

> On Thu, 27-Jun-2002 at 12:22AM +0200, Peter Dalgaard BSA wrote:
>
> |> Patrick Connolly <p.connolly at hortresearch.co.nz> writes:
> |>
> |>
> |> > Loading required package: survival
> |> > Error in .Defunct() : `.Alias' is defunct.
> |> > See ?Defunct.
> |> > Execution halted
> |> >
> |> > If I remove that section, all the other tests succeed.
> |> >
> |> > I'm puzzled as to how that could have happened.  Is it finding an
> |> > older version of the survival package instead?  Can't imagine how it
> |> > could be doing that.
> |>
> |> Installing a new R over an older one will do just that. Did you
> |> install the recommended packages?
>
> I've installed it to a different directory, not over the previous
> version, and changed the link to point to the new directory.  All the
> recommend packages are installed.
>
> I've since deleted the previous version but the problem persisted
> until I removed the old library itself which was in a directory which
> is not the default location. I've not made any reference to it since I
> installed 1.5.1, so it was surprising that it was being used.
>
> Does that mean there is a mechanism that looks for a likely library by
> the name even though its directory has not been mentioned?  I could
> understand that happening if it was in the default location, but
> evidently it searches for the first occurrence of something that looks
> like a library even before it looks in the default location where a
> newer one exists.
>
> Is that a feature?

Yes. It looks for the first package of the name in the libraries
in .libPaths (note I am using package and library correctly, and suspect
you are not), not the most recent one.


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