Open jmh579 opened 9 months ago
From usethis::linter():
[cyclocomp_linter] Functions should have cyclomatic complexity of less than 15, this has 32.
There are too many paths through the function, so it should be simplified.
Same problem with train_spectra(), but this one is even worse with a current cyclomatic complexity of 39!
From usethis::linter():
There are too many paths through the function, so it should be simplified.