Replace deprecated function calls and parameters #279
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisites
showcase.R
with respect to my changes.dev
.Description
Replace deprecated igraph functions in 'util-networks-metrics.R' and remove deprecated
scale_name
parameter from plotting module. This works towards #260.Changelog
erdos.renyi.game
of type "gnm" has been replaced bysample_gnm
average.path.length
has been replaced bymean_distance
graph.density
has been replaced byedge_density
is.simple
has been replaced byis_simple
ggplot2
version 3.5.0, the functiondiscrete_scale
, which is used forplot.network
in coronet, does not require ascale_name
parameter anymore. Even more, this parameter has been deprecated. Therefore, we also don't use it any more in coronet. However, as a consequence of this, the plotting module of coronet requiresggplot2
version 3.5.0 or higher, as of now.