Skip to content

Add the gtsave() function - #130

Merged
rich-iannone merged 23 commits into
masterfrom
gtsave
Jan 25, 2019
Merged

rich-iannone merged 23 commits into
masterfrom
gtsave

Conversation

@rich-iannone

Copy link
Copy Markdown
Member

The gtsave() function is analogous to ggsave() in ggplot2 but can be added at the end of a pipeline (since it has the data argument 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.

Comment thread R/gtsave.R Resolved
@rich-iannone rich-iannone changed the title [WIP] Add the gtsave() function Add the gtsave() function Jan 11, 2019
@rich-iannone
rich-iannone requested a review from jcheng5 January 11, 2019 17:18
@rich-iannone rich-iannone mentioned this pull request Jan 22, 2019
# as an HTML file to the `path_2`
exibble %>%
gt() %>%
gtsave(filename = path_2)

@jcheng5 jcheng5 Jan 25, 2019 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Add a test case for inlineCSS=FALSE

@rich-iannone
rich-iannone merged commit 69749f9 into master Jan 25, 2019
@rich-iannone
rich-iannone deleted the gtsave branch January 25, 2019 20:56
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
  ...
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