Skip to content
DAGassist needs insight (through dotwhisker → marginaleffects), which CRAN will archive unless its check problems are fixed by Nov 14.

DAGassist

0.3.0Package record

Test Robustness with Directed Acyclic Graphs

0packages depend
2.8Kdownloads / year
55.6%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.0

Highlights

  • PDAG robustness features: pdag and uncertain_edges arguments for DAGassist() and a standalone pdag_robustness() function diagnose how adjustment sets and covariate roles change when introducing uncertain edges.
  • Added automated balance diagnostics: the console report now flags variables whose |SMD| > 0.1 between the Original and DAG-derived models, addressing missingness-induced apples-to-oranges model comparisons.
  • Additional robustness feature: add_edges_robustness to evaluate robustness to hypothesized missing edges.
  • Extended support for balance and weight diagnostics under non-console export formats.
  • Changed estimand terminology for methodological accuracy (SATE -> total effect; SACDE -> direct effect), as DAGassist cannot recover a true SATE or SACDE from continuous treatments.
  • Bug fixes

Breaking changes

  • Changed valid estimand parameter values ("SATE" -> "total"; "SACDE" -> "direct").
  • Phased out support for "ATT" estimand due to estimand variability across binary and continuous treatments. Future updates may reintroduce the ATT estimand.

This is the CRAN version.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-11
Show 2 earlier changesHide 2 earlier changes
  • WARNING12 OK, 1 WARNING2026-05-10
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 167 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.3.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
13 (2 internal)
Examples that run
100%5 run in a plain check (4 of them under a condition)
Exported functions with examples
71%
Documented parameters
88%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #14,698 · ~8/day · ~237/mo
Daily download trend is not available in this view yet.
24430 days
82190 days
2.8K1 year
Compare downloads with other packages →
Also on109 r2u14 autocran

Repository

4Stars
0Forks
1Open issues
0Open PRs
11Releases
448Commits
1Commit identities
causal-inferencedagpackagerrobustness
License file reads as GPL-3.0 · 448 commits · Last activity 2026-09-27 · +33.3% stars, 30d · Default branch at 0.3.1, ahead of CRAN 0.3.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-02-23 · 12026-10-07 · 4
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/grahamgoff/dagassist on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-06 · The repository has a site deploy workflow

pkgdown site last built 2026-10-06

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing DAGassist adds 50 packages (23 with compiled code, 50 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.2.4 (2025)
Releases (4)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-08-19 · current release · diff ↗ ·
    added 3 exports
    add_edges_robustness, balance_models, pdag_robustness
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.8
    record
    2026-02-20 · diff ↗
  • 0.2.7
    record
    2025-11-11 · diff ↗
  • 0.2.4
    record
    2025-09-21
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-21
Total releases
4 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5
Download size
936 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("DAGassist")
Goff, G., & Denly, M. (2026). DAGassist: Test Robustness with Directed Acyclic Graphs (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.DAGassist

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for DAGassist version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy