powered by
Conditionally format messages
msg(format, ..., pretty = TRUE)
character vector of format strings
vectors (coercible to integer, real, or character)
if TRUE, message is passed to base::prettyNum().
TRUE
base::prettyNum()
stringi::stri_sprintf
quanteda:::msg("you cannot delete %s %s", 2000, "documents")
Run the code above in your browser using DataLab