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 gmail.com>
BugReports: https://github.com/graphdr/formatdown/issues
License: MIT + file LICENSE
URL: https://github.com/graphdr/formatdown/, https://graphdr.github.io/formatdown/, https://CRAN.R-project.org/package=formatdown
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: formatdown results

Documentation:

Reference manual: formatdown.pdf
Vignettes: Format integers and decimals
Format powers of ten
Format text
Format units

Downloads:

Package source: formatdown_0.1.3.tar.gz
Windows binaries: r-prerel: formatdown_0.1.3.zip, r-release: formatdown_0.1.3.zip, r-oldrel: formatdown_0.1.3.zip
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

Linking:

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