Nothing
Code
assert_class(1, class = "character")
Error <rlang_error>
'1' must belong to class 'character', not numeric
Code
assert_class("abc", class = "numeric")
Error <rlang_error>
'"abc"' must belong to class 'numeric', not character
Code
assert_class(mtcars, class = "list")
Error <rlang_error>
'mtcars' must belong to class 'list', not data.frame
Code
assert_no_missing(c(1, 2, NA))
Error <rlang_error>
'c(1, 2, NA)' must have no missing values! Found 1
Code
assert_no_missing(c("a", NA, "c"))
Error <rlang_error>
'c("a", NA, "c")' must have no missing values! Found 1
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.