Skip to content

rtables

Reporting Tables

v0.6.16 · Apr 22, 2026 · Apache License 2.0 | file LICENSE

Description

Reporting tables often have structure that goes beyond simple rectangular data. The 'rtables' package provides a framework for declaring complex multi-level tabulations and then applying them to data. This framework models both tabulation and the resulting tables as hierarchical, tree-like objects which support sibling sub-tables, arbitrary splitting or grouping of data in row and column dimensions, cells containing multiple values, and the concept of contextual summary computations. A convenient pipe-able interface is provided for declaring table layouts and the corresponding computations, and then applying them to data.

Downloads

CRAN

7.7K

Last 30 days

1354th

25.8K

Last 90 days

63.2K

Last year

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

r2u CRAN

53

Last 30 days

119

Last 90 days

555

Last year

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

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 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘rtables-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/RtmpnvF5yI/file9c17866934bd2/rheader.R': No space left on device
Execution halted
 NONE
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 13, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 9, 2026
WARNING r-devel-linux-x86_64-debian-clang

PDF version of manual

LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 3, 2026
ERROR r-devel-windows-x86_64

examples

Running examples in 'rtables-Ex.R' failed
The error most likely occurred in:

> ### Name: in_rows
> ### Title: Create multiple rows in analysis or summary functions
> ### Aliases: in_rows
> 
> ### ** Examples
> 
> in_rows(1, 2, 3, .names = c("a", "b"
...[truncated]...
 h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'print': row names contain missing values
Calls: <Anonymous> ... as.data.frame -> as.data.frame.character -> as.data.frame.vector
Execution halted
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.3Mb
  sub-directories of 1Mb or more:
    R     2.0Mb
    doc   6.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.3Mb
  sub-directories of 1Mb or more:
    R     2.0Mb
    doc   6.3Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  8.8Mb
  sub-directories of 1Mb or more:
    R     1.5Mb
    doc   6.4Mb

Reverse Dependencies (14)

suggests

Dependency Network

Dependencies Reverse dependencies formatters magrittr R (>= 4.1) checkmate htmltools lifecycle (>= 1.0.4) stringi junco rtables.officer tern autoslider.core chevron teal.modules.clinical teal.modules.general teal.reporter teal.widgets tern.gee tern.mmrm uteals dtlg flextable rtables

Version History

20 tracked
updated 0.6.16 ← 0.6.15 diff Apr 22, 2026
new 0.6.15 Mar 10, 2026
updated 0.6.15 ← 0.6.14 diff Dec 13, 2025
updated 0.6.14 ← 0.6.13 diff Nov 17, 2025
updated 0.6.13 ← 0.6.12 diff Jun 18, 2025
updated 0.6.12 ← 0.6.11 diff Apr 10, 2025
updated 0.6.11 ← 0.6.10 diff Jan 9, 2025
updated 0.6.10 ← 0.6.9 diff Sep 19, 2024
updated 0.6.9 ← 0.6.8 diff Jun 26, 2024
updated 0.6.8 ← 0.6.7 diff Jun 19, 2024
updated 0.6.7 ← 0.6.6 diff Apr 14, 2024
updated 0.6.6 ← 0.6.3 diff Dec 7, 2023
updated 0.6.3 ← 0.6.1 diff Aug 29, 2023
updated 0.6.1 ← 0.6.0 diff May 24, 2023
updated 0.6.0 ← 0.5.1 diff Mar 2, 2023