testthat::test_that("classless R6 object errors with no specified framework", {
testthat::expect_error(Classless$new())
})
testthat::test_that("classless R6 object generates successfully with framework", {
classless <- Classless$new("test")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.