formatdown: Formatting Numbers in 'rmarkdown' Documents

Provides a small set of tools for formatting numbers in R-markdown documents. Convert a numerical vector to character strings in power-of-ten form, decimal form, or measurement-units form; all are math-delimited for rendering as inline equations. Can also convert text into math-delimited text to match the font face and size of math-delimited numbers. Useful for rendering single numbers in inline R code chunks and for rendering columns in tables.

Version: 0.1.4
Depends: R (≥ 3.5.0)
Imports: checkmate, data.table, settings, units, wrapr
Suggests: covr, knitr, rmarkdown, tinytest
Published: 2024-05-07
DOI: 10.32614/CRAN.package.formatdown
Author: Richard Layton [aut, cre]
Maintainer: Richard Layton <graphdoctor at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: formatdown results


Reference manual: formatdown.pdf
Vignettes: Format numbers
Format text
Global settings


Package source: formatdown_0.1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): formatdown_0.1.4.tgz, r-oldrel (arm64): formatdown_0.1.4.tgz, r-release (x86_64): formatdown_0.1.4.tgz, r-oldrel (x86_64): formatdown_0.1.4.tgz
Old sources: formatdown archive

Reverse dependencies:

Reverse suggests: hydraulics


Please use the canonical form to link to this page.