prettyunits: Pretty, Human Readable Formatting of Quantities

Share:

Pretty, human readable formatting of quantities. Time intervals: 1337000 -> 15d 11h 23m 20s. Vague time intervals: 2674000 -> about a month ago. Bytes: 1337 -> 1.34 kB.

Author
Gabor Csardi
Date of publication
2015-07-13 04:09:56
Maintainer
Gabor Csardi <csardi.gabor@gmail.com>
License
MIT + file LICENSE
Version
1.0.2
URLs

View on CRAN

Man pages

pretty_bytes
Bytes in a human readable string
pretty_dt
Pretty formatting of time intervals (difftime objects)
pretty_ms
Pretty formatting of milliseconds
pretty_sec
Pretty formatting of seconds
prettyunits
Prettier formatting of quantities
time_ago
Human readable format of the time interval since a time point
vague_dt
Human readable format of a time interval

Files in this package

prettyunits
prettyunits/inst
prettyunits/inst/README.Rmd
prettyunits/inst/NEWS.md
prettyunits/inst/README.md
prettyunits/tests
prettyunits/tests/testthat.R
prettyunits/tests/testthat
prettyunits/tests/testthat/test-ms.r
prettyunits/tests/testthat/test-bytes.r
prettyunits/tests/testthat/test-vague-dt.r
prettyunits/NAMESPACE
prettyunits/R
prettyunits/R/time-ago.r
prettyunits/R/sizes.r
prettyunits/R/time.r
prettyunits/R/utils.r
prettyunits/R/pretty-package.r
prettyunits/MD5
prettyunits/DESCRIPTION
prettyunits/man
prettyunits/man/vague_dt.Rd
prettyunits/man/pretty_sec.Rd
prettyunits/man/prettyunits.Rd
prettyunits/man/pretty_dt.Rd
prettyunits/man/pretty_bytes.Rd
prettyunits/man/pretty_ms.Rd
prettyunits/man/time_ago.Rd
prettyunits/LICENSE