powered by
Combines warning with sprintf thus allowing string interpolated warnings.
warning
sprintf
warningf(s, ...)
a character vector of format strings
values to be interpolated
# NOT RUN { warningf("%.3f is not larger than %d and/or smaller than %d", pi, 10, 40) # }
Run the code above in your browser using DataLab