library(testthat)
test_that("Testing the URL validity", {
expect_equal(httr::status_code(httr::GET("https://omabrowser.org/api")), 200 ) #checking that the server is live and accesible
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.