{
  "_id": "6aaf8fd63d719c1f8407ef52",
  "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-09-20 07:45:36 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/a0bd9b397d2729adf8b906555ed4e11c3342eb7c0fdd36254ccc21cdf12a225b",
  "_filesize": 162455,
  "_sha256": "a0bd9b397d2729adf8b906555ed4e11c3342eb7c0fdd36254ccc21cdf12a225b",
  "_expires": "2026-12-29T07:48:37.000Z",
  "_created": "2026-09-20T07:45:36.000Z",
  "_published": "2026-09-20T07:48:38.609Z",
  "_jobs": [
    {
      "job": 106043792258,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10601637146"
    },
    {
      "job": 106043792331,
      "time": 137,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601021922"
    },
    {
      "job": 106043792412,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10601197703"
    },
    {
      "job": 106043792394,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10600926993"
    },
    {
      "job": 106043392798,
      "time": 178,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601222480"
    },
    {
      "job": 106043792290,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10600682417"
    },
    {
      "job": 106043792436,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10601377371"
    },
    {
      "job": 106043792317,
      "time": 72,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10600957016"
    },
    {
      "job": 106043792305,
      "time": 63,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601446411"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297",
  "_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": "resolute",
  "_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-48",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2025-11-24"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "ang-yu",
      "count": 228,
      "uuid": 35616220
    }
  ],
  "_userbio": {
    "uuid": 35616220,
    "type": "user",
    "name": "Ang Yu",
    "followers": 12,
    "description": "Assistant Professor in the Division of Social Science at HKUST"
  },
  "_downloads": {
    "count": 281,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cdgd"
  },
  "_devurl": "https://github.com/ang-yu/cdgd",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/cdgd.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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,
  "_indexed": true,
  "_nocasepkg": "cdgd",
  "_universes": [
    "ang-yu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:48:08.000Z",
      "distro": "resolute",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/a01706e4f20593dba117e0ecfd25f54eb9dbcdf319c84853c3ffd4876b69d267",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:47:56.000Z",
      "distro": "resolute",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/4cd250fd070ae700c74eab6f898fa0cde0fb84cd9a6fe71e6822387f80f122eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:47:25.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/d1128971b000ad38a5bfa22800a84a14d78a35a290aa03c939648506d19328c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:47:20.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/5833fb8225c7d35d5f7b180d7411634db753bc64146a22847eba278980a45dd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:47:45.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/807f01b35872944a57260c1b2dfdab6582bf1e99831543cccec3b27d15d05f3b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:46:45.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/e76516f220fa3abe4f0e878e633cdff294ff4c1efd5693286827e4319ef77f49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:46:45.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/4f26fa2020ac44d412f536748d1ce8f0b87acf646cd7d10851a2d52e58e5501e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-09-20T07:46:43.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "https://r2.ropensci.org/b5b18926656b3cf5766e36612f3197828e0c7be546387fd5d6f2725eace74e96",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/35497593297"
    }
  ]
}