Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test.get_index_does_not_error_if_index_has_no_attributes() errors in R-devel #340

Closed
joshuaulrich opened this issue Aug 27, 2020 · 0 comments
Assignees
Labels
Milestone

Comments

@joshuaulrich
Copy link
Owner

The error is:

FAILURE in test.get_index_does_not_error_if_index_has_no_attributes:
Error in checkEquals(index(x), ix) :
     'tzone' attributes are inconsistent ('' and 'UTC')

Because all.equal.POSIXt() now errors if the 'tzone' attributes are not the same.

s <- Sys.time(); attr(s,'tzone') <- ""
su <- s; attr(su,'tzone') <- "UTC"
all.equal(s, su)
## [1] "'tzone' attributes are inconsistent ('' and 'UTC')"
@joshuaulrich joshuaulrich added this to the 0.12-1 milestone Aug 27, 2020
@joshuaulrich joshuaulrich self-assigned this Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant