context("sp markers_search")
con <- ba_db()$sweetpotatobase
test_that("Calls are present", {
skip("Not implemented.")
res <- ba_markers_search(con = con)
expect_that(nrow(res) == 22, is_true())
})
test_that("Out formats work", {
skip("Not implemented.")
res <- ba_markers_search(con = con, rclass = "json")
expect_that("json" %in% class(res), is_true())
res <- ba_markers_search(con = con, rclass = "list")
expect_that("list" %in% class(res), is_true())
res <- ba_markers_search(con = con, rclass = "data.frame")
expect_that("data.frame" %in% class(res), is_true())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.