{
  "_id": "6a498c706d67900babdfa953",
  "Package": "cdgd",
  "Title": "Causal Decomposition of Group Disparities",
  "Version": "1.0.1.9000",
  "Authors@R": "person(\"Ang\", \"Yu\", , \"ang_yu@outlook.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(website = \"<https://ang-yu.github.io/>\", ORCID = \"0000-0002-1828-0165\"))",
  "Description": "Estimates the causal decompositions of group disparities\ndeveloped by Yu and Elwert (2025) <doi:10.1214/24-AOAS1990>.\nFor the nuisance functions of the estimators, we provide both\nparametric and nonparametric options, as well as manual options\nin case the default models are not satisfying.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ang-yu/cdgd",
  "BugReports": "https://github.com/ang-yu/cdgd/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ang-yu.r-universe.dev",
  "Date/Publication": "2025-11-24 06:54:37 UTC",
  "RemoteUrl": "https://github.com/ang-yu/cdgd",
  "RemoteRef": "HEAD",
  "RemoteSha": "410cd93f397ce3f4c01b208787c193411b7036bf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-22 09:22:01 UTC",
    "User": "root"
  },
  "Author": "Ang Yu [aut, cre, cph] (website: <https://ang-yu.github.io/>, ORCID:\n<https://orcid.org/0000-0002-1828-0165>)",
  "Maintainer": "Ang Yu <ang_yu@outlook.com>",
  "_user": "ang-yu",
  "_type": "src",
  "_file": "cdgd_1.0.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/2721841c6336b2b2e42f90092140193344b7fa0b952e898602e4519a172f5bd9",
  "_filesize": 163235,
  "_sha256": "2721841c6336b2b2e42f90092140193344b7fa0b952e898602e4519a172f5bd9",
  "_expires": "2026-10-12T22:42:54.000Z",
  "_created": "2026-06-22T09:22:01.000Z",
  "_published": "2026-07-04T22:42:56.471Z",
  "_jobs": [
    {
      "job": 85173043028,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7788198469"
    },
    {
      "job": 85173042933,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7788201176"
    },
    {
      "job": 85173042827,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7788213974"
    },
    {
      "job": 85173042958,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7788315895"
    },
    {
      "job": 85173042710,
      "time": 183,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7788150303"
    },
    {
      "job": 85173042866,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7788195257"
    },
    {
      "job": 85173042817,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7788182933"
    },
    {
      "job": 85173042811,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7788179466"
    },
    {
      "job": 85173042809,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7788182744"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616",
  "_status": "success",
  "_upstream": "https://github.com/ang-yu/cdgd",
  "_commit": {
    "id": "410cd93f397ce3f4c01b208787c193411b7036bf",
    "author": "Ang Yu <ang_yu@outlook.com>",
    "committer": "Ang Yu <ang_yu@outlook.com>",
    "message": "Increment version number to 1.0.1.9000\n",
    "time": 1763967277
  },
  "_maintainer": {
    "name": "Ang Yu",
    "email": "ang_yu@outlook.com",
    "login": "ang-yu",
    "orcid": "0000-0002-1828-0165",
    "twitter": "@AngYu_soci",
    "description": "Assistant Professor in the Division of Social Science at HKUST",
    "uuid": 35616220
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "caret",
      "version": ">= 6.0.0",
      "role": "Imports"
    },
    {
      "package": "gbm",
      "version": ">= 2.1.8",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "version": ">= 7.3.0",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "version": ">= 0.14.1",
      "role": "Suggests"
    }
  ],
  "_owner": "ang-yu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-48",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2025-11-24"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ang-yu",
      "count": 228,
      "uuid": 35616220
    }
  ],
  "_userbio": {
    "uuid": 35616220,
    "type": "user",
    "name": "Ang Yu",
    "followers": 9,
    "description": "Assistant Professor in the Division of Social Science at HKUST"
  },
  "_downloads": {
    "count": 248,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cdgd"
  },
  "_devurl": "https://github.com/ang-yu/cdgd",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/cdgd.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ang-yu/cdgd",
  "_realowner": "ang-yu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2023-04-19"
    },
    {
      "version": "0.3.1",
      "date": "2023-05-20"
    },
    {
      "version": "0.3.2",
      "date": "2023-07-01"
    },
    {
      "version": "0.3.3",
      "date": "2023-12-09"
    },
    {
      "version": "0.3.4",
      "date": "2024-01-08"
    },
    {
      "version": "0.3.5",
      "date": "2024-04-15"
    },
    {
      "version": "1.0.0",
      "date": "2025-06-16"
    },
    {
      "version": "1.0.1",
      "date": "2025-11-24"
    }
  ],
  "_exports": [
    "cdgd0_manual",
    "cdgd0_ml",
    "cdgd0_pa",
    "cdgd1_manual",
    "cdgd1_ml",
    "cdgd1_pa"
  ],
  "_datasets": [
    {
      "name": "exp_data",
      "title": "Simulated example data",
      "object": "exp_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "outcome",
        "treatment",
        "confounder",
        "Q",
        "group_a"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cdgd0_manual",
      "title": "Perform unconditional decomposition with nuisance functions estimated beforehand",
      "topics": [
        "cdgd0_manual"
      ]
    },
    {
      "page": "cdgd0_ml",
      "title": "Perform unconditional decomposition via machine learning",
      "topics": [
        "cdgd0_ml"
      ]
    },
    {
      "page": "cdgd0_pa",
      "title": "Perform unconditional decomposition via parametric models",
      "topics": [
        "cdgd0_pa"
      ]
    },
    {
      "page": "cdgd1_manual",
      "title": "Perform conditional decomposition with nuisance functions estimated beforehand",
      "topics": [
        "cdgd1_manual"
      ]
    },
    {
      "page": "cdgd1_ml",
      "title": "Perform conditional decomposition via machine learning",
      "topics": [
        "cdgd1_ml"
      ]
    },
    {
      "page": "cdgd1_pa",
      "title": "Perform conditional decomposition via parametric models",
      "topics": [
        "cdgd1_pa"
      ]
    },
    {
      "page": "exp_data",
      "title": "Simulated example data",
      "topics": [
        "exp_data"
      ]
    }
  ],
  "_readme": "https://github.com/ang-yu/cdgd/raw/HEAD/README.md",
  "_rundeps": [
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "cdgd",
  "_universes": [
    "ang-yu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:24:08.000Z",
      "distro": "noble",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/9a95bf80aa9c4bed690d30dcfff9562e0c72c59121acc2fbd9a7b93203b11e6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:24:14.000Z",
      "distro": "noble",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/ce6ceae84d61b2ec4b66a65ba68f12a663c063a0ff9b32819a4b89f1f2de0680",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:24:53.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/800096f9dd8f894592a08060dd16c35f2f2221a53f7fde156c184b4bd7a5a584",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:29:21.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/03ae79e67c1c45a32e440e862f7af41483e7c49c26f929c257e4b3860935fb3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:24:12.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/a3a71179c3992a828b771498416258354ae692917d37bdc4a52795619ce15594",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:23:20.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/4ab8d3d135010c66e5843c52ddf1dc063c7983f10db377f3282822c068d23696",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:23:12.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/0467b329f71718e6e7a85e23f4cc86ea13107fa2fb7e7ddaaa2a406f82750d59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-06-22T09:23:22.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/d885de84cd55996003ee8cb1b9a7fa344bfb244a78e29cab5ef210301b371147",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/27942432616"
    }
  ]
}