Sat Jun 5 06:11:08 2021 UTC ()
(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.


(mef)
diff -r1.3 -r1.4 pkgsrc/math/R-prettyunits/Makefile
diff -r1.1 -r1.2 pkgsrc/math/R-prettyunits/distinfo

cvs diff -r1.3 -r1.4 pkgsrc/math/R-prettyunits/Makefile (expand / switch to unified diff)

--- pkgsrc/math/R-prettyunits/Makefile 2019/08/08 19:53:52 1.3
+++ pkgsrc/math/R-prettyunits/Makefile 2021/06/05 06:11:08 1.4
@@ -1,17 +1,20 @@ @@ -1,17 +1,20 @@
1# $NetBSD: Makefile,v 1.3 2019/08/08 19:53:52 brook Exp $ 1# $NetBSD: Makefile,v 1.4 2021/06/05 06:11:08 mef Exp $
2 2
3R_PKGNAME= prettyunits 3R_PKGNAME= prettyunits
4R_PKGVER= 1.0.2 4R_PKGVER= 1.1.1
5CATEGORIES= math 5CATEGORIES= math
6 6
7MAINTAINER= minskim@NetBSD.org 7MAINTAINER= minskim@NetBSD.org
8COMMENT= Pretty, human readable formatting of quantities 8COMMENT= Pretty, human readable formatting of quantities
9LICENSE= mit 9LICENSE= mit
10 10
11DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat 11DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat
12DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr 12DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
13 13
 14TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
 15TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
 16
14USE_LANGUAGES= # none 17USE_LANGUAGES= # none
15 18
16.include "../../math/R/Makefile.extension" 19.include "../../math/R/Makefile.extension"
17.include "../../mk/bsd.pkg.mk" 20.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/math/R-prettyunits/distinfo (expand / switch to unified diff)

--- pkgsrc/math/R-prettyunits/distinfo 2018/04/13 15:26:31 1.1
+++ pkgsrc/math/R-prettyunits/distinfo 2021/06/05 06:11:08 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2018/04/13 15:26:31 minskim Exp $ 1$NetBSD: distinfo,v 1.2 2021/06/05 06:11:08 mef Exp $
2 2
3SHA1 (R/prettyunits_1.0.2.tar.gz) = 11f63f82e425e00ca7e175b7f61a291d54bbe756 3SHA1 (R/prettyunits_1.1.1.tar.gz) = 9ffb2fcd5aa20c51478f4428e544ead6739c72ec
4RMD160 (R/prettyunits_1.0.2.tar.gz) = 0431e58c770e5fa7a6cb8df78c38ba3308a582c2 4RMD160 (R/prettyunits_1.1.1.tar.gz) = 83b79f097b232122cd27c8144b28d42ec9380c69
5SHA512 (R/prettyunits_1.0.2.tar.gz) = 62f934292006734d73388e4e5d1265417e196f9aff40f60561703952e8b5c38f471532f1147df365a351c25df7e1ea21b84639b5923d36f3a2df84ced7ed7172 5SHA512 (R/prettyunits_1.1.1.tar.gz) = 563feed049b4d6afda31ff162348a2d4467c49e3273c21937b049a7c4f47181a8bc278fa0b02acce014aefc98f9cddfdf8d65aa2960f63fb66dd1606d708c545
6Size (R/prettyunits_1.0.2.tar.gz) = 8262 bytes 6Size (R/prettyunits_1.1.1.tar.gz) = 10366 bytes