Nothing
test_that("prop_whole_number validates inputs", {
check_prop <- function(...) {
new_class(
"class",
properties = list(prop = prop_number_whole(...)),
package = NULL
)
}
expect_snapshot(error = TRUE, {
check_prop()("x")
check_prop()(c(1:2))
check_prop()(1.5)
check_prop(min = 1)(0)
check_prop(max = -1)(0)
})
})
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.