Nothing
context("async_*apply")
test_that('testing async_expr', {
skip_on_cran()
make_forked_clusters()
re <- async_expr(1:10, { x })
expect_equal(deparse_svec(unlist(re)), '1-10')
re <- async_expr(1:10, { async({x}); x+1 })
expect_equal(deparse_svec(unlist(re)), '1-10')
re <- async_expr(1:10, { async({if(x > 1) x else NULL}) })
expect_length(re, 10)
expect_length(drop_nulls(re), 9)
})
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.