Tools to Format Numbers for Publication
Overview
Format numbers and plots for publication; includes the removal of leading zeros, standardization of number of digits, addition of affixes, and a p-value formatter. These tools combine the functionality of several 'base' functions such as 'paste()', 'format()', and 'sprintf()' into specific use case functions that are named in a way that is consistent with usage, making their names easy to remember and easy to deploy.
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: numform/R/f_weekday.R (.Names: 1) numform/man/as_factor.Rd (.Names: 1) '.Names' should be changed to 'names'.
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Tyler Rinker <tyler.rinker@gmail.com>’ Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-06-09
- ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 43 (1 internal)includes a package overview page
- Examples that run
- 95%38 run in a plain check · 2 never run
- Exported functions with examples
- 95%
- Documented parameters
- 98%
- Return-value docs
- 95%
- Help pages citing references
- 2%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/trinker/numform on 2026-10-18.
Dependencies
Installing numform adds 1 package (1 with compiled code, 127 KB of source tarballs). Heaviest: glue 127 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.7.0Latest
- RR 4.1.0 released · 2021-05-18
- 0.6.42020-09-27 · diff ↗ ·
added 7 exports
f_pad_left, f_pad_right, ff_pad_left, ff_pad_right, round2, round_any, time_digits - RR 4.0.0 released · 2020-04-24
- 0.6.0
- RR 3.6.0 released · 2019-04-26
- 0.5.02018-11-03 · diff ↗ ·
added 62 exports
collapse, constant_weekdays_abbreviation, f_bin, f_bin_right, f_bin_text, f_bin_text_right, f_byte, f_data, f_data_abbreviation, f_exa, f_giga, f_interval, f_interval_right, f_interval_text, f_interval_text_right, f_kilo, f_list, f_list_amp, f_mega, f_month_abbreviation, f_month_name, f_peta, f_pp, f_response, f_tera, f_weekday_abbreviation, f_weekday_name, f_yotta, f_zetta, ff_bin and 32 more - RR 3.5.0 released · 2018-04-23
- 0.4.02017-12-12 · diff ↗ ·
added 17 exports
constant_quarters, f_celcius, f_degree, f_fahrenheit, f_latitude, f_longitude, f_quarter, ff_12_hour, ff_celcius, ff_degree, ff_fahrenheit, ff_latitude, ff_longitude, ff_month, ff_quarter, ff_weekday, ff_year - 0.3.02017-09-08 · diff ↗ ·
added 22 exports
alignment, constant_months, constant_months_abbreviation, constant_weekdays, f_12_hour, f_abbreviation, f_affirm, f_date, f_logical, f_replace, f_state, f_title, f_wrap, f_year, ff_abbreviation, ff_affirm, ff_date, ff_logical, ff_replace, ff_state, ff_title, ff_wrap - 0.0.52017-08-01 · diff ↗
Show 2 earlier eventsHide 2 earlier events
- 0.0.42017-07-29
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-07-29
- Total releases
- 8 / 9 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.2.0
- Download size
- 753 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("numform")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.