If any global variables are removed or created, it will give a descriptive error.
ensure_no_global_variable_pollution(expr, desc, check_options = FALSE)
expr | expression. The R expression to evaluate |
---|---|
desc | character. A string to add to "you modified global |
check_options | logical. Whether to check if any global options were changed.
variables while [ |
the output of the expr
.