I’m creating unit test for my code in R and one of the metrics I need to calculate is the Mantainability Index. I’m using testthat for creating my tests, but they do not provide this metric. I have taken the definition of Python’s radon package as reference. However, I haven’t been able to find an R package that calculates this index. Has anyone encountered this problem before? How can I calculate this metric?
I tried searching for a package in CRAN/Bioconductor, even with chatGPT (But it suggests using lintr, which is not what I’m looking for).
Guillermo Chumaceiro is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.