R-alpha: problems qith require/provide

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Mon, 14 Apr 1997 15:00:31 +0200


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