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

Change default test from sequential to omnibus in adonis2() Issue 677 #681

Merged
merged 4 commits into from
Aug 16, 2024

Conversation

gavinsimpson
Copy link
Contributor

As per discussion in #677, this PR changes the default test from sequential (by = "terms") to an omnibus test (by = NULL).

I updated the code, the Rd, the examples, and the test code/output.

I didn't update the example reference output here in this PR to keep it simple and there are other changes in master.

If accepted, consider when we include it in a CRAN release. This is a breaking change, and while I can justify this change in terms of making the code base more consistent across functions, it is breaking. Should this go into a 2.7.0 or wait for a 3.0.0?

Thoughts?

Copy link
Contributor

@jarioksa jarioksa left a 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 think this should be merged to cran-2.6-6 as well (but I leave it to you to decide). This deserves a NEWS entry since it changes user experience, but that can be done separately.

@gavinsimpson gavinsimpson merged commit ca2c1d7 into vegandevs:master Aug 16, 2024
7 checks passed
@gavinsimpson gavinsimpson deleted the issue-677 branch August 16, 2024 12:41
@gavinsimpson
Copy link
Contributor Author

I've merged this and cherry-picked these 4 commits to the cran-2.6-6 branch and added a NEWS entry there. I should probably cherry pick that NEWS entry addition to the master branch too.

@jarioksa
Copy link
Contributor

cherry-picking won't work: cran-2.6-6 has inst/NEWS.md but master has ./NEWS.md. I have only copied these entries. However, the current master NEWS must be edited for 2.6-6.2 release once that happens, and that will be very much manual work.

@gavinsimpson
Copy link
Contributor Author

Yeah; just found that out. I manually committed the news entry to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants