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; convert symbols for chemical
isotopes from hyphenated form to nuclear 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.2.0 |
| Depends: |
R (≥ 3.5.0) |
| Imports: |
checkmate, data.table, settings, units, wrapr |
| Suggests: |
knitr, rmarkdown, tinytest |
| Published: |
2026-05-02 |
| DOI: |
10.32614/CRAN.package.formatdown |
| 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:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=formatdown
to link to this page.