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

Inaccurate display of number of dependencies #805

Closed
jthompson-arcus opened this issue Jul 9, 2024 · 2 comments
Closed

Inaccurate display of number of dependencies #805

jthompson-arcus opened this issue Jul 9, 2024 · 2 comments

Comments

@jthompson-arcus
Copy link
Collaborator

metric$name == "dependencies" ~ as.character(length(unlist(as.vector(riskmetric_assess[[metric$name]][[1]][1])))),

If a package has 0 dependencies, riskmetric returns character(0) for the assessment value, but this code effectively renders it as NA which has a length of 1 instead of 0.

@jthompson-arcus
Copy link
Collaborator Author

jthompson-arcus commented Jul 10, 2024

Reopening because bug is still on master

@aclark02-arcus
Copy link
Collaborator

closed with #796

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

No branches or pull requests

2 participants