Closed cpsievert closed 3 years ago
Closes #67
Install remotes::install_github("rstudio/thematic") and run the following app. Before this fix, you'd just see an error message in the app. Now you should see a plot (errors and warnings in the console are OK).
remotes::install_github("rstudio/thematic")
library(shiny) thematic::thematic_shiny(font = "auto") opts <- options(device = function() stop("boom")) onStop(function() options(opts)) ui <- fluidPage( tags$style(HTML("body{background:black; color:white}")), plotOutput("p") ) server <- function(input, output, session) { output$p <- renderPlot(plot(1:10)) } shinyApp(ui, server)
Merging before tests run since GHA is down
Closes #67
Testing notes
Install
remotes::install_github("rstudio/thematic")
and run the following app. Before this fix, you'd just see an error message in the app. Now you should see a plot (errors and warnings in the console are OK).