Nothing
context("Test user-defined Validators.")
library(shinyreforms)
test_that("ValidatorNonEmpty works", {
anythingButTestValidator <- Validator$new(function(value) {
return(value != "test")
}, "Please input *anything* but test!")
expect_true(anythingButTestValidator$check("Some value!"))
expect_false(anythingButTestValidator$check("test"))
})
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.