tangram
0.8.3The Grammar of Tables
Overview
Provides an extensible formula system to quickly and easily create production quality tables. The processing steps are a formula parser, statistical content generation from data as defined by formula, followed by rendering into a table. Each step of the processing is separate and user definable thus creating a set of composable building blocks for highly customizable table generation. A user is not limited by any of the choices of the package creator other than the formula grammar. For example, one could chose to add a different S3 rendering function and output a format not provided in the default package, or possibly one would rather have Gini coefficients for their statistical content in a resulting table. Routines to achieve New England Journal of Medicine style, Lancet style and Hmisc::summaryM() statistics are provided. The package contains rendering for HTML5, Rmarkdown and an indexing format for use in tracing and tracking are provided.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-1913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-1712 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 72%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
Checks run against github.com/spgarbet/tangram on 2026-08-03.
No development-tooling practices detected in the upstream repository.
Dependencies
Nothing depends on this yet.
Code & Tests
Datasets
People & History
8 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.8.3Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.8.22023-01-26 · diff ↗
- unarchivedReturned to CRAN2023-01-26
- archivedRemoved from CRAN2022-12-09issues were not corrected in time
- 0.8.12022-08-19 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.7.12020-04-29 · diff ↗
- unarchivedReturned to CRAN2020-04-29
- RR 4.0.0 released · 2020-04-24
- archivedRemoved from CRAN2020-04-09check problems were not corrected despite reminders
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2017-05-03
- Total releases
- 8 / 9 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 11 KB / 1 file
- Download size
- 151 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Start here. This is the citation for the package itself.
citation("tangram")CRAN DOI
https://doi.org/10.32614/CRAN.package.tangramBibTeX, derived from DESCRIPTION
@Manual{tangram,
title = {tangram: The Grammar of Tables},
author = {Garbett, Shawn and Harrell, Frank and Kim, Ahra and Stewart, Thomas and Thompson, Jennifer},
year = {2025},
note = {R package version 0.8.3},
doi = {10.32614/CRAN.package.tangram},
url = {https://CRAN.R-project.org/package=tangram}
}Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.
This is the citation for the package. It is not a citation for the R Observatory.
Cite this page
Use this when the claim is about a measurement on this page.
BibTeX
@misc{robservatorytangram,
author = {Balamuta, James Joseph},
title = {{R} {Observatory}: Metrics for {tangram} version 0.8.3},
year = {2026},
publisher = {HJJB, LLC},
url = {https://r-observatory.thecoatlessprofessor.com/packages/tangram},
note = {Data set. Data release v2026-08-05}
}APA
Balamuta, J. J. (2026). R Observatory: Metrics for tangram version 0.8.3 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/tangramRIS
TY - DATA
AU - Balamuta, James Joseph
TI - R Observatory: Metrics for tangram version 0.8.3
PY - 2026
PB - HJJB, LLC
N1 - Data release v2026-08-05
UR - https://r-observatory.thecoatlessprofessor.com/packages/tangram
ER - In prose
These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/tangram.Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.