rstudio / thematic

Theme ggplot2, lattice, and base graphics based on a few simple settings.
https://rstudio.github.io/thematic/
Other
244 stars 10 forks source link

Don't emit RStudio specific messages when shiny is running #51

Closed cpsievert closed 4 years ago

cpsievert commented 4 years ago

Can use shiny::isRunning() to check if shiny is running before emitting messages such as:

> runApp('github_thematic_base.R')
Listening on http://127.0.0.1:4788
Auto font detection in RStudio Server requires RStudio 1.4 or higher.
Auto font detection in RStudio Server requires RStudio 1.4 or higher.
Auto font detection in RStudio Server requires RStudio 1.4 or higher.