The R Project SVN R

Rev

Rev 88486 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88486 Rev 88606
Line 32... Line 32...
32
  \item{verbose}{a logical.  If \code{TRUE}, additional diagnostics are
32
  \item{verbose}{a logical.  If \code{TRUE}, additional diagnostics are
33
    printed, notably when a package is found more than once.}
33
    printed, notably when a package is found more than once.}
34
  \item{call}{call expression.}
34
  \item{call}{call expression.}
35
}
35
}
36
\details{
36
\details{
37
  \code{find.package} returns path to the locations where the
37
  \code{find.package} returns the paths to the locations where the
38
  given packages are found.  If \code{lib.loc} is \code{NULL}, then
38
  given packages are found.  If \code{lib.loc} is \code{NULL}, then
39
  loaded namespaces are searched before the libraries.  If a package is
39
  loaded namespaces are searched before the libraries.  If a package is
40
  found more than once, the first match is used.  Unless \code{quiet =
40
  found more than once, the first match is used.  Unless \code{quiet =
41
  TRUE} a warning will be given about the named packages which are not
41
  TRUE} a warning will be given about the named packages which are not
42
  found, and an error if none are.  If \code{verbose} is true, warnings
42
  found, and an error if none are.  If \code{verbose} is true, warnings
Line 54... Line 54...
54
  available, \dots.
54
  available, \dots.
55
 
55
 
56
  \code{path.package} returns the paths from which the named packages
56
  \code{path.package} returns the paths from which the named packages
57
  were loaded, or if none were named, for all currently attached packages.
57
  were loaded, or if none were named, for all currently attached packages.
58
  Unless \code{quiet = TRUE} it will warn if some of the packages named
58
  Unless \code{quiet = TRUE} it will warn if some of the packages named
59
  are not attached, and given an error if none are.
59
  are not attached, and give an error if none are.
60
 
60
 
61
  \code{packageNotFoundError} creates an error condition object of class
61
  \code{packageNotFoundError} creates an error condition object of class
62
  \code{packageNotFoundError} for signaling errors. The condition object
62
  \code{packageNotFoundError} for signaling errors. The condition object
63
  contains the fields \code{package} and \code{lib.loc}.  
63
  contains the fields \code{package} and \code{lib.loc}.  
64
}
64
}