# 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.
20 lines
523 B
Makefile
20 lines
523 B
Makefile
# $NetBSD: Makefile,v 1.4 2021/06/05 06:11:08 mef Exp $
|
|
|
|
R_PKGNAME= prettyunits
|
|
R_PKGVER= 1.1.1
|
|
CATEGORIES= math
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
COMMENT= Pretty, human readable formatting of quantities
|
|
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"
|
|
.include "../../mk/bsd.pkg.mk"
|