Skip to content

tidygraph

1.3.1Package record

A Tidy API for Graph Manipulation

49packages dependsuggested by 36
851.9Kdownloads / year
53.6%test coverage
0/13flavors OK

Overview

About

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.

Changes in 1.3.1
  • Fix a bug in tbl_graph() when edge to and from where encoded as factors
  • Secure compitability with igraph 2.0.0

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
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'

CRAN check page ↗

Slowest check: 3.3 min · r-devel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-06-09
  • ERROR12 NOTE, 1 ERROR2026-06-08
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.3.1
READMEYes · 617 wordsVignettesNoNEWSYes · 100% structured · mentions 1.3.1Citation fileNoWebsiteYes · pkgdown
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

851.9K
CRAN downloads in the past year
Rank #419 · ~2.3K/day · ~71K/mo
Daily download trend is not available in this view yet.
63.5K30 days
204.5K90 days
851.9K1 year
Compare downloads with other packages →
Also on10.5K r2u11 autocran85.8K conda_forge432 c2d4u

Repository

573Stars
61Forks
33Open issues
5Open PRs
6Releases
323Commits
21Commit identities
rnetwork-analysisigraphtidyversegraph-algorithmsgraph-manipulation
323 commits · Last activity 2025-02-05 · +0.4% stars, 30d · Default branch at 1.3.1.9000, ahead of CRAN 1.3.1 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-08-28 · 5562026-09-30 · 573
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-02-05 · The repository has a site deploy workflow

pkgdown site last built 2025-02-05

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
CRAN release process (2)
cran-comments.mdrevdep/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

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.

Depends (0)
none
LinkingTo (1)
Enhances (0)
none

People & History

People (1)
Maintainer since 1.0.0 (2017), Author
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.1Latest
    record
    2024-01-30 · current release · diff ↗
  • 1.3.0
    record
    2023-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
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.3
    record
    2023-02-01 · diff ↗
  • 1.2.2
    record
    2022-08-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.1
    record
    2022-04-05 · diff ↗ ·
    removed 1 export
    fortify.tbl_graph
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.0
    record
    2020-05-12 · diff ↗ ·
    added 5 exports
    graph_modularity, group_data, group_indices, group_keys, tbl_vars
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.1.2
    record
    2019-02-18 · diff ↗
  • 1.1.1
    record
    2018-11-20 · diff ↗ ·
    added 3 exports
    fortify.tbl_graph, node_is_adjacent, to_subcomponent
Show 4 earlier eventsHide 4 earlier events
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.0
    record
    2018-02-10 · diff ↗ ·
    removed 6 exports
    is_bipartite, is_chordal, is_connected, is_dag, is_directed, is_simple
    added 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.0
    record
    2017-07-07
  • R
    R 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")
Pedersen, T. L. (2024). tidygraph: A Tidy API for Graph Manipulation (Version 1.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tidygraph version 1.3.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy