rstudio / bslib

Tools for theming Shiny and R Markdown via Bootstrap 3, 4, or 5.
https://rstudio.github.io/bslib/
Other
490 stars 58 forks source link

Are themes cached and how do I remove them? #1124

Open furrrpanda opened 1 month ago

furrrpanda commented 1 month ago

Describe the problem

I'm working on multiple Shiny apps with different themes and sometimes when I run and A, it uses the theme from app B. Even though I cleared the memory using gc() and removed everything from the working environment in R. Is this normal behaviour? Sorry, but I cant reproduce it.

cpsievert commented 1 month ago

Unfortunately there is some tricky scenarios in which this can happen, and the only/best way to fix it currently is to restart the R session.