stops | R Documentation |
stops()
is equivalent to stop(..., call. = FALSE)
. It removes calls
from error messages by default. These are rarely useful and confuse users
more often than they help them.
stopf()
is equivalent to stops(sprintf(fmt, ...))
. It wraps
base::sprintf()
and stops()
and is used to construct flexible
error messages.
stops(...)
stopf(fmt = "", ...)
... |
Further arguments respectively passed to |
fmt |
A character of length 1 passed as is to |
Nothing. These functions are used for their side-effect of raising an error.
Other utility functions:
format_vector()
,
str_to()
,
vapply_1l()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.