warn_now | R Documentation |
The function base::warning
lets you immediately output warnings with
immediate.=TRUE
, but not if the input is already a condition
object (weird, I know). This function is a modified Frankenstein mashup of warning
and message
that will immediately output warnings regardless
of their input form.
warn_now(..., call. = TRUE, noBreaks. = FALSE, domain = NULL)
... |
zero or more objects which can be coerced to character (and which are pasted together with no separator) or a single condition object. |
call. |
logical, indicating if the call should become part of the warning message. |
noBreaks. |
logical, indicating as far as possible the message should be output as a single line when |
domain |
see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.