# Skip if no internet connection
skip_if_net_down <- function(){
if(has_internet()){
return()
}
testthat::skip("No internet")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.