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

261 truetype pag new #211

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

Conversation

gmbecker
Copy link
Contributor

@gmbecker gmbecker commented May 3, 2024

corresponds to insightsengineering/formatters#270

Implements truetype support and updates rlistings for the new formatters version

Copy link
Contributor

github-actions bot commented May 3, 2024

CLA Assistant Lite bot ✅ All contributors have signed the CLA

@gmbecker
Copy link
Contributor Author

gmbecker commented May 3, 2024

I have read the CLA Document and I hereby sign the CLA

@gmbecker
Copy link
Contributor Author

gmbecker commented May 3, 2024

recheck

tests/testthat/setup.R Outdated Show resolved Hide resolved
@@ -170,19 +174,15 @@ testthat::test_that("pagination: lpp and cpp correctly computed for margins", {
})

testthat::test_that("pagination works with col wrapping", {
lsting <- h_lsting_adae(disp_cols = c("USUBJID", "AESOC", "RACE"))
## This test was predicated and enforcing the extra colgap bug in https://github.com/insightsengineering/formatters/issues/249
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure we can comment code in tests. Probably better to keep it and then change it in the colgap PR

Copy link
Contributor

@Melkiades Melkiades May 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't pass which is why it is commented out, I had to fix the referenced formatters bug in order to get everything working. We can't keep it unless we specifically add the bug back into my PR which would be non-trivial (and silly to do)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can delete it entirely instead of leaving it there commented out if that is preferable

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change it to test that the bug is not present? otherwise we can remove

Copy link
Contributor Author

@gmbecker gmbecker May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a test in the formatters PR for this, is that sufficient? (thats where the bug was and where the issue was filed)

R/paginate_listing.R Outdated Show resolved Hide resolved
R/paginate_listing.R Outdated Show resolved Hide resolved
R/paginate_listing.R Outdated Show resolved Hide resolved
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.

None yet

2 participants