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

Description Usage Arguments Value See Also Examples

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

1
2
3
4
5
  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

1
2
3
4
5
6
7
8
9
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)

RGalaxy documentation built on Nov. 8, 2020, 7:42 p.m.

Related to utilities in RGalaxy...