network
objects, which are now pruned of duplicated (‘redundant’) edges by default, unless multiple = TRUE
(multiplex egdes) is declared.rmarkdown
(see this knitr
issue).Many thanks to Uwe Ligges, from CRAN, and to Julia Fukuyama, from the phyloseqGraphTest
package, who both helped with pushing the package forward while preserving its reverse dependencies.
igraph
to lose edge attributes.Adjustments to avoid any issues with class()
.
Fixed some faulty and/or unsecure URLs (thanks to Uwe Ligges).
Due to a bugfix in statnet.common
4.2.0, ggnetwork
now requires R ≥ 3.5 (#45).
Added a scale
argument that makes it possible to pass meaningful spatial coordinates like latitude and longitude without (re)scaling (#48).
Finished fixing a bug affecting 2-node, 1-tie networks of class igraph
(#12). Thanks to Mickaël Canouil (#20) and Zachary Charlop-Powers (#24).
Added a stringsAsFactors
argument that allows to import vertex and edge attributes as character strings instead of factors, which remains the default behaviour (#53).
Fixed a bug that caused igraph
vertex attributes to be returned in a different type than the original attribute (#54).
Fixed a bug that made it impossible to convert edge attributes provided as character strings into factors (#55), which is now the case by default (#53).
Many thanks to Mickaël Canouil, who contributed all changes below (#42).
README.Rmd
(replace README.md
),
usethis
)..travis.yml
,
pkgdown
for website deployment.
_pkgdown.yml
configuration file.covr
for code coverage.
codecov.yml
configuration file.ggnetwork.Rproj
, for ease of use within Rstudio.In DESCRIPTION
,
ggplot2
from Enhances
field.Collate
field to load sequentially the functions.igraph
to Imports
field.Remove inst/doc/
directory, i.e., the vignette is part of the pkgdown
website.
Use tidy code style.
In R/fortify-igraph.R
and R/fortify-network.R
,
with
and transform
(i.e., intended to be use interactively).sna
package (i.e., gplot.layout.*
functions).In R/geom-nodes.R
and R/geom-edges.R
,
In R/ggnetwork.R
, switch
and tryCatch
to make the igraph
and network
testing consistent.
In R/utilities.R
, reexport fortify
and unit
from ggplot2
.
Added native support for igraph
. Thanks to Jake Fisher (#25).
Fix for network layouts with constant coordinates. Thanks to Kipp Johnson (#32).
Added Travis CI. Thanks to Kohei Watanabe (#26).
Export ggplot2::Stat
to enable loading ggnetwork
first (#14). Thanks to Tyler Rinker.
Built with the new version of ggproto
(#11).
Safer calls to the sna
package (#9). Thanks to Michał Bojanowski.
Fixed a bug that removed labels from strictly vertical or strictly horizontal edges (#5).
Fixed a small documentation issue that was corrected in roxygen
5.0.2 (#4).
CHANGES
Support for segment colors in all geoms using ggrepel
0.5.1 (#3).
Added some acknowledgements to the README and links to the DESCRIPTION.
First CRAN release.