What would be the most robust way to test if your internet is connected to wifi or ethernet in R?
R
I want to do an if statement, something like:<
if