Skip to content

Commit

Permalink
update igraph::get.edgelist -> as_edgelist to close #228
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jun 5, 2024
1 parent 29fccc0 commit ff4c956
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dodgr
Title: Distances on Directed Graphs
Version: 0.4.0.009
Version: 0.4.0.010
Authors@R: c(
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre")),
person("Andreas", "Petutschnig", role = "aut"),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- `dodgr_flows_aggregate()` now has a `pairwise` parameter, to enable flows to
be aggregated only along paths connecting each pair of `from` and `to`
points. Thanks to @chinhqho via #229
- Update `igraph::get.edgelist` -> `as_edgelist` (#229) to suppress warnings
from igraph conversion functions.

---

Expand Down
2 changes: 1 addition & 1 deletion R/graph-conversion.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ igraph_to_dodgr <- function (graph) {

res <- data.frame (
cbind (
igraph::get.edgelist (graph),
igraph::as_edgelist (graph),
do.call (cbind, ei)
),
stringsAsFactors = FALSE
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"codeRepository": "https://github.com/UrbanAnalyst/dodgr",
"issueTracker": "https://github.com/UrbanAnalyst/dodgr/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.4.0.009",
"version": "0.4.0.010",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit ff4c956

Please sign in to comment.