Nothing
context("seaport finder check")
finder_typo <- seaport_finder(country = "United", city = "borunemouth", ignore.case = TRUE)
finder_port <- seaport_finder(port_code = "LIL", ignore.case = TRUE)
test_that("correct output", {
expect_equal(finder_typo$country, "United Kingdom")
expect_equal(finder_typo$city, "Bournemouth")
expect_equal(finder_typo$port_code, "BOH")
expect_equal(finder_port$country, "Norway")
})
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.