warningf {BBmisc} | R Documentation |
A wrapper for warning
with sprintf
applied to the arguments.
warningf(..., immediate = TRUE, warning.length = 8170L)
... |
[any] |
immediate |
[ |
warning.length |
[ |
Nothing.
msg = "a warning"
warningf("this is %s", msg)
## Warning: this is a warning