Skip to content

Commit

Permalink
release: Update changelog 🔖
Browse files Browse the repository at this point in the history
  • Loading branch information
luukvdmeer committed Dec 4, 2024
1 parent c5f54a2 commit 85cbc88
Showing 2 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# sfnetworks v0.6.5

### Bug fixes

* The `print()` method for sfnetwork objects now correctly prints networks with active edges that are spatially implicit. Refs [#256](https://github.com/luukvdmeer/sfnetworks/issues/256).
* The `print()` method for sfnetwork objects no longer uses the deprecated function `tibble::trunc_mat()`. Refs [#247](https://github.com/luukvdmeer/sfnetworks/issues/247).
* `to_spatial_contracted()` now correctly handles group indices that are not ordered. Refs [#243](https://github.com/luukvdmeer/sfnetworks/issues/243). Thanks @MattArran.

### Maintenance

* The usage of `igraph::adjacent_vertices()` and `igraph::incident_edges()` inside `to_spatial_smooth()` is now aligned to updates in igraph v2.1.1 that changed the zero-based indexing of the return to one-based indexing. This alignment is done dynamically, without forcing the most recent igraph version as required dependency. Refs [#282](https://github.com/luukvdmeer/sfnetworks/issues/282). Thanks @krlmlr.
* Whenever the installed igraph version is >= 2.1.0, `igraph::get_edge_ids()` is used instead of the deprecated `igraph::get.edge.ids()` inside `to_spatial_smooth()`.

# sfnetworks v0.6.4

### New features
10 changes: 5 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
In this release we have made the following changes:

* To address CRAN error on Fedora, the package version is now specified as a character instead of numeric.

* The `sfnetwork()` construction function now has an argument `message` which can be set to `FALSE` when the network validity checks should not print informational messages to the console. Refs [#261](https://github.com/luukvdmeer/sfnetworks/issues/261).

* Code and documentation was updated where needed to align with changes in base R and/or package dependencies. No changes to program logic or behavior.
* The `print()` method for sfnetwork objects now correctly prints networks with active edges that are spatially implicit.
* The `print()` method for sfnetwork objects no longer uses the deprecated function `tibble::trunc_mat()`.
* `to_spatial_contracted()` now correctly handles group indices that are not ordered.
* The usage of `igraph::adjacent_vertices()` and `igraph::incident_edges()` inside `to_spatial_smooth()` is now aligned to updates in igraph v2.1.1 that changed the zero-based indexing of the return to one-based indexing. This alignment is done dynamically, without forcing the most recent igraph version as required dependency.
* Whenever the installed igraph version is >= 2.1.0, `igraph::get_edge_ids()` is used instead of the deprecated `igraph::get.edge.ids()` inside `to_spatial_smooth()`.

## R CMD check results

0 comments on commit 85cbc88

Please sign in to comment.