Repository navigation
Add the gtsave() function - #130
Merged
Merged
Conversation
jcheng5
reviewed
Jan 9, 2019
With multiple assignment, only one of the assigned S3 methods gets exported.
gtsave() functiongtsave() function
Closed
jcheng5
reviewed
Jan 25, 2019
| # as an HTML file to the `path_2` | ||
| exibble %>% | ||
| gt() %>% | ||
| gtsave(filename = path_2) |
Member
There was a problem hiding this comment.
Add a test case for inlineCSS=FALSE
jcheng5
approved these changes
Jan 25, 2019
rich-iannone
added a commit
that referenced
this pull request
Feb 8, 2019
* master: (83 commits) Improvements to documentation for the `info_paletteer()` function (#164) Refactor code related to the `suffixing` feature of `fmt_number()` and `fmt_currency()` (#163) Add support for large-number suffixing (#135) Update API listing Modify Appveyor YAML file Add the `gtsave()` function (#130) Update help file using roxygen Update roxygen documentation Update pkgdown site Update help file using roxygen Update roxygen documentation Update pkgdown site Update help file using roxygen Modify roxygen documentation Update pkgdown site Modify pkgdown YAML file Update help file using roxygen Modify roxygen documentation Update pkgdown site Update help file using roxygen ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
gtsave()function is analogous toggsave()in ggplot2 but can be added at the end of a pipeline (since it has thedataargument for the gt table object). It will use the extension of the provided output filename to use the correct saving method (.html/.htm, .tex/.ltx, or .rtf). The function also accepts a user-defined function to allow for customized saving.