vincentarelbundock / tinytable

Simple and Customizable Tables in `R`
https://vincentarelbundock.github.io/tinytable
GNU General Public License v3.0
196 stars 16 forks source link

`save_tt()` return path to the saved table #328

Closed yjunechoe closed 1 month ago

yjunechoe commented 1 month ago

It'd be convenient if save_tt() invisibly returned the path to the written file, so that the output can be quickly inspected with e.g., an additional pipe to browseURL():

tt(mtcars[1:4, 1:5]) |> 
  save_tt("mtcars.docx") |>
  browseURL()

Thanks!

vincentarelbundock commented 1 month ago

This is a great an easy suggestion. Thanks!

Merged in main on Github now. Will be part of the next release on CRAN.

yjunechoe commented 1 month ago

That was so fast! 🚀 Thanks again!