Releases: tidyverse/hms
Releases · tidyverse/hms
hms 1.1.3
hms 1.1.2
hms 1.1.1
hms 1.0.0
Life cycle
- hms is now marked as "stable".
Breaking changes
"hms"
objects no longer have a common type withcharacter
andnumeric
. Combining such values previously threw a warning, now throws an error (#94).vec_cast()
andas_hms()
now throw error instead of a warning if input can't be parsed (#68).
Features
Bug fixes
as_hms()
andvec_cast()
now correctly treat objects of class"difftime"
withinteger
mode (#84).
Internal
hms 0.5.3
hms 0.5.2
- Work around parsing error that occurs on DST changeover dates (https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16764).
hms 0.5.1
hms 0.5.0
Breaking changes
-
Now based on vctrs >= 0.2.0 (#61). This adds support for
vec_cast()
andvec_ptype2()
. Some operations (such as subset assignment) are now stricter. Thenew_hms()
constructor permits safe construction ofhms
objects from a numeric vector. -
The new
is_hms()
deprecates the existingis.hms()
.as.hms()
is deprecated in favor ofvec_cast()
or the newas_hms()
(which is just a thin wrapper aroundvec_cast()
).
Printing
-
Always show seconds in a pillar if they are different from zero (#54).
-
Values with nonzero hours, seconds and split-seconds are now displayed correctly in tibbles (#56), even with a very small distance to the full second (#64).
Internal
- Don't test colored output on CRAN.
- Correct reference link on r4ds (#58, @evanhaldane).