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.3
Depends: R (≥ 3.5.0)
Imports: checkmate, data.table, units, wrapr
Suggests: covr, knitr, rmarkdown, tinytest
Published: 2024-03-15
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 text
Format units


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

Reverse dependencies:

Reverse suggests: hydraulics


Please use the canonical form to link to this page.