powered by
A wrapper for warning with sprintf applied to the arguments.
warning
sprintf
warningf(..., immediate = TRUE, warning.length = 8170L)
Nothing.
[any] See sprintf.
[logical(1)] See warning. Default is TRUE.
logical(1)
TRUE
[integer(1)] Number of chars after which the warning message gets truncated, see ?options. Default is 8170.
integer(1)
msg = "a warning" warningf("this is %s", msg)
Run the code above in your browser using DataLab