• Fix spurious zero fractions in pretty_bytes() when formatting vectors of sizes (#23).
  • pretty_dt(), pretty_ms() and pretty_sec() now handle NA values properly, and return NA_character_ for them (#10, @petermeissner).

  • pretty_bytes() now formats quantities just below the units better. E.g. 1MB - 1B is formatted as "1 MB" instead of ""1000 kB" (#18).

  • pretty_bytes() now has multiple styles. In particular, a fixed width style is useful for progress bars. Another style avoids the left-padding with spaces.

  • The new low level compute_bytes() function can be used to create custom formatters for bytes.

  • 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.

First version with a NEWS file.

  • Get rid of R CMD check notes.

Last version without a NEWS file.