Sometimes when you call a function, it may print out some messages and/or warnings to the console. If you want to be able to relay these warnings/messages to your app in real time, you can combine withCallingHandlers
with the html
function from shinyjs.
(Originally developed as an answer on StackOverflow)