messagef: Send Message with String Interpolated Messages

View source: R/utils.R

messagefR Documentation

Send Message with String Interpolated Messages

Description

Combines warning with sprintf thus allowing string interpolated diagnostic messages.

Usage

messagef(s, ...)

Arguments

s

a character vector of format strings

...

values to be interpolated

Examples

## Not run: 
messagef("%.3f is not larger than %d and/or smaller than %d", pi, 10, 40)

## End(Not run)

rapportools documentation built on April 12, 2025, 2:10 a.m.