(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.diff -r1.3 -r1.4 pkgsrc/math/R-prettyunits/Makefile
(mef)
@@ -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 | |||
3 | R_PKGNAME= prettyunits | 3 | R_PKGNAME= prettyunits | |
4 | R_PKGVER= 1.0.2 | 4 | R_PKGVER= 1.1.1 | |
5 | CATEGORIES= math | 5 | CATEGORIES= math | |
6 | 6 | |||
7 | MAINTAINER= minskim@NetBSD.org | 7 | MAINTAINER= minskim@NetBSD.org | |
8 | COMMENT= Pretty, human readable formatting of quantities | 8 | COMMENT= Pretty, human readable formatting of quantities | |
9 | LICENSE= mit | 9 | LICENSE= mit | |
10 | 10 | |||
11 | DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat | 11 | DEPENDS+= R-assertthat>=0.2.1:../../devel/R-assertthat | |
12 | DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr | 12 | DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr | |
13 | 13 | |||
14 | TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr | |||
15 | TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat | |||
16 | ||||
14 | USE_LANGUAGES= # none | 17 | USE_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" |
@@ -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 | |||
3 | SHA1 (R/prettyunits_1.0.2.tar.gz) = 11f63f82e425e00ca7e175b7f61a291d54bbe756 | 3 | SHA1 (R/prettyunits_1.1.1.tar.gz) = 9ffb2fcd5aa20c51478f4428e544ead6739c72ec | |
4 | RMD160 (R/prettyunits_1.0.2.tar.gz) = 0431e58c770e5fa7a6cb8df78c38ba3308a582c2 | 4 | RMD160 (R/prettyunits_1.1.1.tar.gz) = 83b79f097b232122cd27c8144b28d42ec9380c69 | |
5 | SHA512 (R/prettyunits_1.0.2.tar.gz) = 62f934292006734d73388e4e5d1265417e196f9aff40f60561703952e8b5c38f471532f1147df365a351c25df7e1ea21b84639b5923d36f3a2df84ced7ed7172 | 5 | SHA512 (R/prettyunits_1.1.1.tar.gz) = 563feed049b4d6afda31ff162348a2d4467c49e3273c21937b049a7c4f47181a8bc278fa0b02acce014aefc98f9cddfdf8d65aa2960f63fb66dd1606d708c545 | |
6 | Size (R/prettyunits_1.0.2.tar.gz) = 8262 bytes | 6 | Size (R/prettyunits_1.1.1.tar.gz) = 10366 bytes |