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

Preview Evaluator results in R Markdown report #185

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

tiffanymtang
Copy link
Collaborator

Allow option to set maximum number of rows to display for an Evaluator results table in the R Markdown report.

Can set this option in one of three ways:

  • Manually set doc_nrows field in Evaluator object
  • Set .doc_nrows in Evaluator$new() or create_evaluator()
  • Set nrows argument in set_doc_options()

This follows the same api as the "show" option for Evaluators/Visualizers.

Closes #157

* add `doc_nrows` field in `Evaluator`
* add `.doc_nrows` argument in `Evaluator$new()`
* add `nrows` argument to `set_doc_options`
* update docs and tests
@tiffanymtang tiffanymtang merged commit b4414f2 into main Feb 21, 2024
4 of 6 checks passed
@tiffanymtang tiffanymtang deleted the preview-eval-rmd branch February 23, 2024 16:58
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.

Add preview option to .doc_show in create_evaluator
1 participant