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().
quanteda:::msg("you cannot delete %s %s", 2000, "documents")
#> [1] "you cannot delete 2,000 documents"