{
  "_id": "6a115d43acfb0bcc41cec80a",
  "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-05-23 07:51:49 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>",
  "MD5sum": "371ed5a91f172b59adead671722995aa",
  "_user": "ang-yu",
  "_type": "src",
  "_file": "cdgd_1.0.1.9000.tar.gz",
  "_fileid": "7f8266124e130623a7ac840e2ec86e3c0a4952825b56d00a47158185a2dfef98",
  "_filesize": 160096,
  "_sha256": "7f8266124e130623a7ac840e2ec86e3c0a4952825b56d00a47158185a2dfef98",
  "_created": "2026-05-23T07:51:49.000Z",
  "_published": "2026-05-23T07:54:43.260Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77507487289,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175444053"
    },
    {
      "job": 77507487292,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175443635"
    },
    {
      "job": 77507487300,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175441889"
    },
    {
      "job": 77507487304,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175441035"
    },
    {
      "job": 77507315257,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175430786"
    },
    {
      "job": 77507487283,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175442115"
    },
    {
      "job": 77507487312,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175438663"
    },
    {
      "job": 77507487333,
      "time": 68,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175438018"
    },
    {
      "job": 77507487311,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175441451"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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.0",
      "date": "2025-06-16"
    },
    {
      "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",
    "description": "Assistant Professor in the Division of Social Science at HKUST"
  },
  "_downloads": {
    "count": 236,
    "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",
    "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-05-23T07:54:05.000Z",
      "distro": "noble",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "1800b21a5f78edb6ba160fd6c6fd4a1c2df52920ef9ebb2e0e5769d8084d0442",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:54:03.000Z",
      "distro": "noble",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "ed326d4648df4b4b6062376be5c8572162c2ae0435702ba7485b24e03d25575d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:53:47.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "49bdb80b5a3febdf5a91e4f6af31a57cf4c266e2fa4aedf2336f748482550c3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:53:37.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "1a671f08f752a149208fe8690cefa8cb9831624016e1b33e8de6367d61246bc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:54:00.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "e7a7216e3faf899507393c247db91ad236c391eefd3c065f21db04c18f33b907",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:53:05.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "e91042641b9d1ef3d8a5f7088152ee3f88a4c66b9740a22856ef9da098b41f3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:53:00.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "d1d035abc3130480c321a8d990af9d697067cc776f2425c90b8b9efb1187b093",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1.9000",
      "date": "2026-05-23T07:53:30.000Z",
      "commit": "410cd93f397ce3f4c01b208787c193411b7036bf",
      "fileid": "b0fc05c88b3b6744e2a01806cec7bec15a5953255af3cf6098f4ec096e7eea7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ang-yu/actions/runs/26327339561"
    }
  ]
}