Closed testagaintestagain closed 3 years ago
I believe this is a duplicate of #322. Please use the latest GitHub version to confirm.
Thanks for the quick response. You are right.
Great, thanks! Also, you can expect a new xts release over the weekend. It needs to be on CRAN by 9/9. Make sure you re-install then to get the latest production release.
Great! Looking forward to it. And thanks for your amazing work. I have been using xts and TTR for more than 10 years.
Description
I caught this issue after upgrading from xts 0.11.2 to 0.12.0, The period.apply will change the index from "Date" to "POSIXct" type (along with a timezone inconsistency warning). This behavior will cause problems as commented in the reproducible example below.
As I checked, the changes were triggered by changes in .xts (called in reclass, which is used in period.apply)
Minimal, reproducible example
Session Info