-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-12871: [R] upgrade to testthat 3e #11208
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
Conversation
|
@github-actions crossbow submit -g r |
|
Revision: 831f39408a24e88a58e4ced34f8abe0bc2614e18 Submitted crossbow builds: ursacomputing/crossbow @ actions-854 |
831f394 to
981271b
Compare
jonkeane
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. I've made two small comments. I presume the windows failures (it looks like all with timezone issues?) were there already we were ignoring (all) attributes before (it doesn't look like check.tzone gets passed through waldo)
| expect_equal | ||
| } | ||
| expect_fun(as.vector(x), y, ...) | ||
| expect_as_vector <- function(x, y, ...) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is minor, but I wonder if we should take this opportunity to rename this expect_as_vector_equal to be super clear we are expecting them to be equal (via as.vector())
|
|
Rok ran into issues with timezones on windows when working on strftime which might be related: https://issues.apache.org/jira/browse/ARROW-13168 (and to a lesser extent, but could be related: #11105 (comment)) |
|
The windows failures are actually ARROW-13588, which I think we're seeing here because of a difference between waldo and base::all.equal |
80819de to
7afe271
Compare
😂 / 😭 |
ec7b48d to
0172eea
Compare
I've currently made it up through the dplyr tests, so lots more to go. Most changes are not substantive but there have been a few where the tests weren't doing exactly what we thought they were, and this exposed them. Closes apache#11208 from nealrichardson/testthat-3e Authored-by: Neal Richardson <neal.p.richardson@gmail.com> Signed-off-by: Neal Richardson <neal.p.richardson@gmail.com>
I've currently made it up through the dplyr tests, so lots more to go. Most changes are not substantive but there have been a few where the tests weren't doing exactly what we thought they were, and this exposed them.