./math/R-prettyunits, Pretty, human readable formatting of quantities

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: R-prettyunits-1.2.0, Maintainer: minskim

Pretty, human readable formatting of quantities. Time intervals:
1337000 -> 15d 11h 23m 20s. Vague time intervals: 2674000 -> about a
month ago. Bytes: 1337 -> 1.34 kB.


Required to run:
[math/R] [devel/R-magrittr] [devel/R-assertthat]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-11-12 13:24:10 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-prettyunits) Updated 1.1.1 to 1.2.0

# prettyunits 1.2.0

* New `pretty_num()` function with all the [BIPM](https://www.bipm.org)
  agreed unit prefix (#26, @cregouby).

* New `pretty_round()` and `pretty_signif()` functions preserve the requested
  number of digits as character strings (#14, @billdenney).

* New `pretty_p_value()` function to convert p-values to character strings
  where small values are shown like "<0.0001" (#13, @billdenney).

* New `pretty_color()` functionm converts a color to a named color
  (#12, @billdenney).
   2021-10-26 12:56:13 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:28:36 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Remove SHA1 hashes for distfiles
   2021-06-05 08:11:08 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(math/R-prettyunits) Updated 1.0.2 to 1.1.1

# 1.1.1

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

# 1.1.0

* `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.
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
   2019-07-31 22:17:48 by Brook Milligan | Files touched by this commit (1) | Package updated
Log message:
R-prettyunits: update to canonical form of an R package.
   2018-04-13 17:26:31 by Min Sik Kim | Files touched by this commit (3)
Log message:
math/R-prettyunits: Import version 1.0.2

Pretty, human readable formatting of quantities. Time intervals:
1337000 -> 15d 11h 23m 20s. Vague time intervals: 2674000 -> about a
month ago. Bytes: 1337 -> 1.34 kB.