context("drain") test_that("drain", { it <- iterator(1:10) expect_that(drain(it), equals(as.list(it$data))) })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.