ddediu / AdhereR

Computation of adherence to medications from Electronic Healthcare Data in R
26 stars 6 forks source link

Better error handling & reporting for Shiny plots #96

Closed ddediu closed 5 years ago

ddediu commented 5 years ago

Catching errors & warnings seems a hit & miss business with Shiny, so maybe save the messages to a local list?

ddediu commented 5 years ago

Now the warnings, errors and message for Shiny are handled through a custom mechanism (catching the warnings and errors generated by R was not pretty nor very good). This seems to work fine and allows finer-grained display of the messages in the Shiny app....