Cirad-ASTRE / mapMCDA

Produce an epidemiological risk map by weighting multiple risk factors
https://umr-astre.pages.mia.inra.fr/mapMCDA/
1 stars 2 forks source link

Interface: capture errors and warnings and display in GUI #29

Open famuvie opened 5 years ago

famuvie commented 5 years ago

Currently, errors and warnings appear in the R console. In particular, errors turns the GUI gray and the process is blocked, forcing the user to go to the console to read the message and stop the process in order to start over.

Capture the errors and warnings using try() in all function calls from the interface, and redirect them to graphical pop-up boxes with proper actions offered to the user to fix the issue and continue without going back to the cosole.