test_that("initialise", {
e <- Environment$new(.data = toy_transport_network, id_col = "id")
expect_error(Environment$new(.data = toy_transport_network, id_col = "length"))
checkmate::expect_data_table(e$get_data())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.