R/utils.R
messagef.Rd
Combines warning with sprintf thus allowing string interpolated diagnostic messages.
warning
sprintf
messagef(s, ...)
a character vector of format strings
values to be interpolated
if (FALSE) { # \dontrun{ messagef("%.3f is not larger than %d and/or smaller than %d", pi, 10, 40) } # }