context("getTasksForDataSet")
test_that("getTasksForDataSet", {
tasks.1 = getTasksForDataSet(1)
expect_is(tasks.1, "integer")
tasks.2 = getTasksForDataSet(2)
tasks.1and2 = getTasksForDataSet(c(1, 2))
expect_equal(length(tasks.1and2), length(tasks.1) + length(tasks.2))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.