Subject-Level Analysis Using 'metalite'
Overview
Analyzes subject-level data in clinical trials using the 'metalite' data structure. The package simplifies the workflow to create production-ready tables, listings, and figures discussed in the subject-level analysis chapters of "R for Clinical Study Reports and Submission" by Zhang et al. (2022) https://r4csr.org/.
Improvements
- Removed reliance on
metalite.ae::meta_ae_example(),meta_sl_example(), andmeta_sl_exposure_example()by constructing metadata directly withmetalite(thanks to @LittleBeannie).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 28
- Examples that run
- 96%24 run in a plain check (3 of them under a condition) · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 84%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 60
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
11 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/merck/metalite.sl on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-20 · The repository has a site deploy workflow
pkgdown site last built 2026-10-20
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-12-15Commits: at least 1 crediting it in the message
Dependencies
Installing metalite.sl adds 80 packages (40 with compiled code, 74 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Previously maintained by Benjamin Wang (0.1.0 to 0.1.1).
Package metadata
- First published
- 2024-12-23
- Total releases
- 4 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 50 KB / 3 files
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("metalite.sl")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.
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.