Skip to content

tehtuner

0.3.0

Fit and Tune Models to Detect Treatment Effect Heterogeneity

0packages depend
2.1Kdownloads / year
35.2%test coverage
13/13checks pass

Overview

About
Maintained by Jack WolfFirst published 2022-11-072 releasesCRAN page ↗GitHub ↗

Implements methods to fit Virtual Twins models (Foster et al. (2011) doi:10.1002/sim.4322) for identifying subgroups with differential effects in the context of clinical trials while controlling the probability of falsely detecting a differential effect when the conditional average treatment effect is uniform across the study population using parameter selection methods proposed in Wolf et al. (2022) doi:10.1177/17407745221095855.

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.04
35.2%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 634 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
4%

Downloads

2.1K
CRAN downloads in the past year
Rank #18,573 · ~6/day · ~177/mo
Daily download trend is not available in this view yet.
16230 days
60490 days
2.1K1 year
Compare downloads with other packages →
Also on99 r2u30 autocran

Repository

Repository
6Stars
0Forks
0Open issues
0Open PRs
3Releases
70Commits
1Contributors
rclinical-trialssubgroup-identificationheterogeneity-of-treatment-effect
License GPL-3.0 · 70 commits · Last activity 2025-04-09 · 0% stars, 30d

Stars over time

2025-03-23 · 52026-07-07 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/jackmwolf/tehtuner on 2026-08-23.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

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

2 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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0Latest
    2023-04-01 · current release · diff ↗
  • 0.1.1
    2022-11-07
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-11-07
Total releases
2 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Bundled data
69 KB / 1 file
Download size
124 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tehtuner")
Wolf, J. (2023). tehtuner: Fit and Tune Models to Detect Treatment Effect Heterogeneity (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.tehtuner

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

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