#http://r-pkgs.had.co.nz/tests.html
#Test files
context("geocodeBylatlng")
test_that("Wrong inputs give error",{
expect_error(geocodeBylatlng(37.56654))
expect_error(geocodeBylatlng(seoul))
})
test_that("Proper error message",{
expect_error(geocodeBylatlng("99999999999, 0000000000"))
expect_error(geocodeBylatlng("+-!@#$%^&*&"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.