ggdag
Analyze and Create Elegant Directed Acyclic Graphs
v0.2.13
·
Jul 22, 2024
·
MIT + file LICENSE
Description
Tidy, analyze, and plot directed acyclic graphs (DAGs). 'ggdag' is built on top of 'dagitty', an R package that uses the 'DAGitty' web tool (<https://dagitty.net/>) for creating and analyzing DAGs. 'ggdag' makes it easy to tidy and plot 'dagitty' objects using 'ggplot2' and 'ggraph', as well as common analytic and graphical functions, such as determining adjustment sets and node relationships.
Downloads
8.3K
Last 30 days
1353rd
26.7K
Last 90 days
109.7K
Last year
Trend: -7.8% (30d vs prior 30d)
CRAN Check Status
14
OK
Show all 14 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-macos-arm64 | 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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 31, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
examples
Running examples in ‘ggdag-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ggdag
> ### Title: Quickly plot a DAG in ggplot2
> ### Aliases: ggdag
>
> ### ** Examples
>
>
> dag <
...[truncated]...
ns(x, vars, call = call, arg = arg)
23. │ └─vctrs::vec_as_location(...)
24. └─vctrs (local) `<fn>`()
25. └─vctrs:::stop_subscript_oob(...)
26. └─vctrs:::stop_subscript(...)
27. └─rlang::abort(...)
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR
r-devel-linux-x86_64-debian-clang
examples
Running examples in ‘ggdag-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ggdag_classic
> ### Title: Quickly plot a DAG in ggplot2
> ### Aliases: ggdag_classic
>
> ### ** Exampl
...[truncated]...
└─vctrs:::stop_subscript_oob(...)
24. └─vctrs:::stop_subscript(...)
25. └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
d_relationship 4.413 0.075 5.191
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Reverse Dependencies (12)
Dependency Network
Version History
new
0.2.13
Mar 10, 2026
new
0.1.0
Mar 26, 2018