test_that("lat_lng works", {
expect_error(search_tweets("lang:en", geocode = lookup_coords("usa"), n = 100))
})
test_that("lat_lng works on empty tweet", {
expect_error(lat_lng(tweet(NULL)), NA)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.