Closed logstar closed 3 years ago
Change R lintr configs.
lintr
object_name_linter
commented_code_linter
object_length_linter
cyclocomp_linter
complexity_limit
Fixes #6 .
Test Configuration:
Run in project dir (git root dir).
Rscript --vanilla -e "lintr::lint_dir(linters = lintr::with_defaults(object_name_linter = NULL, assignment_linter = NULL, line_length_linter = NULL, spaces_left_parentheses_linter = NULL, commented_code_linter = NULL, object_length_linter = NULL, cyclocomp_linter = lintr::cyclocomp_linter(complexity_limit = 25)))"
Task link/Screenshot/Terminal returns:
Closed with https://github.com/PediatricOpenTargets/OpenPedCan-api/pull/12 merged.
Pull Request Template
Description
Change R
lintr
configs.object_name_linter
commented_code_linter
object_length_linter
cyclocomp_linter
complexity_limit
to 25. Default is 15, even though the documentation says 25.Fixes #6 .
Type of change
How Has This Been Tested?
Test Configuration:
Run in project dir (git root dir).
Task link/Screenshot/Terminal returns:
Checklist