formatters: ASCII Formatting for Values and Tables

We provide a framework for rendering complex tables to ASCII, and a set of formatters for transforming values or sets of values into ASCII-ready display strings.

Version: 0.5.13
Depends: methods, R (≥ 3.6.3)
Imports: checkmate (≥ 2.1.0), grid, htmltools (≥ 0.5.8.1), lifecycle (≥ 0.2.0), stringi (≥ 1.7.12)
Suggests: digest (≥ 0.6.37), dplyr (≥ 1.1.4), gt (≥ 0.10.1), huxtable (≥ 5.5.5), knitr (≥ 1.50), r2rtf (≥ 1.1.2), rmarkdown (≥ 2.28), testthat (≥ 3.3.0), withr (≥ 2.0.0)
Published: 2026-09-15
DOI: 10.32614/CRAN.package.formatters
Author: Gabriel Becker [aut] (original creator of the package), Adrian Waddell [aut], Davide Garolini ORCID iD [aut], Emily de la Rua ORCID iD [aut], Abinaya Yogasekaram ORCID iD [ctb], Joe Zhu ORCID iD [aut, cre], F. Hoffmann-La Roche AG [cph, fnd]
Maintainer: Joe Zhu <joe.zhu at roche.com>
BugReports: https://github.com/pharmaverse/formatters/issues
License: Apache License 2.0
URL: https://pharmaverse.github.io/formatters/, https://github.com/pharmaverse/formatters/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: formatters results

Documentation:

Reference manual: formatters.html , formatters.pdf
Vignettes: Introduction to the formatters package (source, R code)

Downloads:

Package source: formatters_0.5.13.tar.gz
Windows binaries: r-devel: formatters_0.5.12.zip, r-release: formatters_0.5.13.zip, r-oldrel: formatters_0.5.13.zip
macOS binaries: r-release (arm64): formatters_0.5.12.tgz, r-oldrel (arm64): formatters_0.5.13.tgz, r-release (x86_64): formatters_0.5.13.tgz, r-oldrel (x86_64): formatters_0.5.13.tgz
Old sources: formatters archive

Reverse dependencies:

Reverse depends: junco, rlistings, rtables, rtables.officer
Reverse imports: aNCA, autoslider.core, chevron, mcradds, teal.modules.clinical, tern, tern.gee, tern.mmrm, uteals
Reverse suggests: flextable, tables, teal.reporter

Linking:

Please use the canonical form https://CRAN.R-project.org/package=formatters to link to this page.