-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle index class attribute in .xts()
Check for .indexCLASS and tclass passed to the constructor via '...'. Warn that .indexCLASS is deprecated, but still use it. We will raise this to an error in a later version. Also warn if the tclass attribute on the index is not the same as the tclass argument default value ("POSIXct", "POSIXt"). Current behavior over-rides the index tclass attribute with the default argument value. This seems like a bug, but it may break existing code, so warn before changing or converting to an error. Remove these two elements from '...' before attaching the remaining elements to the result (as user attributes). Remove the indexClass() call from the checkXtsClass() test function, since indexClass() is deprecated. See #245.
- Loading branch information
1 parent
84bd1c1
commit 0081554
Showing
2 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters