Skip to content

tangram

0.8.3

The Grammar of Tables

0packages depend
4Kdownloads / year
27.7%test coverage
13/13checks pass

Overview

About
Maintained by Shawn GarbettFirst published 2017-05-038 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 2.3 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.08
27.7%
Coverage · measured lines
100%
Documentation · exports
8
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-19
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-17
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • 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 · 3,220 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
72%
References docs
0%

Downloads

4K
CRAN downloads in the past year
Rank #12,093 · ~11/day · ~331/mo
Daily download trend is not available in this view yet.
19930 days
81790 days
4K1 year
Compare downloads with other packages →
Also on111 r2u11 autocran2K conda_forge

Repository

Repository
68Stars
3Forks
15Open issues
0Open PRs
0Releases
669Commits
4Contributors
669 commits · Last activity 2023-02-09

Stars over time

2025-04-30 · 682026-07-07 · 68

Repository practices

Upstream repositoryBeta

Checks run against github.com/spgarbet/tangram on 2026-08-03.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (4)
Contributor · added in 0.3
Contributor · added in 0.7.1
Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.8.3Latest
    2025-07-31 · current release · diff ↗
  • 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.8.2
    2023-01-26 · diff ↗
  • unarchivedReturned to CRAN
    2023-01-26
  • archivedRemoved from CRAN
    2022-12-09
    issues were not corrected in time
  • 0.8.1
    2022-08-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.7.1
    2020-04-29 · diff ↗
  • unarchivedReturned to CRAN
    2020-04-29
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-04-09
    check problems were not corrected despite reminders
  • R
    R 3.6.0 released · 2019-04-26
Show 6 earlier events
  • 0.4
    2018-06-04 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.3.2
    2017-10-02 · diff ↗
  • 0.3
    2017-06-27 · diff ↗
  • 0.2.6
    2017-05-03
  • R
    R 3.4.0 released · 2017-04-21

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.tangram

BibTeX, 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/tangram

RIS

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.

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