if (interactive()) {
library(brapi)
# Checks against a well known and high uptime web site. Default: google
ba_can_internet()
# or use an alternative
ba_can_internet("www.google.com")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.