-
Notifications
You must be signed in to change notification settings - Fork 130
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
Trial dyn [email protected]@main #1628
Conversation
* progress * Update NEWS.md * Update NEWS.md
* in progress * progress
* updates * more updates * Update test-coverage.yaml * Update pull_request_template.md * updates * updates
* in progress * progress
* in progress * progress * progress
* in progress * Update tbl_summary.R
* moving indentation to its own table styling enttry * Update NEWS.md
* updates * updates
* adding pkgdown yaml * doc update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it should pass the tests but we have two remaining issues in the printout: 1. After the first html any markdown used is lost (like if you use a italic text it will not be italic but there will be _). 2. The background follows the colorscheme of rstudio. I honestly do not know how to solve these issues.
Regarding the color. Perhaps we can make it a part of our print method to make the background white? The markdown bit is confusing. What if we added |
Let's put this on hold until we're further along with the unit testing. this is a lovely to have, and the unit tests are a must-have |
Hey hey @Melkiades , Thanks for working on this! Since the pkgdown site can now print the gt tables in the examples section, I think we can keep our pkg a bit simpler by skipping this feature. Thanks for looking into it! |
What changes are proposed in this pull request?
Integrate table printouts within example sections by leveraging raw html and decoupled file writing and reading.
If there is an GitHub issue associated with this pull request, please provide link.
Reviewer Checklist (if item does not apply, mark is as complete)
renv::install()
tbl_summary()
, was the same change implemented fortbl_svysummary()
?_pkgdown.yml
pkgdown::build_site()
. Check the R console for errors, and review the rendered website.withr::with_envvar(new = c("NOT_CRAN" = "true"), covr::report())
. Begin in a fresh R session without any packages loaded.usethis::use_spell_check()
runs with no spelling errors in documentationWhen the branch is ready to be merged into master:
NEWS.md
with the changes from this pull request under the heading "# gtsummary (development version)
". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.md
for examples).usethis::use_version(which = "dev")
codemetar::write_codemeta()
usethis::use_spell_check()
again