This helper combines stop function with sprintf thus allowing string interpolated messages when execution is halted.
stopf(s, ...)a string containing message that follows execution termination
if (FALSE) { # \dontrun{
stopf("%.3f is not larger than %d and/or smaller than %d", pi, 10, 40)
} # }