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
The xts constructor currently only checks the timezone (and ensures it's set to "UTC") for Date class indexes. It should do this for all index classes that do not use a timezone. Eric Zivot reported a manifestation of this issue in a thread on R-SIG-Finance. Here's a minimal, reproducible example:
According to check.TZ, the current list of classes should be: chron::chron, chron::dates, chron::times, and base::Date. But zoo::yearmon and zoo::yearqtr should also be included in this list.
The text was updated successfully, but these errors were encountered:
Although it's not technically correct (since GMT *is* a timezone)
indexTZ="GMT" should work for all practical purposes. So check.TZ
should not warn in this case.
Also make the warning for indexTZ="" more explicit by printing empty
quotes instead of an empty string (i.e. from "...but indexTZ is " to
"...but indexTZ is ''").
The
xts
constructor currently only checks the timezone (and ensures it's set to"UTC"
) for Date class indexes. It should do this for all index classes that do not use a timezone. Eric Zivot reported a manifestation of this issue in a thread on R-SIG-Finance. Here's a minimal, reproducible example:According to
check.TZ
, the current list of classes should be:chron::chron
,chron::dates
,chron::times
, andbase::Date
. Butzoo::yearmon
andzoo::yearqtr
should also be included in this list.The text was updated successfully, but these errors were encountered: