EdwinTh / padr

Padding of missing records in time series
https://edwinth.github.io/padr/
Other
132 stars 12 forks source link

warning re: `as_data_frame()` #72

Closed MattCowgill closed 4 years ago

MattCowgill commented 4 years ago

When I use padr::pad(), I get the following warning:

Warning message:
`as_data_frame()` is deprecated as of tibble 2.0.0.
Please use `as_tibble()` instead.
The signature and semantics have changed, see `?as_tibble`

The backtrace shows that padr::set_to_original_type() calls dplyr::as_data_frame(x), which is deprecated.

Thanks for the package, it's great

EdwinTh commented 4 years ago

Thanks, yes this is due to a recent update to the tibble package. It was pointed out to me by the CRAN maintainers as well. A patch release is on its way to CRAN.