{
  "_id": "6a0f789bacfb0bcc41c624e2",
  "Package": "DAGassist",
  "Title": "Test Robustness with Directed Acyclic Graphs",
  "Version": "0.2.8",
  "Authors@R": "c(\nperson(\"Graham\", \"Goff\",\nemail = \"goffgrahamc@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0717-6995\")),\nperson(\"Michael\", \"Denly\",\nemail = \"mdenly@tamu.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-7074-5011\"))\n)",
  "Maintainer": "Graham Goff <goffgrahamc@gmail.com>",
  "Description": "Provides robustness checks to align estimands with the\nidentification that they require. Given a 'dagitty' object and\na model specification, 'DAGassist' classifies variables by\ncausal roles, recovers a target estimand, and generates a\nreport comparing the original model with DAG-derived adjustment\nsets. Exports publication-grade reports in 'LaTeX', 'Word',\n'Excel', 'dotwhisker', or plain text/'markdown'. 'DAGassist' is\nbuilt on 'dagitty', an 'R' package that uses the 'DAGitty' web\ntool (<https://dagitty.net/>) for creating and analyzing DAGs.\nMethods draw on Pearl (2009) <doi:10.1017/CBO9780511803161> and\nTextor et al. (2016) <doi:10.1093/ije/dyw341>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/grahamgoff/DAGassist,\nhttps://grahamgoff.github.io/DAGassist/",
  "BugReports": "https://github.com/grahamgoff/DAGassist/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "pkgdown, rmarkdown, DiagrammeR, htmltools",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev libssl-dev libnode-dev zlib1g-dev",
  "Repository": "https://grahamgoff.r-universe.dev",
  "Date/Publication": "2026-02-20 00:13:17 UTC",
  "RemoteUrl": "https://github.com/grahamgoff/dagassist",
  "RemoteRef": "HEAD",
  "RemoteSha": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 05:56:05 UTC",
    "User": "root"
  },
  "Author": "Graham Goff [aut, cre] (ORCID: <https://orcid.org/0000-0002-0717-6995>),\nMichael Denly [aut] (ORCID: <https://orcid.org/0000-0002-7074-5011>)",
  "MD5sum": "a722c61ccbe1c416905e236a219480e6",
  "_user": "grahamgoff",
  "_type": "src",
  "_file": "DAGassist_0.2.8.tar.gz",
  "_fileid": "e175fd46004d9037f197abf675381228cc556c476d5c539d6139e5ae90967d94",
  "_filesize": 802994,
  "_sha256": "e175fd46004d9037f197abf675381228cc556c476d5c539d6139e5ae90967d94",
  "_created": "2026-05-21T05:56:05.000Z",
  "_published": "2026-05-21T21:26:51.784Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77271913690,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7128317976"
    },
    {
      "job": 77271913677,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128315811"
    },
    {
      "job": 77271913841,
      "time": 148,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7128305532"
    },
    {
      "job": 77271913652,
      "time": 126,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128301170"
    },
    {
      "job": 77271913189,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128279166"
    },
    {
      "job": 77271913185,
      "time": 154,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7147588441"
    },
    {
      "job": 77271913889,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7128300354"
    },
    {
      "job": 77271913727,
      "time": 124,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7128304495"
    },
    {
      "job": 77271913994,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7128301127"
    }
  ],
  "_buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/grahamgoff/dagassist",
  "_commit": {
    "id": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
    "author": "Graham Goff <goffgrahamc@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #32 from grahamgoff/dev\n\nDev",
    "time": 1771546397
  },
  "_maintainer": {
    "name": "Graham Goff",
    "email": "goffgrahamc@gmail.com",
    "login": "grahamgoff",
    "description": "Ph.D. student @ UT Austin Department of Government",
    "uuid": 226808638,
    "orcid": "0000-0002-0717-6995"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "dagitty",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "writexl",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dotwhisker",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "ggdag",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "marginaleffects",
      "role": "Suggests"
    },
    {
      "package": "WeightIt",
      "role": "Suggests"
    },
    {
      "package": "DirectEffects",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    }
  ],
  "_owner": "grahamgoff",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-33",
      "n": 23
    },
    {
      "week": "2025-34",
      "n": 17
    },
    {
      "week": "2025-35",
      "n": 32
    },
    {
      "week": "2025-36",
      "n": 30
    },
    {
      "week": "2025-37",
      "n": 27
    },
    {
      "week": "2025-38",
      "n": 8
    },
    {
      "week": "2025-39",
      "n": 4
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 7
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-08-17"
    },
    {
      "name": "v0.2.0",
      "date": "2025-08-30"
    },
    {
      "name": "v0.2.1",
      "date": "2025-09-02"
    },
    {
      "name": "v0.2.2",
      "date": "2025-09-09"
    },
    {
      "name": "v0.2.3",
      "date": "2025-09-10"
    },
    {
      "name": "v0.2.4",
      "date": "2025-09-22"
    },
    {
      "name": "v0.2.5",
      "date": "2025-11-03"
    },
    {
      "name": "v0.2.6",
      "date": "2025-11-10"
    },
    {
      "name": "v0.2.7",
      "date": "2025-11-10"
    },
    {
      "name": "v0.2.8",
      "date": "2026-02-19"
    }
  ],
  "_topics": [
    "causal-inference",
    "dag",
    "robustness"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "grahamgoff",
      "count": 357,
      "uuid": 226808638
    }
  ],
  "_userbio": {
    "uuid": 226808638,
    "type": "user",
    "name": "Graham Goff",
    "description": "Ph.D. student @ UT Austin Department of Government"
  },
  "_downloads": {
    "count": 232,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DAGassist"
  },
  "_devurl": "https://github.com/grahamgoff/dagassist",
  "_pkgdown": "https://grahamgoff.github.io/DAGassist/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DAGassist.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/grahamgoff/dagassist",
  "_realowner": "grahamgoff",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.4",
      "date": "2025-09-21"
    },
    {
      "version": "0.2.7",
      "date": "2025-11-11"
    },
    {
      "version": "0.2.8",
      "date": "2026-02-20"
    }
  ],
  "_exports": [
    "%>%",
    "bad_controls_in",
    "classify_nodes",
    "DAGassist"
  ],
  "_help": [
    {
      "page": "bad_controls_in",
      "title": "flag bad controls (mediator/collider/desc of Y) among a candidate set",
      "topics": [
        "bad_controls_in"
      ]
    },
    {
      "page": "classify_nodes",
      "title": "Classify DAG nodes",
      "topics": [
        "classify_nodes"
      ]
    },
    {
      "page": "DAGassist",
      "title": "Generate and/or export report that classifies nodes, compares models, and (optionally) target causal estimands.",
      "topics": [
        "DAGassist"
      ]
    },
    {
      "page": "print.DAGassist_report",
      "title": "Print method for DAGassist reports",
      "topics": [
        "print.DAGassist_report"
      ]
    },
    {
      "page": "print.DAGassist_roles",
      "title": "Print node classifications (aligned)",
      "topics": [
        "print.DAGassist_roles"
      ]
    },
    {
      "page": "print.DAGassist_validation",
      "title": "Minimal, clean printout for validation results with color coding",
      "topics": [
        "print.DAGassist_validation"
      ]
    }
  ],
  "_pkglogo": "https://github.com/grahamgoff/dagassist/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/grahamgoff/dagassist/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayestestR",
    "boot",
    "broom",
    "checkmate",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "dagitty",
    "data.table",
    "datawizard",
    "dotwhisker",
    "dplyr",
    "farver",
    "Formula",
    "generics",
    "ggplot2",
    "ggstance",
    "glue",
    "gridExtra",
    "gtable",
    "insight",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "marginaleffects",
    "MASS",
    "parameters",
    "patchwork",
    "performance",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "writexl"
  ],
  "_vignettes": [
    {
      "source": "DAGassist.Rmd",
      "filename": "DAGassist.html",
      "title": "Using DAGassist for Diagnosis and Re-estimation",
      "author": "Graham Goff and Mike Denly",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Step 1: Declare an Estimand",
        "Step 2: Draw a DAG",
        "-----------------------",
        "Contract type (baseline; affects edu_year, income, children)",
        "Scores: Permanent higher for higher class + urban; Informal higher for immigrant",
        "Numeric index for linear effects (Informal=0, Temporary=1, Permanent=2)",
        "Preference for children (baseline; affects children only)",
        "Interpretable desired children: ~0 to 5, centered at ~2",
        "Centered version for linear predictors",
        "helper: map degree to target years of schooling",
        "---- Try loop: redraw endogenous noise until calibration holds ----",
        "Job stability (time-varying; treatment-induced intermediate Z)",
        "- affected by edu_true (treatment) and baseline contract",
        "- affects mediators (income, married, birth_control) and outcome (children)",
        "baseline level at t=0",
        "---- Example usage ----",
        "Calibration check (what we target)",
        "Attainment realism (adult-only)",
        "Degree-type result (adult, completed degrees)",
        "Step 3: Classify Control Variables by Role",
        "4. Estimate Models Using DAG-Consistent Adjustment Sets",
        "5. Recover the Interpretable Estimand",
        "Export Publication-Grade Reports",
        "References"
      ],
      "created": "2026-02-19 20:21:19",
      "modified": "2026-02-19 23:21:01",
      "commits": 2
    },
    {
      "source": "compatibility.Rmd",
      "filename": "compatibility.html",
      "title": "Supported Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Notes",
        "Example usage",
        "estimatr::lm_robust",
        "fixest::feglm",
        "fixest::feols",
        "lfe::felm",
        "lme4::glmer",
        "lmerTest::lmer",
        "MASS::glm.nb",
        "stats::lm"
      ],
      "created": "2025-09-09 03:16:16",
      "modified": "2025-09-10 18:35:34",
      "commits": 3
    }
  ],
  "_score": 5.556302500767288,
  "_indexed": true,
  "_nocasepkg": "dagassist",
  "_universes": [
    "grahamgoff"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-05-21T05:59:07.000Z",
      "distro": "noble",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "b14d62f7fb17bf26e6072f141a1ed1c8aed1e8e317f8822ac3618c140fecb84f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.8",
      "date": "2026-05-21T05:58:59.000Z",
      "distro": "noble",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "cd8cbd22eb5335dbccaf7bfcba32cffbfa3bea8f39b145615d925f1ec3e89d7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-05-21T05:58:17.000Z",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "8e413d01ca9aac2d0e45565957627c742c6ab4b33a29662bbf07e6a97222472b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.8",
      "date": "2026-05-21T05:57:55.000Z",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "6314f4df7b311b0869955c6cd466590917df9036d29ff35473cefe328b33ee86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.8",
      "date": "2026-05-21T21:26:30.000Z",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "f787101e1cc426a224e7a2b0b6e6eee555a927a297900e7aab1178cc2d5b5e0a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-05-21T05:57:38.000Z",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "2fa92b5e3bad573d6d7b40d870402a50acbc07f2dfa8bfdf4fb26e9eb50ffe8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-05-21T05:57:59.000Z",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "75ec1fa2203afe32244be80493fc7079900458624f4298d745af9540450ffb44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.8",
      "date": "2026-05-21T05:57:39.000Z",
      "commit": "962c6c2dbdd9b91daa7ba937c689eff1fe775aea",
      "fileid": "4a9d2675d5ad45d363950b1961a3e1da926a8786dba2d07faf5e015b70650133",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grahamgoff/actions/runs/26208148512"
    }
  ]
}