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

Implement package weight for deepdep #48

Open
ErdaradunGaztea opened this issue May 20, 2022 · 0 comments
Open

Implement package weight for deepdep #48

ErdaradunGaztea opened this issue May 20, 2022 · 0 comments
Labels
feature 💡 New feature or enhancement request

Comments

@ErdaradunGaztea
Copy link
Collaborator

Package weight could be a parameter of deepdep() function or a function applied to a deepdep object. I don't like parameter bloat, so I'd opt for the latter solution. This would work like that:

dd <- deepdep("ggplot2", depth = 2)
# Function name is definitely open for a discussion
dependency_weights(dd)

This would allow us to implement something like "package dependency score" as well, that would grade packages... But that's a separate idea.

Weights themselves may be computed in more than one way; it could be size of a package or a number of exported functions (probably with S3 methods not being counted as separate).

@ErdaradunGaztea ErdaradunGaztea added the feature 💡 New feature or enhancement request label May 20, 2022
@ErdaradunGaztea ErdaradunGaztea added this to the deepdep v0.5.0 milestone May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 💡 New feature or enhancement request
Projects
None yet
Development

No branches or pull requests

1 participant