Skip to content
Prev 4489 / 21312 Next

[Bioc-devel] best practice: verbose messages

On Wed, Jul 10, 2013 at 9:10 PM, Herv? Pag?s <hpages at fhcrc.org> wrote:
You can also imagine different amounts of verbose, so not always TRUE or FALSE.

About Kasper's original question, I'd also say use message().  I've
recently done this transition in several of my packages (mostly via
the Verbose class in R.utils).  I've thought about this for a long
time, but what made me do the transition is the fact that many of the
literate programming tools in R echoes the standard output in code
chunks, but not the standard errors.  I don't want my verbose/log
messages to be displayed in reports/vignettes (by default).

/Henrik