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
I ran lintr on our package, and three functions were flagged as having high cyclomatic complexity:
casebase::absoluteRisk
casebase::absoluteRisk.CompRisk
casebase::fitSmoothHazard
Since high cyclomatic complexity means that it's harder to maintain the code (because it's more difficult to reason about it), it may be worth refactoring the code of these functions to decrease this complexity. This is definitely not urgent, but I thought I would flag it in case someone wants to have a look at it.
The text was updated successfully, but these errors were encountered:
I ran
lintr
on our package, and three functions were flagged as having high cyclomatic complexity:casebase::absoluteRisk
casebase::absoluteRisk.CompRisk
casebase::fitSmoothHazard
Since high cyclomatic complexity means that it's harder to maintain the code (because it's more difficult to reason about it), it may be worth refactoring the code of these functions to decrease this complexity. This is definitely not urgent, but I thought I would flag it in case someone wants to have a look at it.
The text was updated successfully, but these errors were encountered: