Nothing
test_that("Establishing a view is low-memory", {
skip_if_offline()
skip_on_cran()
skip_if_not_installed("bench")
bbox <- sf::st_bbox(c(xmin = -120.5, ymin = 35.5, xmax = -120.0, ymax = 36.0))
timer <- bench::mark(iterations = 2, filter_gc = FALSE, time_unit = "s", {
open_curtain("building", bbox)
})
expect_lt(timer$mem_alloc, 1e6)
# can speed be improved here?
expect_lt(timer$median, 20)
})
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.