From e86b5f4598a1750299ea19f0806cfa326c4fde94 Mon Sep 17 00:00:00 2001 From: vincentarelbundock Date: Tue, 5 Nov 2024 11:56:52 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20vincenta?= =?UTF-8?q?relbundock/tinytable@099e83516753634a1dd4985c52566809c37d3ee5?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- man/format_tt.html | 162 +-- man/group_tt.html | 222 ++-- man/rbind2-tinytable-tinytable-method.html | 88 +- man/theme_tt.html | 48 +- man/tt.html | 88 +- search.json | 30 +- vignettes/custom.html | 148 +-- vignettes/format.html | 452 +++---- vignettes/group.html | 346 +++--- vignettes/plot.html | 232 ++-- vignettes/style.html | 1075 ++++++++--------- vignettes/theme.html | 321 +++-- vignettes/tinytable.html | 440 +++---- .../id27irex9tlijiqvw6ewbi.png | Bin 0 -> 1127 bytes .../id36v3ms74dbgrzrfcnilt.png | Bin 0 -> 1829 bytes .../id3wsveo123n93ciq3b0af.png | Bin 0 -> 529 bytes .../id6gwg6m0tbh169cebumqo.png | Bin 0 -> 2077 bytes .../id6rva12sw9hpcoq19vs41.png | Bin 0 -> 5057 bytes .../id7m4bin3uxhf1xzkigjx3.png | Bin 0 -> 9717 bytes .../id8z8lv5pdq1v2p3rarfim.png | Bin 0 -> 512 bytes .../id96aio3v2snttfif3x6u2.png | Bin 0 -> 2444 bytes .../idbb7ggd045r1ftwq3d9bo.png | Bin 0 -> 15240 bytes .../idbcn6r1vsfuoivds6wfw4.png | Bin 0 -> 1728 bytes .../idbp1lqe1ewmk93b051hr8.png | Bin 0 -> 8399 bytes .../idg9afootdnfm3jjn74ln1.png | Bin 0 -> 9332 bytes .../idgl9zpcjairr8uhzwatam.png | Bin 0 -> 5073 bytes .../idhooacv4m371ccu9dsitt.png | Bin 0 -> 12175 bytes .../idis3e0bfdwvlxk1af5sfa.png | Bin 0 -> 2558 bytes .../idlclgq9mza82zlafxjzsn.png | Bin 0 -> 2214 bytes .../idm8b6bxxe6fu8e2u80l82.png | Bin 0 -> 2564 bytes .../idp4nb8x5e04b2l1j2e139.png | Bin 0 -> 1846 bytes .../idpw5pfo30m7suiqo8v6yf.png | Bin 0 -> 2072 bytes .../idrepjspx865c19y5z20w4.png | Bin 0 -> 11912 bytes .../idtmw6eodd1gig1k4c5ry8.png | Bin 0 -> 11877 bytes .../idw4xr97rlp1txfzhyd42x.png | Bin 0 -> 2191 bytes .../idy1794qmnvrcvq1bwfvtn.png | Bin 0 -> 2250 bytes .../idz0ii1cfqpy5y59pjznb0.png | Bin 0 -> 8445 bytes .../idz4lafc9r1aahec3qrbqo.png | Bin 0 -> 5080 bytes .../idzbsp0f44eckv7jpcwwge.png | Bin 0 -> 11898 bytes .../idzyrmwfccll7w0gaccyrp.png | Bin 0 -> 548 bytes vignettes/tinytable_tutorial.pdf | Bin 1799928 -> 1794212 bytes 41 files changed, 1819 insertions(+), 1833 deletions(-) create mode 100644 vignettes/tinytable_assets/id27irex9tlijiqvw6ewbi.png create mode 100644 vignettes/tinytable_assets/id36v3ms74dbgrzrfcnilt.png create mode 100644 vignettes/tinytable_assets/id3wsveo123n93ciq3b0af.png create mode 100644 vignettes/tinytable_assets/id6gwg6m0tbh169cebumqo.png create mode 100644 vignettes/tinytable_assets/id6rva12sw9hpcoq19vs41.png create mode 100644 vignettes/tinytable_assets/id7m4bin3uxhf1xzkigjx3.png create mode 100644 vignettes/tinytable_assets/id8z8lv5pdq1v2p3rarfim.png create mode 100644 vignettes/tinytable_assets/id96aio3v2snttfif3x6u2.png create mode 100644 vignettes/tinytable_assets/idbb7ggd045r1ftwq3d9bo.png create mode 100644 vignettes/tinytable_assets/idbcn6r1vsfuoivds6wfw4.png create mode 100644 vignettes/tinytable_assets/idbp1lqe1ewmk93b051hr8.png create mode 100644 vignettes/tinytable_assets/idg9afootdnfm3jjn74ln1.png create mode 100644 vignettes/tinytable_assets/idgl9zpcjairr8uhzwatam.png create mode 100644 vignettes/tinytable_assets/idhooacv4m371ccu9dsitt.png create mode 100644 vignettes/tinytable_assets/idis3e0bfdwvlxk1af5sfa.png create mode 100644 vignettes/tinytable_assets/idlclgq9mza82zlafxjzsn.png create mode 100644 vignettes/tinytable_assets/idm8b6bxxe6fu8e2u80l82.png create mode 100644 vignettes/tinytable_assets/idp4nb8x5e04b2l1j2e139.png create mode 100644 vignettes/tinytable_assets/idpw5pfo30m7suiqo8v6yf.png create mode 100644 vignettes/tinytable_assets/idrepjspx865c19y5z20w4.png create mode 100644 vignettes/tinytable_assets/idtmw6eodd1gig1k4c5ry8.png create mode 100644 vignettes/tinytable_assets/idw4xr97rlp1txfzhyd42x.png create mode 100644 vignettes/tinytable_assets/idy1794qmnvrcvq1bwfvtn.png create mode 100644 vignettes/tinytable_assets/idz0ii1cfqpy5y59pjznb0.png create mode 100644 vignettes/tinytable_assets/idz4lafc9r1aahec3qrbqo.png create mode 100644 vignettes/tinytable_assets/idzbsp0f44eckv7jpcwwge.png create mode 100644 vignettes/tinytable_assets/idzyrmwfccll7w0gaccyrp.png diff --git a/man/format_tt.html b/man/format_tt.html index 136cb3f5..6f45e4ec 100644 --- a/man/format_tt.html +++ b/man/format_tt.html @@ -734,8 +734,8 @@

