gmessage {RGalaxy}R Documentation

Sends informational, warning, and error messages to the user.

Description

Send error, warning, and informational messages to the user. Use these instead of message, warning, and stop. Output is wrapped consistently and passed through sprintf so you can use inline formatting (see examples). Output of gstop will appear in Galaxy user's web browser.

Usage

  gmessage(..., appendLF = TRUE)

  gstop(..., call. = FALSE)

  gwarning(..., call. = FALSE, immediate. = FALSE)

Arguments

...

Passed to sprintf.

appendLF

Passed to message.

call.

Passed to stop or warning.

immediate.

Passed to warning.

Value

NULL

See Also

message, warning, stop, sprintf

Examples

gmessage("This is an %s message.", "example")
## Not run: 
gstop("Encountered a %s error.", "serious")

## End(Not run)
## Not run: 
 gwarning("Something is not quite right.")

## End(Not run)

[Package RGalaxy version 1.36.0 Index]