test_that("get_streets works", {
expect_error(
get_streets()
)
expect_error(
get_streets(1)
)
expect_s3_class(
get_streets("Charles"),
"sf"
)
expect_s3_class(
get_streets("Charles", "ST PAUL"),
"sf"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.