- Fortifying graph objects was slightly modified to accommodate for a change in
igraph
2.0.1 and above (thanks to Marco Sandri andigraph
developers for raising the issue).
- Fortifying graph objects now assumes that
getOption("stringsAsFactors")
is to be set toFALSE
when it is missing (required by a recent change in R-devel).
- Replaced Travis CI with GitHub Actions (#66).
Many thanks to Kurt Hornik, from CRAN, and to Marco Sandri, from the BasketballAnalyzeR
package, who both helped with pushing the package forward while preserving its reverse dependencies.
- Modified the "duplicated edges" test on
network
objects, which are now pruned of duplicated ('redundant') edges by default, unlessmultiple = TRUE
(multiplex egdes) is declared.
- Declared the soft dependency on
rmarkdown
(see thisknitr
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.
- Fixed a bug that caused networks of class
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).
-
Add
README.Rmd
(replaceREADME.md
),- use badges.
- list all GitHub contributors.
- add Contributing, Code of Conduct Issue Template and Support markdown file (
usethis
).
-
Improve
.travis.yml
,- use
pkgdown
for website deployment.- add
_pkgdown.yml
configuration file.
- add
- use
covr
for code coverage.- add default
codecov.yml
configuration file.
- add default
- use
-
Add
ggnetwork.Rproj
, for ease of use within Rstudio.
-
In
DESCRIPTION
,- update RoxygenNote version.
- remove
ggplot2
fromEnhances
field. - add
Collate
field to load sequentially the functions. - move
igraph
toImports
field.
-
Remove
inst/doc/
directory, i.e., the vignette is part of thepkgdown
website. -
Use tidy code style.
-
In
R/fortify-igraph.R
andR/fortify-network.R
,- use subsetting functions instead of
with
andtransform
(i.e., intended to be use interactively). - fix issue from CRAN check with undefined global variables.
- remove namespace loading for
sna
package (i.e.,gplot.layout.*
functions).
- use subsetting functions instead of
-
In
R/geom-nodes.R
andR/geom-edges.R
,- remove unnecessary "@importFom".
- add missing function packages prefix.
-
In
R/ggnetwork.R
,switch
andtryCatch
to make theigraph
andnetwork
testing consistent. -
In
R/utilities.R
, reexportfortify
andunit
fromggplot2
.
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 loadingggnetwork
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.