test_that("get_variables_names produces a vector", {
x <- get_variables_names()
expect_is(x, "character")
})
test_that("last variable name is 'constant'", {
x <- get_variables_names()
expect_equal(x[length(x)], "Constant")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.