A simple wrapper for message(sprintf(...)).
message(sprintf(...))
messagef(..., .newline = TRUE)
...
[any] See sprintf.
sprintf
.newline
[logical(1)] Add a newline to the message. Default is TRUE.
TRUE
Nothing.
msg = "a message" warningf("this is %s", msg)