on_validate_path | R Documentation |
Function called to validate path correctness
on_validate_path(fun)
fun |
a function; if missing, returns value of the path.chain.on.path.not.exists option |
# We'll create an options backup for this example
old.options <- options()
is_path_valid <- function(x) grepl("\\.fst", x)
on_validate_path(is_path_valid)
on_validate_path()
options(old.options)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.