msg: Conditionally format messages

View source: R/message.R

msgR Documentation

Conditionally format messages

Description

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

See Also

stringi::stri_sprintf

Examples

quanteda:::msg("you cannot delete %s %s", 2000, "documents")

quanteda documentation built on Aug. 5, 2026, 1:09 a.m.