messageWrap | R Documentation |
Pretty wrapping of lines in NMdata vignettes
messageWrap(
...,
fun.msg = message,
prefix = "\n",
initial = "",
width,
track.msg = FALSE
)
... |
parameters to pass to strwrap |
fun.msg |
The function to pass the text through. Typically, message, warning, or stop. If NULL, nothing will happen, and NULL is invisibly returned. |
prefix |
Passed to strwrap. Default is "\n". |
initial |
Passed to strwrap. Default is an empty string. |
width |
Passed to strwrap. Default is 80. |
track.msg |
If TRUE, the name of the function throwing the message/warning/error is mentioned. This is not default but useful when using function inside other functions. |
Nothing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.