context("Members of the Finnish Parliament")
test_that("Response is in correct form and dimensions", {
# Should return a list
expect_is(member(), "list", "Should return a list.")
# All members, n=432.
all_members <- member()
expect_equal(length(all_members), 432, info="There should be 432 memebers.")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.