context("write_population.R")
test_that("test", {
expect_that( write_population(), throws_error() )
expect_that( write_population(FALSE), throws_error() )
df <- data.frame()
expect_that( write_population(df), throws_error() )
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.