Doc tweak to validation

This commit is contained in:
Joe Cheng
2014-05-21 19:57:18 -07:00
parent af3c4f84b6
commit d4829e49ea
2 changed files with 4 additions and 2 deletions

View File

@@ -800,7 +800,8 @@ columnToRowData <- function(data) {
#' @param ... A list of tests. Each test should equal \code{NULL} for success,
#' \code{FALSE} for silent failure, or a string for failure with an error
#' message.
#' @param errorClass A CSS class to apply.
#' @param errorClass A CSS class to apply. The actual CSS string will have
#' \code{shiny-output-error-} prepended to this value.
#' @export
#' @examples
#' # in ui.R

View File

@@ -13,7 +13,8 @@ need(expr, message = paste(label, "must be provided"), label)
\code{FALSE} for silent failure, or a string for failure with an error
message.}
\item{errorClass}{A CSS class to apply.}
\item{errorClass}{A CSS class to apply. The actual CSS string will have
\code{shiny-output-error-} prepended to this value.}
\item{expr}{An expression to test. The condition will pass if the expression
meets the conditions spelled out in Details.}