Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNetwork Statistics are off #165
Comments
|
I bet the cause is something like when you're calculating it and then assigning the columns to the data.table, it's in a different order, or maybe something like igraph dropping NAs and then it's tiling the shorter vector. |
|
@jayqi I'm pretty sure it's that. Merges of out of order vectors around here: https://github.com/UptakeOpenSource/pkgnet/blob/master/R/AbstractGraphReporter.R#L124 Working on it now. |
Our network statistics are WAY off somehow. Consider this example:
pkgnet::CreatePackageReport("lubridate")Package Dependencies
Looks at
statspackage. It clearly has an inDegree of 1 and outDegree of 3. However, in the table, the values are 3 and 0 respectively.Functional Dependencies
divide_duration_by_difftimeis listed as one of the largest inSubgraphs at 81. However, it has no edges. In the repo, it is mentioned just twice: the function dependencyThis is a bug.