DAGassist
0.2.8Test Robustness with Directed Acyclic Graphs
Overview
Provides robustness checks to align estimands with the identification that they require. Given a 'dagitty' object and a model specification, 'DAGassist' classifies variables by causal roles, recovers a target estimand, and generates a report comparing the original model with DAG-derived adjustment sets. Exports publication-grade reports in 'LaTeX', 'Word', 'Excel', 'dotwhisker', or plain text/'markdown'. 'DAGassist' is built on 'dagitty', an 'R' package that uses the 'DAGitty' web tool (https://dagitty.net/) for creating and analyzing DAGs. Methods draw on Pearl (2009) doi:10.1017/CBO9780511803161 and Textor et al. (2016) doi:10.1093/ije/dyw341.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-1113 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-05-1012 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Stars over time
Releases over time
PRs over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/grahamgoff/dagassist on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 4.0 median / 92 max
- Test cases
- 12 / 0.05 per code line
Test coverage
Line coverage
15%
Expression
13.9%
Tests / Examples
15.0% / 17% ex
Functions
107 3 exported
Complexity
9.3 avg / 92 max
Call network
107 nodes / 137 edges
Call graph
Open call graph →Lowest coverage
107 functions| Function | Cyclo | Coverage |
|---|---|---|
| .allow_ansi | 5 | 0% |
| .build_minimal_formula | 3 | 0% |
| .build_models_df | 18 | 0% |
| .build_modelsummary_pretty_df | 15 | 0% |
| .build_named_mods | 10 | 0% |
| .check_stage2_match | 2 | 0% |
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.2.8Latest
- 0.2.72025-11-11 · diff ↗
- 0.2.42025-09-21
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-09-21
- Total releases
- 3 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5
- Download size
- 898 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet