Wrapper for warning and sprintf.
A wrapper for warning with sprintf applied to the arguments.
warning
sprintf
warningf(..., immediate = TRUE, warning.length = 8170L)
...
[any] See sprintf.
immediate
[logical(1)] See warning. Default is TRUE.
logical(1)
TRUE
warning.length
[integer(1)] Number of chars after which the warning message gets truncated, see ?options. Default is 8170.
integer(1)
Nothing.
msg = "a warning" warningf("this is %s", msg)
Miscellaneous Helper Functions for B. Bischl
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.