Nothing
context("Testing formatCoordinates")
test_that("Empty df", {
df <- data.frame(
"X"=c(4.8),
"Y"=c(43.5)
)
result <- formatCoordinates(df)
expected <- "[4.8,43.5]"
expect_identical(result, expected)
})
test_that("Empty df", {
df <- data.frame(
"X"=c(4.8,5.5),
"Y"=c(43.5,44.5)
)
result <- formatCoordinates(df)
expected <- "[4.8,43.5]"
expect_identical(result, expected)
})
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.