Nothing
assert_in <- function(x, categorias){
x %in% categorias
}
assertthat::on_failure(assert_in) <- function(call, env) {
paste0(
deparse(call$x),
" deveria ser um desses valores: ",
eval(call$categorias) %>% str_flatten(collapse = ", ")
)
}
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.