We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c80e7c commit 293e446Copy full SHA for 293e446
.ci/linters/r/eval_parse_linter.R
@@ -0,0 +1,8 @@
1
+eval_parse_linter = make_linter_from_xpath(
2
+ "//SYMBOL_FUNCTION_CALL[text() = 'parse']
3
+ /ancestor::expr
4
+ /preceding-sibling::expr[SYMBOL_FUNCTION_CALL[text() = 'eval']]
5
+ /parent::expr
6
+ ",
7
+ "Avoid eval(parse()); build the language directly, possibly using substitute2()."
8
+)
0 commit comments