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

Feature suggestion: table formatting #227

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

LukasDSauer
Copy link

I added a couple of features for formatting tables in valtools:

  • vt_kable_requirement_editors(), vt_kable_test_case_editors() and vt_kable_test_code_editors() now allow you to adjust the latex_options argument of kableExtra,
  • vt_kable_test_code_editors() and vt_kable_coverage_matrix() now allow you to add options to collapse_rows() via ....

Example:

vt_scrape_test_code_editors() %>%
 vt_kable_test_code_editors(latex_options = "HOLD_position",
                            longtable_clean_cut = FALSE)

jan-imbi and others added 11 commits December 8, 2021 16:03
…ses fail. Before, pdflatex would fail with error message "Extra alignment tab has been changed to \cr. `expected`: TRUE & Fail &".
Fixing the requirement title in the coverage matrix for requirement names that are non-integers, such as "01" instead of "1". This is a quick fix. It would be even better if the actual requirement was used, as in the risk assessment matrix.
Incorporating the bug fix for tests that failed, see https://github.com/phuse-org/valtools/pull/222/files
Longtable changes from jan-imbi
Non-integer requirement name in coverage matrix
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