-
Notifications
You must be signed in to change notification settings - Fork 234
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
More careful ordering for @family
tag
#1563
Conversation
fac5576
to
2acfe95
Compare
95a6610
to
afbabca
Compare
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.
Looks fine to me. I can get in the next roxygen2 release if you add a news bullet.
tests/testthat/test-rd-family.R
Outdated
@@ -123,3 +123,29 @@ test_that("custom family prefixes can be set", { | |||
|
|||
expect_match(out$get_value("seealso"), "^Custom prefix:") | |||
}) | |||
|
|||
test_that("careful ordering", { | |||
# Can't use foo1 because it's used as class in another test |
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.
Is it an S4 class? It might need a on.exit(removeClass("foo1"))
call.
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.
No, unfortunately, #1564 does not change the behavior here.
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.
Happy to adapt if #1566 or a better version gets in.
Thanks, good to go from my end. |
Done, finally. |
Needed for DBI:
dbSendQuery()
vs.dbSendQueryArrow()
.Test-first, the second commit afbabca shows the effect. Happy to revisit the implementation and/or switch the other tests to snapshots.
I suspect that the new
order_c()
should be used almost everywhere where we now haveorder()
.