context("connections")
test_that("abort invalid query", {
expect_error(connections())
expect_error(connections(from = "foo"))
expect_error(connections(to = "foo"))
expect_gt(nrow(connections(from = "Bern", to = "Zurich")), 0)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.