Releases: graphdr/formatdown
Releases · graphdr/formatdown
formatdown 0.1.4
2024-05-06
- added
formatdown_options()
to set global options, including the ability to change the decimal marker to a comma instead of a period. - deprecated
format_decimal()
,format_power()
, andformat_units()
- added
format_numbers()
and its convenience wrappersformat_sci()
,format_engr()
, andformat_dcml()
to replace the deprecated functions and take advantage of the new global options - edited
format_text()
to retain spaces in a character input - updated examples, tests, and vignettes to reflect changes
formatdown 0.1.3
2024--03--14
- add
format_text()
function - add
size
argument toformat_power()
- add
signif()
toformat_power()
to enforce significant digits in output before applyingformatC()
- add
options()
to globally set font size and power of ten format arguments - correct issue with
omit_power()
argument - correct issue with numbers < machine eps
- add package alias
- update tests and vignettes to reflect changes
formatdown 0.1.2
2023--06--21
- Add arguments
delim
andset_power
toformat_power()
. - Fixed a bug to remove extra spaces added by
formatC()
. - Add data sets
atmos
,metals
, andwater
. - Rename
density
data set toair_meas
. - Add
format_decimal()
and vignette. - Add
format_units()
and vignette.
introduction
Convert the elements of a numerical vector or data frame column to character strings in which the numbers are formatted using powers-of-ten notation in scientific or engineering form and delimited for rendering as inline equations in an rmarkdown
document.
Full Changelog: https://github.com/graphdr/formatdown/commits/v0.1.1