ectdStop | R Documentation |
These functions are alias to the standard R functions stop and warning, but they also do character interpolation. See examples.
ectdStop(msg, call. = TRUE, domain = NULL, verbose = getEctdVerbose())
ectdWarning(..., call. = TRUE, immediate. = FALSE, domain = NULL)
msg |
(Required) Message to be displayed to the user |
call. |
logical, indicating if the call should become part of the error message. |
domain |
see |
verbose |
(Optional) Should more details be given when showing the error message/warning. By default, this is controlled by support function getEctdVerbose |
... |
zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object. |
immediate. |
logical, indicating if the call should be output
immediately, even if |
Nothing.
ectdWarning()
: Error handling functions for the ectd package.
Rich Pugh
See warning
and stop
.
## Not run:
ectdStop("something wrong happened")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.