davidskalinder
davidskalinder
**Describe the bug** For any NA elements in a sparse incidence matrix, `x[3]` in the following line will be NA, which results in an error: https://github.com/igraph/rigraph/blob/da27d5b5f79efb9e0a5bf1d9e5bdd91c24d30ca7/R/incidence.R#L70 **To reproduce** ``` r...
**Describe the bug** This line doesn't handle `NA`s in the incidence matrix: https://github.com/igraph/rigraph/blob/da27d5b5f79efb9e0a5bf1d9e5bdd91c24d30ca7/R/incidence.R#L89 ... and so this line chokes trying to convert `NA` to `numeric`: https://github.com/igraph/rigraph/blob/da27d5b5f79efb9e0a5bf1d9e5bdd91c24d30ca7/R/incidence.R#L93 **To reproduce** ``` r...
This should partially fix #903 (i.e., it should allow the R code to handle weights, but not provide a full C implementation). I tried to keep all changes as minimal...
**Describe the bug** `power_centrality()` cannot handle weighted graphs and so returns different values for a weighted graph and for an equivalent graph with parallel edges. `sna::bonpow()`, on which `igraph::power_centrality()` is...
I'm new to `dotwhisker`, so I hope I'm not making some obvious mistake here, but I'm getting this error when I pass a list of models to `secretweapon()`. Passing the...