Skip to content

crumble

0.1.2Package record

Flexible and General Mediation Analysis Using Riesz Representers

0packages depend
3Kdownloads / year
0.9%test coverage
0/13flavors OK

Overview

About

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.

Changes in 0.1.2

Bug fixes

  • Fixed a bug caused by upgrading to S7 0.2.0.

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64

Missing dependency on R >= 4.2.0 because package code uses the pipe
  placeholder syntax added in R 4.2.0.
  File(s) using such syntax:
    ‘helpers.R’

r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

Missing dependency on R >= 4.2.0 because package code uses the pipe
  placeholder syntax added in R 4.2.0.
  File(s) using such syntax:
    'helpers.R'

CRAN check page ↗

Slowest check: 1.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE3 OK, 11 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 414 wordsVignettesNoNEWSYes · 100% structured · mentions 0.1.2Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
5 (1 internal)
Examples that run
50%2 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
75%
Documented parameters
98%
Return-value docs
75%
Help pages citing references
0%

Downloads

3K
CRAN downloads in the past year
Rank #14,571 · ~8/day · ~250/mo
Daily download trend is not available in this view yet.
27630 days
82090 days
3K1 year
Compare downloads with other packages →
Also on79 r2u

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing crumble adds 74 packages (34 with compiled code, 41 MB of source tarballs). Heaviest: data.table 5.7 MB, gplots 4.6 MB, palmerpenguins 2.9 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.0 (2024), Copyright holder
Author, Copyright holder
Contributor
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.2Latest
    record
    2024-12-02 · current release · diff ↗
  • 0.1.1
    record
    2024-11-14 · diff ↗
  • 0.1.0
    record
    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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("crumble")
Williams, N., Díaz, I., & Liu, R. (2024). crumble: Flexible and General Mediation Analysis Using Riesz Representers (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.crumble

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for crumble version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy