formatdown: Formatting Tools for 'rmarkdown' Documents

Provides a small set of tools for formatting tasks when creating documents in R Markdown or Quarto Markdown. Convert the elements of a numerical vector to character strings in one of several forms: powers-of-ten notation in engineering or scientific form delimited for rendering as inline equations; integer or decimal notation delimited for equation rendering; numbers with measurement units (non-delimited) where units are selected to eliminate the need for powers-of-ten or scientific notation. Useful for rendering a numerical scalar in an inline R code chunk as well as formatting columns of data frames displayed in a table.

Version: 0.1.2
Depends: R (≥ 3.5.0)
Imports: checkmate, data.table, units, wrapr
Suggests: covr, knitr, rmarkdown, tinytest
Published: 2023-06-21
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 integers and decimals
Format powers of ten
Format units


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


Please use the canonical form to link to this page.