throw {cleanr} | R Documentation |
throws a condition of class c("cleanr", "error", "condition").
Throws a condition of class c("error", "cleanr", "condition").
throw(message_string, system_call = sys.call(-1), ...) throw(message_string, system_call = sys.call(-1), ...)
message_string |
The message to be thrown. |
system_call |
The call to be thrown. |
... |
Arguments to be passed to |
message_string |
The message to be thrown. |
system_call |
The call to be thrown. |
... |
Arguments to be passed to
|
We use this condition as an error dedicated to cleanr.
We use this condition as an error dedicated to cleanr.
FALSE. But it does not return anything, it stops with a condition of class c("cleanr", "error", "condition").
The function does never return anything, it stops with a condition of class c("error", "cleanr", "condition").
tryCatch(cleanr:::throw("Hello error!"), cleanr = function(e) return(e)) tryCatch(cleanr:::throw("Hello error!"), cleanr = function(e) return(e))