DiagrammeR
Graph/Network Visualization
Description
Build graph/network structures using functions for stepwise addition and deletion of nodes and edges. Work with data available in tables for bulk addition of nodes, edges, and associated metadata. Use graph selections and traversals to apply changes to specific nodes or edges. A wide selection of graph algorithms allow for the analysis of graphs. Visualize the graphs and take advantage of any aesthetic properties assigned to nodes and edges.
Downloads
60.5K
Last 30 days
451st
176K
Last 90 days
649.9K
Last year
Trend: -2.3% (30d vs prior 30d)
239
Last 30 days
1K
Last 90 days
2.8K
Last year
Trend: -23.9% (30d vs prior 30d)
1
Last 7 days
14
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
1.1K
Last 30 days
3.2K
Last 90 days
11.4K
Last year
Trend: +1.3% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
whether package can be installed
Installation failed. See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/DiagrammeR.Rcheck/00install.out’ for details.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 6, 2026
ERROR 11 OK · 1 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Apr 22, 2026
examples
Running examples in ‘DiagrammeR-Ex.R’ failed The error most likely occurred in: > ### Name: get_leverage_centrality > ### Title: Get leverage centrality > ### Aliases: get_leverage_centrality > > ### ** Examples > > # Create a random graph using t ...[truncated]... 11. │ └─igraph::neighbors(ig_graph, degree_vals) 12. │ └─igraph:::neighbors_impl(graph = graph, vid = v, mode = mode) 13. │ └─cli::cli_abort(...) 14. │ └─rlang::abort(...) 15. └─base::unlist(.) Execution halted
examples
Running examples in ‘DiagrammeR-Ex.R’ failed The error most likely occurred in: > ### Name: get_leverage_centrality > ### Title: Get leverage centrality > ### Aliases: get_leverage_centrality > > ### ** Examples > > # Create a random graph using t ...[truncated]... 11. │ └─igraph::neighbors(ig_graph, degree_vals) 12. │ └─igraph:::neighbors_impl(graph = graph, vid = v, mode = mode) 13. │ └─cli::cli_abort(...) 14. │ └─rlang::abort(...) 15. └─base::unlist(.) Execution halted
package dependencies
Package suggested but not available for checking: ‘testthat’
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
package dependencies
Package suggested but not available for checking: ‘testthat’
Code
Structure
Lines of code
78,320
Files
607
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
241
Internal functions
77
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.54
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
90.8%
\dontrun example ratio
3%
Roxygen coverage
99.6%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
15
Dep constraint coverage
94.4%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
23
First release
2015-01-09
Latest release
2026-04-27
Avg cadence
116 days
Cold removal rate
100%
Dep drift
67
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.