Examples

- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
mpgcyldisphpdrat
21 61601103.9
21 61601103.9
22.8410893 3.85
21.462581103.08
-
- - - -

Markdown and Word

Styling for Markdown and Word tables is more limited than for the other formats. In particular:

@@ -4482,10 +4349,10 @@

Markdown and Word

These limitations are due to the fact that there is no markdown syntax for the other options (ex: colors and background), and that we create Word documents by converting a markdown table to .docx via the Pandoc software.

One workaround is to style the group headers directly in their definition by using markdown syntax:

-
mtcars[1:4, 1:4] |>
-  tt() |>
-  group_tt(i = list("*Hello*" = 1, "__World__" = 3)) |>
-  print("markdown")
+
mtcars[1:4, 1:4] |>
+  tt() |>
+  group_tt(i = list("*Hello*" = 1, "__World__" = 3)) |>
+  print("markdown")
+------+-----+------+-----+
 | mpg  | cyl | disp | hp  |
diff --git a/vignettes/theme.html b/vignettes/theme.html
index 3ef6912a..34fddff7 100644
--- a/vignettes/theme.html
+++ b/vignettes/theme.html
@@ -434,8 +434,8 @@ 

Visual themes

+ + +
+ @@ -916,24 +1047,24 @@

Visual themes

Custom themes

Users can also define their own themes to apply consistent visual tweaks to tables. For example, this defines a themeing function and sets a global option to apply it to all tables consistently:

-
theme_vincent <- function(x, ...) {
-  out <- x |> 
-    style_tt(color = "teal")
-  out@caption <- "Always use the same caption."
-  out@width <- .5
-  return(out)
-}
-
-options(tinytable_tt_theme = theme_vincent)
-
-tt(mtcars[1:2, 1:2])
+
theme_vincent <- function(x, ...) {
+  out <- x |> 
+    style_tt(color = "teal")
+  out@caption <- "Always use the same caption."
+  out@width <- .5
+  return(out)
+}
+
+options(tinytable_tt_theme = theme_vincent)
+
+tt(mtcars[1:2, 1:2])