Nothing
test_that("The response data must be a list or a dataframe", {
expect_error(
.enrichResponse(
responseData = 123,
url = ""))
})
test_that("The URL must be a string", {
expect_error(
.enrichResponse(
responseData = list(),
url = 123))
})
test_that("Expect no errors if the parameters are correct", {
enrichedData_ <- .enrichResponse(
responseData = list(),
url = "https://example.org")
expect_true("queried_on" %in% names(enrichedData_))
expect_equal(enrichedData_$queried_url, "https://example.org")
})
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.