Nothing
test_generator <- function() {
Sys.setenv(RETURN_ON_DISPATCH = "true")
generate_abc <- coro::generator(function() {
withr::defer(Sys.unsetenv("RETURN_ON_DISPATCH"))
for (x in c("a", "b", "c")) {
coro::yield(x)
}
})
generate_abc()
}
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.