knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
Assemble a single result for data providers that split their output in chunks.
count <- 0L stupid_pump <- pumpr::Pump$new(get_chunk = function() 1:10, has_completed = function() { count <<- count + 1L; count > 5L}) stupid_pump$pump()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.