nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

update igraph calls #1419

Closed perrydv closed 5 months ago

perrydv commented 7 months ago

It appears that nimble's calls to igraph use deprecated functions. Some recent testing runs included this output:

1. (code run outside of `test_that()`) ('test-setData.R:10:1') - `add.vertices()` was deprecated in igraph 2.0.0.
ℹ Please use `add_vertices()` instead.

2. (code run outside of `test_that()`) ('test-setData.R:10:1') - `add.edges()` was deprecated in igraph 2.0.0.
ℹ Please use `add_edges()` instead.

3. (code run outside of `test_that()`) ('test-setData.R:10:1') - `topological.sort()` was deprecated in igraph 2.0.0.
ℹ Please use `topo_sort()` instead.

4. (code run outside of `test_that()`) ('test-setData.R:10:1') - `permute.vertices()` was deprecated in igraph 2.0.0.
ℹ Please use `permute()` instead.