context("rate_limit")
test_that("rate_limit returns rate_limit data", {
skip_on_cran()
x <- rate_limit()
expect_equal(is.data.frame(x), TRUE)
expect_named(x)
expect_true("remaining" %in% names(x))
expect_gt(nrow(x), 2)
expect_gt(ncol(x), 2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.