Skip to content

crumble

0.1.2

Flexible and General Mediation Analysis Using Riesz Representers

0packages depend
2.8Kdownloads / year
85.1%test coverage
0/13checks pass

Overview

About
Maintained by Nicholas WilliamsFirst published 2024-09-183 releasesCRAN page ↗

Implements a modern, unified estimation strategy for common mediation estimands (natural effects, organic effects, interventional effects, and recanting twins) in combination with modified treatment policies as described in Liu, Williams, Rudolph, and Díaz (2024) doi:10.48550/arXiv.2408.14620. Estimation makes use of recent advancements in Riesz-learning to estimate a set of required nuisance parameters with deep learning. The result is the capability to estimate mediation effects with binary, categorical, continuous, or multivariate exposures with high-dimensional mediators and mediator-outcome confounders using machine learning.

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 1.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
85.1%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 414 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
98%
Return-value docs
75%
References docs
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #18,034 · ~8/day · ~235/mo
Daily download trend is not available in this view yet.
24330 days
65390 days
2.8K1 year
Compare downloads with other packages →
Also on100 r2u

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Contributors (1)
Contributor
Copyright holders (2)
Author, Maintainer, Copyright holder
Author, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2Latest
    2024-12-02 · current release · diff ↗
  • 0.1.1
    2024-11-14 · diff ↗
  • 0.1.0
    2024-09-18
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-09-18
Total releases
3 / 2 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.0.0
Download size
18 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →