Temporary connection trouble shouldn't fail your build.
skip_if_disconnected(message = paste("Offline: cannot reach", url), url = "http://httpbin.org/")
character message to be printed, passed to
character URL to ping to check for a working connection
If offline, a test skip; else invisibly returns TRUE.
Note that if you call this from inside one of the mock contexts, it will
follow the mock's behavior. That is, inside
the check will pass and the following tests will run, but inside
without_internet(), the following tests will be skipped.