powered by
A simple wrapper for message(sprintf(...)).
message(sprintf(...))
messagef(..., .newline = TRUE)
Nothing.
[any] See sprintf.
sprintf
[logical(1)] Add a newline to the message. Default is TRUE.
TRUE
msg = "a message" warningf("this is %s", msg)
Run the code above in your browser using DataLab