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. - [Cyclomatic complexity on Wikipedia](https://en.wikipedia.org/wiki/Cyclomatic_complexity) - [cyclocomp R package](https://cran.r-project.org/package=cyclocomp)