Nothing
if (requireNamespace("httptest", quietyly = TRUE)) {
httptest::with_mock_api({
test_that("output from market summary is as expected", {
testthat::skip_on_cran()
trend <- get_market_summary()
expect_equal(length(trend[[1]]), 29)
expect_equal(trend[[1]]$fullExchangeName, "CME")
expect_equal(trend[[1]]$symbol, "ES=F")
expect_equal(trend[[1]]$quoteType, "FUTURE")
expect_equal(trend[[1]]$regularMarketPrice$raw, 4159.25)
})
})
}
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.