I have a R package to connect R to different open data APIs (ie PXWEB API:s).
The travis builds works perfectly for the builds when no calls to an example web api is conducted (NOT_CRAN="false" in build matrix).
But when I include tests that also test api calls using http to a specific pxweb server I sometimes get "No internet connection" error in the tests. If I try to rerun the build the test sometimes passes (and sometimes not). I
The package and travis builds can be found here: