You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
Package weight could be a parameter of
deepdep()
function or a function applied to adeepdep
object. I don't like parameter bloat, so I'd opt for the latter solution. This would work like that: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).
The text was updated successfully, but these errors were encountered: