Skip to content

GenericML

0.2.3

Generic Machine Learning Inference

0packages depend
3.2Kdownloads / year
54.1%test coverage
13/13checks pass

Overview

About
Maintained by Max WelzFirst published 2021-11-246 releasesCRAN page ↗GitHub ↗

Generic Machine Learning Inference on heterogeneous treatment effects in randomized experiments as proposed in Chernozhukov, Demirer, Duflo and Fernández-Val (2020) doi:10.48550/arXiv.1712.04802. This package's workhorse is the 'mlr3' framework of Lang et al. (2019) doi:10.21105/joss.01903, which enables the specification of a wide variety of machine learners. The main functionality, GenericML(), runs Algorithm 1 in Chernozhukov, Demirer, Duflo and Fernández-Val (2020) doi:10.48550/arXiv.1712.04802 for a suite of user-specified machine learners. All steps in the algorithm are customizable via setup functions. Methods for printing and plotting are available for objects returned by GenericML(). Parallel computing is supported.

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.12
54.1%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
45%

Downloads

3.2K
CRAN downloads in the past year
Rank #10,172 · ~9/day · ~265/mo
Daily download trend is not available in this view yet.
28230 days
94490 days
3.2K1 year
Compare downloads with other packages →
Also on102 r2u20 autocran

Repository

Repository
79Stars
16Forks
9Open issues
0Open PRs
5Releases
223Commits
1Contributors
License GPL-3.0 · 223 commits · Last activity 2026-07-02 · +1.3% stars, 30d

Stars over time

2025-08-13 · 702026-08-02 · 79

Repository practices

Upstream repositoryBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/mwelz/genericml on 2026-08-23.

Continuous integration (1)
GitHub Actions
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Package Timeline

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

  • 0.2.3Latest
    2026-07-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.2
    2022-06-18 · diff ↗
  • 0.2.1
    2022-05-12 · diff ↗
  • 0.2.0
    2022-05-06 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    2021-12-07 · diff ↗
  • 0.1.0
    2021-11-24
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-11-24
Total releases
6 / 5 yrs
License
GPL (>= 3) OSI
Download size
66 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GenericML")
Welz, M., Alfons, A., Chernozhukov, V., & Demirer, M. (2026). GenericML: Generic Machine Learning Inference (Version 0.2.3) [Computer software]. https://doi.org/10.32614/CRAN.package.GenericML

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 GenericML version 0.2.3 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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