tsibble 0.9.0
This release uses the vctrs package internally in {tsibble}.
Breaking changes
- The "interval" class has been formally defined as a record type under the vctrs framework. The
new_interval()uses a new interface to create the interval and supports custom interval. Old tsibble objects will receive an error for "a corrupt tsibble".
New features
- The
.fullargument in*_gapssupports two more options,start()andend(), for paddingNAto either starting or ending time. (#147) - The argument
ninnew_data()andappend_row()supports negative integer, appending past observations to the data. (#186) - New set of
scale_[x/y/colour/size/alpha/fill]_year*()for custom ggplot2 scales. - Added
pivot_longer()andpivot_wider()supporting methods for tsibble. bind_rows()andbind_cols()are now possible for tsibble with dplyr v1.0.0.
Improvements
select()a tsibble now keeps both index and key by default. (#155)- Added
tidyr::drop_na()support for tsibble. (#173)
Bug fixes
- Fixed bug in
as.ts.tbl_ts()for ignoring implicit missings. (#160)
Deprecated functions
- Deprecated window functions in favour of the {slider} package. (#143)
- Deprecated
units_since()in favour ofvec_cast(). - Remove
is.tsibble(). - Defunct
as.tsibble().