View source: R/modules-sc-utils.R
| interpret | R Documentation |
Check safety of evaluating string as R code.
interpret(
expr_str,
max_length = 200,
whitelist = c("&", ">=", "<=", ">", "<", "|", "==", "!=", "*")
)
expr_str |
String to evaluate, |
max_length |
maximum length of string to evaluate, |
whitelist |
R functions to allow use of. |
TRUE if expression is safe, otherwise FALSE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.