dreamRs / esquisse

RStudio add-in to make plots interactively with ggplot2
https://dreamrs.github.io/esquisse
Other
1.77k stars 229 forks source link

check if data is null #109

Closed trafficonese closed 4 years ago

trafficonese commented 4 years ago

Opening the Select a dataset modal and closing it again without selecting a dataset, crashed the app when one of the variables is dragged into the x/y/fill,... fields.

This PR includes a small check if the dataset is NULL and shows a warning notification. Maybe it would make sense to remove the variables instead, if no dataset is selected, then this error should not happen.