Ignore NA/NAN in Shiny App Datatable and plotly

I am writing a Shiny app for a serial port interface, and for the most part the app is working EXCEPT that sometimes the hardware sends incomplete data or my inactivatelater is a little off.
So NA and sometimes NAN are produced. This would…