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 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 |
| Reference manual: | formatdown.html , formatdown.pdf |
| Vignettes: |
Format numbers (source, R code) Format text (source, R code) Global settings (source, R code) |
| Package source: | formatdown_0.1.4.tar.gz |
| Windows binaries: | r-devel: formatdown_0.1.4.zip, r-release: formatdown_0.1.4.zip, r-oldrel: formatdown_0.1.4.zip |
| 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 suggests: | hydraulics |
Please use the canonical form https://CRAN.R-project.org/package=formatdown to link to this page.