Nothing
test_that("getSleepFunction", {
reg = makeTestRegistry()
f = getSleepFunction(reg, NULL)
expect_function(f)
expect_true(any(grepl("Sys.sleep", as.character(body(f)))))
f = getSleepFunction(reg, 99)
expect_function(f)
expect_true(any(grepl("Sys.sleep", as.character(body(f)))))
f = getSleepFunction(reg, function(x) x^2)
expect_function(f)
expect_true(any(grepl("Sys.sleep", as.character(body(f)))))
})
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.