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.
| Version: | 0.6.15 |
| Depends: | formatters (≥ 0.5.12),magrittr (≥ 2.0.3), methods, R (≥4.1) |
| Imports: | checkmate (≥ 2.1.0),htmltools (≥ 0.5.8.1),lifecycle (≥1.0.4), stats,stringi (≥ 1.8.4) |
| Suggests: | broom (≥ 1.0.8),car (≥ 3.0-13),dplyr (≥ 1.0.5),knitr (≥ 1.42),lme4 (≥ 1.1-35.5),r2rtf (≥ 0.3.2),rmarkdown (≥2.23),survival (≥ 3.3-1),testthat (≥ 3.3.0),tibble (≥3.2.1),tidyr (≥ 1.1.3),withr (≥ 2.0.0),xml2 (≥ 1.3.5) |
| Published: | 2025-12-14 |
| DOI: | 10.32614/CRAN.package.rtables |
| Author: | Gabriel Becker [aut] (Original creator of the package), Adrian Waddell [aut], Daniel Sabanés Bové [ctb], Maximilian Mordig [ctb], Davide Garolini [aut], Emily de la Rua [aut], Abinaya Yogasekaram [ctb], Joe Zhu [aut, cre], F. Hoffmann-La Roche AG [cph, fnd] |
| Maintainer: | Joe Zhu <joe.zhu at roche.com> |
| BugReports: | https://github.com/insightsengineering/rtables/issues |
| License: | Apache License 2.0 | fileLICENSE |
| URL: | https://github.com/insightsengineering/rtables,https://insightsengineering.github.io/rtables/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README,NEWS |
| CRAN checks: | rtables results |