Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of risk metric score calculations #327

Open
LDSamson opened this issue Feb 16, 2024 · 1 comment
Open

Documentation of risk metric score calculations #327

LDSamson opened this issue Feb 16, 2024 · 1 comment

Comments

@LDSamson
Copy link

The description of how individual metrics are calculated is hard to find. I had to dive deep into the source code of the package to, for example, find how the score for 'package metric dependencies' is calculated. Is there any documentation that I did not find yet about this topic?

Maybe the standard scores can be included in a vignette, including the calculation method and rationale? That would be really helpful.

@dgkf
Copy link
Collaborator

dgkf commented Feb 16, 2024

Yeah, this sounds like we could definitely improve the discoverability here.

We could add some dynamically generated roxygen docs to ?metric_score like we do for ?pkg_assess. We already have the description attributes to support {riskassessment}, so we can probably do something similar here.

Of course, if you think the docs themselves for the specific methods could be improved, then that's always a place where we welcome contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants