send_note_if | R Documentation |
Send a message or warning if condition
is TRUE
send_note_if(note, condition, fcn, ...)
note |
A string that will be sent to the console |
condition |
If TRUE, message will be sent to console. |
fcn |
A function, e.g., |
... |
Additional arguments for |
The intended values of fcn
are message
and
warning
.
If condition
is TRUE, then send the message to the console according
to fcn
.
Otherwise, do not send anything to the console.
A note in the console if quietly
is FALSE
Other dev:
collect_note_if()
## Not run: send_note_if("This is a warning.", TRUE, warning) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.