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

inspection methods for test output #25

Open
corybrunson opened this issue Jun 23, 2022 · 0 comments
Open

inspection methods for test output #25

corybrunson opened this issue Jun 23, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@corybrunson
Copy link
Collaborator

Test output, e.g. from permutation_test(), currently returns a somewhat unwieldy list. I think the following methods would be useful to implement:

  • print() (see various methods for {stats} test output for inspiration)
  • summary(), possibly
  • tidy() and glance() from {generics}, as used in {broom} and its extensions
  • autoplot(), e.g. histograms of null samples to illustrate p-values

However, this requires that the tests return objects of some S3 class. This could be a new class or classes, or the existing 'htest' class---or possibly both, in case some tasks can be dispatched to 'htest' methods but others must be more specific.

@corybrunson corybrunson added the enhancement New feature or request label Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant