messagef: Send Message with String Interpolated Messages

Description Usage Arguments Examples

View source: R/utils.R

Description

Combines warning with sprintf thus allowing string interpolated diagnostic messages.

Usage

1

Arguments

s

a character vector of format strings

...

values to be interpolated

Examples

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

## End(Not run)

rapportools documentation built on May 19, 2017, 8:12 a.m.

Search within the rapportools package
Search all R packages, documentation and source code