powered by
Patches common issues in LLM-generated R code before execution. Currently handles: missing library() calls for %>% and other common operators.
sanitize_r_code(code)
The sanitized code string.
The R code string to sanitize.