In the linting the create_project() function is failing on cyclocomp checks.
How to reproduce
Steps to reproduce the behaviour:
Look at the actions logs -
Expected behaviour
This linting check should pass
Screenshots
Additional context
From the top of my head I think this is a count of the if / else statements within the function and intended to keep functions from getting overly complex and twisty with various different potential paths. Worth checking Hadley's R packages guide and anything we can find around CRAN guidance on this. Potentially breaking out smaller helper functions might help?
Describe the bug
In the linting the
create_project()
function is failing on cyclocomp checks.How to reproduce
Steps to reproduce the behaviour:
Expected behaviour
This linting check should pass
Screenshots
Additional context
From the top of my head I think this is a count of the if / else statements within the function and intended to keep functions from getting overly complex and twisty with various different potential paths. Worth checking Hadley's R packages guide and anything we can find around CRAN guidance on this. Potentially breaking out smaller helper functions might help?