Skip to content

Releases: graphdr/formatdown

formatdown 0.1.4

08 May 12:32
Compare
Choose a tag to compare

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(), and format_units()
  • added format_numbers() and its convenience wrappers format_sci(), format_engr(), and format_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

15 Mar 17:19
Compare
Choose a tag to compare

2024--03--14

  • add format_text() function
  • add size argument to format_power()
  • add signif() to format_power() to enforce significant digits in output before applying formatC()
  • 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

22 Jun 00:32
Compare
Choose a tag to compare

2023--06--21

  • Add arguments delim and set_power to format_power().
  • Fixed a bug to remove extra spaces added by formatC().
  • Add data sets atmos, metals, and water.
  • Rename density data set to air_meas.
  • Add format_decimal() and vignette.
  • Add format_units() and vignette.

introduction

21 Nov 17:12
Compare
Choose a tag to compare

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