Skip to content

Commit

Permalink
version 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollway authored and cran-robot committed Aug 11, 2023
1 parent f6c8207 commit 81972a9
Show file tree
Hide file tree
Showing 75 changed files with 5,138 additions and 449 deletions.
15 changes: 9 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: manynet
Title: Many Ways to Make, Manipulate, and Map Myriad Networks
Version: 0.1.1
Date: 2023-06-09
Version: 0.2.1
Date: 2023-08-11
Description: A set of tools for making, manipulating, and mapping many different types of networks.
All functions operate with matrices, edge lists, and 'igraph', 'network', and 'tidygraph' objects,
and on one-mode, two-mode (bipartite), and sometimes three-mode networks.
Expand All @@ -16,9 +16,12 @@ Language: en-GB
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Imports: dplyr (>= 1.1.0), ggplot2, ggraph, igraph, network, tidygraph
Imports: dplyr (>= 1.1.0), ggplot2, ggraph, igraph (>= 1.5.0.1),
network, tidygraph
Suggests: gganimate, methods, readxl, roxygen2, RSiena, testthat, xml2,
patchwork
patchwork, knitr, rmarkdown, learnr, grDevices, BiocManager,
minMSE
Enhances: Rgraphviz
Authors@R:
c(person(given = "James",
family = "Hollway",
Expand All @@ -31,10 +34,10 @@ Authors@R:
comment = c("IHEID", ORCID = "0000-0003-3420-6085"))
)
NeedsCompilation: no
Packaged: 2023-06-09 19:19:24 UTC; hollway
Packaged: 2023-08-11 13:07:02 UTC; hollway
Author: James Hollway [cre, aut, ctb] (IHEID,
<https://orcid.org/0000-0002-8361-9647>),
Henrique Sposito [ctb] (IHEID, <https://orcid.org/0000-0003-3420-6085>)
Maintainer: James Hollway <james.hollway@graduateinstitute.ch>
Repository: CRAN
Date/Publication: 2023-06-10 14:10:02 UTC
Date/Publication: 2023-08-11 13:40:06 UTC
122 changes: 68 additions & 54 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,74 +1,87 @@
e04df197c3973e41ae8f02d5556370f4 *DESCRIPTION
5682971c475d8f91198989f247d133f8 *DESCRIPTION
361d71c6379f4ddf09ca9c8540b8fea1 *LICENSE
a5911dbf4336555dd6a6aa44bc5ea148 *NAMESPACE
f9a53402f2ff37b9056d6da863781480 *NEWS.md
07862752f654a6b5fab5747f262333c7 *R/data_ison.R
e556f016e1bfbb7cf79c6671ad3c6496 *R/make_as.R
012799866b6d02a5b9fe79e0dfd53641 *R/make_create.R
255913aacc10bf6b4a8161c306472e01 *R/make_generate.R
724942ce45d78b981e435f2359eaf3c4 *R/make_read.R
2f5f2a17d6765a1b83bbd3ff8d8b34d3 *R/manip_add.R
3ab8ea40ca6fbb3728177c8ca0f1255c *NAMESPACE
53e5898f3d3fc9f59be9822e0bdd9bda *NEWS.md
65446f8db7ac66243fe0e2bd445d6076 *R/data_ison.R
9022cd74ad3f3e6b31705c7555e23567 *R/make_as.R
280195557bbe3c28bd67cde1f5423490 *R/make_create.R
a59dcc247a1aa29833f174ec2529cb10 *R/make_generate.R
50f2dd264d63cab1914f5fbaaecdf5fc *R/make_read.R
eaf9a4357387f0e949880e03221472dd *R/manip_add.R
53c02b0642c4c2bd507849f3a6f67eb3 *R/manip_from.R
e9aad6f23cbc1657f3281237185c8908 *R/manip_miss.R
823f4995631499e5d62ad5e8d607ef7f *R/manip_reformat.R
b36b2b5c8e39a8bded9b8b6bd88ec9a5 *R/manip_split.R
c86f435854b50d81a7d318ba60ca7897 *R/manip_reformat.R
62f53c3ab0913ff606b0a9eafed507e6 *R/manip_split.R
29095322bb905d8551d7577e09a1a815 *R/manip_tidy.R
ced0b300d36bf5fb15fefd9673339654 *R/manip_transform.R
9fe01dbfe1df9c4b0e060de9713c6e2a *R/manip_transform.R
e6904ca7fa87c64684580f5b36e5896d *R/manynet-utils.R
5a485b8100c0667e5fdd249c345a4bff *R/map_attributes.R
c50170af7c78422278779fb8a3f3a470 *R/map_autographr.R
6d977bd802739cf2c9e3a0d61346bfde *R/map_is.R
b5cb63b61c31bae010269a0428be600a *R/map_palette.R
f672ad16ae8ecdf382b6c2bfdcb2f065 *R/map_autographr.R
262ac6411f46c6a8eea206024cfc863c *R/map_is.R
27ed31b66230cc7bdea828a439f57b6a *R/map_layout_partition.R
97a8d4d39163df53cbafb9a63b3d3610 *R/map_palettes.R
46ee795018bd813bbe3f27b336e8a5f2 *R/map_plot.R
79cd003ad6cc4e2ce5a4fccf8362ec5e *R/map_properties.R
6055b3efe87103c679152199faca4039 *R/map_theme.R
0282c7ecc85fa60c7d6b987991fb2766 *R/print_classes.R
33162022353ceac96f9282149c710d90 *R/reexports_classes.R
5b6bdf57abcbb9776d5b05ae9d0c1192 *R/reexports_ggplot2.R
c32b17bf67aaa82f9497832d48ffc8b1 *R/sysdata.rda
fc57376219f96dce9629f67605989b36 *README.md
20c5d0ac9aba30fa26730845f310eb3a *README.md
439bf689fa27cf9affd0335332142165 *build/partial.rdb
ab1a6ec9a34fe6a5bf2e48b6e31b812d *data/ison_adolescents.rda
e7517b200211dee8211dc5c7f9de5d93 *data/ison_algebra.rda
e2293da3b0ad4848864ef3f29a92e8fe *data/ison_bb.rda
f05ce9a742cef580057e41cbfce5fe04 *data/ison_bm.rda
deec7106bb20cbb1684a839dbc82c46d *data/ison_brandes.rda
eded5dc00a8c023ac8c7eabe1bea006b *data/ison_brandes2.rda
60ebf5b48615b183674db8cd15bbcfe5 *data/ison_karateka.rda
09ca699f6f4b224b7d575976f89c1d83 *data/ison_lotr.rda
165a53aa74d16bf17d9476a4cdca3567 *data/ison_adolescents.rda
e5b3237a16d54a8fc774b8d8128fed39 *data/ison_algebra.rda
b20354b3d6f9fb3b4e65c511ed5db78a *data/ison_brandes.rda
41a221361a130d269ba1a91788ab2922 *data/ison_karateka.rda
8250e638e7ae6c2299e8f831eab0a82e *data/ison_konigsberg.rda
ffe9cca1f76c1fe8bc16265b57da49f7 *data/ison_laterals.rda
93e366676084deeb1faa88333b54a6a3 *data/ison_lotr.rda
3d49ca0a38656ff2f38a9f8cb5bd3ef8 *data/ison_marvel_relationships.rda
0283024d033581ff0e9dcab5f05d0e54 *data/ison_marvel_teams.rda
7949d965942488ef7dd7635fc077d12f *data/ison_mb.rda
1071c1e04efedc84a2ffb92ad8730bca *data/ison_mm.rda
b4526aa0a2b750bd7bddf3203e57418b *data/ison_networkers.rda
f3c662b4d956f9f2f6cfb06ae7969687 *data/ison_southern_women.rda
e327b78dbf21f748a1fe54322c93e496 *data/ison_networkers.rda
b45178a091e0cdb0ab2ba12abaf63e4e *data/ison_southern_women.rda
a8b18fd3012e113ac1533d3e43e28d02 *inst/manynet.png
651df2e144877e838318b951764b3290 *man/add.Rd
506fc6aef5f19d2c5b75ca05caf3bf60 *man/as.Rd
88fa55712881eb81a63bcd823f3f95ba *man/attributes.Rd
77bbfdb675c3e6e8dae95ea57c0cc4f0 *man/auto_graph.Rd
8d7f9be221099fd8ebcc2eac39ece6c0 *man/create.Rd
8316307638b5e9cbf37d88e864ab2b78 *inst/tutorials/tutorial1/data.Rmd
fb00940f1411f89fe46a9c062a62fb81 *inst/tutorials/tutorial1/data.html
e6611f534f1efb2d9df7fb51777f93d9 *inst/tutorials/tutorial1/data/adols.csv
52bb5bccd9a3b7d3dbbc28794a9b64f8 *inst/tutorials/tutorial1/data/adols.net
52bb5bccd9a3b7d3dbbc28794a9b64f8 *inst/tutorials/tutorial1/data/adols.paj
dbd302bd9c1e2c921c6255d740ca5c0b *inst/tutorials/tutorial1/data/flonode.csv
34920856cbb0b2a30fde9fabd2a04b6e *inst/tutorials/tutorial2/visualisation.Rmd
9223598f303d76d65360a723ab81f1e6 *inst/tutorials/tutorial2/visualisation.html
2ed79662b1c293c0be2edceb47c1aa5d *inst/tutorials/tutorial2/visualisation_files/figure-html/maxbet-1.png
577785c00b8026d2e5400086537611cb *man/add.Rd
daadf1d5c685eba1af39e765c9a13ae6 *man/as.Rd
07182262c8dd174e4ba6657bc589d6cb *man/attributes.Rd
a00c21113d63e8f5b8ade9ba189a70db *man/auto_graph.Rd
d820a2ec1e34da685561d025a0185fd0 *man/create.Rd
d2f6ba1c56e762bdd6893dd3e87b3386 *man/figures/README-coercion-graph-1.png
ff360d399b958b17bd2ff2812bdaa42e *man/figures/README-import-graph-1.png
e4cb423af93516a7f314cea9e6619aa4 *man/figures/README-layout-comparison-1.png
34076488ddf8d5fcab83b9b25dffc725 *man/figures/README-import-graph-1.png
4aa3a28863f403109d42ab15aa6534da *man/figures/README-layout-comparison-1.png
ca331d67c1914f18ff55433134498306 *man/figures/logo.png
42b92171886daeccf6d3aa298c38701c *man/from.Rd
c3a170d1ea76b0df63867b4722f9340e *man/generate.Rd
328a68a60e068293ed4eb2e539326267 *man/is.Rd
955258e5212728cea3c637a208ce7fb6 *man/from.Rd
ec6f767d4a16ce9affc08e855ab399bd *man/generate.Rd
be0945ab0eea0c4e2efd09161317a5e8 *man/is.Rd
c87ee7ae255f81a25c605d7a592e411a *man/ison_adolescents.Rd
b23963ab1fa2d335889796aff99766df *man/ison_algebra.Rd
f747adbd19c68d8e2d03e545e32de8b0 *man/ison_brandes.Rd
abb742a15b0d42220fdf1a9842343908 *man/ison_brandes.Rd
641f9e92c6a5a93938cb11af8f6680a2 *man/ison_karateka.Rd
3d3dae69f6654d22e5f1a3d769e95186 *man/ison_konigsberg.Rd
d2b34f7444de9f5f84b4194c4be507c4 *man/ison_laterals.Rd
363a5584ba45f3d348b54de3ec6e37f1 *man/ison_lotr.Rd
39018588f2ad52520528dcd51b837989 *man/ison_marvel.Rd
872d6ffc4b2e0e3593bfff2c44ecf12d *man/ison_marvel.Rd
8af25118b798ee1918429e28c169580f *man/ison_networkers.Rd
1075e2328ca3f0058678fdeeb55c4dde *man/ison_projection.Rd
489b7ee3f4807dc597cd78f6fa5d92a7 *man/ison_southern_women.Rd
0a7f2779e1b7388e666eaf5ed2f7365d *man/miss.Rd
a1b95c80ffd2e627366a9906b96168b5 *man/properties.Rd
39980ed922e20755e4f39e6f9b0f0c6d *man/read.Rd
f5cd8e08542281e8877896bb2f1e2679 *man/miss.Rd
f64eb245d4747839e5d137af2f8ffd1b *man/partition_layouts.Rd
389ed0f7a8c898a6f4e51eae2e4dedb6 *man/properties.Rd
83afbd68939135cccb533a3d78dfe13c *man/read.Rd
74cd9b0a7752d1047ee138a8936950bd *man/reexports.Rd
b606898920d421c996fac53972fb439c *man/reformat.Rd
c77c85d1c6b8bdaa807f4dec8f811bfc *man/split.Rd
00bf620ca6b52bedf4abe6f13cd45b94 *man/tidy.Rd
eebda4001a386b8f3394f0d159c56e7d *man/transform.Rd
76dfe722f52ddcf2ba64725e261dfdf2 *man/reformat.Rd
98a4acacc3b543d909a6982eb1533054 *man/split.Rd
5aa570e908958357e0b8f0be069f4e5b *man/themes.Rd
1467c5cf3b719c40514260257c027b5b *man/tidy.Rd
862b995f8ce91e77fb4695e38f1c1762 *man/transform.Rd
594c90777a4f17666af95dce0dbb4d17 *tests/testthat.R
4a312f7e35283b4c0b85e800491103e5 *tests/testthat/sheets/SouthernWomen.paj
89a78d83fa6c80560955c6f2dc887e33 *tests/testthat/sheets/SouthernWomen.xml
Expand All @@ -81,16 +94,17 @@ efec1c3e6d8f1ef526d40df7c87c0b56 *tests/testthat/sheets/test_matrix.csv
327266b6086e4cbea4f27a0f6b1dedbf *tests/testthat/sheets/ucinettest.##d
bdd9ad82944ff4c6cc1171e853071012 *tests/testthat/sheets/ucinettest.##h
bdd9ad82944ff4c6cc1171e853071012 *tests/testthat/sheets/ucinettest1.##h
496eab437fcbe3ac78f959136c46346a *tests/testthat/test-make_create.R
6e36522f661de1ec7c05f2b5d7493f34 *tests/testthat/test-make_create.R
9fa727b7cffe964ca8637cb47cd8341d *tests/testthat/test-make_generate.R
cdbac54b8a56d7007e5696222d913847 *tests/testthat/test-make_read.R
4fe048fce4f3450cf2fe7be86a023909 *tests/testthat/test-manip_add.R
75c447fe8a95ea6707ced6fd999b4853 *tests/testthat/test-manip_add.R
e704b7958c4e61614d5f3d6ca466fd46 *tests/testthat/test-manip_as.R
b51f8cdc30203b9774ece4f36ec6bcea *tests/testthat/test-manip_grab.R
b644d01d099d612cc806972a4ad28c84 *tests/testthat/test-manip_miss.R
ea203626cbfac1f80f543147fc87eda1 *tests/testthat/test-manip_reformat.R
d7a9db995bdb8e37043eec3b2614d23b *tests/testthat/test-manip_reformat.R
6a03770649c99095fb7a58a9ba04fd53 *tests/testthat/test-manip_split.R
004520bac4563e2121e419a055d7fbeb *tests/testthat/test-manip_transform.R
d4921f1bc37d27eafd013aa409199724 *tests/testthat/test-mark_is.R
47b2d9d25c1b81d27a4439995ac5f7c6 *tests/testthat/test-manip_transform.R
323d7aae6d20f03784af0c4da77b19ea *tests/testthat/test-map_autographr.R
d699c2b2e6326cd476b4f1539b22b53a *tests/testthat/test-map_is.R
805f7fd21fcb36696bce345246b6c741 *tests/testthat/test-print_class.R
fc83cd52c840f70a645b3da9a6f018b3 *tests/testthat/test-viz_autographr.R
04d5192ce082546e899ea7bb5250e7e4 *tests/testthat/test_plots.R
23 changes: 23 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ S3method(as_tidygraph,network)
S3method(as_tidygraph,network.goldfish)
S3method(as_tidygraph,siena)
S3method(as_tidygraph,tbl_graph)
S3method(delete_nodes,igraph)
S3method(is_complex,data.frame)
S3method(is_complex,igraph)
S3method(is_complex,matrix)
Expand Down Expand Up @@ -140,6 +141,8 @@ S3method(to_egos,igraph)
S3method(to_egos,matrix)
S3method(to_egos,network)
S3method(to_egos,tbl_graph)
S3method(to_eulerian,igraph)
S3method(to_eulerian,tbl_graph)
S3method(to_giant,data.frame)
S3method(to_giant,igraph)
S3method(to_giant,matrix)
Expand Down Expand Up @@ -262,11 +265,13 @@ export(bind_node_attributes)
export(create_components)
export(create_core)
export(create_empty)
export(create_explicit)
export(create_filled)
export(create_lattice)
export(create_ring)
export(create_star)
export(create_tree)
export(delete_nodes)
export(filter_ties)
export(from_egos)
export(from_slices)
Expand All @@ -284,23 +289,33 @@ export(guides)
export(is.igraph)
export(is.network)
export(is.tbl_graph)
export(is_acyclic)
export(is_aperiodic)
export(is_bipartite)
export(is_complex)
export(is_connected)
export(is_directed)
export(is_dynamic)
export(is_edgelist)
export(is_eulerian)
export(is_graph)
export(is_labelled)
export(is_longitudinal)
export(is_manynet)
export(is_multiplex)
export(is_perfect_matching)
export(is_signed)
export(is_twomode)
export(is_uniplex)
export(is_weighted)
export(join_nodes)
export(join_ties)
export(labs)
export(layout_tbl_graph_alluvial)
export(layout_tbl_graph_concentric)
export(layout_tbl_graph_hierarchy)
export(layout_tbl_graph_ladder)
export(layout_tbl_graph_railway)
export(mutate)
export(mutate_ties)
export(na_to_mean)
Expand All @@ -323,6 +338,7 @@ export(rename)
export(rename_ties)
export(select_ties)
export(summarise_ties)
export(theme_iheid)
export(tie_attribute)
export(tie_signs)
export(tie_weights)
Expand All @@ -332,6 +348,7 @@ export(to_blocks)
export(to_components)
export(to_directed)
export(to_egos)
export(to_eulerian)
export(to_giant)
export(to_matching)
export(to_mode1)
Expand Down Expand Up @@ -407,6 +424,7 @@ importFrom(ggraph,scale_edge_width_continuous)
importFrom(igraph,E)
importFrom(igraph,V)
importFrom(igraph,add_edges)
importFrom(igraph,add_vertices)
importFrom(igraph,any_multiple)
importFrom(igraph,as.directed)
importFrom(igraph,as.undirected)
Expand All @@ -416,25 +434,30 @@ importFrom(igraph,as_incidence_matrix)
importFrom(igraph,bipartite.projection)
importFrom(igraph,complementer)
importFrom(igraph,decompose)
importFrom(igraph,degree)
importFrom(igraph,delete_edge_attr)
importFrom(igraph,delete_edges)
importFrom(igraph,delete_vertex_attr)
importFrom(igraph,delete_vertices)
importFrom(igraph,edge_attr)
importFrom(igraph,edge_attr_names)
importFrom(igraph,eulerian_path)
importFrom(igraph,get.edgelist)
importFrom(igraph,get.vertex.attribute)
importFrom(igraph,graph_from_adjacency_matrix)
importFrom(igraph,graph_from_data_frame)
importFrom(igraph,graph_from_incidence_matrix)
importFrom(igraph,gsize)
importFrom(igraph,induced_subgraph)
importFrom(igraph,is.connected)
importFrom(igraph,is.directed)
importFrom(igraph,is.igraph)
importFrom(igraph,is.loop)
importFrom(igraph,is.named)
importFrom(igraph,is.simple)
importFrom(igraph,is.weighted)
importFrom(igraph,is_bipartite)
importFrom(igraph,is_dag)
importFrom(igraph,list.vertex.attributes)
importFrom(igraph,make_ego_graph)
importFrom(igraph,make_lattice)
Expand Down
55 changes: 55 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
# manynet 0.2.1

2023-08-11

## Map

* Fixed documentation issues with map_palettes

# manynet 0.2.0

2023-08-11

## Package

* Closed #4 by adding `thisRequiresBio()` helper function to download Bioconductor packages
* Upgraded ison data to latest igraph specification
* Added `ison_konigsberg` for illustrating Seven Bridges of Konigsberg
* Removed `ison_brandes2` and added potential modal type as extra variable to `ison_brandes`
* Consolidated `ison_bb`, `ison_bm`, `ison_mb`, and `ison_mm` into a list of networks called `ison_laterals`

## Make

* Added `create_explicit()` for creating networks based on explicit nodes and ties

## Manip

* Added `delete_nodes()` for deleting specific nodes
* Added `to_eulerian()` function that returns a Eulerian path network, if available, from a given network

## Map

* Moved additional `is_` functions from `{migraph}`
* Added `is_connected()` to test if network is strongly connected
* Added `is_perfect_matching()` to test if there is a matching for every node in the network
* Added `is_eulerian()` to test whether there is a Eulerian path for a network
* Added `is_acyclic` to test whether network is a directed acyclic graph
* Added `is_aperiodic` to test whether network is aperiodic
* Added partition layouts
* Added `layout_tbl_graph_alluvial()` that places successive layers horizontally
* Added `layout_tbl_graph_concentric()`that places a "hierarchy" layout around a circle
* Added `layout_tbl_graph_hierarchy()` that layers the nodes along the top and bottom sequenced to minimise overlap
* Added `layout_tbl_graph_ladder()`that aligns nodes across successive layers horizontally
* Added `layout_tbl_graph_railway` that aligns nodes across successive layers vertically
* Added `theme_iheid()` function that themes graphs with colors based on the Geneva Graduate Institute

# manynet 0.1.2

2023-06-20

## Package

- Added tutorials for package
- Moved and updated "data" tutorial from `{migraph}`
- Moved and updated "visualisations" tutorial from `{migraph}`

# manynet 0.1.1

2023-06-09
Expand Down

0 comments on commit 81972a9

Please sign in to comment.