Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Sep 24, 2023
1 parent b5ffba3 commit 8305a9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: prettyunits
Title: Pretty, Human Readable Formatting of Quantities
Version: 1.1.1.9000
Version: 1.2.0
Authors@R: c(
person("Gabor", "Csardi", email="csardi.gabor@gmail.com", role=c("aut", "cre")),
person("Bill", "Denney", email="wdenney@humanpredictions.com", role=c("ctb"), comment=c(ORCID="0000-0002-5759-428X")),
Expand Down
13 changes: 6 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

# development version
# prettyunits 1.2.0

* New `pretty_num()` function with all the [BIPM](https://www.bipm.org)
agreed unit prefix (#26, @cregouby).
Expand All @@ -13,12 +12,12 @@
* New `pretty_color()` functionm converts a color to a named color
(#12, @billdenney).

# 1.1.1
# prettyunits 1.1.1

* Fix spurious zero fractions in `pretty_bytes()` when formatting
vectors of sizes (#23).

# 1.1.0
# prettyunits 1.1.0

* `pretty_dt()`, `pretty_ms()` and `pretty_sec()` now handle `NA` values
properly, and return `NA_character_` for them (#10, @petermeissner).
Expand All @@ -33,18 +32,18 @@
* The new low level `compute_bytes()` function can be used to create
custom formatters for bytes.

# 1.0.2
# prettyunits 1.0.2

* `pretty_bytes()` always uses two fraction digits for non-integers.
This looks nicer in a progress bar, as the width of string does not
change so much.

# 1.0.1
# prettyunits 1.0.1

First version with a NEWS file.

* Get rid of `R CMD check` notes.

# 1.0.0
# prettyunits 1.0.0

Last version without a NEWS file.

0 comments on commit 8305a9a

Please sign in to comment.