Skip to content

R

Linters

Linter Additional
lintr
R_LINTR
GitHub stars

Linted files

  • File extensions:
    • .r
    • .R
    • .Rmd
    • .RMD

Configuration in MegaLinter

Variable Description Default value
R_PRE_COMMANDS List of bash commands to run before the linters None
R_POST_COMMANDS List of bash commands to run after the linters None
R_FILTER_REGEX_INCLUDE Custom regex including filter
R_FILTER_REGEX_EXCLUDE Custom regex excluding filter