powered by
Throws a condition of class c("document", "warning", "condition").
warn(message_string, system_call = sys.call(-1), ...)
The condition.
The message to be thrown.
The call to be thrown.
Arguments to be passed to structure.
structure
We use this condition as a warning dedicated to document.
tryCatch(document:::warn("Hello error!"), error = function(e) return(e))
Run the code above in your browser using DataLab