vincentarelbundock / tinytable

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

Examples for documentation #175

Closed florence-laflamme closed 8 months ago

florence-laflamme commented 8 months ago

Examples in documentation for tt(), save_tt(), style_tt(), format_tt(), and group_tt().

vincentarelbundock commented 8 months ago

@florence-laflamme The problem is that your tests try to save a table to a directory/file that doesn't exist on your computer. Instead, you can use a temporary file like this:

fn <- file.path(tempdir(), "test.html") tt(x) |> save_tt(tab, fn)

vincentarelbundock commented 8 months ago

Looks fantastic, thanks so much!