An Implementation of Grammar of Graphics for Graphs and Networks
- CRAN checks, method
Method
Checks and health
CRAN runs every current package through
R CMD checkon a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- All OK13 platforms
- CRAN 30-day downloads, method
- 62,758−13.3% down on the 30 days before, the worse direction
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under
Depends,ImportsorLinkingToin theirDESCRIPTIONfile. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under
Suggestsinstall and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again. - Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 29 Oct 2026, 19,585 of the 25,593 current CRAN packages had no dependent package.
- 7869 more suggest it
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- No testsnothing to run
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the Licences
License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.tools::analyze_license() and R's own licence database, as CRAN's checks read it.| is read, so one string can offer two families.
The grammar of graphics as implemented in ggplot2 is a poor fit for graph and network visualizations due to its reliance on tabular data input. ggraph is an extension of the ggplot2 API tailored to graph visualizations and provides the same flexible approach to building up plots layer by layer.
- Maintainer
- Thomas Lin Pedersen
- Licence
- MIT + file LICENSE
- Latest release
- 24 Aug 2025
- First release
- 24 Feb 2017
More details
- Releases
- 14
- Needs compilation
- Yes
- Needs R
- >= 2.10
- LazyData
- TRUE
- RoxygenNote
- 7.3.2
Task views (1)
Subjects (1) Method, SubjectsMethod
Subjects and collections
Subjects are the site's own grouping of CRAN packages, found by clustering. Collections are sets of packages that communities declare, such as the tidyverse.
- Subjects
- Subjects are found by clustering the words of current CRAN packages and the packages they use. No one edits them by hand.
- Collections
- Collections are sets that communities declare, through a package that installs the set or an organization on GitHub. The site finds them by rules.
- Who made each
- Subjects are marked Site and collections Community. Subjects, collections and task views are never mixed in one list.
- The day of the data
- Subjects and collections were last worked out on 22 Oct 2026.
Cite
Package
Run in R for the authors' preferred citation:
citation("ggraph")Pedersen, T. L., & RStudio. (2025). ggraph: An Implementation of Grammar of Graphics for Graphs and Networks (Version 2.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.ggraph
About
This package has no citation file, so citation() returns this entry built from DESCRIPTION.
R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
Balamuta, J. J. (2026). R Observatory: Metrics for ggraph version 2.2.2 [Data set]. HJJB, LLC. Data release v2026-10-29. https://doi.org/10.5281/zenodo.21843040
About
From data release v2026-10-29, which the citation names so these numbers can be found later.
Health
All 13 check platforms pass.
r-devel-linux-x86_64-debian-clangThe unreleased R on Linux, x86_64, debian-clang
OK
- Version checked
- 2.2.2
- Time taken
- 299 s
r-devel-linux-x86_64-debian-gccThe unreleased R on Linux, x86_64, debian-gcc
OK
- Version checked
- 2.2.2
- Time taken
- 212 s
r-devel-linux-x86_64-fedora-clangThe unreleased R on Linux, x86_64, fedora-clang
OK
- Version checked
- 2.2.2
- Time taken
- 201 s
r-devel-linux-x86_64-fedora-gccThe unreleased R on Linux, x86_64, fedora-gcc
OK
- Version checked
- 2.2.2
- Time taken
- 206 s
r-devel-windows-x86_64The unreleased R on Windows, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 771 s
r-oldrel-macos-arm64The previous release of R on macOS, arm64
OK
- Version checked
- 2.2.2
r-oldrel-macos-x86_64The previous release of R on macOS, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 316 s
r-oldrel-windows-x86_64The previous release of R on Windows, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 762 s
r-patched-linux-x86_64The patched release of R on Linux, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 294 s
r-release-linux-x86_64The current release of R on Linux, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 289 s
r-release-macos-arm64The current release of R on macOS, arm64
OK
- Version checked
- 2.2.2
- Time taken
- 69 s
r-release-macos-x86_64The current release of R on macOS, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 326 s
r-release-windows-x86_64The current release of R on Windows, x86_64
OK
- Version checked
- 2.2.2
- Time taken
- 707 s
- 13 OK
Extra checks (1)
Over time
No change since 5 Aug 2026
As a list (6)
| Changed | Worst status | OK | Notes | Warnings | Errors |
|---|---|---|---|---|---|
| 5 Aug 2026 | OK | 13 | 0 | 0 | 0 |
| 1 Aug 2026 | Note | 12 | 1 | 0 | 0 |
| 9 Jun 2026 | OK | 13 | 0 | 0 | 0 |
| 8 Jun 2026 | Error | 12 | 0 | 0 | 1 |
| 25 Apr 2026 | OK | 12 | 0 | 0 | 0 |
| 10 Mar 2026 | Note | 11 | 3 | 0 | 0 |
Since March 2026
Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- Total downloads in the last 30 days
- 93,126+1.5% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.
CRAN rank
435 of 26,553
CRAN
62,758 downloads in the last 30 days
- Rank
- 435 of 26,553
- Change
- −13.3% down on the 30 days before, the worse direction
It is in the total. Take it out
r2u
3,742 downloads in the last 30 days
- Rank
- 475 of 30,526
- Change
- +246% up on the 30 days before, the better direction
It is in the total. Take it out
autoCRAN
7 downloads in the last 30 days
- Rank
- 7,266 of 29,233
- Change
- −58.8% down on the 30 days before, the worse direction
It is in the total. Take it out
conda-forge
26,506 downloads in the last 30 days
- Rank
- 279 of 3,828
- Change
- +46.5% up on the 30 days before, the better direction
It is in the total. Take it out
c2d4u, no longer updated
113 downloads in the last 30 days
- Rank
- 315 of 7,575
- Change
- −25.2% down on the 30 days before, the worse direction
It is in the total. Take it out
The total is 93,126 downloads in the last 30 days. It is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.
Over time
Dependencies
- Needs
- 20
- Dependent packages
- 78
- Suggested by
- 69
Needs (20)
Dependent packages (50 of 78)
| Package | Title | Downloads in 30 days |
|---|---|---|
| arulesViz | Visualizing Association Rules and Frequent Itemsets | 9,270 |
| ggdag | Analyze and Create Elegant Directed Acyclic Graphs | 8,499 |
| clustree | Visualise Clusterings at Different Resolutions | 4,191 |
| scholar | Analyse Citation Data from Google Scholar | 2,498 |
| CausalQueries | Make, Update, and Query Binary Causal Models | 1,574 |
| ggpicrust2 | Make 'PICRUSt2' Output Analysis and Visualization Easier | 1,380 |
| wpa | Tools for Analysing and Visualising Viva Insights Data | 1,245 |
| genekitr | Gene Analysis Toolkit | 1,082 |
| TransProR | Analysis and Visualization of Multi-Omics Data | 1,080 |
| multinma | Bayesian Network Meta-Analysis of Individual and Aggregate Data | 1,019 |
| akc | Automatic Knowledge Classification | 970 |
| pathfindR | Enrichment Analysis Utilizing Active Subnetworks | 914 |
| autograph | Automatic Plotting and Theming of Many Graphs | 775 |
| dyngen | A Multi-Modal Simulator for Spearheading Single-Cell Omics Analyses | 616 |
| phylopath | Perform Phylogenetic Path Analysis | 597 |
| tall | Text Analysis for All | 552 |
| dsem | Dynamic Structural Equation Models | 551 |
| numbat | Haplotype-Aware CNV Analysis from scRNA-Seq | 517 |
| specr | Conducting and Visualizing Specification Curve Analyses | 498 |
| MultiTraits | Analyzing and Visualizing Multidimensional Plant Traits | 475 |
| genBaRcode | Analysis and Visualization Tools for Genetic Barcode Data | 472 |
| ResIN | Conduct Response Item Network (ResIN) Analysis with Social Response Data | 448 |
| MuTATE | Multi-Target Automated Tree Engine (MuTATE) | 441 |
| pkggraph | Explore the R Package Dependencies on the Comprehensive R Archive Network (CRAN) Like Repositories | 433 |
| mulea | Enrichment Analysis Using Multiple Ontologies and False Discovery Rate | 431 |
| vennDiagramLab | Headless Venn Diagram Analysis and Rendering | 430 |
| vivainsights | Analyze and Visualize Data from 'Microsoft Viva Insights' | 423 |
| FCtools | Functional Connectivity Tools | 415 |
| apisensr | Interface to 'episensr' for Sensitivity Analysis of Epidemiological Results | 411 |
| inferCSN | Inferring Cell-Specific Gene Regulatory Network | 407 |
| birddog | Sniffing Emergence and Trajectories in Academic Papers and Patents | 395 |
| snahelper | 'RStudio' Addin for Network Analysis and Visualization | 389 |
| ggExametrika | Visualization of 'exametrika' Output Using 'ggplot2' | 383 |
| basket | Basket Trial Analysis | 382 |
| SouthParkRshiny | Data and 'Shiny' Application for the Tv Show 'SouthPark' | 372 |
| netcom | NETwork COMparison Inference | 367 |
| stminsights | A 'Shiny' Application for Inspecting Structural Topic Models | 366 |
| phylepic | Combined Visualisation of Phylogenetic and Epidemiological Data | 364 |
| xplaineff | Decomposing Global Feature Effects Based on Feature Interactions | 343 |
| goat | Gene Set Analysis Using the Gene Set Ordinal Association Test | 340 |
| HospitalNetwork | Building Networks of Hospitals Through Patients Transfers | 337 |
| finnsurveytext | Analyse Open-Ended Survey Responses in Finnish | 336 |
| scPairs | Identifying Synergistic Gene Pairs in Single-Cell and Spatial Transcriptomics | 326 |
| SNPannotator | Automated Functional Annotation of Genetic Variants and Linked Proxies | 325 |
| netropy | Statistical Entropy Analysis of Network Data | 325 |
| DedooseR | Monitoring and Analyzing Dedoose Qualitative Data Exports | 323 |
| chemodiv | Analysing Chemodiversity of Phytochemical Data | 320 |
| bacontrees | Bayesian Context Trees for Discrete Sequence Data | 317 |
| whomds | Calculate Results from WHO Model Disability Survey Data | 315 |
| bartMan | Create Visualisations for BART Models | 311 |
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
README, vignettes, a NEWS file and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead.
geom_edge_bundle_path
- Kind
- Public R function
- File
- R/geom_edge_bundle_path.R, line 141
- Lines
- 69
- Complexity
- 1
Method
Call graph and functions
The function table and the call graph come from reading the package source, and no code is built or run. Each function is one definition, and a call means one function's body names another in the same package.
- Five drawings
- The Code section draws the calls five ways, two about one function and three about the whole package. The Markdown twin gives all five in words.
- Counted
- R functions are top-level assignments of a function in a file at the root of
R/, and right assignment does not count. Compiled functions are definitions undersrc/read by the C, C++, Fortran or Rust grammar. - Plain names
- Calls are recorded when the function called is a plain name, or the right side of :: or :::, matching a function the same package defines. Calls to base R and to other packages are left out.
- Latest CRAN version
- CRAN detail is kept for the latest version only and is written again at each analysis. Older releases keep the whole-network figures but no drawing.
Called by 0
Nothing in this package calls it
Most connected
- Functions
- 407
- Public exports
- 242
- Lines of R code
- 14,649
- Median complexity
- 1
Functions (407)
Size and composition
Lines by kind (29,042)
| Kind | Lines | Share |
|---|---|---|
| R code | 14,649 | 50% |
| Documentation | 11,251 | 39% |
| Guides | 1,213 | 4% |
| Compiled code | 1,929 | 7% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| R | 14,649 | 50% |
| Rd | 11,251 | 39% |
| C++ | 1,725 | 6% |
| Vignettes | 1,213 | 4% |
| C | 204 | 0.7% |
Languages are counted from file extensions.
- Files
- 224
- R functions
- 282
- Compiled functions
- 138
- Object systems
- S3: 25 methods
- Deprecated functions
- 11
Complexity
- Median
- 1
- Mean
- 2.03
- Highest
- 26
- Median lines per function
- 19
About complexity
Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.
Call graph figures
- R functions
- 282
- Calls
- 342
- Unconnected
- 104
- Groups
- 12
Growth (14 releases)
Release changes
Tests
The package was built and has no tests to run.
- Lines of tests
- 0
- Exports named in tests
- 0%
Test suite
- Has tests
- No
- Test frameworks
- No tests in this release
- Test lines per line of code
- 0
Documentation
- Exports documented
- 100%
- Arguments documented
- 91.6%
- Return value documented
- 33.9%
- Help pages with examples
- 44%
- Examples run in checks
- 100%
Guides (4)
Other documentation
- README
- Yes, 581 words
- Release notes file
- Yes
- Help pages
- 84
- Lines of documentation
- 11,251
Datasets
Method, Datasets Method The datasets inside packages are read from their R objects in datasets
data/ folders when the code is analysed. Each object is described by its class, its shape and its columns, and fingerprinted so the same data can be found in other packages.data() are listed, 76,182 on CRAN and 8,045 on Bioconductor, so the list is not every file in data/.
| Dataset | Size | Columns |
|---|---|---|
| flareThe class hierarchy of the flare visualization library | length 3 | |
| highschoolFriendship among high school boys | 506 × 3 | from, to, year |
| whigsMembership network of American Whigs | 254 × 7 |
People
Method, People Method People on the site are the names packages give them in their Author and maintainer identity
DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.
Maintainer since 1.0.0 (2017), author
RStudio, an organisation
Copyright holder
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab, Codeberg and Bitbucket.Repository signals
URL and BugReports fields of its DESCRIPTION file. Read-only mirrors, the cran and bioc accounts on GitHub and git.bioconductor.org, are left out.
thomasp85 / ggraph on github.com
- Stars
- 1,121+0.18% up on 30 days ago, the better direction
- Forks
- 114
- Open issues
- 51
- Last commit
- 25 Aug 2025
Activity
- Commits
- 408
- Open pull requests
- 8
- Tagged releases
- 12
- Latest tagged release
- v2.2.2, 25 Aug 2025
- In development
- Default branch at 2.2.2.9000, ahead of CRAN 2.2.2 (checked 2026-10-25)
- Issues closed in
- 1,094 days (median)
- Pull requests closed in
- 17 days (median)
- Pull requests merged
- 66%
- Created
- 13 Jan 2016
- Licence file reads as
- –
Development practices (12)
| Kind | Found |
|---|---|
| Continuous integration | GitHub Actions, R CMD check workflow The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel |
| Governance and community | Code of conduct |
| Docs source | README.Rmd, pkgdown GitHub Pages site last deployed 2025-08-25 The repository has a site deploy workflow pkgdown site last built 2025-08-25 |
| Coverage | Coverage reporting (Codecov) |
| CRAN release process | cran-comments.md, revdep/ |
| Lint, format, editor | Air, VS Code |
Method, repository practices Method Beta Each week a scan of the public source repository a package links to looks for the tools a maintainer has set up, and the Repository section lists the findings. Repositories on GitHub and GitLab are scanned.Repository practices
R CMD build reads .Rbuildignore and leaves out files used only in development, such as .github/, .lintr, renv/, a Dockerfile and cran-comments.md, so the released source file holds almost none of them. The repository is the one place these files stay visible.
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 29 Oct 2026, the day the data was read.Packages leaving
| Version | Released | R |
|---|---|---|
| 2.2.2 current | 24 Aug 2025 | 4.5.1 |
| 2.2.1 | 7 Mar 2024 | 4.3.3 |
| 2.2.0 | 27 Feb 2024 | 4.3.2 |
| 2.1.0 | 9 Oct 2022 | 4.2.1 |
| 2.0.6 | 8 Aug 2022 | 4.2.1 |
| 2.0.5 | 23 Feb 2021 | 4.0.4 |
| 2.0.4 | 16 Nov 2020 | 4.0.3 |
| 2.0.3 | 20 May 2020 | 4.0.0 |
Earlier versions (6)
Relicensed from GPL-3 in version 2.0.0.
Release notes (2.2.2)
- Fixed a bug in the collapse functionality of
get_edges()(#362) - General upkeep and compatibility with ggplot2 v4.0.0