haleyjeppson/ggmosaic

Use message instead of cat, or provide debug switch?

Closed this issue · 0 comments

To hide ggmosaic diagnostic reporting in RMarkdown, the chunk has to have results="hide" attribute set instead of the standard messages=FALSE. That's a mild annoyance that there's no reason for -- message is more versatile.

Alternatively, if cat is strictly necessary, it would be nice to be able to turn the cat calls off (...pun not intended) by switching a debug flag.

(See also Yihui XIe on handling knitr outputs)