Skip to content

tangram

The Grammar of Tables

v0.8.3 · Jul 31, 2025 · GPL-3

Description

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.

Downloads

392

Last 30 days

9654th

968

Last 90 days

4.4K

Last year

Trend: +12% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies R6 magrittr knitr stringi stringr base64enc digest htmltools tangram

Version History

new 0.8.3 Mar 10, 2026
updated 0.8.3 ← 0.8.2 diff Jul 30, 2025
updated 0.8.2 ← 0.8.1 diff Jan 25, 2023
updated 0.8.1 ← 0.7.1 diff Aug 18, 2022
updated 0.7.1 ← 0.4 diff Apr 28, 2020
updated 0.4 ← 0.3.2 diff Jun 3, 2018
updated 0.3.2 ← 0.3 diff Oct 1, 2017
updated 0.3 ← 0.2.6 diff Jun 26, 2017
new 0.2.6 May 2, 2017