Skip to content

tehtuner

0.3.0Package record

Fit and Tune Models to Detect Treatment Effect Heterogeneity

0packages depend
2.3Kdownloads / year
35.2%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.0

Adds support for classification trees in Step 2 by setting

step2 = 'classtree' with a given threshold of threshold.

Adds the print.tunevt method.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 634 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.0Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION

The repository also keeps web-only articles.

Help pages
26
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
4% with a bibliography file

Downloads

2.3K
CRAN downloads in the past year
Rank #20,656 · ~6/day · ~190/mo
Daily download trend is not available in this view yet.
21630 days
64690 days
2.3K1 year
Compare downloads with other packages →
Also on69 r2u5 autocran

Repository

6Stars
0Forks
0Open issues
0Open PRs
3Releases
70Commits
1Commit identities
rclinical-trialssubgroup-identificationheterogeneity-of-treatment-effect
License file reads as GPL-3.0 · 70 commits · Last activity 2025-04-09 · 0% stars, 30d · Default branch at 0.3.3, ahead of CRAN 0.3.0 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
0

Stars over time

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

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

Checks run against github.com/jackmwolf/tehtuner on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (1)
README.Rmd
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 1 practice
CRAN release process (2)
cran-comments.mdrevdep/
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing tehtuner adds 96 packages (50 with compiled code, 91 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, data.table 5.7 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.1 (2022)
Releases (2)

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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.0Latest
    record
    2023-04-01 · current release · diff ↗
  • 0.1.1
    record
    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

Cite

Cite this package

Run in R for the authors' entry:

citation("tehtuner")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1177/17407745221095855.

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-10-24. https://doi.org/10.5281/zenodo.21843040

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