stopf {BBmisc} | R Documentation |
A wrapper for stop
with sprintf
applied to the arguments.
Notable difference is that error messages are not truncated to 1000 characters
by default.
stopf(..., warning.length = 8170L)
... |
[any] |
warning.length |
[ |
Nothing.
err = "an error."
try(stopf("This is %s", err))