Internet resources should fail gracefully

For testting, you have a testthat helper to skip the test if offline. See testthat::skip_if_offline(host = "r-project.org")

I use it to check connectivity for a host before running the test code.

3 Likes