Nothing
test_that("Non integer x returns nothing:", {
noint <- get_contacts(x = "Goring")
expect_length(noint, 1)
})
test_that("Integer x returns sets of contacts:", {
single <- get_contacts(x = 1)
expect_true(class(single) == "contacts")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.