A Tidy API for Graph Manipulation
Overview
A graph, while not "tidy" in itself, can be thought of as two tidy data frames describing node and edge data respectively. 'tidygraph' provides an approach to manipulate these two virtual data frames using the API defined in the 'dplyr' package, as well as provides tidy interfaces to a lot of common graph algorithms.
- Fix a bug in
tbl_graph()when edgetoandfromwhere encoded as factors - Secure compitability with igraph 2.0.0
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘iterate.Rd’ ‘random_walk_rank.Rd’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'iterate.Rd' 'random_walk_rank.Rd'- NOTE13 NOTE2026-06-09
- ERROR12 NOTE, 1 ERROR2026-06-08
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 40 (5 internal)includes a package overview page
- Examples that run
- 100%34 run in a plain check
- Exported functions with examples
- 89%
- Documented parameters
- 91%
- Return-value docs
- 95%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 450
- Median days to close, 50 most recently updated closed PRs
- 33
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/thomasp85/tidygraph on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-02-05 · The repository has a site deploy workflow
pkgdown site last built 2025-02-05
Show all practicesHide 1 practice
Dependencies
Installing tidygraph adds 21 packages (13 with compiled code, 23 MB of source tarballs). Heaviest: stringi 11 MB, igraph 4.8 MB, vctrs 1.0 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 1 more dependent and 36 packages that suggest it on CRAN ↗
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.3.1Latest
- 1.3.02023-12-18 · diff ↗ ·
added 28 exports
.free_graph_context, centrality_harmonic, drop_na, edge_is_bridge, edge_is_feedback_arc, edge_rank_eulerian, focus, graph_efficiency, graph_is_eulerian, group_color, group_fluid, group_leiden, iterate_n, iterate_while, node_efficiency, node_is_connected, play_gnm, play_gnp, random_walk_rank, replace_na, slice_head, slice_max, slice_min, slice_sample, slice_tail, to_largest_component, to_random_spanning_tree, unfocus - RR 4.3.0 released · 2023-04-21
- 1.2.32023-02-01 · diff ↗
- 1.2.22022-08-22 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.2.1
- RR 4.1.0 released · 2021-05-18
- 1.2.02020-05-12 · diff ↗ ·
added 5 exports
graph_modularity, group_data, group_indices, group_keys, tbl_vars - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.1.22019-02-18 · diff ↗
- 1.1.1
Show 4 earlier eventsHide 4 earlier events
- RR 3.5.0 released · 2018-04-23
- 1.1.02018-02-10 · diff ↗ ·
removed 6 exports
is_bipartite, is_chordal, is_connected, is_dag, is_directed, is_simpleadded 67 exports
%E>%, %N>%, .graph_context, .register_graph_context, centrality_betweenness_communicability, centrality_betweenness_current, centrality_betweenness_network, centrality_betweenness_rsp_net, centrality_betweenness_rsp_simple, centrality_closeness_generalised, centrality_closeness_harmonic, centrality_closeness_residual, centrality_communicability, centrality_communicability_even, centrality_communicability_odd, centrality_decay, centrality_expected, centrality_information, centrality_integration, centrality_katz, centrality_manual, centrality_random_walk, centrality_subgraph_even, centrality_subgraph_odd, convert, edge_is_between, edge_is_from, edge_is_incident, edge_is_to, graph_is_bipartite and 37 more - 1.0.02017-07-07
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-07-07
- Total releases
- 10 / 9 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL (>= 2) in 1.1.0
- Download size
- 130 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tidygraph")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.