Skip to content

cdgd

Causal Decomposition of Group Disparities

v1.0.1 · Nov 23, 2025 · MIT + file LICENSE

Description

Estimates the causal decompositions of group disparities developed by Yu and Elwert (2025) <doi:10.1214/24-AOAS1990>. For the nuisance functions of the estimators, we provide both parametric and nonparametric options, as well as manual options in case the default models are not satisfying.

Downloads

CRAN

260

Last 30 days

18187th

653

Last 90 days

2.7K

Last year

Trend: +49.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

26

Last 90 days

308

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

2

Last 7 days

9

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘caret’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 25, 2026
ERROR r-release-macos-x86_64

package dependencies

Package required but not available: ‘caret’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

3,065

Files

21

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,429 (79.2%)Docs 636 (20.8%)

API

Exported functions

6

Internal functions

0

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2023-04-19

Latest release

2025-11-24

Avg cadence

98 days

Cold removal rate

Dep drift

0

LOC over versions

v0.3.0: 2,756 LOCv0.3.1: 2,765 LOCv0.3.2: 2,765 LOCv0.3.3: 2,847 LOCv0.3.4: 2,842 LOCv0.3.5: 2,870 LOCv1.0.0: 3,054 LOCv1.0.1: 3,065 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies caret cdgd

Version History

9 tracked
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0.0 diff Nov 23, 2025
updated 1.0.0 ← 0.3.5 diff Jun 15, 2025
updated 0.3.5 ← 0.3.4 diff Apr 14, 2024
updated 0.3.4 ← 0.3.3 diff Jan 7, 2024
updated 0.3.3 ← 0.3.2 diff Dec 8, 2023
updated 0.3.2 ← 0.3.1 diff Jun 30, 2023
updated 0.3.1 ← 0.3.0 diff May 19, 2023
new 0.3.0 Apr 18, 2023