messagef: Wrapper for message and sprintf.

View source: R/messagef.R

messagefR Documentation

Wrapper for message and sprintf.

Description

A simple wrapper for message(sprintf(...)).

Usage

messagef(..., .newline = TRUE)

Arguments

...

[any]
See sprintf.

.newline

[logical(1)]
Add a newline to the message. Default is TRUE.

Value

Nothing.

Examples

msg = "a message"
warningf("this is %s", msg)

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to messagef in BBmisc...