pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/R-prettyunits



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Jun  5 06:11:08 UTC 2021

Modified Files:
        pkgsrc/math/R-prettyunits: Makefile distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/R-prettyunits/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/R-prettyunits/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/R-prettyunits/Makefile
diff -u pkgsrc/math/R-prettyunits/Makefile:1.3 pkgsrc/math/R-prettyunits/Makefile:1.4
--- pkgsrc/math/R-prettyunits/Makefile:1.3      Thu Aug  8 19:53:52 2019
+++ pkgsrc/math/R-prettyunits/Makefile  Sat Jun  5 06:11:08 2021
@@ -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 @@ LICENSE=      mit
 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"

Index: pkgsrc/math/R-prettyunits/distinfo
diff -u pkgsrc/math/R-prettyunits/distinfo:1.1 pkgsrc/math/R-prettyunits/distinfo:1.2
--- pkgsrc/math/R-prettyunits/distinfo:1.1      Fri Apr 13 15:26:31 2018
+++ pkgsrc/math/R-prettyunits/distinfo  Sat Jun  5 06:11:08 2021
@@ -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