/usr/lib/R/site-library/hms/NEWS.md is in r-cran-hms 0.4.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | ## hms 0.4.0 (2017-11-16)
### Breaking changes
- `as.hms.POSIXt()` now defaults to the current time zone, the previous default was `"UTC"` and can be restored by calling `pkgconfig::set_config("hms::default_tz", "UTC")`.
### New features
- Pillar support, will display `hms` columns in tibbles in color on terminals
that support it (#43).
- New `round_hms()` and `trunc_hms()` for rounding or truncating to a given multiple of seconds (#31).
- New `parse_hms()` and `parse_hm()` to parse strings in "HH:MM:SS" and "HH:MM" formats (#30).
- `as.hms.POSIXt()` gains `tz` argument, default `"UTC"` (#28).
- `as.hms.character()` and `parse_hms()` accept fractional seconds (#33).
### Bug fixes
- `hms()` now works correctly if all four components (days, hours, minutes, seconds) are passed (#49).
- `hms()` creates a zero-length object of class `hms` that prints as `"hms()"`.
- `hms(integer())` and `as.hms(integer())` both work and are identical to `hms()`.
- Values with durations of over 10000 hours are now printed correctly (#48).
- `c()` now returns a hms (#41, @qgeissmann).
### Documentation and error messages
- Fix and enhance examples in `?hms`.
- Documentation is in Markdown format now.
- Improved error message if calling `hms()` with a character argument (#29).
# hms 0.3 (2016-11-22)
- Fix `lubridate` test for compatibility with 1.6.0 (#23, @vspinu).
- NA values are formatted as `NA` (#22).
# hms 0.2 (2016-06-17)
Minor fixes and improvements.
- Subsetting keeps `hms` class (#16).
- `format.hms()` right-justifies the output by padding with spaces from the left, `as.character.hms()` remains unchanged.
- Times larger than 24 hours or with split seconds are now formatted correctly (#12, #13).
- Sub-second part is printed with up to six digits, for even smaller values trailing zeros are shown (#17).
# hms 0.1 (2016-04-30)
First CRAN release.
- Values are stored as a numeric vector that contains the number of seconds
since midnight.
- Inherits from `difftime` class.
- Updating units is a no-op, anything different from `"secs"` issues a warning.
- Supports construction from time values, coercion to and from various data
types, and formatting.
- Conversion from numeric treats input as seconds.
- Negative times are formatted with a leading `-`.
- Can be used as a regular column in a data frame.
- Full test coverage.
- Test for arithmetic with `Date`, `POSIXt` and `hms` classes.
- Test basic compatibility with `lubridate` package (#5).
- Interface:
- `hms()` (with rigorous argument checks)
- `as.hms()` for `character`, `numeric`, `POSIXct` and `POSIXlt`
- `as.xxx.hms()` for `character`, `numeric` (implicitly), `POSIXct` and
`POSIXlt`
- `is.hms()`
- `as.data.frame.hms()` (forwards to `as.data.frame.difftime()`)
- `format.hms()`
- `print.hms()` (returns unchanged input invisibly)
|