Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add warning if .xts() index is datetime
The documentation for .xts() says the 'index' argument should be a numeric vector. Warn if it's a datetime because that has the potential to create malformed xts objects (e.g. the numeric index is POSIXct but its 'tzone' isn't UTC).
- Loading branch information