Conditionally format messages
Usage
msg(format, ..., prepend = "", append = "")
Arguments
- format
character vector of format strings
- ...
vectors (coercible to integer, real, or character)
- prepend
text is added before the message
- append
text is added after the message
Examples
quanteda:::msg("you cannot delete %s %s", 2000, "documents")
#> [1] "you cannot delete 2,000 documents"