pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/R-prettyunits (math/R-prettyunits) Updated 1.0.2 ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f9136f33732
branches:  trunk
changeset: 453982:5f9136f33732
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Jun 05 06:11:08 2021 +0000

description:
(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.

diffstat:

 math/R-prettyunits/Makefile |   7 +++++--
 math/R-prettyunits/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 120cf0d41927 -r 5f9136f33732 math/R-prettyunits/Makefile
--- a/math/R-prettyunits/Makefile       Sat Jun 05 06:09:38 2021 +0000
+++ b/math/R-prettyunits/Makefile       Sat Jun 05 06:11:08 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2019/08/08 19:53:52 brook Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/05 06:11:08 mef Exp $
 
 R_PKGNAME=     prettyunits
-R_PKGVER=      1.0.2
+R_PKGVER=      1.1.1
 CATEGORIES=    math
 
 MAINTAINER=    minskim%NetBSD.org@localhost
@@ -11,6 +11,9 @@
 DEPENDS+=      R-assertthat>=0.2.1:../../devel/R-assertthat
 DEPENDS+=      R-magrittr>=1.5:../../devel/R-magrittr
 
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+
 USE_LANGUAGES= # none
 
 .include "../../math/R/Makefile.extension"
diff -r 120cf0d41927 -r 5f9136f33732 math/R-prettyunits/distinfo
--- a/math/R-prettyunits/distinfo       Sat Jun 05 06:09:38 2021 +0000
+++ b/math/R-prettyunits/distinfo       Sat Jun 05 06:11:08 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/04/13 15:26:31 minskim Exp $
+$NetBSD: distinfo,v 1.2 2021/06/05 06:11:08 mef Exp $
 
-SHA1 (R/prettyunits_1.0.2.tar.gz) = 11f63f82e425e00ca7e175b7f61a291d54bbe756
-RMD160 (R/prettyunits_1.0.2.tar.gz) = 0431e58c770e5fa7a6cb8df78c38ba3308a582c2
-SHA512 (R/prettyunits_1.0.2.tar.gz) = 62f934292006734d73388e4e5d1265417e196f9aff40f60561703952e8b5c38f471532f1147df365a351c25df7e1ea21b84639b5923d36f3a2df84ced7ed7172
-Size (R/prettyunits_1.0.2.tar.gz) = 8262 bytes
+SHA1 (R/prettyunits_1.1.1.tar.gz) = 9ffb2fcd5aa20c51478f4428e544ead6739c72ec
+RMD160 (R/prettyunits_1.1.1.tar.gz) = 83b79f097b232122cd27c8144b28d42ec9380c69
+SHA512 (R/prettyunits_1.1.1.tar.gz) = 563feed049b4d6afda31ff162348a2d4467c49e3273c21937b049a7c4f47181a8bc278fa0b02acce014aefc98f9cddfdf8d65aa2960f63fb66dd1606d708c545
+Size (R/prettyunits_1.1.1.tar.gz) = 10366 bytes



Home | Main Index | Thread Index | Old Index