ectdStop: Error handling functions for the ectd package.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Error handling functions for the ectd package.

Usage

1
2
3
ectdStop(msg, call. = TRUE, domain = NULL, verbose = getEctdVerbose() )

ectdWarning(..., call. = TRUE, immediate. = FALSE, domain = NULL)

Arguments

msg

(Required) Message to be displayed to the user

verbose

(Optional) Should more details be given when showing the error message/warning. By default, this is controlled by support function getEctdVerbose

call., domain, immediate.

See warning and stop.

...

passed to warning

Details

These functions are alias to the standard R functions stop and warning, but they also do character interpolation. See examples.

Value

Nothing.

Author(s)

Mike K Smith mstoolkit@googlemail.com

See Also

See warning and stop.

Examples

1
2
3
4
5
6
  
  ## Not run: 
     ectdStop("something wrong happened")
  
## End(Not run)
  

MSToolkit documentation built on May 2, 2019, 6:30 p.m.