You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a tq_mutate() and a function like periodReturn, the date column is coerced from a date to a dttm (POSIXct) class. Minor quirk, but hopefully is fixable.
From our email:
"The date class change is what happens during the conversion process from tibble to xts and then back to tibble. When xts goes back to tibble the date is POSIXct by default."
Reproducible example created using jennybc's reprex package:
When using a tq_mutate() and a function like periodReturn, the date column is coerced from a date to a dttm (POSIXct) class. Minor quirk, but hopefully is fixable.
From our email:
"The date class change is what happens during the conversion process from tibble to xts and then back to tibble. When xts goes back to tibble the date is POSIXct by default."
Reproducible example created using jennybc's reprex package:
The text was updated successfully, but these errors were encountered: