Nothing
test_that("tag elements are allowed", {
expect_silent(assert_subject(div()))
})
test_that("style pronoun is allowed", {
expect_silent(assert_subject(.style))
})
test_that("spliced pronoun is allowed", {
expect_silent(assert_subject(rlang::splice(.style)))
})
test_that("length zero argument throws error", {
msg <- "subject must be the `.style` pronoun or tag element"
expect_error(assert_subject(NULL), msg)
expect_error(assert_subject(numeric(0)), msg)
})
test_that("NA argument throws error", {
msg <- "subject must be the `.style` pronoun or tag element"
expect_error(assert_subject(NA), msg)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.