The R Project SVN R

Rev

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

Rev 76421 Rev 76435
Line 18... Line 18...
18
assertCondition(expr, ..., .exprString = , verbose = FALSE)
18
assertCondition(expr, ..., .exprString = , verbose = FALSE)
19
}
19
}
20
\arguments{
20
\arguments{
21
  \item{expr}{an unevaluated \R expression which will be evaluated via
21
  \item{expr}{an unevaluated \R expression which will be evaluated via
22
    \code{\link{tryCatch}(expr, ..)}.}
22
    \code{\link{tryCatch}(expr, ..)}.}
23
  \item{\dots}{\code{\link{character}} strings corresponding to the
23
  \item{classes, \dots}{\code{\link{character}} strings corresponding to the
24
    classes of the conditions that would satisfy the assertion; e.g., \code{"error"} or
24
    classes of the conditions that would satisfy the assertion; e.g., \code{"error"} or
25
    \code{"warning"}.  If none are specified, any condition will
25
    \code{"warning"}.  If none are specified, any condition will
26
    satisfy the assertion.  See the details section. }
26
    satisfy the assertion.  See the details section. }
27
  \item{.exprString}{The string to be printed corresponding to
27
  \item{.exprString}{The string to be printed corresponding to
28
    \code{expr}. By default, the actual \code{expr} will be
28
    \code{expr}. By default, the actual \code{expr} will be