Loading the sqldf package (0.4-11) in a shiny (1.7.5) app prevents the app from exiting gracefully, at least when I run the app from RStudio (2023.06.1). Here's a minimal working example.
library(shiny)
library(sqldf)
ui <- fluidPage(
titlePanel("Bug Demo")
)
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)
When I run the app from RStudio, the app opens and functions correctly. (There's no functionality in the demo, but I encountered this in a more complicated app that worked correctly.) When I close the browser window and then click the "Stop" button in the RStudio console, nothing happens (the "Stop" button remains in place, the console is tied up running the app, etc.). Eventually I get the message that R is not responding and that I need to terminate R (which works but is a bit draconian).
Is this a known issue? Is sqldf incompatible with Shiny?
Thanks,
Paul