Nothing
# tests for do_GET
context("do_GET")
test_that("returns expected output for sizes endpoint", {
skip_on_cran()
siz <- do_GET("sizes")
expect_is(siz, "list")
expect_named(siz, c("sizes", "links", "meta"))
})
test_that("returns expected output for regions endpoint", {
skip_on_cran()
regs <- do_GET("regions")
expect_is(regs, "list")
expect_named(regs, c("regions", "links", "meta"))
})
test_that("httr curl options work", {
skip_on_cran()
library("httr")
expect_error(do_GET("sizes", config = timeout(seconds = 0.001)))
})
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.