try_validator | R Documentation |
Let a validator fail without an error
try_validator(..., nam = "")
nam |
an optional name to help identify the failty validator later. |
x |
an expression that should tipically return a validator result but in some, yet to be discovered, exceptional cases, it does not. |
x = data.table(id = 1:10) wrong_output_validator <- nrow faulty_validator <- function(x) foo(x) faulty_validator (x) |> try_validator(nam = 'foo') nrow(x) |> try_validator()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.