From Kurt.Hornik@ci.tuwien.ac.at  Mon Apr 14 14:00:31 1997
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Mon, 14 Apr 1997 15:00:31 +0200
Subject: R-alpha: problems qith require/provide
Message-ID: <199704141300.PAA00699@aragorn.ci.tuwien.ac.at>

If I call require() with the most current snapshot and patches, I get

	Error: Object ".Provided" not found

The problem is with

	if (is.na(match(name, .Libraries)) &&
            is.na(match(name, .Provided))) {

which fails if .Provided does not exist yet.  Perhaps it should be
defined in Rprofile, similar to .Libraries?

Also, is the 

  if (!exists(".Libraries", inherits = TRUE)) {
    assign(".Libraries", character(0), NULL)
  }

really needed then?

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: problems qith require/provide
Kurt Hornik