View source: R/stopFormatted.R
stopFormatted | R Documentation |
Stop Function Exectution With Formatted Message
stopFormatted(x, ..., call. = FALSE)
x |
Error message, possibly containing percentage placeholders, passed
as argument |
... |
as many values as referenced with percentage placeholders in the error message |
call. |
logical, indicating if the call should become part of the error message. |
try(stopFormatted(
"Hi, %s, the program fails for the %d-th time.", "Dexter", 1000
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.