Skip to content

DAGassist

0.2.8

Test Robustness with Directed Acyclic Graphs

0packages depend
2.3Kdownloads / year
15.0%test coverage
13/13checks pass

Overview

About
Maintained by Graham GoffFirst published 2025-09-213 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.05
15.0%
Coverage · measured lines
75%
Documentation · exports
12
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-10
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 166 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
99%
Return-value docs
100%
References docs
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #16,715 · ~6/day · ~193/mo
Daily download trend is not available in this view yet.
23030 days
69090 days
2.3K1 year
Compare downloads with other packages →
Also on90 r2u4 autocran

Repository

Repository
2Stars
0Forks
0Open issues
0Open PRs
10Releases
385Commits
1Contributors
causal-inferencedagpackagerrobustness
License GPL-3.0 · 385 commits · Last activity 2026-07-07 · 0% stars, 30d

Stars over time

2026-02-23 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 6,224 (80%)Vignettes 969 (12%)Rd 460 (6%)Other 150 (2%)
Code characteristics
Object systems
S38
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

Loading call graph…

Lowest coverage

107 functions
FunctionCycloCoverage
.allow_ansi50%
.build_minimal_formula30%
.build_models_df180%
.build_modelsummary_pretty_df150%
.build_named_mods100%
.check_stage2_match20%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.8Latest
    2026-02-20 · current release · diff ↗
  • 0.2.7
    2025-11-11 · diff ↗
  • 0.2.4
    2025-09-21
  • R
    R 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
Report a problem with this page →