You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Reduce the cyclomatic complexity of this function from %d to at most %d.",
This might be confusing if the lint hits a non-function expression:
lint(linters= cyclocomp_linter(5L), "for (i in 1:10) for (j in 1:10) for (k in 1:10) i*j*k")
# <text>:2:1: style: [cyclocomp_linter] Reduce the cyclomatic complexity of this function from 10 to at most 5.# for (i in 1:10)# ^
The text was updated successfully, but these errors were encountered:
cyclocomp()
can measure complexity of functions or expressions, but the message always says "function":lintr/R/cyclocomp_linter.R
Line 48 in 5bc4dbe
This might be confusing if the lint hits a non-function expression:
The text was updated successfully, but these errors were encountered: