-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
estimate_betweenness() should be deprecated #844
Comments
What about |
The same. All the I consider this very important because many people come to igraph without much experience in network analysis. They see the name "estimate" and decide to just use this function for a faster approximate calculation. That's not what they really do. Let's avoid names that create confusion. The "estimate" names have already been removed from the C core. |
Ok! We'll have to start with a simple warning though, then an error in another version of the package. |
actually, we'll have to start with a soft deprecation because some revdeps use |
I'll open PRs in the corresponding repos (not the cran/ ones, which are mirrors), hopefully next week. |
Even edge.betweenness.estimate is used in gDefrag |
I added a TODO list in the first comment. |
I'll resume the PR openings next week. |
I've opened PRs in all revdeps where I could, via a GitHub search, find usage of the to-be-deprecated functions. |
The PRs have been merged/integrated into revdeps but we'd need to monitor when the updated versions go to CRAN I guess. |
All PRs in revdeps merged/integrated except FMestre1/gDefrag#2 (comment) |
even that one is merged now |
I'll close this: since we use lifecycle for this deprecation, it'll be looked at when we increase deprecation levels anyway. |
TODOS
estimate_betweenness()
and the dotted version.estimate_edge_betweenness()
and the dotted version.estimate_closeness()
and the dotted version.estimate_betweenness()
should be deprecated and should not appear in the docs. "Estimate" is a bit of a misnomer here as proper betweenness estimation takes a lot more than what this function does. The replacement is using thecutoff
parameter ofbetweenness()
.The same applies to
estimate_closeness()
, but that function already doesn't appear in the docs.Do you have time for this @maelle ?
The text was updated successfully, but these errors were encountered: