context("Testing Location Lookup functionality")
test_that("Testing if location lookup function gives correct output", {
key = "ba435151893f4b833c9b27ca6f28044f"
res = weatherstack_Lookup(key, "London")
expect_equal(as.character(res[1, "request.query"]), "London")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.