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

CRAN

320

Last 30 days

12416th

873

Last 90 days

4.3K

Last year

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

r2u CRAN

0

Last 30 days

25

Last 90 days

104

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

6

Last 7 days

12

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 19, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 17, 2026
WARNING r-oldrel-windows-x86_64

for unstated dependencies in ‘tests’

Warning: unable to access index for repository https://bioconductor.org/packages/3.22/bioc/src/contrib:
  cannot open URL 'https://bioconductor.org/packages/3.22/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://biocon
...[truncated]...
2/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.22/data/experiment/src/contrib:
  cannot open URL 'https://bioconductor.org/packages/3.22/data/experiment/src/contrib/PACKAGES'
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘tangram-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/RtmpsNYW5x/file2ae41f704711f2/custom_css.R': No space left on device
Execution halted
 NONE
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

9 tracked
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