From 76ff3211d683c07bd335f47c4b0333e6f1a89871 Mon Sep 17 00:00:00 2001 From: olivroy Date: Mon, 19 Aug 2024 09:51:13 -0400 Subject: [PATCH 1/3] Add helper functions to avoid using pipes when taking snapshots --- tests/testthat/helper.R | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/testthat/helper.R b/tests/testthat/helper.R index 0342d211c..c6580ed5b 100644 --- a/tests/testthat/helper.R +++ b/tests/testthat/helper.R @@ -126,6 +126,22 @@ generate_html_units <- function(input) { ) } +expect_snapshot_html <- function(gt_tbl) { + expect_snapshot(render_as_html(gt_tbl)) +} + +expect_snapshot_latex <- function(gt_tbl) { + expect_snapshot(as.character(as_latex(gt_tbl))) +} + +expect_snapshot_word <- function(gt_tbl, ...) { + expect_snapshot(as_word(gt_tbl, ...)) +} + +expect_snapshot_rtf <- function(gt_tbl) { + expect_snapshot(as_rtf(gt_tbl)) +} + #' Test if two gt tables are equal (or equivalent) #' #' @param gt_tbl1,gt_tbl2 A pair of gt tables to test for equality From 183e25d4f65bb742a5b47704bfb49563d6033d80 Mon Sep 17 00:00:00 2001 From: olivroy Date: Mon, 19 Aug 2024 10:14:42 -0400 Subject: [PATCH 2/3] Refactor snapshot to avoid pipes and use the helpers --- tests/testthat/_snaps/as_latex.md | 4 +- tests/testthat/_snaps/as_word.md | 18 +- tests/testthat/_snaps/cols_align_decimal.md | 24 +- tests/testthat/_snaps/cols_merge.md | 28 +-- tests/testthat/_snaps/cols_width.md | 2 +- tests/testthat/_snaps/fmt_auto.md | 20 +- tests/testthat/_snaps/fmt_fraction.md | 18 +- tests/testthat/_snaps/fmt_markdown.md | 2 +- tests/testthat/_snaps/footer.md | 18 +- tests/testthat/_snaps/l_summary_rows.md | 24 +- tests/testthat/_snaps/l_table_parts.md | 28 +-- tests/testthat/_snaps/rtf_cols_width.md | 56 ++--- tests/testthat/_snaps/rtf_page_options.md | 24 +- tests/testthat/_snaps/rtf_summary_rows.md | 20 +- tests/testthat/_snaps/tab_footnote.md | 34 +-- tests/testthat/_snaps/tab_options.md | 8 +- tests/testthat/_snaps/tab_remove.md | 46 ++-- tests/testthat/_snaps/tab_spanner_delim.md | 74 +++--- tests/testthat/_snaps/tab_stub_indent.md | 32 +-- tests/testthat/_snaps/tab_style.md | 2 +- tests/testthat/_snaps/tab_style_body.md | 30 +-- tests/testthat/_snaps/table_parts.md | 8 +- tests/testthat/test-as_latex.R | 10 +- tests/testthat/test-as_word.R | 74 ++---- tests/testthat/test-cols_align_decimal.R | 24 +- tests/testthat/test-cols_merge.R | 28 +-- tests/testthat/test-cols_width.R | 10 +- tests/testthat/test-fmt_markdown.R | 2 +- tests/testthat/test-footer.R | 18 +- tests/testthat/test-l_summary_rows.R | 97 +++----- tests/testthat/test-l_table_parts.R | 85 ++----- tests/testthat/test-rtf_cols_width.R | 209 ++++++----------- tests/testthat/test-rtf_page_options.R | 67 +++--- tests/testthat/test-rtf_summary_rows.R | 70 +++--- tests/testthat/test-tab_footnote.R | 44 ++-- tests/testthat/test-tab_options.R | 7 +- tests/testthat/test-tab_remove.R | 241 ++++++++------------ tests/testthat/test-tab_spanner_delim.R | 74 +++--- tests/testthat/test-tab_stub_indent.R | 32 +-- tests/testthat/test-tab_style.R | 2 +- tests/testthat/test-tab_style_body.R | 30 +-- tests/testthat/test-table_parts.R | 28 +-- 42 files changed, 715 insertions(+), 957 deletions(-) diff --git a/tests/testthat/_snaps/as_latex.md b/tests/testthat/_snaps/as_latex.md index 19e158951..0b8c4640a 100644 --- a/tests/testthat/_snaps/as_latex.md +++ b/tests/testthat/_snaps/as_latex.md @@ -1,7 +1,7 @@ # Table styles correctly applied for longtable Code - . + gt_latex_styled Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrr}\n\\toprule\n & \\multicolumn{3}{c}{{\\itshape heading}} & & \\multicolumn{2}{c}{heading} \\\\ \n\\cmidrule(lr){2-4} \\cmidrule(lr){6-7}\n{$\\overline{\\mbox{stubhead}}$} & {NUM} & char & fctr\\textsuperscript{\\textit{1}} & time & {DATETIME} & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{7}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n{\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_1}}} & 0.1111 & apricot & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{one}} & 13:35 & {\\scriptsize2018-01-01 02:22} & 49.95 \\\\ \n{\\slshape \\hspace{11.25pt}\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_2}}} & 2.2220 & {\\bfseries \\hspace{15pt}banana} & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{two}} & 14:40 & {\\scriptsize2018-02-02 14:33} & 17.95 \\\\ \n{\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_3}}} & 33.3300 & coconut & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{three}} & \\textsuperscript{\\textit{2}}{\\fontsize{15}{18.75}\\selectfont \\underline{\\textcolor[HTML]{FF0000}{15:45}}} & {\\scriptsize2018-03-03 03:44} & 1.39 \\\\ \n{\\slshape \\hspace{11.25pt}\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_4}}} & 444.4000 & {\\bfseries \\hspace{15pt}durian} & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{four}} & {\\fontsize{15}{18.75}\\selectfont \\underline{\\textcolor[HTML]{FF0000}{16:50}}} & {\\scriptsize2018-04-04 15:55} & 65100.00 \\\\ \n\\midrule \nTotal & {\\cellcolor[HTML]{00FF00}{480.06}} & — & — & — & — & {\\cellcolor[HTML]{00FF00}{65,169.29}} \\\\ \nAvg & 120.02 & — & — & — & — & 16,292.32 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{7}{l}{{\\bfseries \\cellcolor[HTML]{CCCCFF}{grp\\_b}}} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n{\\slshape \\hspace{11.25pt}\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_5}}} & 5550.0000 & {\\bfseries \\hspace{15pt}NA} & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{five}} & 17:55 & {\\scriptsize2018-05-05 04:00} & 1325.81 \\\\ \n\\midrule \n\\midrule \n{\\bfseries Grand Total} & {\\cellcolor[HTML]{AAAAAA}{6,030.06}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{66,495.10}} \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}{\\bfseries This is a footnote in the column labels.}\\\\\n\\textsuperscript{\\textit{2}}{\\bfseries This is a footnote. With a second line.}\\\\\n{\\itshape \\fontsize{6}{7.5}\\selectfont NOTES: A mtcars example.\\\\\n}\\end{minipage}\n\\endgroup\n" attr(,"class") @@ -104,7 +104,7 @@ # Table styles correctly applied for tabular* Code - . + gt_latex_styled Output [1] "\\begin{table}[!t]\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{tabular*}{\\linewidth}{@{\\extracolsep{\\fill}}l|rlcrrr}\n\\toprule\n & \\multicolumn{3}{c}{{\\itshape heading}} & & \\multicolumn{2}{c}{heading} \\\\ \n\\cmidrule(lr){2-4} \\cmidrule(lr){6-7}\n{$\\overline{\\mbox{stubhead}}$} & {NUM} & char & fctr\\textsuperscript{\\textit{1}} & time & {DATETIME} & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{7}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n{\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_1}}} & 0.1111 & apricot & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{one}} & 13:35 & {\\scriptsize2018-01-01 02:22} & 49.95 \\\\ \n{\\slshape \\hspace{11.25pt}\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_2}}} & 2.2220 & {\\bfseries \\hspace{15pt}banana} & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{two}} & 14:40 & {\\scriptsize2018-02-02 14:33} & 17.95 \\\\ \n{\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_3}}} & 33.3300 & coconut & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{three}} & \\textsuperscript{\\textit{2}}{\\fontsize{15}{18.75}\\selectfont \\underline{\\textcolor[HTML]{FF0000}{15:45}}} & {\\scriptsize2018-03-03 03:44} & 1.39 \\\\ \n{\\slshape \\hspace{11.25pt}\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_4}}} & 444.4000 & {\\bfseries \\hspace{15pt}durian} & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{four}} & {\\fontsize{15}{18.75}\\selectfont \\underline{\\textcolor[HTML]{FF0000}{16:50}}} & {\\scriptsize2018-04-04 15:55} & 65100.00 \\\\ \n\\midrule \nTotal & {\\cellcolor[HTML]{00FF00}{480.06}} & — & — & — & — & {\\cellcolor[HTML]{00FF00}{65,169.29}} \\\\ \nAvg & 120.02 & — & — & — & — & 16,292.32 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{7}{l}{{\\bfseries \\cellcolor[HTML]{CCCCFF}{grp\\_b}}} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n{\\slshape \\hspace{11.25pt}\\cellcolor[HTML]{AA0000}{\\textcolor[HTML]{FFFFFF}{\\hspace*{3.75pt} row\\_5}}} & 5550.0000 & {\\bfseries \\hspace{15pt}NA} & {\\fontsize{15}{18.75}\\selectfont \\textcolor[HTML]{0000FF}{five}} & 17:55 & {\\scriptsize2018-05-05 04:00} & 1325.81 \\\\ \n\\midrule \n\\midrule \n{\\bfseries Grand Total} & {\\cellcolor[HTML]{AAAAAA}{6,030.06}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{—}} & {\\cellcolor[HTML]{AAAAAA}{66,495.10}} \\\\ \n\\bottomrule\n\\end{tabular*}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}{\\bfseries This is a footnote in the column labels.}\\\\\n\\textsuperscript{\\textit{2}}{\\bfseries This is a footnote. With a second line.}\\\\\n{\\itshape \\fontsize{6}{7.5}\\selectfont NOTES: A mtcars example.\\\\\n}\\end{minipage}\n\\end{table}\n" attr(,"class") diff --git a/tests/testthat/_snaps/as_word.md b/tests/testthat/_snaps/as_word.md index 3b6c01b94..3b96339c9 100644 --- a/tests/testthat/_snaps/as_word.md +++ b/tests/testthat/_snaps/as_word.md @@ -1,63 +1,63 @@ # word ooxml can be generated from gt object Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n" --- Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n Table \n \n \n \n \n \n SEQ Table \\* ARABIC \n \n \n \n \n \n \n \n \n \n \n 1\n \n \n \n \n \n \n \n \n \n : \n \n \n \n \n \n \n \n TABLE TITLE\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n table subtitle\n \n\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n" --- Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n\n \n \n \n \n \n \n \n \n \n \n Table \n \n \n \n \n \n SEQ Table \\* ARABIC \n \n \n \n \n \n \n \n \n \n \n 1\n \n \n \n \n \n \n \n \n \n : \n \n \n \n \n \n \n \n TABLE TITLE\n \n\n \n \n \n \n \n \n \n \n \n \n \n table subtitle\n \n" --- Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n TABLE TITLE\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n table subtitle\n \n\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n" --- Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n Table \n \n \n \n \n \n SEQ Table \\* ARABIC \n \n \n \n \n \n \n \n \n \n \n 1\n \n \n \n \n \n \n \n \n \n : \n \n \n \n \n \n \n \n TABLE TITLE\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n table subtitle\n \n\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n" --- Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n Table \n \n \n \n \n \n SEQ Table \\* ARABIC \n \n \n \n \n \n \n \n \n \n \n 1\n \n \n \n \n \n \n \n \n \n : \n \n \n \n \n \n \n \n TABLE TITLE\n \n\n \n \n \n \n \n \n \n \n \n \n \n table subtitle\n \n\n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n grp_a\n \n" --- Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n My Row Group 2\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n coconut\n \n\n \n \n \n \n \n \n \n \n \n 33.3300\n \n\n \n \n \n \n \n \n \n \n \n three\n \n\n \n \n \n \n \n \n \n \n \n 2015-03-15\n \n\n \n \n \n \n \n \n \n \n \n 15:45\n \n\n \n \n \n \n \n \n \n \n \n 2018-03-03 03:44\n \n\n \n \n \n \n \n \n \n \n \n 1.39\n \n\n \n \n \n \n \n \n \n \n \n row_3\n \n\n \n \n \n \n \n \n \n \n \n grp_a\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n durian\n \n\n \n \n \n \n \n \n \n \n \n 444.4000\n \n\n \n \n \n \n \n \n \n \n \n four\n \n\n \n \n \n \n \n \n \n \n \n 2015-04-15\n \n\n \n \n \n \n \n \n \n \n \n 16:50\n \n\n \n \n \n \n \n \n \n \n \n 2018-04-04 15:55\n \n\n \n \n \n \n \n \n \n \n \n 65100.00\n \n\n \n \n \n \n \n \n \n \n \n row_4\n \n\n \n \n \n \n \n \n \n \n \n grp_a\n \n\n\n \n \n \n \n \n \n \n \n \n My Row Group 1\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n grp_a\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n banana\n \n\n \n \n \n \n \n \n \n \n \n 2.2220\n \n\n \n \n \n \n \n \n \n \n \n two\n \n\n \n \n \n \n \n \n \n \n \n 2015-02-15\n \n\n \n \n \n \n \n \n \n \n \n 14:40\n \n\n \n \n \n \n \n \n \n \n \n 2018-02-02 14:33\n \n\n \n \n \n \n \n \n \n \n \n 17.95\n \n\n \n \n \n \n \n \n \n \n \n row_2\n \n\n \n \n \n \n \n \n \n \n \n grp_a\n \n" # word ooxml escapes special characters in gt object Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n special_characters\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n\n \n \n \n \n \n \n \n \n \n \n ><& \"'\n \n" # word ooxml escapes special characters in gt object footer Code - . + as_word(gt_tbl, ...) Output [1] "\n \n \n \n \n \n \n \n \n \n \n num\n \n\n \n \n \n \n \n \n \n \n \n \n char\n \n\n \n \n \n \n \n \n \n \n \n \n fctr\n \n\n \n \n \n \n \n \n \n \n \n \n date\n \n\n \n \n \n \n \n \n \n \n \n \n time\n \n\n \n \n \n \n \n \n \n \n \n \n datetime\n \n\n \n \n \n \n \n \n \n \n \n \n currency\n \n\n \n \n \n \n \n \n \n \n \n \n row\n \n\n \n \n \n \n \n \n \n \n \n \n group\n \n\n \n \n \n \n \n \n \n \n \n \n 0.1111\n \n\n \n \n \n \n \n \n \n \n \n \n apricot\n \n\n \n \n \n \n \n \n \n \n \n \n one\n \n\n \n \n \n \n \n \n \n \n \n \n 2015-01-15\n \n\n \n \n \n \n \n \n \n \n \n \n 13:35\n \n\n \n \n \n \n \n \n \n \n \n \n 2018-01-01 02:22\n \n\n \n \n \n \n \n \n \n \n \n \n 49.95\n \n\n \n \n \n \n \n \n \n \n \n \n row_1\n \n\n \n \n \n \n \n \n \n \n \n \n grp_a\n \n\n \n \n \n \n \n \n \n \n \n p < .05, ><& \"'\n \n" diff --git a/tests/testthat/_snaps/cols_align_decimal.md b/tests/testthat/_snaps/cols_align_decimal.md index ef5d2360e..21ada7c38 100644 --- a/tests/testthat/_snaps/cols_align_decimal.md +++ b/tests/testthat/_snaps/cols_align_decimal.md @@ -1,84 +1,84 @@ # Decimal alignment works in the basic case Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2  
B  −33.52 
C9,023.2  
D −283.527
ENA
F    0.401
G −123.1  
HNA
I   41    
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2  
B  −33.52 
C9,023.2  
D −283.527
ENA
F    0.401
G −123.1  
HNA
I   41.   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2%  
B  −33.52% 
C9,023.2%  
D −283.527%
ENA
F    0.401%
G −123.1%  
HNA
I  41 %   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2%  
B  −33.52% 
C9,023.2%  
D −283.527%
ENA
F    0.401%
G −123.1%  
HNA
I   41.%   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2‰  
B  −33.52‰ 
C9,023.2‰  
D −283.527‰
ENA
F    0.401‰
G −123.1‰  
HNA
I  41 ‰   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2‰  
B  −33.52‰ 
C9,023.2‰  
D −283.527‰
ENA
F    0.401‰
G −123.1‰  
HNA
I   41.‰   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A     1.2 ppm  
B   −33.52 ppm 
C 9,023.2 ppm  
D  −283.527 ppm
ENA
F     0.401 ppm
G  −123.1 ppm  
HNA
I41 ppm   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2 ppm  
B  −33.52 ppm 
C9,023.2 ppm  
D −283.527 ppm
ENA
F    0.401 ppm
G −123.1 ppm  
HNA
I   41. ppm   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:22   49.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:33   17.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:44    1.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:00 1325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:11   13.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA    0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    abc1.2%def  
B  abc−33.52%def 
Cabc9,023.2%def  
D abc−283.527%def
ENA
F    abc0.401%def
G abc−123.1%def  
HNA
I   abc41.%def   
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    1.2   
B  (33.52)  
C9,023.2   
D (283.527) 
ENA
F    0.401 
G (123.1)   
HNA
I   41.    
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
charnum
A    $1 
B ($34)
C$9,023 
D($284)
ENA
F    $0 
G($123)
HNA
I   $41 
" diff --git a/tests/testthat/_snaps/cols_merge.md b/tests/testthat/_snaps/cols_merge.md index dcb5a15d6..42d222a7f 100644 --- a/tests/testthat/_snaps/cols_merge.md +++ b/tests/testthat/_snaps/cols_merge.md @@ -1,98 +1,98 @@ # cols_merge() works correctly Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
Part 1one
Part 2two
Part 3three
Part 4four
Part 5five
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
a
Part one1
Part two2
Part three3
Part four4
Part five5
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
Part ione
Part iitwo
Part iiithree
Part ivfour
Part vfive
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
mpgcyldisphpdratqsecvsamgearcarb
21.061601103.9016.460144
21.061601103.90 (2.875)17.020144
22.84108933.8518.611141
21.462581103.08 (3.215)19.441031
18.783601753.1517.020032
" # cols_merge_uncert() works with row groups Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
2.3 ± 0.06A
6.3 ± 0.07B
2.5 ± 0.08C
2.4 ± 0.09D
6.5 ± 0.10E
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
rowb
2.3A
6.3 ± 0.07B
2.5C
2.4 ± 0.09D
6.5E
" # cols_merge_uncert() works nicely with different error bounds Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
value
34.5+1.8
−2.1
29.2
36.3
31.6+NA
−1.8
28.5
30.9
NA
NA
Inf
30.0 ± 0.0
32.0+0.0
−0.1
34.0
NaN
" # cols_merge_range() produces the correct output Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
1–6one
2–7two
3–8three
4–9four
5–10five
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
a
1–one6
2–two7
3–three8
4–four9
5–five10
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
1–vione
2–viitwo
3–viiithree
4–ixfour
5–xfive
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
i–6one
ii–7two
iii–8three
iv–9four
v–10five
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
a
16
27–two
38
49–four
510
" # cols_merge_n_pct() works correctly Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n \n \n
b
1 (6.00%)A
2 (7.00%)B
3 (8.00%)C
4 (9.00%)D
5 (10.00%)E
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
a
1 (7.1%)
5
0
2 (14.3%)
NA
6
5
NA
0
NA
" diff --git a/tests/testthat/_snaps/cols_width.md b/tests/testthat/_snaps/cols_width.md index b74207514..897476643 100644 --- a/tests/testthat/_snaps/cols_width.md +++ b/tests/testthat/_snaps/cols_width.md @@ -1,7 +1,7 @@ # column widths are accurately reflected in Latex multicolumn statements Code - . + as_latex(gt_tbl) Output [1] "\\begin{table}[!t]\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{tabular*}{\\linewidth}{@{\\extracolsep{\\fill}}>{\\raggedright\\arraybackslash}p{\\dimexpr 57.00pt -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedleft\\arraybackslash}p{\\dimexpr 57.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 57.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 57.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 57.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 57.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}\n\\toprule\n & & \\multicolumn{2}{>{\\centering\\arraybackslash}m{\\dimexpr 114.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}{Another long spanner that needs to wrap even more than the other} & & \\\\ \n\\cmidrule(lr){3-4}\n & \\multicolumn{2}{>{\\centering\\arraybackslash}m{\\dimexpr 114.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}{Spanner with a long title that should be wrapped} & & \\multicolumn{2}{>{\\centering\\arraybackslash}m{\\dimexpr 114.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}{Spanner2} \\\\ \n\\cmidrule(lr){2-3} \\cmidrule(lr){5-6}\n & y & z & m & n & w \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{>{\\raggedright\\arraybackslash}m{342pt}}{Only row group label} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\na & 0.114 & 0.640 & 0.694 & 0.837 & 0.317 \\\\ \nb & 0.622 & 0.009 & 0.545 & 0.286 & 0.303 \\\\ \n\\midrule \nmean & 0.3680014 & 0.3249032 & 0.6192831 & 0.5617595 & 0.3096529 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{>{\\raggedright\\arraybackslash}m{342pt}}{\\rule{0pt}{0pt}} \\\\[-3.2ex] \n\\midrule\\addlinespace[2.5pt]\nc & 0.609 & 0.233 & 0.283 & 0.267 & 0.159 \\\\ \nd & 0.623 & 0.666 & 0.923 & 0.187 & 0.040 \\\\ \ne & 0.861 & 0.514 & 0.292 & 0.232 & 0.219 \\\\ \n\\bottomrule\n\\end{tabular*}\n\\end{table}\n" attr(,"class") diff --git a/tests/testthat/_snaps/fmt_auto.md b/tests/testthat/_snaps/fmt_auto.md index 9f4e812e1..98ac58009 100644 --- a/tests/testthat/_snaps/fmt_auto.md +++ b/tests/testthat/_snaps/fmt_auto.md @@ -1,70 +1,70 @@ # fmt_auto() works correctly Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
integeramt.usdsold_EURrealreal_small
100$23.23€3,465.2023.45 23.45 
8,000$632.32€8,743.300.23352.4  
4 × 106$236.34€367.021.000 × 10−6  0.013
3 × 108$12.00€23.742.332 × 106263.8  
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
integeramt.usdsold_EURrealreal_small
100$23.23€3,465.2023.45 23.45 
8,000$632.32€8,743.300.23352.4  
4.1M$236.34€367.021.000 × 10−6  0.013
345.4M$12.00€23.742.3M263.8  
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n
intint_likereal
101010.5
100100100.5
1,0001,0001,000.5
10,00010,00010,000.5
100,000100,000100,000.5
1 × 1061 × 1061.000 × 106
1 × 1071 × 1071.000 × 107
1 × 1081 × 1081.000 × 108
1 × 1091 × 1091.000 × 109
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n
intint_likereal
101010.5
100100100.5
1,0001,0001,000.5
10,00010,00010,000.5
100,000100,000100,000.5
1M1M1M
10M10M10M
100M100M100M
1B1B1B
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n \n \n
openhighlowclosevolumeadj_close
W02
2015-01-052,054.442,054.442,017.342,020.584 × 1092,020.58
2015-01-062,022.152,030.251,992.442,002.614 × 1092,002.61
2015-01-072,005.552,029.612,005.552,025.9 4 × 1092,025.9 
2015-01-082,030.612,064.082,030.612,062.144 × 1092,062.14
2015-01-092,063.452,064.432,038.332,044.813 × 1092,044.81
W03
2015-01-122,046.132,049.3 2,022.582,028.263 × 1092,028.26
2015-01-132,031.582,056.932,008.252,023.034 × 1092,023.03
2015-01-142,018.4 2,018.4 1,988.442,011.274 × 1092,011.27
2015-01-152,013.752,021.351,991.471,992.674 × 1091,992.67
2015-01-161,992.252,020.461,988.122,019.424 × 1092,019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n\n\n\n\n\n\n \n \n \n
openhighlowclosevolumeadj_close
W02
2015-01-052,054.442,054.442,017.342,020.583.8B2,020.58
2015-01-062,022.152,030.251,992.442,002.614.5B2,002.61
2015-01-072,005.552,029.612,005.552,025.9 3.8B2,025.9 
2015-01-082,030.612,064.082,030.612,062.143.9B2,062.14
2015-01-092,063.452,064.432,038.332,044.813.4B2,044.81
W03
2015-01-122,046.132,049.3 2,022.582,028.263.5B2,028.26
2015-01-132,031.582,056.932,008.252,023.034.1B2,023.03
2015-01-142,018.4 2,018.4 1,988.442,011.274.4B2,011.27
2015-01-152,013.752,021.351,991.471,992.674.3B1,992.67
2015-01-161,992.252,020.461,988.122,019.424.1B2,019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
num
10
100
1,000
10,000
100,000
1.000 × 106
1.000 × 107
1.000 × 108
1.000 × 109
1.000 × 1010
1.000 × 1011
1.000 × 1012
1.000 × 1013
1.000 × 1014
1.000 × 1015
1.000 × 1016
1.000 × 1017
1.000 × 1018
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
num
10
100
1,000
10,000
100,000
1M
10M
100M
1B
10B
100B
1T
10T
100T
1.000 × 1015
1.000 × 1016
1.000 × 1017
1.000 × 1018
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
integeramt.usdsold_EURrealreal_small
100$23.233465.202.345000e+0123.450
8,000$632.328743.302.300000e-01352.400
4 × 106$236.34367.021.000000e-060.013
3 × 108$12.0023.742.332453e+06263.800
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
num
1e+01
100
1e+03
10,000
1e+05
1M
1e+07
100M
1e+09
1e+10
1e+11
1e+12
1e+13
1e+14
1e+15
1e+16
1e+17
1e+18
" diff --git a/tests/testthat/_snaps/fmt_fraction.md b/tests/testthat/_snaps/fmt_fraction.md index d681ff032..b86c2b7b9 100644 --- a/tests/testthat/_snaps/fmt_fraction.md +++ b/tests/testthat/_snaps/fmt_fraction.md @@ -1,49 +1,49 @@ # fmt_fraction() produces reproducible results for HTML output Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
lowmedhighhalvesquarterseighthssixteenthshundredths
0 to 1
0.000100000000
0.001000199900000
0.01000199110000001100
0.100019110110001821610100
0.250014141412142841625100
0.400025252512243861640100
0.500012121212244881650100
0.6000353535122458101660100
0.750034343413468121675100
0.9000899109101178141690100
0.99001989999100111199100
0.99901199899911111
0.999911111111
0 to -1
-0.000100000000
-0.001000199900000
-0.01000199110000001100
-0.100019110110001821610100
-0.250014141412142841625100
-0.400025252512243861640100
-0.500012121212244881650100
-0.6000353535122458101660100
-0.7500343434−13468121675100
-0.900089910910−1−178141690100
-0.9900−1989999100−1−1−1−199100
-0.9990−1−1998999−1−1−1−1−1
-0.9999−1−1−1−1−1−1−1−1
1 to 2
1.000111111111
1.0010111 199911111
1.010011 1991 110011111 1100
1.10001 191 1101 110111 181 2161 10100
1.25001 141 141 141 121 141 281 4161 25100
1.40001 251 251 251 121 241 381 6161 40100
1.50001 121 121 121 121 241 481 8161 50100
1.60001 351 351 351 121 241 581 10161 60100
1.75001 341 341 3421 341 681 12161 75100
1.90001 891 9101 910221 781 14161 90100
1.990021 98991 9910022221 99100
1.9990221 99899922222
1.999922222222
-1 to -2
-1.0001−1−1−1−1−1−1−1−1
-1.0010−1−1−1 1999−1−1−1−1−1
-1.0100−1−1 199−1 1100−1−1−1−1−1 1100
-1.1000−1 19−1 110−1 110−1−1−1 18−1 216−1 10100
-1.2500−1 14−1 14−1 14−1 12−1 14−1 28−1 416−1 25100
-1.4000−1 25−1 25−1 25−1 12−1 24−1 38−1 616−1 40100
-1.5000−1 12−1 12−1 12−1 12−1 24−1 48−1 816−1 50100
-1.6000−1 35−1 35−1 35−1 12−1 24−1 58−1 1016−1 60100
-1.7500−1 34−1 34−1 34−2−1 34−1 68−1 1216−1 75100
-1.9000−1 89−1 910−1 910−2−2−1 78−1 1416−1 90100
-1.9900−2−1 9899−1 99100−2−2−2−2−1 99100
-1.9990−2−2−1 998999−2−2−2−2−2
-1.9999−2−2−2−2−2−2−2−2
Exact Numbers
-1.0000−1−1−1−1−1−1−1−1
0.000000000000
1.000011111111
Not Numbers
NANANANANANANANANA
NaNNaNNaNNaNNaNNaNNaNNaNNaN
InfInfInfInfInfInfInfInfInf
-Inf-Inf-Inf-Inf-Inf-Inf-Inf-Inf-Inf
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
lowmedhighhalvesquarterseighthssixteenthshundredths
0 to 1
0.000100000000
0.0010001/99900000
0.010001/991/10000001/100
0.10001/91/101/10001/82/1610/100
0.25001/41/41/41/21/42/84/1625/100
0.40002/52/52/51/22/43/86/1640/100
0.50001/21/21/21/22/44/88/1650/100
0.60003/53/53/51/22/45/810/1660/100
0.75003/43/43/413/46/812/1675/100
0.90008/99/109/10117/814/1690/100
0.9900198/9999/100111199/100
0.999011998/99911111
0.999911111111
0 to -1
-0.000100000000
-0.001000−1/99900000
-0.01000−1/99−1/1000000−1/100
-0.1000−1/9−1/10−1/1000−1/8−2/16−10/100
-0.2500−1/4−1/4−1/4−1/2−1/4−2/8−4/16−25/100
-0.4000−2/5−2/5−2/5−1/2−2/4−3/8−6/16−40/100
-0.5000−1/2−1/2−1/2−1/2−2/4−4/8−8/16−50/100
-0.6000−3/5−3/5−3/5−1/2−2/4−5/8−10/16−60/100
-0.7500−3/4−3/4−3/4−1−3/4−6/8−12/16−75/100
-0.9000−8/9−9/10−9/10−1−1−7/8−14/16−90/100
-0.9900−1−98/99−99/100−1−1−1−1−99/100
-0.9990−1−1−998/999−1−1−1−1−1
-0.9999−1−1−1−1−1−1−1−1
1 to 2
1.000111111111
1.0010111 1/99911111
1.010011 1/991 1/10011111 1/100
1.10001 1/91 1/101 1/10111 1/81 2/161 10/100
1.25001 1/41 1/41 1/41 1/21 1/41 2/81 4/161 25/100
1.40001 2/51 2/51 2/51 1/21 2/41 3/81 6/161 40/100
1.50001 1/21 1/21 1/21 1/21 2/41 4/81 8/161 50/100
1.60001 3/51 3/51 3/51 1/21 2/41 5/81 10/161 60/100
1.75001 3/41 3/41 3/421 3/41 6/81 12/161 75/100
1.90001 8/91 9/101 9/10221 7/81 14/161 90/100
1.990021 98/991 99/10022221 99/100
1.9990221 998/99922222
1.999922222222
-1 to -2
-1.0001−1−1−1−1−1−1−1−1
-1.0010−1−1−1 1/999−1−1−1−1−1
-1.0100−1−1 1/99−1 1/100−1−1−1−1−1 1/100
-1.1000−1 1/9−1 1/10−1 1/10−1−1−1 1/8−1 2/16−1 10/100
-1.2500−1 1/4−1 1/4−1 1/4−1 1/2−1 1/4−1 2/8−1 4/16−1 25/100
-1.4000−1 2/5−1 2/5−1 2/5−1 1/2−1 2/4−1 3/8−1 6/16−1 40/100
-1.5000−1 1/2−1 1/2−1 1/2−1 1/2−1 2/4−1 4/8−1 8/16−1 50/100
-1.6000−1 3/5−1 3/5−1 3/5−1 1/2−1 2/4−1 5/8−1 10/16−1 60/100
-1.7500−1 3/4−1 3/4−1 3/4−2−1 3/4−1 6/8−1 12/16−1 75/100
-1.9000−1 8/9−1 9/10−1 9/10−2−2−1 7/8−1 14/16−1 90/100
-1.9900−2−1 98/99−1 99/100−2−2−2−2−1 99/100
-1.9990−2−2−1 998/999−2−2−2−2−2
-1.9999−2−2−2−2−2−2−2−2
Exact Numbers
-1.0000−1−1−1−1−1−1−1−1
0.000000000000
1.000011111111
Not Numbers
NANANANANANANANANA
NaNNaNNaNNaNNaNNaNNaNNaNNaN
InfInfInfInfInfInfInfInfInf
-Inf-Inf-Inf-Inf-Inf-Inf-Inf-Inf-Inf
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
lowmedhighhalvesquarterseighthssixteenthshundredths
0 to 1
0.000100000000
0.0010001/99900000
0.010001/991/10000001/100
0.10001/91/101/10001/81/81/10
0.25001/41/41/41/21/41/41/41/4
0.40002/52/52/51/21/23/83/82/5
0.50001/21/21/21/21/21/21/21/2
0.60003/53/53/51/21/25/85/83/5
0.75003/43/43/413/43/43/43/4
0.90008/99/109/10117/87/89/10
0.9900198/9999/100111199/100
0.999011998/99911111
0.999911111111
0 to -1
-0.000100000000
-0.001000−1/99900000
-0.01000−1/99−1/1000000−1/100
-0.1000−1/9−1/10−1/1000−1/8−1/8−1/10
-0.2500−1/4−1/4−1/4−1/2−1/4−1/4−1/4−1/4
-0.4000−2/5−2/5−2/5−1/2−1/2−3/8−3/8−2/5
-0.5000−1/2−1/2−1/2−1/2−1/2−1/2−1/2−1/2
-0.6000−3/5−3/5−3/5−1/2−1/2−5/8−5/8−3/5
-0.7500−3/4−3/4−3/4−1−3/4−3/4−3/4−3/4
-0.9000−8/9−9/10−9/10−1−1−7/8−7/8−9/10
-0.9900−1−98/99−99/100−1−1−1−1−99/100
-0.9990−1−1−998/999−1−1−1−1−1
-0.9999−1−1−1−1−1−1−1−1
1 to 2
1.000111111111
1.0010111 1/99911111
1.010011 1/991 1/10011111 1/100
1.10001 1/91 1/101 1/10111 1/81 1/81 1/10
1.25001 1/41 1/41 1/41 1/21 1/41 1/41 1/41 1/4
1.40001 2/51 2/51 2/51 1/21 1/21 3/81 3/81 2/5
1.50001 1/21 1/21 1/21 1/21 1/21 1/21 1/21 1/2
1.60001 3/51 3/51 3/51 1/21 1/21 5/81 5/81 3/5
1.75001 3/41 3/41 3/421 3/41 3/41 3/41 3/4
1.90001 8/91 9/101 9/10221 7/81 7/81 9/10
1.990021 98/991 99/10022221 99/100
1.9990221 998/99922222
1.999922222222
-1 to -2
-1.0001−1−1−1−1−1−1−1−1
-1.0010−1−1−1 1/999−1−1−1−1−1
-1.0100−1−1 1/99−1 1/100−1−1−1−1−1 1/100
-1.1000−1 1/9−1 1/10−1 1/10−1−1−1 1/8−1 1/8−1 1/10
-1.2500−1 1/4−1 1/4−1 1/4−1 1/2−1 1/4−1 1/4−1 1/4−1 1/4
-1.4000−1 2/5−1 2/5−1 2/5−1 1/2−1 1/2−1 3/8−1 3/8−1 2/5
-1.5000−1 1/2−1 1/2−1 1/2−1 1/2−1 1/2−1 1/2−1 1/2−1 1/2
-1.6000−1 3/5−1 3/5−1 3/5−1 1/2−1 1/2−1 5/8−1 5/8−1 3/5
-1.7500−1 3/4−1 3/4−1 3/4−2−1 3/4−1 3/4−1 3/4−1 3/4
-1.9000−1 8/9−1 9/10−1 9/10−2−2−1 7/8−1 7/8−1 9/10
-1.9900−2−1 98/99−1 99/100−2−2−2−2−1 99/100
-1.9990−2−2−1 998/999−2−2−2−2−2
-1.9999−2−2−2−2−2−2−2−2
Exact Numbers
-1.0000−1−1−1−1−1−1−1−1
0.000000000000
1.000011111111
Not Numbers
NANANANANANANANANA
NaNNaNNaNNaNNaNNaNNaNNaNNaN
InfInfInfInfInfInfInfInfInf
-Inf-Inf-Inf-Inf-Inf-Inf-Inf-Inf-Inf
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{>{\\raggedright\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}\n\\toprule\n & low & med & high & halves & quarters & eighths & sixteenths & hundredths \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{0 to 1} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n0.0001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n0.0010 & 0 & 0 & \\textsuperscript{1}\\!/\\textsubscript{999} & 0 & 0 & 0 & 0 & 0 \\\\ \n0.0100 & 0 & \\textsuperscript{1}\\!/\\textsubscript{99} & \\textsuperscript{1}\\!/\\textsubscript{100} & 0 & 0 & 0 & 0 & \\textsuperscript{1}\\!/\\textsubscript{100} \\\\ \n0.1000 & \\textsuperscript{1}\\!/\\textsubscript{9} & \\textsuperscript{1}\\!/\\textsubscript{10} & \\textsuperscript{1}\\!/\\textsubscript{10} & 0 & 0 & \\textsuperscript{1}\\!/\\textsubscript{8} & \\textsuperscript{2}\\!/\\textsubscript{16} & \\textsuperscript{10}\\!/\\textsubscript{100} \\\\ \n0.2500 & \\textsuperscript{1}\\!/\\textsubscript{4} & \\textsuperscript{1}\\!/\\textsubscript{4} & \\textsuperscript{1}\\!/\\textsubscript{4} & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{1}\\!/\\textsubscript{4} & \\textsuperscript{2}\\!/\\textsubscript{8} & \\textsuperscript{4}\\!/\\textsubscript{16} & \\textsuperscript{25}\\!/\\textsubscript{100} \\\\ \n0.4000 & \\textsuperscript{2}\\!/\\textsubscript{5} & \\textsuperscript{2}\\!/\\textsubscript{5} & \\textsuperscript{2}\\!/\\textsubscript{5} & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{2}\\!/\\textsubscript{4} & \\textsuperscript{3}\\!/\\textsubscript{8} & \\textsuperscript{6}\\!/\\textsubscript{16} & \\textsuperscript{40}\\!/\\textsubscript{100} \\\\ \n0.5000 & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{2}\\!/\\textsubscript{4} & \\textsuperscript{4}\\!/\\textsubscript{8} & \\textsuperscript{8}\\!/\\textsubscript{16} & \\textsuperscript{50}\\!/\\textsubscript{100} \\\\ \n0.6000 & \\textsuperscript{3}\\!/\\textsubscript{5} & \\textsuperscript{3}\\!/\\textsubscript{5} & \\textsuperscript{3}\\!/\\textsubscript{5} & \\textsuperscript{1}\\!/\\textsubscript{2} & \\textsuperscript{2}\\!/\\textsubscript{4} & \\textsuperscript{5}\\!/\\textsubscript{8} & \\textsuperscript{10}\\!/\\textsubscript{16} & \\textsuperscript{60}\\!/\\textsubscript{100} \\\\ \n0.7500 & \\textsuperscript{3}\\!/\\textsubscript{4} & \\textsuperscript{3}\\!/\\textsubscript{4} & \\textsuperscript{3}\\!/\\textsubscript{4} & 1 & \\textsuperscript{3}\\!/\\textsubscript{4} & \\textsuperscript{6}\\!/\\textsubscript{8} & \\textsuperscript{12}\\!/\\textsubscript{16} & \\textsuperscript{75}\\!/\\textsubscript{100} \\\\ \n0.9000 & \\textsuperscript{8}\\!/\\textsubscript{9} & \\textsuperscript{9}\\!/\\textsubscript{10} & \\textsuperscript{9}\\!/\\textsubscript{10} & 1 & 1 & \\textsuperscript{7}\\!/\\textsubscript{8} & \\textsuperscript{14}\\!/\\textsubscript{16} & \\textsuperscript{90}\\!/\\textsubscript{100} \\\\ \n0.9900 & 1 & \\textsuperscript{98}\\!/\\textsubscript{99} & \\textsuperscript{99}\\!/\\textsubscript{100} & 1 & 1 & 1 & 1 & \\textsuperscript{99}\\!/\\textsubscript{100} \\\\ \n0.9990 & 1 & 1 & \\textsuperscript{998}\\!/\\textsubscript{999} & 1 & 1 & 1 & 1 & 1 \\\\ \n0.9999 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{0 to -1} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-0.0001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n-0.0010 & 0 & 0 & -\\textsuperscript{1}\\!/\\textsubscript{999} & 0 & 0 & 0 & 0 & 0 \\\\ \n-0.0100 & 0 & -\\textsuperscript{1}\\!/\\textsubscript{99} & -\\textsuperscript{1}\\!/\\textsubscript{100} & 0 & 0 & 0 & 0 & -\\textsuperscript{1}\\!/\\textsubscript{100} \\\\ \n-0.1000 & -\\textsuperscript{1}\\!/\\textsubscript{9} & -\\textsuperscript{1}\\!/\\textsubscript{10} & -\\textsuperscript{1}\\!/\\textsubscript{10} & 0 & 0 & -\\textsuperscript{1}\\!/\\textsubscript{8} & -\\textsuperscript{2}\\!/\\textsubscript{16} & -\\textsuperscript{10}\\!/\\textsubscript{100} \\\\ \n-0.2500 & -\\textsuperscript{1}\\!/\\textsubscript{4} & -\\textsuperscript{1}\\!/\\textsubscript{4} & -\\textsuperscript{1}\\!/\\textsubscript{4} & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{1}\\!/\\textsubscript{4} & -\\textsuperscript{2}\\!/\\textsubscript{8} & -\\textsuperscript{4}\\!/\\textsubscript{16} & -\\textsuperscript{25}\\!/\\textsubscript{100} \\\\ \n-0.4000 & -\\textsuperscript{2}\\!/\\textsubscript{5} & -\\textsuperscript{2}\\!/\\textsubscript{5} & -\\textsuperscript{2}\\!/\\textsubscript{5} & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{2}\\!/\\textsubscript{4} & -\\textsuperscript{3}\\!/\\textsubscript{8} & -\\textsuperscript{6}\\!/\\textsubscript{16} & -\\textsuperscript{40}\\!/\\textsubscript{100} \\\\ \n-0.5000 & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{2}\\!/\\textsubscript{4} & -\\textsuperscript{4}\\!/\\textsubscript{8} & -\\textsuperscript{8}\\!/\\textsubscript{16} & -\\textsuperscript{50}\\!/\\textsubscript{100} \\\\ \n-0.6000 & -\\textsuperscript{3}\\!/\\textsubscript{5} & -\\textsuperscript{3}\\!/\\textsubscript{5} & -\\textsuperscript{3}\\!/\\textsubscript{5} & -\\textsuperscript{1}\\!/\\textsubscript{2} & -\\textsuperscript{2}\\!/\\textsubscript{4} & -\\textsuperscript{5}\\!/\\textsubscript{8} & -\\textsuperscript{10}\\!/\\textsubscript{16} & -\\textsuperscript{60}\\!/\\textsubscript{100} \\\\ \n-0.7500 & -\\textsuperscript{3}\\!/\\textsubscript{4} & -\\textsuperscript{3}\\!/\\textsubscript{4} & -\\textsuperscript{3}\\!/\\textsubscript{4} & -1 & -\\textsuperscript{3}\\!/\\textsubscript{4} & -\\textsuperscript{6}\\!/\\textsubscript{8} & -\\textsuperscript{12}\\!/\\textsubscript{16} & -\\textsuperscript{75}\\!/\\textsubscript{100} \\\\ \n-0.9000 & -\\textsuperscript{8}\\!/\\textsubscript{9} & -\\textsuperscript{9}\\!/\\textsubscript{10} & -\\textsuperscript{9}\\!/\\textsubscript{10} & -1 & -1 & -\\textsuperscript{7}\\!/\\textsubscript{8} & -\\textsuperscript{14}\\!/\\textsubscript{16} & -\\textsuperscript{90}\\!/\\textsubscript{100} \\\\ \n-0.9900 & -1 & -\\textsuperscript{98}\\!/\\textsubscript{99} & -\\textsuperscript{99}\\!/\\textsubscript{100} & -1 & -1 & -1 & -1 & -\\textsuperscript{99}\\!/\\textsubscript{100} \\\\ \n-0.9990 & -1 & -1 & -\\textsuperscript{998}\\!/\\textsubscript{999} & -1 & -1 & -1 & -1 & -1 \\\\ \n-0.9999 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{1 to 2} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n1.0001 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n1.0010 & 1 & 1 & 1\\textsuperscript{1}\\!/\\textsubscript{999} & 1 & 1 & 1 & 1 & 1 \\\\ \n1.0100 & 1 & 1\\textsuperscript{1}\\!/\\textsubscript{99} & 1\\textsuperscript{1}\\!/\\textsubscript{100} & 1 & 1 & 1 & 1 & 1\\textsuperscript{1}\\!/\\textsubscript{100} \\\\ \n1.1000 & 1\\textsuperscript{1}\\!/\\textsubscript{9} & 1\\textsuperscript{1}\\!/\\textsubscript{10} & 1\\textsuperscript{1}\\!/\\textsubscript{10} & 1 & 1 & 1\\textsuperscript{1}\\!/\\textsubscript{8} & 1\\textsuperscript{2}\\!/\\textsubscript{16} & 1\\textsuperscript{10}\\!/\\textsubscript{100} \\\\ \n1.2500 & 1\\textsuperscript{1}\\!/\\textsubscript{4} & 1\\textsuperscript{1}\\!/\\textsubscript{4} & 1\\textsuperscript{1}\\!/\\textsubscript{4} & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{1}\\!/\\textsubscript{4} & 1\\textsuperscript{2}\\!/\\textsubscript{8} & 1\\textsuperscript{4}\\!/\\textsubscript{16} & 1\\textsuperscript{25}\\!/\\textsubscript{100} \\\\ \n1.4000 & 1\\textsuperscript{2}\\!/\\textsubscript{5} & 1\\textsuperscript{2}\\!/\\textsubscript{5} & 1\\textsuperscript{2}\\!/\\textsubscript{5} & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{2}\\!/\\textsubscript{4} & 1\\textsuperscript{3}\\!/\\textsubscript{8} & 1\\textsuperscript{6}\\!/\\textsubscript{16} & 1\\textsuperscript{40}\\!/\\textsubscript{100} \\\\ \n1.5000 & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{2}\\!/\\textsubscript{4} & 1\\textsuperscript{4}\\!/\\textsubscript{8} & 1\\textsuperscript{8}\\!/\\textsubscript{16} & 1\\textsuperscript{50}\\!/\\textsubscript{100} \\\\ \n1.6000 & 1\\textsuperscript{3}\\!/\\textsubscript{5} & 1\\textsuperscript{3}\\!/\\textsubscript{5} & 1\\textsuperscript{3}\\!/\\textsubscript{5} & 1\\textsuperscript{1}\\!/\\textsubscript{2} & 1\\textsuperscript{2}\\!/\\textsubscript{4} & 1\\textsuperscript{5}\\!/\\textsubscript{8} & 1\\textsuperscript{10}\\!/\\textsubscript{16} & 1\\textsuperscript{60}\\!/\\textsubscript{100} \\\\ \n1.7500 & 1\\textsuperscript{3}\\!/\\textsubscript{4} & 1\\textsuperscript{3}\\!/\\textsubscript{4} & 1\\textsuperscript{3}\\!/\\textsubscript{4} & 2 & 1\\textsuperscript{3}\\!/\\textsubscript{4} & 1\\textsuperscript{6}\\!/\\textsubscript{8} & 1\\textsuperscript{12}\\!/\\textsubscript{16} & 1\\textsuperscript{75}\\!/\\textsubscript{100} \\\\ \n1.9000 & 1\\textsuperscript{8}\\!/\\textsubscript{9} & 1\\textsuperscript{9}\\!/\\textsubscript{10} & 1\\textsuperscript{9}\\!/\\textsubscript{10} & 2 & 2 & 1\\textsuperscript{7}\\!/\\textsubscript{8} & 1\\textsuperscript{14}\\!/\\textsubscript{16} & 1\\textsuperscript{90}\\!/\\textsubscript{100} \\\\ \n1.9900 & 2 & 1\\textsuperscript{98}\\!/\\textsubscript{99} & 1\\textsuperscript{99}\\!/\\textsubscript{100} & 2 & 2 & 2 & 2 & 1\\textsuperscript{99}\\!/\\textsubscript{100} \\\\ \n1.9990 & 2 & 2 & 1\\textsuperscript{998}\\!/\\textsubscript{999} & 2 & 2 & 2 & 2 & 2 \\\\ \n1.9999 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{-1 to -2} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-1.0001 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n-1.0010 & -1 & -1 & -1\\textsuperscript{1}\\!/\\textsubscript{999} & -1 & -1 & -1 & -1 & -1 \\\\ \n-1.0100 & -1 & -1\\textsuperscript{1}\\!/\\textsubscript{99} & -1\\textsuperscript{1}\\!/\\textsubscript{100} & -1 & -1 & -1 & -1 & -1\\textsuperscript{1}\\!/\\textsubscript{100} \\\\ \n-1.1000 & -1\\textsuperscript{1}\\!/\\textsubscript{9} & -1\\textsuperscript{1}\\!/\\textsubscript{10} & -1\\textsuperscript{1}\\!/\\textsubscript{10} & -1 & -1 & -1\\textsuperscript{1}\\!/\\textsubscript{8} & -1\\textsuperscript{2}\\!/\\textsubscript{16} & -1\\textsuperscript{10}\\!/\\textsubscript{100} \\\\ \n-1.2500 & -1\\textsuperscript{1}\\!/\\textsubscript{4} & -1\\textsuperscript{1}\\!/\\textsubscript{4} & -1\\textsuperscript{1}\\!/\\textsubscript{4} & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{1}\\!/\\textsubscript{4} & -1\\textsuperscript{2}\\!/\\textsubscript{8} & -1\\textsuperscript{4}\\!/\\textsubscript{16} & -1\\textsuperscript{25}\\!/\\textsubscript{100} \\\\ \n-1.4000 & -1\\textsuperscript{2}\\!/\\textsubscript{5} & -1\\textsuperscript{2}\\!/\\textsubscript{5} & -1\\textsuperscript{2}\\!/\\textsubscript{5} & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{2}\\!/\\textsubscript{4} & -1\\textsuperscript{3}\\!/\\textsubscript{8} & -1\\textsuperscript{6}\\!/\\textsubscript{16} & -1\\textsuperscript{40}\\!/\\textsubscript{100} \\\\ \n-1.5000 & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{2}\\!/\\textsubscript{4} & -1\\textsuperscript{4}\\!/\\textsubscript{8} & -1\\textsuperscript{8}\\!/\\textsubscript{16} & -1\\textsuperscript{50}\\!/\\textsubscript{100} \\\\ \n-1.6000 & -1\\textsuperscript{3}\\!/\\textsubscript{5} & -1\\textsuperscript{3}\\!/\\textsubscript{5} & -1\\textsuperscript{3}\\!/\\textsubscript{5} & -1\\textsuperscript{1}\\!/\\textsubscript{2} & -1\\textsuperscript{2}\\!/\\textsubscript{4} & -1\\textsuperscript{5}\\!/\\textsubscript{8} & -1\\textsuperscript{10}\\!/\\textsubscript{16} & -1\\textsuperscript{60}\\!/\\textsubscript{100} \\\\ \n-1.7500 & -1\\textsuperscript{3}\\!/\\textsubscript{4} & -1\\textsuperscript{3}\\!/\\textsubscript{4} & -1\\textsuperscript{3}\\!/\\textsubscript{4} & -2 & -1\\textsuperscript{3}\\!/\\textsubscript{4} & -1\\textsuperscript{6}\\!/\\textsubscript{8} & -1\\textsuperscript{12}\\!/\\textsubscript{16} & -1\\textsuperscript{75}\\!/\\textsubscript{100} \\\\ \n-1.9000 & -1\\textsuperscript{8}\\!/\\textsubscript{9} & -1\\textsuperscript{9}\\!/\\textsubscript{10} & -1\\textsuperscript{9}\\!/\\textsubscript{10} & -2 & -2 & -1\\textsuperscript{7}\\!/\\textsubscript{8} & -1\\textsuperscript{14}\\!/\\textsubscript{16} & -1\\textsuperscript{90}\\!/\\textsubscript{100} \\\\ \n-1.9900 & -2 & -1\\textsuperscript{98}\\!/\\textsubscript{99} & -1\\textsuperscript{99}\\!/\\textsubscript{100} & -2 & -2 & -2 & -2 & -1\\textsuperscript{99}\\!/\\textsubscript{100} \\\\ \n-1.9990 & -2 & -2 & -1\\textsuperscript{998}\\!/\\textsubscript{999} & -2 & -2 & -2 & -2 & -2 \\\\ \n-1.9999 & -2 & -2 & -2 & -2 & -2 & -2 & -2 & -2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{Exact Numbers} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-1.0000 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n0.0000 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n1.0000 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{Not Numbers} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nNA & NA & NA & NA & NA & NA & NA & NA & NA \\\\ \nNaN & NaN & NaN & NaN & NaN & NaN & NaN & NaN & NaN \\\\ \nInf & Inf & Inf & Inf & Inf & Inf & Inf & Inf & Inf \\\\ \n-Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{>{\\raggedright\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}\n\\toprule\n & low & med & high & halves & quarters & eighths & sixteenths & hundredths \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{0 to 1} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n0.0001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n0.0010 & 0 & 0 & 1/999 & 0 & 0 & 0 & 0 & 0 \\\\ \n0.0100 & 0 & 1/99 & 1/100 & 0 & 0 & 0 & 0 & 1/100 \\\\ \n0.1000 & 1/9 & 1/10 & 1/10 & 0 & 0 & 1/8 & 2/16 & 10/100 \\\\ \n0.2500 & 1/4 & 1/4 & 1/4 & 1/2 & 1/4 & 2/8 & 4/16 & 25/100 \\\\ \n0.4000 & 2/5 & 2/5 & 2/5 & 1/2 & 2/4 & 3/8 & 6/16 & 40/100 \\\\ \n0.5000 & 1/2 & 1/2 & 1/2 & 1/2 & 2/4 & 4/8 & 8/16 & 50/100 \\\\ \n0.6000 & 3/5 & 3/5 & 3/5 & 1/2 & 2/4 & 5/8 & 10/16 & 60/100 \\\\ \n0.7500 & 3/4 & 3/4 & 3/4 & 1 & 3/4 & 6/8 & 12/16 & 75/100 \\\\ \n0.9000 & 8/9 & 9/10 & 9/10 & 1 & 1 & 7/8 & 14/16 & 90/100 \\\\ \n0.9900 & 1 & 98/99 & 99/100 & 1 & 1 & 1 & 1 & 99/100 \\\\ \n0.9990 & 1 & 1 & 998/999 & 1 & 1 & 1 & 1 & 1 \\\\ \n0.9999 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{0 to -1} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-0.0001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n-0.0010 & 0 & 0 & -1/999 & 0 & 0 & 0 & 0 & 0 \\\\ \n-0.0100 & 0 & -1/99 & -1/100 & 0 & 0 & 0 & 0 & -1/100 \\\\ \n-0.1000 & -1/9 & -1/10 & -1/10 & 0 & 0 & -1/8 & -2/16 & -10/100 \\\\ \n-0.2500 & -1/4 & -1/4 & -1/4 & -1/2 & -1/4 & -2/8 & -4/16 & -25/100 \\\\ \n-0.4000 & -2/5 & -2/5 & -2/5 & -1/2 & -2/4 & -3/8 & -6/16 & -40/100 \\\\ \n-0.5000 & -1/2 & -1/2 & -1/2 & -1/2 & -2/4 & -4/8 & -8/16 & -50/100 \\\\ \n-0.6000 & -3/5 & -3/5 & -3/5 & -1/2 & -2/4 & -5/8 & -10/16 & -60/100 \\\\ \n-0.7500 & -3/4 & -3/4 & -3/4 & -1 & -3/4 & -6/8 & -12/16 & -75/100 \\\\ \n-0.9000 & -8/9 & -9/10 & -9/10 & -1 & -1 & -7/8 & -14/16 & -90/100 \\\\ \n-0.9900 & -1 & -98/99 & -99/100 & -1 & -1 & -1 & -1 & -99/100 \\\\ \n-0.9990 & -1 & -1 & -998/999 & -1 & -1 & -1 & -1 & -1 \\\\ \n-0.9999 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{1 to 2} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n1.0001 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n1.0010 & 1 & 1 & 1\\ 1/999 & 1 & 1 & 1 & 1 & 1 \\\\ \n1.0100 & 1 & 1\\ 1/99 & 1\\ 1/100 & 1 & 1 & 1 & 1 & 1\\ 1/100 \\\\ \n1.1000 & 1\\ 1/9 & 1\\ 1/10 & 1\\ 1/10 & 1 & 1 & 1\\ 1/8 & 1\\ 2/16 & 1\\ 10/100 \\\\ \n1.2500 & 1\\ 1/4 & 1\\ 1/4 & 1\\ 1/4 & 1\\ 1/2 & 1\\ 1/4 & 1\\ 2/8 & 1\\ 4/16 & 1\\ 25/100 \\\\ \n1.4000 & 1\\ 2/5 & 1\\ 2/5 & 1\\ 2/5 & 1\\ 1/2 & 1\\ 2/4 & 1\\ 3/8 & 1\\ 6/16 & 1\\ 40/100 \\\\ \n1.5000 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 2/4 & 1\\ 4/8 & 1\\ 8/16 & 1\\ 50/100 \\\\ \n1.6000 & 1\\ 3/5 & 1\\ 3/5 & 1\\ 3/5 & 1\\ 1/2 & 1\\ 2/4 & 1\\ 5/8 & 1\\ 10/16 & 1\\ 60/100 \\\\ \n1.7500 & 1\\ 3/4 & 1\\ 3/4 & 1\\ 3/4 & 2 & 1\\ 3/4 & 1\\ 6/8 & 1\\ 12/16 & 1\\ 75/100 \\\\ \n1.9000 & 1\\ 8/9 & 1\\ 9/10 & 1\\ 9/10 & 2 & 2 & 1\\ 7/8 & 1\\ 14/16 & 1\\ 90/100 \\\\ \n1.9900 & 2 & 1\\ 98/99 & 1\\ 99/100 & 2 & 2 & 2 & 2 & 1\\ 99/100 \\\\ \n1.9990 & 2 & 2 & 1\\ 998/999 & 2 & 2 & 2 & 2 & 2 \\\\ \n1.9999 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{-1 to -2} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-1.0001 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n-1.0010 & -1 & -1 & -1\\ 1/999 & -1 & -1 & -1 & -1 & -1 \\\\ \n-1.0100 & -1 & -1\\ 1/99 & -1\\ 1/100 & -1 & -1 & -1 & -1 & -1\\ 1/100 \\\\ \n-1.1000 & -1\\ 1/9 & -1\\ 1/10 & -1\\ 1/10 & -1 & -1 & -1\\ 1/8 & -1\\ 2/16 & -1\\ 10/100 \\\\ \n-1.2500 & -1\\ 1/4 & -1\\ 1/4 & -1\\ 1/4 & -1\\ 1/2 & -1\\ 1/4 & -1\\ 2/8 & -1\\ 4/16 & -1\\ 25/100 \\\\ \n-1.4000 & -1\\ 2/5 & -1\\ 2/5 & -1\\ 2/5 & -1\\ 1/2 & -1\\ 2/4 & -1\\ 3/8 & -1\\ 6/16 & -1\\ 40/100 \\\\ \n-1.5000 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 2/4 & -1\\ 4/8 & -1\\ 8/16 & -1\\ 50/100 \\\\ \n-1.6000 & -1\\ 3/5 & -1\\ 3/5 & -1\\ 3/5 & -1\\ 1/2 & -1\\ 2/4 & -1\\ 5/8 & -1\\ 10/16 & -1\\ 60/100 \\\\ \n-1.7500 & -1\\ 3/4 & -1\\ 3/4 & -1\\ 3/4 & -2 & -1\\ 3/4 & -1\\ 6/8 & -1\\ 12/16 & -1\\ 75/100 \\\\ \n-1.9000 & -1\\ 8/9 & -1\\ 9/10 & -1\\ 9/10 & -2 & -2 & -1\\ 7/8 & -1\\ 14/16 & -1\\ 90/100 \\\\ \n-1.9900 & -2 & -1\\ 98/99 & -1\\ 99/100 & -2 & -2 & -2 & -2 & -1\\ 99/100 \\\\ \n-1.9990 & -2 & -2 & -1\\ 998/999 & -2 & -2 & -2 & -2 & -2 \\\\ \n-1.9999 & -2 & -2 & -2 & -2 & -2 & -2 & -2 & -2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{Exact Numbers} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-1.0000 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n0.0000 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n1.0000 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{Not Numbers} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nNA & NA & NA & NA & NA & NA & NA & NA & NA \\\\ \nNaN & NaN & NaN & NaN & NaN & NaN & NaN & NaN & NaN \\\\ \nInf & Inf & Inf & Inf & Inf & Inf & Inf & Inf & Inf \\\\ \n-Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{>{\\raggedright\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 75.00pt -2\\tabcolsep-1.5\\arrayrulewidth}}\n\\toprule\n & low & med & high & halves & quarters & eighths & sixteenths & hundredths \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{0 to 1} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n0.0001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n0.0010 & 0 & 0 & 1/999 & 0 & 0 & 0 & 0 & 0 \\\\ \n0.0100 & 0 & 1/99 & 1/100 & 0 & 0 & 0 & 0 & 1/100 \\\\ \n0.1000 & 1/9 & 1/10 & 1/10 & 0 & 0 & 1/8 & 1/8 & 1/10 \\\\ \n0.2500 & 1/4 & 1/4 & 1/4 & 1/2 & 1/4 & 1/4 & 1/4 & 1/4 \\\\ \n0.4000 & 2/5 & 2/5 & 2/5 & 1/2 & 1/2 & 3/8 & 3/8 & 2/5 \\\\ \n0.5000 & 1/2 & 1/2 & 1/2 & 1/2 & 1/2 & 1/2 & 1/2 & 1/2 \\\\ \n0.6000 & 3/5 & 3/5 & 3/5 & 1/2 & 1/2 & 5/8 & 5/8 & 3/5 \\\\ \n0.7500 & 3/4 & 3/4 & 3/4 & 1 & 3/4 & 3/4 & 3/4 & 3/4 \\\\ \n0.9000 & 8/9 & 9/10 & 9/10 & 1 & 1 & 7/8 & 7/8 & 9/10 \\\\ \n0.9900 & 1 & 98/99 & 99/100 & 1 & 1 & 1 & 1 & 99/100 \\\\ \n0.9990 & 1 & 1 & 998/999 & 1 & 1 & 1 & 1 & 1 \\\\ \n0.9999 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{0 to -1} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-0.0001 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n-0.0010 & 0 & 0 & -1/999 & 0 & 0 & 0 & 0 & 0 \\\\ \n-0.0100 & 0 & -1/99 & -1/100 & 0 & 0 & 0 & 0 & -1/100 \\\\ \n-0.1000 & -1/9 & -1/10 & -1/10 & 0 & 0 & -1/8 & -1/8 & -1/10 \\\\ \n-0.2500 & -1/4 & -1/4 & -1/4 & -1/2 & -1/4 & -1/4 & -1/4 & -1/4 \\\\ \n-0.4000 & -2/5 & -2/5 & -2/5 & -1/2 & -1/2 & -3/8 & -3/8 & -2/5 \\\\ \n-0.5000 & -1/2 & -1/2 & -1/2 & -1/2 & -1/2 & -1/2 & -1/2 & -1/2 \\\\ \n-0.6000 & -3/5 & -3/5 & -3/5 & -1/2 & -1/2 & -5/8 & -5/8 & -3/5 \\\\ \n-0.7500 & -3/4 & -3/4 & -3/4 & -1 & -3/4 & -3/4 & -3/4 & -3/4 \\\\ \n-0.9000 & -8/9 & -9/10 & -9/10 & -1 & -1 & -7/8 & -7/8 & -9/10 \\\\ \n-0.9900 & -1 & -98/99 & -99/100 & -1 & -1 & -1 & -1 & -99/100 \\\\ \n-0.9990 & -1 & -1 & -998/999 & -1 & -1 & -1 & -1 & -1 \\\\ \n-0.9999 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{1 to 2} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n1.0001 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n1.0010 & 1 & 1 & 1\\ 1/999 & 1 & 1 & 1 & 1 & 1 \\\\ \n1.0100 & 1 & 1\\ 1/99 & 1\\ 1/100 & 1 & 1 & 1 & 1 & 1\\ 1/100 \\\\ \n1.1000 & 1\\ 1/9 & 1\\ 1/10 & 1\\ 1/10 & 1 & 1 & 1\\ 1/8 & 1\\ 1/8 & 1\\ 1/10 \\\\ \n1.2500 & 1\\ 1/4 & 1\\ 1/4 & 1\\ 1/4 & 1\\ 1/2 & 1\\ 1/4 & 1\\ 1/4 & 1\\ 1/4 & 1\\ 1/4 \\\\ \n1.4000 & 1\\ 2/5 & 1\\ 2/5 & 1\\ 2/5 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 3/8 & 1\\ 3/8 & 1\\ 2/5 \\\\ \n1.5000 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 1/2 \\\\ \n1.6000 & 1\\ 3/5 & 1\\ 3/5 & 1\\ 3/5 & 1\\ 1/2 & 1\\ 1/2 & 1\\ 5/8 & 1\\ 5/8 & 1\\ 3/5 \\\\ \n1.7500 & 1\\ 3/4 & 1\\ 3/4 & 1\\ 3/4 & 2 & 1\\ 3/4 & 1\\ 3/4 & 1\\ 3/4 & 1\\ 3/4 \\\\ \n1.9000 & 1\\ 8/9 & 1\\ 9/10 & 1\\ 9/10 & 2 & 2 & 1\\ 7/8 & 1\\ 7/8 & 1\\ 9/10 \\\\ \n1.9900 & 2 & 1\\ 98/99 & 1\\ 99/100 & 2 & 2 & 2 & 2 & 1\\ 99/100 \\\\ \n1.9990 & 2 & 2 & 1\\ 998/999 & 2 & 2 & 2 & 2 & 2 \\\\ \n1.9999 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{-1 to -2} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-1.0001 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n-1.0010 & -1 & -1 & -1\\ 1/999 & -1 & -1 & -1 & -1 & -1 \\\\ \n-1.0100 & -1 & -1\\ 1/99 & -1\\ 1/100 & -1 & -1 & -1 & -1 & -1\\ 1/100 \\\\ \n-1.1000 & -1\\ 1/9 & -1\\ 1/10 & -1\\ 1/10 & -1 & -1 & -1\\ 1/8 & -1\\ 1/8 & -1\\ 1/10 \\\\ \n-1.2500 & -1\\ 1/4 & -1\\ 1/4 & -1\\ 1/4 & -1\\ 1/2 & -1\\ 1/4 & -1\\ 1/4 & -1\\ 1/4 & -1\\ 1/4 \\\\ \n-1.4000 & -1\\ 2/5 & -1\\ 2/5 & -1\\ 2/5 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 3/8 & -1\\ 3/8 & -1\\ 2/5 \\\\ \n-1.5000 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 1/2 \\\\ \n-1.6000 & -1\\ 3/5 & -1\\ 3/5 & -1\\ 3/5 & -1\\ 1/2 & -1\\ 1/2 & -1\\ 5/8 & -1\\ 5/8 & -1\\ 3/5 \\\\ \n-1.7500 & -1\\ 3/4 & -1\\ 3/4 & -1\\ 3/4 & -2 & -1\\ 3/4 & -1\\ 3/4 & -1\\ 3/4 & -1\\ 3/4 \\\\ \n-1.9000 & -1\\ 8/9 & -1\\ 9/10 & -1\\ 9/10 & -2 & -2 & -1\\ 7/8 & -1\\ 7/8 & -1\\ 9/10 \\\\ \n-1.9900 & -2 & -1\\ 98/99 & -1\\ 99/100 & -2 & -2 & -2 & -2 & -1\\ 99/100 \\\\ \n-1.9990 & -2 & -2 & -1\\ 998/999 & -2 & -2 & -2 & -2 & -2 \\\\ \n-1.9999 & -2 & -2 & -2 & -2 & -2 & -2 & -2 & -2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{Exact Numbers} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n-1.0000 & -1 & -1 & -1 & -1 & -1 & -1 & -1 & -1 \\\\ \n0.0000 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\ \n1.0000 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{>{\\raggedright\\arraybackslash}m{750pt}}{Not Numbers} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nNA & NA & NA & NA & NA & NA & NA & NA & NA \\\\ \nNaN & NaN & NaN & NaN & NaN & NaN & NaN & NaN & NaN \\\\ \nInf & Inf & Inf & Inf & Inf & Inf & Inf & Inf & Inf \\\\ \n-Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf & -Inf \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1959,7 +1959,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -3875,7 +3875,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} diff --git a/tests/testthat/_snaps/fmt_markdown.md b/tests/testthat/_snaps/fmt_markdown.md index 6203b6509..c37eee407 100644 --- a/tests/testthat/_snaps/fmt_markdown.md +++ b/tests/testthat/_snaps/fmt_markdown.md @@ -1,7 +1,7 @@ # LaTeX formulas render correctly in HTML Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n \n \n \n \n \n \n \n \n
A Table of Laplace Transforms — \nL\\small{{\\mathcal{L}}}L
The most commonly used Laplace transforms and formulas.

Time Domain
\nf(t)=L1{F(s)}\\small{f\\left( t \\right) = {\\mathcal{L}^{\\,\\, - 1}}\\left\\{ {F\\left( s \\right)} \\right\\}}f(t)=L1{F(s)}
\nsss Domain
\nF(s)=L{f(t)}\\small{F\\left( s \\right) = \\mathcal{L}\\left\\{ {f\\left( t \\right)} \\right\\}}F(s)=L{f(t)}
1\n111\n1s\\frac{1}{s}s1
2\neat{{\\bf{e}}^{a\\,t}}eat\n1sa\\frac{1}{{s - a}}sa1
3\ntn,n=1,2,3,{t^n},\\,\\,\\,\\,\\,n = 1,2,3, \\ldotstn,n=1,2,3,\nn!sn+1\\frac{{n!}}{{{s^{n + 1}}}}sn+1n!
4\ntp,p>1{t^p}, p > -1tp,p>1\nΓ(p+1)sp+1\\frac{{\\Gamma \\left( {p + 1} \\right)}}{{{s^{p + 1}}}}sp+1Γ(p+1)
5\nt\\sqrt tt\nπ2s32\\frac{{\\sqrt \\pi }}{{2{s^{\\frac{3}{2}}}}}2s23π
6\ntn12,n=1,2,3,{t^{n - \\frac{1}{2}}},\\,\\,\\,\\,\\,n = 1,2,3, \\ldotstn21,n=1,2,3,\n135(2n1)π2nsn+12\\frac{{1 \\cdot 3 \\cdot 5 \\cdots \\left( {2n - 1} \\right)\\sqrt \\pi }}{{{2^n}{s^{n + \\frac{1}{2}}}}}2nsn+21135(2n1)π
7\nsin(at)\\sin \\left( {at} \\right)sin(at)\nas2+a2\\frac{a}{{{s^2} + {a^2}}}s2+a2a
8\ncos(at)\\cos \\left( {at} \\right)cos(at)\nss2+a2\\frac{s}{{{s^2} + {a^2}}}s2+a2s
9\ntsin(at)t\\sin \\left( {at} \\right)tsin(at)\n2as(s2+a2)2\\frac{{2as}}{{{{\\left( {{s^2} + {a^2}} \\right)}^2}}}(s2+a2)22as
10\ntcos(at)t\\cos \\left( {at} \\right)tcos(at)\ns2a2(s2+a2)2\\frac{{{s^2} - {a^2}}}{{{{\\left( {{s^2} + {a^2}} \\right)}^2}}}(s2+a2)2s2a2
11\nsin(at)atcos(at)\\sin \\left( {at} \\right) - at\\cos \\left( {at} \\right)sin(at)atcos(at)\n2a3(s2+a2)2\\frac{{2{a^3}}}{{{{\\left( {{s^2} + {a^2}} \\right)}^2}}}(s2+a2)22a3
12\nsin(at)+atcos(at)\\sin \\left( {at} \\right) + at\\cos \\left( {at} \\right)sin(at)+atcos(at)\n2as2(s2+a2)2\\frac{{2a{s^2}}}{{{{\\left( {{s^2} + {a^2}} \\right)}^2}}}(s2+a2)22as2
13\ncos(at)atsin(at)\\cos \\left( {at} \\right) - at\\sin \\left( {at} \\right)cos(at)atsin(at)\ns(s2a2)(s2+a2)2\\frac{{s\\left( {{s^2} - {a^2}} \\right)}}{{{{\\left( {{s^2} + {a^2}} \\right)}^2}}}(s2+a2)2s(s2a2)
14\ncos(at)+atsin(at)\\cos \\left( {at} \\right) + at\\sin \\left( {at} \\right)cos(at)+atsin(at)\ns(s2+3a2)(s2+a2)2\\frac{{s\\left( {{s^2} + 3{a^2}} \\right)}}{{{{\\left( {{s^2} + {a^2}} \\right)}^2}}}(s2+a2)2s(s2+3a2)
15\nsin(at+b)\\sin \\left( {at + b} \\right)sin(at+b)\nssin(b)+acos(b)s2+a2\\frac{{s\\sin \\left( b \\right) + a\\cos \\left( b \\right)}}{{{s^2} + {a^2}}}s2+a2ssin(b)+acos(b)
16\ncos(at+b)\\cos \\left( {at + b} \\right)cos(at+b)\nscos(b)asin(b)s2+a2\\frac{{s\\cos \\left( b \\right) - a\\sin \\left( b \\right)}}{{{s^2} + {a^2}}}s2+a2scos(b)asin(b)
17\nsinh(at)\\sinh \\left( {at} \\right)sinh(at)\nas2a2\\frac{a}{{{s^2} - {a^2}}}s2a2a
18\ncosh(at)\\cosh \\left( {at} \\right)cosh(at)\nss2a2\\frac{s}{{{s^2} - {a^2}}}s2a2s
19\neatsin(bt){{\\bf{e}}^{at}}\\sin \\left( {bt} \\right)eatsin(bt)\nb(sa)2+b2\\frac{b}{{{{\\left( {s - a} \\right)}^2} + {b^2}}}(sa)2+b2b
20\neatcos(bt){{\\bf{e}}^{at}}\\cos \\left( {bt} \\right)eatcos(bt)\nsa(sa)2+b2\\frac{{s - a}}{{{{\\left( {s - a} \\right)}^2} + {b^2}}}(sa)2+b2sa
21\neatsinh(bt){{\\bf{e}}^{at}}\\sinh \\left( {bt} \\right)eatsinh(bt)\nb(sa)2b2\\frac{b}{{{{\\left( {s - a} \\right)}^2} - {b^2}}}(sa)2b2b
22\neatcosh(bt){{\\bf{e}}^{at}}\\cosh \\left( {bt} \\right)eatcosh(bt)\nsa(sa)2b2\\frac{{s - a}}{{{{\\left( {s - a} \\right)}^2} - {b^2}}}(sa)2b2sa
23\ntneat,n=1,2,3,{t^n}{{\\bf{e}}^{at}},\\,\\,\\,\\,\\,n = 1,2,3, \\ldotstneat,n=1,2,3,\nn!(sa)n+1\\frac{{n!}}{{{{\\left( {s - a} \\right)}^{n + 1}}}}(sa)n+1n!
24\nf(ct)f\\left( {ct} \\right)f(ct)\n1cF(sc)\\frac{1}{c}F\\left( {\\frac{s}{c}} \\right)c1F(cs)
25\nuc(t)=u(tc){u_c}\\left( t \\right) = u\\left( {t - c} \\right)uc(t)=u(tc)[1]\necss\\frac{{{{\\bf{e}}^{ - cs}}}}{s}secs
26\nδ(tc)\\delta \\left( {t - c} \\right)δ(tc)[2]\necs{{\\bf{e}}^{ - cs}}ecs
27\nuc(t)f(tc){u_c}\\left( t \\right)f\\left( {t - c} \\right)uc(t)f(tc)\necsF(s){{\\bf{e}}^{ - cs}}F\\left( s \\right)ecsF(s)
28\nuc(t)g(t){u_c}\\left( t \\right)g\\left( t \\right)uc(t)g(t)\necsL{g(t+c)}{{\\bf{e}}^{ - cs}}{\\mathcal{L}}\\left\\{ {g\\left( {t + c} \\right)} \\right\\}ecsL{g(t+c)}
29\nectf(t){{\\bf{e}}^{ct}}f\\left( t \\right)ectf(t)\nF(sc)F\\left( {s - c} \\right)F(sc)
30\ntnf(t),n=1,2,3,{t^n}f\\left( t \\right),\\,\\,\\,\\,\\,n = 1,2,3, \\ldotstnf(t),n=1,2,3,\n(1)nF(n)(s){\\left( { - 1} \\right)^n}{F^{\\left( n \\right)}}\\left( s \\right)(1)nF(n)(s)
31\n1tf(t)\\displaystyle \\frac{1}{t}f\\left( t \\right)t1f(t)\nsF(u)du\\int_{{\\,s}}^{{\\,\\infty }}{{F\\left( u \\right)\\,du}}sF(u)du
32\n0tf(v)dv\\displaystyle \\int_{{\\,0}}^{{\\,t}}{{\\,f\\left( v \\right)\\,dv}}0tf(v)dv\nF(s)s\\displaystyle \\frac{{F\\left( s \\right)}}{s}sF(s)
33\n0tf(tτ)g(τ)dτ\\displaystyle \\int_{{\\,0}}^{{\\,t}}{{f\\left( {t - \\tau } \\right)g\\left( \\tau \\right)\\,d\\tau }}0tf(tτ)g(τ)dτ\nF(s)G(s)F\\left( s \\right)G\\left( s \\right)F(s)G(s)
34\nf(t+T)=f(t)f\\left( {t + T} \\right) = f\\left( t \\right)f(t+T)=f(t)\n0Testf(t)dt1esT\\displaystyle \\frac{{\\displaystyle \\int_{{\\,0}}^{{\\,T}}{{{{\\bf{e}}^{ - st}}f\\left( t \\right)\\,dt}}}}{{1 - {{\\bf{e}}^{ - sT}}}}1esT0Testf(t)dt
35\nf(t)f'\\left( t \\right)f(t)\nsF(s)f(0)sF\\left( s \\right) - f\\left( 0 \\right)sF(s)f(0)
36\nf(t)f''\\left( t \\right)f′′(t)\ns2F(s)sf(0)f(0){s^2}F\\left( s \\right) - sf\\left( 0 \\right) - f'\\left( 0 \\right)s2F(s)sf(0)f(0)
37\nf(n)(t){f^{\\left( n \\right)}}\\left( t \\right)f(n)(t)\nsnF(s)sn1f(0)sn2f(0)sf(n2)(0)f(n1)(0){s^n}F\\left( s \\right) - {s^{n - 1}}f\\left( 0 \\right) - {s^{n - 2}}f'\\left( 0 \\right) \\cdots - s{f^{\\left( {n - 2} \\right)}}\\left( 0 \\right) - {f^{\\left( {n - 1} \\right)}}\\left( 0 \\right)snF(s)sn1f(0)sn2f(0)sf(n2)(0)f(n1)(0)
The hyperbolic functions: \ncosh(t)=et+et2\\cosh \\left( t \\right) = \\frac{{{{\\bf{e}}^t} + {{\\bf{e}}^{ - t}}}}{2}cosh(t)=2et+et , \nsinh(t)=etet2\\sinh \\left( t \\right) = \\frac{{{{\\bf{e}}^t} - {{\\bf{e}}^{ - t}}}}{2}sinh(t)=2etet
\n
1 The Heaviside Function. 2 The Dirac Delta Function.
\n
" diff --git a/tests/testthat/_snaps/footer.md b/tests/testthat/_snaps/footer.md index 46c2226f0..f11a43100 100644 --- a/tests/testthat/_snaps/footer.md +++ b/tests/testthat/_snaps/footer.md @@ -1,21 +1,21 @@ # The footer section formatting and options work well across all output formats Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
num1char2fctrdatetimedatetimecurrencyrowgroup
0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
Source note **bold** (#1, no `md()`)
Source note bold (#2, uses md())
1 footnote **bold** (#1, no `md()`)
2 footnote bold (#2, uses md())
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum\\textsuperscript{\\textit{1}} & char\\textsuperscript{\\textit{2}} & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}footnote **bold** (\\#1, no `md()`)\\\\\n\\textsuperscript{\\textit{2}}footnote \\textbf{bold} (\\#2, uses \\texttt{md()})\\\\\nSource note **bold** (\\#1, no `md()`)\\\\\nSource note \\textbf{bold} (\\#2, uses \\texttt{md()})\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -105,21 +105,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n
num1char2fctrdatetimedatetimecurrencyrowgroup
0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
\n
Source note **bold** (#1, no `md()`)  Source note bold (#2, uses md())
\n
\n
1 footnote **bold** (#1, no `md()`)  2 footnote bold (#2, uses md())
\n
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum\\textsuperscript{\\textit{1}} & char\\textsuperscript{\\textit{2}} & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}footnote **bold** (\\#1, no `md()`) \\textsuperscript{\\textit{2}}footnote \\textbf{bold} (\\#2, uses \\texttt{md()})\\\\\nSource note **bold** (\\#1, no `md()`) Source note \\textbf{bold} (\\#2, uses \\texttt{md()})\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -209,21 +209,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n
num1char2fctrdatetimedatetimecurrencyrowgroup
0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
\n
Source note **bold** (#1, no `md()`) | Source note bold (#2, uses md())
\n
\n
1 footnote **bold** (#1, no `md()`) | 2 footnote bold (#2, uses md())
\n
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum\\textsuperscript{\\textit{1}} & char\\textsuperscript{\\textit{2}} & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}footnote **bold** (\\#1, no `md()`) \\textit{|} \\textsuperscript{\\textit{2}}footnote \\textbf{bold} (\\#2, uses \\texttt{md()})\\\\\nSource note **bold** (\\#1, no `md()`) \\textit{|} Source note \\textbf{bold} (\\#2, uses \\texttt{md()})\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} diff --git a/tests/testthat/_snaps/l_summary_rows.md b/tests/testthat/_snaps/l_summary_rows.md index fd73446ed..8e788141c 100644 --- a/tests/testthat/_snaps/l_summary_rows.md +++ b/tests/testthat/_snaps/l_summary_rows.md @@ -1,84 +1,84 @@ # Using summary rows in LaTeX tables is correct Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrll}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one & first\\_five \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two & first\\_five \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three & first\\_five \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four & first\\_five \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five & first\\_five \\\\ \n & 132.1 & 118.1 & 91.2 & 874.3 & six & 2nd\\_five \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven & 2nd\\_five \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight & 2nd\\_five \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine & 2nd\\_five \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten & 2nd\\_five \\\\ \n\\midrule \n\\midrule \naverage & 429.35 & — & — & — & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & group \\\\ \n\\midrule\\addlinespace[2.5pt]\none & 767.6 & 928.1 & 382.0 & 674.5 & first\\_five \\\\ \ntwo & 403.3 & 461.5 & 15.1 & 242.8 & first\\_five \\\\ \nthree & 686.4 & 54.1 & 282.7 & 56.3 & first\\_five \\\\ \nfour & 662.6 & 148.8 & 984.6 & 928.1 & first\\_five \\\\ \nfive & 198.5 & 65.1 & 127.4 & 219.3 & first\\_five \\\\ \nsix & 132.1 & 118.1 & 91.2 & 874.3 & 2nd\\_five \\\\ \nseven & 349.7 & 307.1 & 566.7 & 542.9 & 2nd\\_five \\\\ \neight & 63.7 & 504.3 & 152.0 & 724.5 & 2nd\\_five \\\\ \nnine & 105.4 & 729.8 & 962.4 & 336.4 & 2nd\\_five \\\\ \nten & 924.2 & 424.6 & 740.8 & 104.2 & 2nd\\_five \\\\ \n\\midrule \n\\midrule \naverage & 429.35 & — & — & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 132.1 & 118.1 & 91.2 & 874.3 & six \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten \\\\ \n\\midrule \n\\midrule \naverage & 429.35 & — & — & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\none & 767.6 & 928.1 & 382.0 & 674.5 \\\\ \ntwo & 403.3 & 461.5 & 15.1 & 242.8 \\\\ \nthree & 686.4 & 54.1 & 282.7 & 56.3 \\\\ \nfour & 662.6 & 148.8 & 984.6 & 928.1 \\\\ \nfive & 198.5 & 65.1 & 127.4 & 219.3 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nsix & 132.1 & 118.1 & 91.2 & 874.3 \\\\ \nseven & 349.7 & 307.1 & 566.7 & 542.9 \\\\ \neight & 63.7 & 504.3 & 152.0 & 724.5 \\\\ \nnine & 105.4 & 729.8 & 962.4 & 336.4 \\\\ \nten & 924.2 & 424.6 & 740.8 & 104.2 \\\\ \n\\midrule \n\\midrule \naverage & 429.35 & — & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five \\\\ \n\\midrule \naverage & 543.68 & — & — & — & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 132.1 & 118.1 & 91.2 & 874.3 & six \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\none & 767.6 & 928.1 & 382.0 & 674.5 \\\\ \ntwo & 403.3 & 461.5 & 15.1 & 242.8 \\\\ \nthree & 686.4 & 54.1 & 282.7 & 56.3 \\\\ \nfour & 662.6 & 148.8 & 984.6 & 928.1 \\\\ \nfive & 198.5 & 65.1 & 127.4 & 219.3 \\\\ \n\\midrule \naverage & 543.68 & — & — & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nsix & 132.1 & 118.1 & 91.2 & 874.3 \\\\ \nseven & 349.7 & 307.1 & 566.7 & 542.9 \\\\ \neight & 63.7 & 504.3 & 152.0 & 724.5 \\\\ \nnine & 105.4 & 729.8 & 962.4 & 336.4 \\\\ \nten & 924.2 & 424.6 & 740.8 & 104.2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five \\\\ \n\\midrule \naverage & 543.68 & — & 358.36 & — & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 132.1 & 118.1 & 91.2 & 874.3 & six \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five \\\\ \n\\midrule \naverage & 543.68 & — & 358.36 & 424.20 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 132.1 & 118.1 & 91.2 & 874.3 & six \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five \\\\ \n\\midrule \naverage & 543.68 & 331.52 & 358.36 & 424.20 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 132.1 & 118.1 & 91.2 & 874.3 & six \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\none & 767.6 & 928.1 & 382.0 & 674.5 \\\\ \ntwo & 403.3 & 461.5 & 15.1 & 242.8 \\\\ \nthree & 686.4 & 54.1 & 282.7 & 56.3 \\\\ \nfour & 662.6 & 148.8 & 984.6 & 928.1 \\\\ \nfive & 198.5 & 65.1 & 127.4 & 219.3 \\\\ \n\\midrule \naverage & 543.68 & — & 358.36 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nsix & 132.1 & 118.1 & 91.2 & 874.3 \\\\ \nseven & 349.7 & 307.1 & 566.7 & 542.9 \\\\ \neight & 63.7 & 504.3 & 152.0 & 724.5 \\\\ \nnine & 105.4 & 729.8 & 962.4 & 336.4 \\\\ \nten & 924.2 & 424.6 & 740.8 & 104.2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrl}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 767.6 & 928.1 & 382.0 & 674.5 & one \\\\ \n & 403.3 & 461.5 & 15.1 & 242.8 & two \\\\ \n & 686.4 & 54.1 & 282.7 & 56.3 & three \\\\ \n & 662.6 & 148.8 & 984.6 & 928.1 & four \\\\ \n & 198.5 & 65.1 & 127.4 & 219.3 & five \\\\ \n\\midrule \naverage & 543.68 & — & — & 424.20 & — \\\\ \nmin & — & 54.10 & — & — & — \\\\ \ncount & — & — & 5 & — & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{6}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 132.1 & 118.1 & 91.2 & 874.3 & six \\\\ \n & 349.7 & 307.1 & 566.7 & 542.9 & seven \\\\ \n & 63.7 & 504.3 & 152.0 & 724.5 & eight \\\\ \n & 105.4 & 729.8 & 962.4 & 336.4 & nine \\\\ \n & 924.2 & 424.6 & 740.8 & 104.2 & ten \\\\ \n\\midrule \nmax & — & — & — & 874.30 & — \\\\ \ncount & — & — & 5 & — & — \\\\ \n\\midrule \n\\midrule \nMEAN & 429.35 & 374.15 & 430.49 & 470.33 & — \\\\ \nMIN & 63.70 & 54.10 & 15.10 & 56.30 & — \\\\ \nMAX & 924.20 & 928.10 & 984.60 & 928.10 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & col\\_1 & col\\_2 & col\\_3 & col\\_4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{first\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\none & 767.6 & 928.1 & 382.0 & 674.5 \\\\ \ntwo & 403.3 & 461.5 & 15.1 & 242.8 \\\\ \nthree & 686.4 & 54.1 & 282.7 & 56.3 \\\\ \nfour & 662.6 & 148.8 & 984.6 & 928.1 \\\\ \nfive & 198.5 & 65.1 & 127.4 & 219.3 \\\\ \n\\midrule \naverage & 543.68 & — & — & 424.20 \\\\ \nmin & — & 54.10 & — & — \\\\ \ncount & — & — & 5 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{2nd\\_five} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nsix & 132.1 & 118.1 & 91.2 & 874.3 \\\\ \nseven & 349.7 & 307.1 & 566.7 & 542.9 \\\\ \neight & 63.7 & 504.3 & 152.0 & 724.5 \\\\ \nnine & 105.4 & 729.8 & 962.4 & 336.4 \\\\ \nten & 924.2 & 424.6 & 740.8 & 104.2 \\\\ \n\\midrule \nmax & — & — & — & 874.30 \\\\ \ncount & — & — & 5 & — \\\\ \n\\midrule \n\\midrule \nMEAN & 429.35 & 374.15 & 430.49 & 470.33 \\\\ \nMIN & 63.70 & 54.10 & 15.10 & 56.30 \\\\ \nMAX & 924.20 & 928.10 & 984.60 & 928.10 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" diff --git a/tests/testthat/_snaps/l_table_parts.md b/tests/testthat/_snaps/l_table_parts.md index c2fbd455c..f44171e6d 100644 --- a/tests/testthat/_snaps/l_table_parts.md +++ b/tests/testthat/_snaps/l_table_parts.md @@ -1,98 +1,98 @@ # A gt table contains the expected heading components Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrrrrrrrrr}\n\\caption*{\n{\\large test title}\n} \\\\ \n\\toprule\nmpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \n21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \n21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \n18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrrrrrrrrr}\n\\caption*{\n{\\large test title} \\\\ \n{\\small test subtitle}\n} \\\\ \n\\toprule\nmpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \n21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \n21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \n18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrrrrrrrrr}\n\\caption*{\n{\\large test title}\n} \\\\ \n\\toprule\nmpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \n21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \n21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \n18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrrrrrrrrr}\n\\caption*{\n{\\large test title}\n} \\\\ \n\\toprule\nmpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \n21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \n21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \n18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" # A gt table contains the expected column spanner labels Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrr}\n\\toprule\n & \\multicolumn{2}{c}{perimeter} & \\\\ \n\\cmidrule(lr){2-3}\narea & peri & shape & perm \\\\ \n\\midrule\\addlinespace[2.5pt]\n4990 & 2791.900 & 0.0903296 & 6.3 \\\\ \n7002 & 3892.600 & 0.1486220 & 6.3 \\\\ \n7558 & 3930.660 & 0.1833120 & 6.3 \\\\ \n7352 & 3869.320 & 0.1170630 & 6.3 \\\\ \n7943 & 3948.540 & 0.1224170 & 17.1 \\\\ \n7979 & 4010.150 & 0.1670450 & 17.1 \\\\ \n9333 & 4345.750 & 0.1896510 & 17.1 \\\\ \n8209 & 4344.750 & 0.1641270 & 17.1 \\\\ \n8393 & 3682.040 & 0.2036540 & 119.0 \\\\ \n6425 & 3098.650 & 0.1623940 & 119.0 \\\\ \n9364 & 4480.050 & 0.1509440 & 119.0 \\\\ \n8624 & 3986.240 & 0.1481410 & 119.0 \\\\ \n10651 & 4036.540 & 0.2285950 & 82.4 \\\\ \n8868 & 3518.040 & 0.2316230 & 82.4 \\\\ \n9417 & 3999.370 & 0.1725670 & 82.4 \\\\ \n8874 & 3629.070 & 0.1534810 & 82.4 \\\\ \n10962 & 4608.660 & 0.2043140 & 58.6 \\\\ \n10743 & 4787.620 & 0.2627270 & 58.6 \\\\ \n11878 & 4864.220 & 0.2000710 & 58.6 \\\\ \n9867 & 4479.410 & 0.1448100 & 58.6 \\\\ \n7838 & 3428.740 & 0.1138520 & 142.0 \\\\ \n11876 & 4353.140 & 0.2910290 & 142.0 \\\\ \n12212 & 4697.650 & 0.2400770 & 142.0 \\\\ \n8233 & 3518.440 & 0.1618650 & 142.0 \\\\ \n6360 & 1977.390 & 0.2808870 & 740.0 \\\\ \n4193 & 1379.350 & 0.1794550 & 740.0 \\\\ \n7416 & 1916.240 & 0.1918020 & 740.0 \\\\ \n5246 & 1585.420 & 0.1330830 & 740.0 \\\\ \n6509 & 1851.210 & 0.2252140 & 890.0 \\\\ \n4895 & 1239.660 & 0.3412730 & 890.0 \\\\ \n6775 & 1728.140 & 0.3116460 & 890.0 \\\\ \n7894 & 1461.060 & 0.2760160 & 890.0 \\\\ \n5980 & 1426.760 & 0.1976530 & 950.0 \\\\ \n5318 & 990.388 & 0.3266350 & 950.0 \\\\ \n7392 & 1350.760 & 0.1541920 & 950.0 \\\\ \n7894 & 1461.060 & 0.2760160 & 950.0 \\\\ \n3469 & 1376.700 & 0.1769690 & 100.0 \\\\ \n1468 & 476.322 & 0.4387120 & 100.0 \\\\ \n3524 & 1189.460 & 0.1635860 & 100.0 \\\\ \n5267 & 1644.960 & 0.2538320 & 100.0 \\\\ \n5048 & 941.543 & 0.3286410 & 1300.0 \\\\ \n1016 & 308.642 & 0.2300810 & 1300.0 \\\\ \n5605 & 1145.690 & 0.4641250 & 1300.0 \\\\ \n8793 & 2280.490 & 0.4204770 & 1300.0 \\\\ \n3475 & 1174.110 & 0.2007440 & 580.0 \\\\ \n1651 & 597.808 & 0.2626510 & 580.0 \\\\ \n5514 & 1455.880 & 0.1824530 & 580.0 \\\\ \n9718 & 1485.580 & 0.2004470 & 580.0 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrr}\n\\toprule\n & \\multicolumn{2}{c}{perimeter} & \\\\ \n\\cmidrule(lr){2-3}\narea & peri & shape & perm \\\\ \n\\midrule\\addlinespace[2.5pt]\n4990 & 2791.900 & 0.0903296 & 6.3 \\\\ \n7002 & 3892.600 & 0.1486220 & 6.3 \\\\ \n7558 & 3930.660 & 0.1833120 & 6.3 \\\\ \n7352 & 3869.320 & 0.1170630 & 6.3 \\\\ \n7943 & 3948.540 & 0.1224170 & 17.1 \\\\ \n7979 & 4010.150 & 0.1670450 & 17.1 \\\\ \n9333 & 4345.750 & 0.1896510 & 17.1 \\\\ \n8209 & 4344.750 & 0.1641270 & 17.1 \\\\ \n8393 & 3682.040 & 0.2036540 & 119.0 \\\\ \n6425 & 3098.650 & 0.1623940 & 119.0 \\\\ \n9364 & 4480.050 & 0.1509440 & 119.0 \\\\ \n8624 & 3986.240 & 0.1481410 & 119.0 \\\\ \n10651 & 4036.540 & 0.2285950 & 82.4 \\\\ \n8868 & 3518.040 & 0.2316230 & 82.4 \\\\ \n9417 & 3999.370 & 0.1725670 & 82.4 \\\\ \n8874 & 3629.070 & 0.1534810 & 82.4 \\\\ \n10962 & 4608.660 & 0.2043140 & 58.6 \\\\ \n10743 & 4787.620 & 0.2627270 & 58.6 \\\\ \n11878 & 4864.220 & 0.2000710 & 58.6 \\\\ \n9867 & 4479.410 & 0.1448100 & 58.6 \\\\ \n7838 & 3428.740 & 0.1138520 & 142.0 \\\\ \n11876 & 4353.140 & 0.2910290 & 142.0 \\\\ \n12212 & 4697.650 & 0.2400770 & 142.0 \\\\ \n8233 & 3518.440 & 0.1618650 & 142.0 \\\\ \n6360 & 1977.390 & 0.2808870 & 740.0 \\\\ \n4193 & 1379.350 & 0.1794550 & 740.0 \\\\ \n7416 & 1916.240 & 0.1918020 & 740.0 \\\\ \n5246 & 1585.420 & 0.1330830 & 740.0 \\\\ \n6509 & 1851.210 & 0.2252140 & 890.0 \\\\ \n4895 & 1239.660 & 0.3412730 & 890.0 \\\\ \n6775 & 1728.140 & 0.3116460 & 890.0 \\\\ \n7894 & 1461.060 & 0.2760160 & 890.0 \\\\ \n5980 & 1426.760 & 0.1976530 & 950.0 \\\\ \n5318 & 990.388 & 0.3266350 & 950.0 \\\\ \n7392 & 1350.760 & 0.1541920 & 950.0 \\\\ \n7894 & 1461.060 & 0.2760160 & 950.0 \\\\ \n3469 & 1376.700 & 0.1769690 & 100.0 \\\\ \n1468 & 476.322 & 0.4387120 & 100.0 \\\\ \n3524 & 1189.460 & 0.1635860 & 100.0 \\\\ \n5267 & 1644.960 & 0.2538320 & 100.0 \\\\ \n5048 & 941.543 & 0.3286410 & 1300.0 \\\\ \n1016 & 308.642 & 0.2300810 & 1300.0 \\\\ \n5605 & 1145.690 & 0.4641250 & 1300.0 \\\\ \n8793 & 2280.490 & 0.4204770 & 1300.0 \\\\ \n3475 & 1174.110 & 0.2007440 & 580.0 \\\\ \n1651 & 597.808 & 0.2626510 & 580.0 \\\\ \n5514 & 1455.880 & 0.1824530 & 580.0 \\\\ \n9718 & 1485.580 & 0.2004470 & 580.0 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrrr}\n\\toprule\n & \\multicolumn{2}{c}{v\\_1\\_2} & \\multicolumn{2}{c}{v\\_4\\_5} \\\\ \n\\cmidrule(lr){2-3} \\cmidrule(lr){4-5}\nv\\_3 & v\\_1 & v\\_2 & v\\_4 & v\\_5 \\\\ \n\\midrule\\addlinespace[2.5pt]\n34.2 & 20.4 & 36.1 & 21.6 & 23.1 \\\\ \n13.7 & 25.8 & 14.3 & 12.9 & 75.9 \\\\ \n15.1 & 16.3 & 34.3 & 93.2 & 12.1 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rrrr}\n\\toprule\nA\\textsuperscript{\\textit{1}} & A & A\\textsuperscript{\\textit{1}} & A \\\\ \n\\cmidrule(lr){1-1} \\cmidrule(lr){2-2} \\cmidrule(lr){3-3} \\cmidrule(lr){4-4}\nA\\_X & B\\_X & A\\_Y & B\\_Y \\\\ \n\\midrule\\addlinespace[2.5pt]\n1 & 2 & 3 & 4 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}note\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rrrr}\n\\toprule\n\\multicolumn{2}{c}{A\\textsuperscript{\\textit{1}}} & \\multicolumn{2}{c}{A} \\\\ \n\\cmidrule(lr){1-2} \\cmidrule(lr){3-4}\nA\\_X & A\\_Y & B\\_X & B\\_Y \\\\ \n\\midrule\\addlinespace[2.5pt]\n1 & 3 & 2 & 4 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}note\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{rrrrc}\n\\toprule\n\\multicolumn{2}{c}{Sepal} & & & \\\\ \n\\cmidrule(lr){1-2}\nLength & Width & Petal.Length & Petal.Width & Species \\\\ \n\\midrule\\addlinespace[2.5pt]\n5.1 & 3.5 & 1.4 & 0.2 & setosa \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" # A gt table contains the expected source note Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rrrrrrrrrrr}\n\\toprule\nmpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \n21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \n21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \n18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\emph{Henderson and Velleman} (1981).\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rrrrrrrrrrr}\n\\toprule\nmpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \n21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \n21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \n18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\emph{Henderson and Velleman} (1981).\\\\\nThis was in Motor Trend magazine, hence the `mt`.\\\\\n\\end{minipage}\n\\endgroup\n" # A gt table contains the correct placement of row groups Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrrrrrrrr}\n\\toprule\n & mpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{12}{l}{Mazda} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nMazda RX4 & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \nMazda RX4 Wag & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{12}{l}{\\rule{0pt}{0pt}} \\\\[-3.2ex] \n\\midrule\\addlinespace[2.5pt]\nDatsun 710 & 22.8 & 4 & 108.0 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \nHornet 4 Drive & 21.4 & 6 & 258.0 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \nHornet Sportabout & 18.7 & 8 & 360.0 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \nValiant & 18.1 & 6 & 225.0 & 105 & 2.76 & 3.460 & 20.22 & 1 & 0 & 3 & 1 \\\\ \nDuster 360 & 14.3 & 8 & 360.0 & 245 & 3.21 & 3.570 & 15.84 & 0 & 0 & 3 & 4 \\\\ \nMerc 240D & 24.4 & 4 & 146.7 & 62 & 3.69 & 3.190 & 20.00 & 1 & 0 & 4 & 2 \\\\ \nMerc 230 & 22.8 & 4 & 140.8 & 95 & 3.92 & 3.150 & 22.90 & 1 & 0 & 4 & 2 \\\\ \nMerc 280 & 19.2 & 6 & 167.6 & 123 & 3.92 & 3.440 & 18.30 & 1 & 0 & 4 & 4 \\\\ \nMerc 280C & 17.8 & 6 & 167.6 & 123 & 3.92 & 3.440 & 18.90 & 1 & 0 & 4 & 4 \\\\ \nMerc 450SE & 16.4 & 8 & 275.8 & 180 & 3.07 & 4.070 & 17.40 & 0 & 0 & 3 & 3 \\\\ \nMerc 450SL & 17.3 & 8 & 275.8 & 180 & 3.07 & 3.730 & 17.60 & 0 & 0 & 3 & 3 \\\\ \nMerc 450SLC & 15.2 & 8 & 275.8 & 180 & 3.07 & 3.780 & 18.00 & 0 & 0 & 3 & 3 \\\\ \nCadillac Fleetwood & 10.4 & 8 & 472.0 & 205 & 2.93 & 5.250 & 17.98 & 0 & 0 & 3 & 4 \\\\ \nLincoln Continental & 10.4 & 8 & 460.0 & 215 & 3.00 & 5.424 & 17.82 & 0 & 0 & 3 & 4 \\\\ \nChrysler Imperial & 14.7 & 8 & 440.0 & 230 & 3.23 & 5.345 & 17.42 & 0 & 0 & 3 & 4 \\\\ \nFiat 128 & 32.4 & 4 & 78.7 & 66 & 4.08 & 2.200 & 19.47 & 1 & 1 & 4 & 1 \\\\ \nHonda Civic & 30.4 & 4 & 75.7 & 52 & 4.93 & 1.615 & 18.52 & 1 & 1 & 4 & 2 \\\\ \nToyota Corolla & 33.9 & 4 & 71.1 & 65 & 4.22 & 1.835 & 19.90 & 1 & 1 & 4 & 1 \\\\ \nToyota Corona & 21.5 & 4 & 120.1 & 97 & 3.70 & 2.465 & 20.01 & 1 & 0 & 3 & 1 \\\\ \nDodge Challenger & 15.5 & 8 & 318.0 & 150 & 2.76 & 3.520 & 16.87 & 0 & 0 & 3 & 2 \\\\ \nAMC Javelin & 15.2 & 8 & 304.0 & 150 & 3.15 & 3.435 & 17.30 & 0 & 0 & 3 & 2 \\\\ \nCamaro Z28 & 13.3 & 8 & 350.0 & 245 & 3.73 & 3.840 & 15.41 & 0 & 0 & 3 & 4 \\\\ \nPontiac Firebird & 19.2 & 8 & 400.0 & 175 & 3.08 & 3.845 & 17.05 & 0 & 0 & 3 & 2 \\\\ \nFiat X1-9 & 27.3 & 4 & 79.0 & 66 & 4.08 & 1.935 & 18.90 & 1 & 1 & 4 & 1 \\\\ \nPorsche 914-2 & 26.0 & 4 & 120.3 & 91 & 4.43 & 2.140 & 16.70 & 0 & 1 & 5 & 2 \\\\ \nLotus Europa & 30.4 & 4 & 95.1 & 113 & 3.77 & 1.513 & 16.90 & 1 & 1 & 5 & 2 \\\\ \nFord Pantera L & 15.8 & 8 & 351.0 & 264 & 4.22 & 3.170 & 14.50 & 0 & 1 & 5 & 4 \\\\ \nFerrari Dino & 19.7 & 6 & 145.0 & 175 & 3.62 & 2.770 & 15.50 & 0 & 1 & 5 & 6 \\\\ \nMaserati Bora & 15.0 & 8 & 301.0 & 335 & 3.54 & 3.570 & 14.60 & 0 & 1 & 5 & 8 \\\\ \nVolvo 142E & 21.4 & 4 & 121.0 & 109 & 4.11 & 2.780 & 18.60 & 1 & 1 & 4 & 2 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrrrrrrrrr}\n\\toprule\n & mpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{12}{l}{\\rule{0pt}{0pt}} \\\\[-3.2ex] \n\\midrule\\addlinespace[2.5pt]\nDatsun 710 & 22.8 & 4 & 108.0 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & 1 \\\\ \nHornet 4 Drive & 21.4 & 6 & 258.0 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 & 1 \\\\ \nHornet Sportabout & 18.7 & 8 & 360.0 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 & 3 & 2 \\\\ \nValiant & 18.1 & 6 & 225.0 & 105 & 2.76 & 3.460 & 20.22 & 1 & 0 & 3 & 1 \\\\ \nDuster 360 & 14.3 & 8 & 360.0 & 245 & 3.21 & 3.570 & 15.84 & 0 & 0 & 3 & 4 \\\\ \nCadillac Fleetwood & 10.4 & 8 & 472.0 & 205 & 2.93 & 5.250 & 17.98 & 0 & 0 & 3 & 4 \\\\ \nLincoln Continental & 10.4 & 8 & 460.0 & 215 & 3.00 & 5.424 & 17.82 & 0 & 0 & 3 & 4 \\\\ \nChrysler Imperial & 14.7 & 8 & 440.0 & 230 & 3.23 & 5.345 & 17.42 & 0 & 0 & 3 & 4 \\\\ \nFiat 128 & 32.4 & 4 & 78.7 & 66 & 4.08 & 2.200 & 19.47 & 1 & 1 & 4 & 1 \\\\ \nHonda Civic & 30.4 & 4 & 75.7 & 52 & 4.93 & 1.615 & 18.52 & 1 & 1 & 4 & 2 \\\\ \nToyota Corolla & 33.9 & 4 & 71.1 & 65 & 4.22 & 1.835 & 19.90 & 1 & 1 & 4 & 1 \\\\ \nToyota Corona & 21.5 & 4 & 120.1 & 97 & 3.70 & 2.465 & 20.01 & 1 & 0 & 3 & 1 \\\\ \nDodge Challenger & 15.5 & 8 & 318.0 & 150 & 2.76 & 3.520 & 16.87 & 0 & 0 & 3 & 2 \\\\ \nAMC Javelin & 15.2 & 8 & 304.0 & 150 & 3.15 & 3.435 & 17.30 & 0 & 0 & 3 & 2 \\\\ \nCamaro Z28 & 13.3 & 8 & 350.0 & 245 & 3.73 & 3.840 & 15.41 & 0 & 0 & 3 & 4 \\\\ \nPontiac Firebird & 19.2 & 8 & 400.0 & 175 & 3.08 & 3.845 & 17.05 & 0 & 0 & 3 & 2 \\\\ \nFiat X1-9 & 27.3 & 4 & 79.0 & 66 & 4.08 & 1.935 & 18.90 & 1 & 1 & 4 & 1 \\\\ \nPorsche 914-2 & 26.0 & 4 & 120.3 & 91 & 4.43 & 2.140 & 16.70 & 0 & 1 & 5 & 2 \\\\ \nLotus Europa & 30.4 & 4 & 95.1 & 113 & 3.77 & 1.513 & 16.90 & 1 & 1 & 5 & 2 \\\\ \nFord Pantera L & 15.8 & 8 & 351.0 & 264 & 4.22 & 3.170 & 14.50 & 0 & 1 & 5 & 4 \\\\ \nFerrari Dino & 19.7 & 6 & 145.0 & 175 & 3.62 & 2.770 & 15.50 & 0 & 1 & 5 & 6 \\\\ \nMaserati Bora & 15.0 & 8 & 301.0 & 335 & 3.54 & 3.570 & 14.60 & 0 & 1 & 5 & 8 \\\\ \nVolvo 142E & 21.4 & 4 & 121.0 & 109 & 4.11 & 2.780 & 18.60 & 1 & 1 & 4 & 2 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{12}{l}{Mazda} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nMazda RX4 & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & 4 \\\\ \nMazda RX4 Wag & 21.0 & 6 & 160.0 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 & 4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{12}{l}{Mercs} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nMerc 240D & 24.4 & 4 & 146.7 & 62 & 3.69 & 3.190 & 20.00 & 1 & 0 & 4 & 2 \\\\ \nMerc 230 & 22.8 & 4 & 140.8 & 95 & 3.92 & 3.150 & 22.90 & 1 & 0 & 4 & 2 \\\\ \nMerc 280 & 19.2 & 6 & 167.6 & 123 & 3.92 & 3.440 & 18.30 & 1 & 0 & 4 & 4 \\\\ \nMerc 280C & 17.8 & 6 & 167.6 & 123 & 3.92 & 3.440 & 18.90 & 1 & 0 & 4 & 4 \\\\ \nMerc 450SE & 16.4 & 8 & 275.8 & 180 & 3.07 & 4.070 & 17.40 & 0 & 0 & 3 & 3 \\\\ \nMerc 450SL & 17.3 & 8 & 275.8 & 180 & 3.07 & 3.730 & 17.60 & 0 & 0 & 3 & 3 \\\\ \nMerc 450SLC & 15.2 & 8 & 275.8 & 180 & 3.07 & 3.780 & 18.00 & 0 & 0 & 3 & 3 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" diff --git a/tests/testthat/_snaps/rtf_cols_width.md b/tests/testthat/_snaps/rtf_cols_width.md index 675b6d84a..5adfcffe3 100644 --- a/tests/testthat/_snaps/rtf_cols_width.md +++ b/tests/testthat/_snaps/rtf_cols_width.md @@ -1,7 +1,7 @@ # cols_width() works in making RTF tables Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -194,7 +194,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -387,7 +387,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -580,7 +580,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -773,7 +773,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -966,7 +966,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1159,7 +1159,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1352,7 +1352,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1545,7 +1545,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1738,7 +1738,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1931,7 +1931,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2124,7 +2124,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2317,7 +2317,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2510,7 +2510,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2703,7 +2703,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2896,7 +2896,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3089,7 +3089,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3282,7 +3282,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3475,7 +3475,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3668,7 +3668,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3861,7 +3861,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -4054,7 +4054,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -4247,7 +4247,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -4440,7 +4440,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -4633,7 +4633,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -4826,7 +4826,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -5019,7 +5019,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -5212,7 +5212,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} diff --git a/tests/testthat/_snaps/rtf_page_options.md b/tests/testthat/_snaps/rtf_page_options.md index 2c23945e2..4170fdbb2 100644 --- a/tests/testthat/_snaps/rtf_page_options.md +++ b/tests/testthat/_snaps/rtf_page_options.md @@ -1,7 +1,7 @@ # Page options can used for RTF output Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -77,7 +77,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -160,7 +160,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -246,7 +246,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -335,7 +335,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -418,7 +418,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -501,7 +501,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -594,7 +594,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -675,7 +675,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -758,7 +758,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -841,7 +841,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -934,7 +934,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} diff --git a/tests/testthat/_snaps/rtf_summary_rows.md b/tests/testthat/_snaps/rtf_summary_rows.md index 81ff2f74c..20752718c 100644 --- a/tests/testthat/_snaps/rtf_summary_rows.md +++ b/tests/testthat/_snaps/rtf_summary_rows.md @@ -1,7 +1,7 @@ # Using summary rows in RTF tables is correct Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -315,7 +315,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -593,7 +593,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -885,7 +885,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1141,7 +1141,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1433,7 +1433,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1689,7 +1689,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1981,7 +1981,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -2273,7 +2273,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -2565,7 +2565,7 @@ --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} diff --git a/tests/testthat/_snaps/tab_footnote.md b/tests/testthat/_snaps/tab_footnote.md index 6850ee012..8c655f9a7 100644 --- a/tests/testthat/_snaps/tab_footnote.md +++ b/tests/testthat/_snaps/tab_footnote.md @@ -1,21 +1,21 @@ # Footnotes with no location are rendered correctly Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
A footnote.
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nA footnote.\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -98,21 +98,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
A footnote.
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nA footnote.\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -195,21 +195,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1 0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
A footnote.
1 A footnote.
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111\\textsuperscript{\\textit{1}} & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nA footnote.\\\\\n\\textsuperscript{\\textit{1}}A footnote.\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -292,21 +292,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1 0.1111apricotone2015-01-1513:352018-01-01 02:2249.95row_1grp_a
\n
A footnote. A second footnote. 1 location note
\n
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\toprule\nnum & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n0.1111\\textsuperscript{\\textit{1}} & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.95 & row\\_1 & grp\\_a \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nA footnote. A second footnote. \\textsuperscript{\\textit{1}}location note\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -389,35 +389,35 @@ # Footnotes are correctly placed with text produced by `fmt_markdown()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
char
apricot1
1 note
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
char
1 apricot
1 note
" # Footnotes work with group labels in 2-column stub arrangements Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n\n \n\n \n\n \n\n \n\n\n \n\n \n\n \n\n \n \n \n \n \n \n \n
Pizzas Sold
peppr_salami1L696
M428
S322
sum1,446
soppressataL405
M268
S288
sum961
1 The Pepper-Salami.
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|l|r}\n\\toprule\n\\multicolumn{2}{c}{} & Pizzas Sold \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{4}{*}{peppr\\_salami\\textsuperscript{\\textit{1}}} & L & 696 \\\\ \n & M & 428 \\\\ \n & S & 322 \\\\ \n\\cmidrule(l{-0.05em}r){2-3}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{sum} & 1,446 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{4}{*}{soppressata} & L & 405 \\\\ \n & M & 268 \\\\ \n & S & 288 \\\\ \n\\cmidrule(l{-0.05em}r){2-3}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{sum} & 961 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\n\\textsuperscript{\\textit{1}}The Pepper-Salami.\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} diff --git a/tests/testthat/_snaps/tab_options.md b/tests/testthat/_snaps/tab_options.md index 6a51f49ee..6607c2e73 100644 --- a/tests/testthat/_snaps/tab_options.md +++ b/tests/testthat/_snaps/tab_options.md @@ -1,28 +1,28 @@ # Vertical padding across several table parts can be applied Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n
The mtcars Dataset1
What a great dataset this is
mpgcyl\n performance\n wtqsecvsamgearcarb
disphpdrat
Mazda RX421.061601103.902.62016.460144
Mazda RX4 Wag21.061601103.902.87517.020144
Datsun 71022.84108933.852.32018.611141
Hornet 4 Drive21.462581103.083.21519.441031
Hornet Sportabout18.783601753.153.44017.020032
Dataset is generally available in R
1 A table footnote
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n
The mtcars Dataset1
What a great dataset this is
mpgcyl\n performance\n wtqsecvsamgearcarb
disphpdrat
Mazda RX421.061601103.902.62016.460144
Mazda RX4 Wag21.061601103.902.87517.020144
Datsun 71022.84108933.852.32018.611141
Hornet 4 Drive21.462581103.083.21519.441031
Hornet Sportabout18.783601753.153.44017.020032
Dataset is generally available in R
1 A table footnote
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n
The mtcars Dataset1
What a great dataset this is
mpgcyl\n performance\n wtqsecvsamgearcarb
disphpdrat
Mazda RX421.061601103.902.62016.460144
Mazda RX4 Wag21.061601103.902.87517.020144
Datsun 71022.84108933.852.32018.611141
Hornet 4 Drive21.462581103.083.21519.441031
Hornet Sportabout18.783601753.153.44017.020032
Dataset is generally available in R
1 A table footnote
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n
The mtcars Dataset1
What a great dataset this is
mpgcyl\n performance\n wtqsecvsamgearcarb
disphpdrat
Mazda RX421.061601103.902.62016.460144
Mazda RX4 Wag21.061601103.902.87517.020144
Datsun 71022.84108933.852.32018.611141
Hornet 4 Drive21.462581103.083.21519.441031
Hornet Sportabout18.783601753.153.44017.020032
Dataset is generally available in R
1 A table footnote
" diff --git a/tests/testthat/_snaps/tab_remove.md b/tests/testthat/_snaps/tab_remove.md index c28c7e2de..559d26af9 100644 --- a/tests/testthat/_snaps/tab_remove.md +++ b/tests/testthat/_snaps/tab_remove.md @@ -1,105 +1,105 @@ # A table header can be removed using `rm_header()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
test title
test subtitle
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" # Stubhead labels can be removed using `rm_stubhead()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
Stubhead Labelnumcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" # Spanner column labels can be removed using `rm_spanners()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
\n Performance\n
yearbdy_style\n HP\n \n Torque\n \n MPG\n msrp
hphp_rpmtrqtrq_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_stylehphp_rpmtrqtrq_rpmmpg_cmpg_hmsrp
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
\n Performance\n
yearbdy_stylehphp_rpm\n Torque\n \n MPG\n msrp
trqtrq_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
\n Performance\n
yearbdy_style\n HP\n trqtrq_rpm\n MPG\n msrp
hphp_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
\n Performance\n
yearbdy_style\n HP\n \n Torque\n mpg_cmpg_hmsrp
hphp_rpmtrqtrq_rpm
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_style\n HP\n \n Torque\n \n MPG\n msrp
hphp_rpmtrqtrq_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_style\n Performance\n msrp
hphp_rpmtrqtrq_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_stylehphp_rpmtrqtrq_rpmmpg_cmpg_hmsrp
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_style\n Performance\n msrp
hphp_rpmtrqtrq_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_style\n HP\n \n Torque\n \n MPG\n msrp
hphp_rpmtrqtrq_rpmmpg_cmpg_h
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
yearbdy_stylehphp_rpmtrqtrq_rpmmpg_cmpg_hmsrp
GT2017coupe647625055059001118447000
458 Speciale2015coupe597900039860001317291744
458 Spider2015convertible562900039860001317263553
458 Italia2014coupe562900039860001317233509
488 GTB2016coupe661800056130001522245400
California2015convertible553750055747501623198973
GTC4Lusso2017coupe680825051457501217298000
FF2015coupe652800050460001116295000
" @@ -120,28 +120,28 @@ # Table footnotes can be removed using `rm_footnotes()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
1 Footnote 1
2 Footnote 2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
1 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
1 Footnote 2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
1 Footnote 1
" @@ -168,28 +168,28 @@ # Table source notes can be removed using `rm_source_notes()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source Note 1
Source Note 2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source Note 2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source Note 1
" diff --git a/tests/testthat/_snaps/tab_spanner_delim.md b/tests/testthat/_snaps/tab_spanner_delim.md index cc348de56..00097e4c7 100644 --- a/tests/testthat/_snaps/tab_spanner_delim.md +++ b/tests/testthat/_snaps/tab_spanner_delim.md @@ -1,259 +1,259 @@ # tab_spanner_delim() works on higher-order spanning Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n span_1\n \n span_2\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n span_1\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n span_1\n
\n span_1\n \n B\n A\n B\n
AXY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n A\n \n B\n \n A\n \n B\n
WXYZ
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n W\n \n X\n \n Y\n \n Z\n
ABAB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n W\n \n X\n all.Y.Aall.Z.B
AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n \n all\n
\n W\n all.X.Ball.Y.A\n Z\n
AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n W\n \n X\n \n Y\n \n Z\n
ABAB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n W\n \n X\n \n Y\n \n Z\n
ABAB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
W__1AX__1BY__1AZ__1B
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n W\n \n X\n \n Y\n \n Z\n
ABAB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all__1W\n \n all__1X\n \n all__1Y\n \n all__1Z\n
ABAB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n all\n
\n W\n \n X\n \n Y\n \n Z\n
ABAB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n A\n \n B\n \n A\n \n B\n
\n W\n \n X\n \n Y\n \n Z\n
allallallall
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n A\n \n B\n \n A\n \n B\n
\n W\n \n X\n \n Y\n \n Z\n
allallallall
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n A\n \n B\n \n A\n \n B\n
all__1Wall__1Xall__1Yall__1Z
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n W__1A\n \n X__1B\n \n Y__1A\n \n Z__1B\n
allallallall
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n ALL ABOVE\n
\n all\n \n all\n
\n W\n all.X.Ball.Y.A\n Z\n
AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n ALL ABOVE\n
\n all\n \n SUSPENDED\n \n all\n
\n W\n all.X.Ball.Y.A\n Z\n
AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n ALL ABOVE\n
\n all\n \n SUSPENDED\n \n all\n
\n W\n \n INFILL\n \n Z\n
Aall.X.Ball.Y.AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n REPLACED\n
\n all\n \n SUSPENDED\n \n all\n
\n W\n \n INFILL\n \n Z\n
Aall.X.Ball.Y.AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n Above It All\n
\n REPLACED\n
\n all\n \n SUSPENDED\n \n all\n
\n W\n \n INFILL\n \n Z\n
Aall.X.Ball.Y.AB
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n Data\n
\n span_1\n \n span_2\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n Data\n
\n span_1\n \n span_2\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n Cut In\n \n Data\n
\n span_1\n \n span_2\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n Cut Across\n
\n Cut In\n \n Data\n
\n span_1\n \n span_2\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n Cut Across\n \n Cut Across\n
\n Data\n \n Cut In\n
\n span_2\n \n span_1\n
\n A\n \n B\n \n A\n \n B\n
YYXX
3412
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n span_1\n \n span_2\n
\n A\n \n B\n \n A\n \n B\n
XXYY
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n \n \n
\n X\n \n Y\n
\n A\n \n B\n \n A\n \n B\n
span_1span_1span_2span_2
1234
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n
\n B\n \n A\n
\n C\n \n B\n \n A\n
\n D\n \n C\n \n B\n \n A\n A
EDCB
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n
\n B\n \n A\n
\n C\n \n B\n \n A\n
\n D\n \n C\n \n B\n \n A\n A
EDCB
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n E\n
\n D\n
\n C\n
\n B\n A
AAAA
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n \n Z\n
\n B\n \n A\n \n Z\n
\n C\n \n B\n \n A\n \n Z\n
\n D\n \n C\n \n B\n \n A\n \n Z\n
EDCBA
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n \n Y\n
\n B\n \n A\n \n Z\n
\n C\n \n B\n \n A\n \n Z\n
\n D\n \n C\n \n B\n \n A\n \n Z\n
EDCBA
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n
\n B\n \n A\n
\n C\n \n B\n \n A\n
\n D\n \n C\n \n B\n \n A\n A
EDCB
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n
\n B\n \n A\n
\n C\n \n B\n \n A\n
\n D\n \n C\n \n B\n \n A\n A
EDCB
12345
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n \n \n
\n A\n
\n B\n \n A\n
__\n C\n \n B\n \n A\n A
DCB
12345
" diff --git a/tests/testthat/_snaps/tab_stub_indent.md b/tests/testthat/_snaps/tab_stub_indent.md index fd658e1f9..11780494e 100644 --- a/tests/testthat/_snaps/tab_stub_indent.md +++ b/tests/testthat/_snaps/tab_stub_indent.md @@ -1,112 +1,112 @@ # A gt table can contain indentation in the stub Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrl}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} row\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \n\\hspace*{3.75pt} row\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \n\\hspace*{3.75pt} row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrl}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \n\\hspace*{7.5pt} row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \n\\hspace*{7.5pt} row\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \n\\hspace*{7.5pt} row\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" # Indentation values can be obtained from a table column Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
fctrcurrencyrank
durianfour65100.0001
NAfive1325.8102
apricotone49.9503
bananatwo17.9504
figsix13.2555
coconutthree1.3906
honeydeweight0.4407
grapefruitsevenNANA
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{7.5pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \ngrapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
fctrcurrencyrank
grp_a
durianfour65100.0001
apricotone49.9503
bananatwo17.9504
coconutthree1.3906
grp_b
NAfive1325.8102
figsix13.2555
honeydeweight0.4407
grapefruitsevenNANA
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{7.5pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \ngrapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
fctrcurrencyrank
grp_a
durianfour65100.0001
apricotone49.9503
bananatwo17.9504
coconutthree1.3906
grp_b
NAfive1325.8102
figsix13.2555
honeydeweight0.4407
grapefruitsevenNANA
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{7.5pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \n\\hspace*{11.25pt} grapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
fctrcurrencyrank
grp_a
durianfour65100.0001
apricotone49.9503
bananatwo17.9504
coconutthree1.3906
grp_b
NAfive1325.8102
figsix13.2555
honeydeweight0.4407
grapefruitsevenNANA
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{7.5pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{15pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{18.75pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{11.25pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \n\\hspace*{11.25pt} grapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
fctrcurrencyrank
grp_a
durianfour65100.0001
apricotone49.9503
bananatwo17.9504
coconutthree1.3906
grp_b
NAfive1325.8102
figsix13.2555
honeydeweight0.4407
grapefruitsevenNANA
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \ncoconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nNA & five & 1325.810 & 2 \\\\ \nfig & six & 13.255 & 5 \\\\ \nhoneydew & eight & 0.440 & 7 \\\\ \n\\hspace*{11.25pt} grapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
fctrcurrencyrank
durianfour65100.0001.7
NAfive1325.8102.7
apricotone49.9503.7
bananatwo17.9504.7
figsix13.2555.7
coconutthree1.3906.7
honeydeweight0.4407.7
grapefruitsevenNANA
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1.7 \\\\ \n\\hspace*{7.5pt} NA & five & 1325.810 & 2.7 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3.7 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4.7 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5.7 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6.7 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7.7 \\\\ \ngrapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" diff --git a/tests/testthat/_snaps/tab_style.md b/tests/testthat/_snaps/tab_style.md index 24e73d61e..24be0ca07 100644 --- a/tests/testthat/_snaps/tab_style.md +++ b/tests/testthat/_snaps/tab_style.md @@ -76,7 +76,7 @@ # Using fonts in `from_column()` works within `cell_*()` fns Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
numbkg_colortxt_colorsizealignv_alignstyleweightstretchdecoratetransformwhitespaceindent
onebluewhite14pxleftmiddlenormalnormalnormaloverlineuppercasenormal0
twored#FFF20pxrighttopitalicboldsemi-expandedline-throughlowercasenowrap4
threeyellowgray1024pxcenterbottomobliquelighterexpandedunderlinecapitalizepre8
fourrebeccapurple#FFFFFFEE30pxrightmiddlenormalbolderextra-expandedunderline overlinelowercasepre-wrap10
" diff --git a/tests/testthat/_snaps/tab_style_body.md b/tests/testthat/_snaps/tab_style_body.md index aeb8478c5..097953e22 100644 --- a/tests/testthat/_snaps/tab_style_body.md +++ b/tests/testthat/_snaps/tab_style_body.md @@ -1,105 +1,105 @@ # tab_style_body() works correctly Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
" diff --git a/tests/testthat/_snaps/table_parts.md b/tests/testthat/_snaps/table_parts.md index 74676ee16..54d83fbee 100644 --- a/tests/testthat/_snaps/table_parts.md +++ b/tests/testthat/_snaps/table_parts.md @@ -1,28 +1,28 @@ # A gt table contains the expected heading components Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
test title
mpgcyldisphpdratwtqsecvsamgearcarb
21.061601103.902.62016.460144
21.061601103.902.87517.020144
22.84108933.852.32018.611141
21.462581103.083.21519.441031
18.783601753.153.44017.020032
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
test title
test subtitle
mpgcyldisphpdratwtqsecvsamgearcarb
21.061601103.902.62016.460144
21.061601103.902.87517.020144
22.84108933.852.32018.611141
21.462581103.083.21519.441031
18.783601753.153.44017.020032
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
test title
mpgcyldisphpdratwtqsecvsamgearcarb
21.061601103.902.62016.460144
21.061601103.902.87517.020144
22.84108933.852.32018.611141
21.462581103.083.21519.441031
18.783601753.153.44017.020032
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
test title
mpgcyldisphpdratwtqsecvsamgearcarb
21.061601103.902.62016.460144
21.061601103.902.87517.020144
22.84108933.852.32018.611141
21.462581103.083.21519.441031
18.783601753.153.44017.020032
" diff --git a/tests/testthat/test-as_latex.R b/tests/testthat/test-as_latex.R index dc1680144..2ad2906e4 100644 --- a/tests/testthat/test-as_latex.R +++ b/tests/testthat/test-as_latex.R @@ -145,9 +145,9 @@ test_that("Table styles correctly applied for longtable", { tab_style(style = cell_fill(color = "#AAAAAA"), locations = cells_grand_summary()) %>% tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - expect_snapshot() + as_latex() + expect_snapshot(gt_latex_styled) }) test_that("Table styles correctly applied for tabular*", { @@ -210,7 +210,7 @@ test_that("Table styles correctly applied for tabular*", { tab_style(style = list(cell_text(color = "#FFFFFF"), cell_fill(color = "#AA0000")), locations = cells_stub()) %>% - # Footnoe and source note styles + # Footnote and source note styles tab_style(style = cell_text(size = 8, style = "italic"), locations = cells_source_notes()) %>% @@ -233,8 +233,8 @@ test_that("Table styles correctly applied for tabular*", { tab_style(style = cell_fill(color = "#AAAAAA"), locations = cells_grand_summary()) %>% tab_options(latex.use_longtable = FALSE) %>% - as_latex() %>% - expect_snapshot() + as_latex() + expect_snapshot(gt_latex_styled) }) diff --git a/tests/testthat/test-as_word.R b/tests/testthat/test-as_word.R index b5515df46..2f2720c5b 100644 --- a/tests/testthat/test-as_word.R +++ b/tests/testthat/test-as_word.R @@ -93,68 +93,32 @@ test_that("word ooxml can be generated from gt object", { exibble_min <- exibble[1, ] ## basic table - exibble_min %>% - gt() %>% - as_word() %>% - expect_snapshot() + expect_snapshot_word(gt(exibble_min)) ## basic table with title - exibble_min %>% + gt_tbl_1 <- exibble_min %>% gt() %>% tab_header( title = "TABLE TITLE", subtitle = "table subtitle" - ) %>% - as_word() %>% - expect_snapshot() + ) + expect_snapshot_word(gt_tbl_1) ## basic table with title added below table - exibble_min %>% - gt() %>% - tab_header( - title = "TABLE TITLE", - subtitle = "table subtitle" - ) %>% - as_word(caption_location = "bottom") %>% - expect_snapshot() + expect_snapshot_word(gt_tbl_1, caption_location = "bottom") ## basic table with title embedded on the top of table - exibble_min %>% - gt() %>% - tab_header( - title = "TABLE TITLE", - subtitle = "table subtitle" - ) %>% - as_word(caption_location = "embed") %>% - expect_snapshot() + expect_snapshot_word(gt_tbl_1, caption_location = "embed") ## basic table with split enabled - exibble_min %>% - gt() %>% - tab_header( - title = "TABLE TITLE", - subtitle = "table subtitle" - ) %>% - as_word( - split = TRUE - ) %>% - expect_snapshot() + expect_snapshot_word(gt_tbl_1, split = TRUE) ## basic table with keep_with_next disabled (should only appear in the column ## headers) - exibble_min %>% - gt() %>% - tab_header( - title = "TABLE TITLE", - subtitle = "table subtitle" - ) %>% - as_word( - keep_with_next = FALSE - ) %>% - expect_snapshot() + expect_snapshot_word(gt_tbl_1, keep_with_next = FALSE) ## Table with cell styling - exibble[1:4,] %>% + gt_tbl_2 <- exibble[1:4,] %>% gt(rowname_col = "char") %>% tab_row_group("My Row Group 1",c(1:2)) %>% tab_row_group("My Row Group 2",c(3:4)) %>% @@ -184,11 +148,8 @@ test_that("word ooxml can be generated from gt object", { color = "blue" ), locations = cells_row_groups() - ) %>% - as_word( - keep_with_next = FALSE - ) %>% - expect_snapshot() + ) + expect_snapshot_word(gt_tbl_2, keep_with_next = FALSE) ## table with column and span styling gt_exibble_min <- @@ -232,11 +193,7 @@ test_that("word ooxml escapes special characters in gt object", { dplyr::mutate(special_characters = "><&\n\r\"'") ## basic table - exibble_min %>% - gt() %>% - as_word() %>% - expect_snapshot() - + expect_snapshot_word(gt(exibble_min)) }) test_that("word ooxml escapes special characters in gt object footer", { @@ -245,11 +202,10 @@ test_that("word ooxml escapes special characters in gt object footer", { exibble_min <- exibble[1, ] ## basic table with invalid footnote - exibble_min %>% + gt_tbl <- exibble_min %>% gt() %>% - tab_footnote(footnote = "p < .05, ><&\n\r\"'") %>% - as_word() %>% - expect_snapshot() + tab_footnote(footnote = "p < .05, ><&\n\r\"'") + expect_snapshot_word(gt_tbl) }) diff --git a/tests/testthat/test-cols_align_decimal.R b/tests/testthat/test-cols_align_decimal.R index ce0b7d4bb..25c0f3ad1 100644 --- a/tests/testthat/test-cols_align_decimal.R +++ b/tests/testthat/test-cols_align_decimal.R @@ -33,7 +33,7 @@ test_that("Decimal alignment works in the basic case", { ) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) # Ensure that trailing decimal marks are aligned; # use `cols_align_decimal()` on both columns @@ -48,7 +48,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) # Use `fmt_percent()` on the `num` column, then align # decimal marks @@ -63,7 +63,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4) # Use `fmt_percent()` on the `num` column again, ensuring that # trailing decimal marks are not dropped; then align decimal marks @@ -79,7 +79,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5) # Use `fmt_partsper()` on the `num` column, then align @@ -95,7 +95,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6) # Use `fmt_partsper()` on the `num` column again, ensuring that # trailing decimal marks are not dropped; then align decimal marks @@ -111,7 +111,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_7) # Use `fmt_partsper()` with `ppm` units; then align decimal marks gt_tbl_8 <- @@ -126,7 +126,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_8) # Use `fmt_partsper()` with `ppm` units, ensuring that # trailing decimal marks are not dropped; then align decimal marks @@ -143,7 +143,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_9 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_9) # Use `cols_align_decimal()` on a table based on the exibble # dataset; expect that `cols_align_decimal()` has no material affect @@ -153,7 +153,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_10) # Use `fmt_percent()` and use a non-default `pattern` value; # then align decimal marks @@ -170,7 +170,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_11) # Use `fmt_number()` and use the `accounting` option; then align # decimal marks @@ -186,7 +186,7 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_12 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_12) # Use `fmt_currency()` and use the `accounting` option with no decimals; then align # based on implied decimal @@ -200,5 +200,5 @@ test_that("Decimal alignment works in the basic case", { cols_align_decimal() # Perform snapshot test - gt_tbl_13 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_13) }) diff --git a/tests/testthat/test-cols_merge.R b/tests/testthat/test-cols_merge.R index 6b7b33726..cd0c760ef 100644 --- a/tests/testthat/test-cols_merge.R +++ b/tests/testthat/test-cols_merge.R @@ -133,7 +133,7 @@ test_that("cols_merge() works correctly", { cols_merge(columns = c(row, a)) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) # Merge the stub column with column `b` (has character values) gt_tbl_2 <- @@ -141,7 +141,7 @@ test_that("cols_merge() works correctly", { cols_merge(columns = c(row, b)) # Perform snapshot test - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) # Merge the stub column with a formatted column `a` # (has lowercase Roman numerals, transformed to character from integer) @@ -151,7 +151,7 @@ test_that("cols_merge() works correctly", { cols_merge(columns = c(row, a)) # Perform snapshot test - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) # Ensure that `group` columns don't get the same treatment expect_equal( @@ -174,7 +174,7 @@ test_that("cols_merge() works correctly", { ) # Perform snapshot test - gt_tbl_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4) }) test_that("The secondary pattern language works well in `cols_merge()`", { @@ -418,7 +418,7 @@ test_that("cols_merge_uncert() works with row groups", { cols_merge_uncert(col_val = row, col_uncert = a) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) # Use `cols_merge_uncert()` with a vector of `rows` which limits the rows # that participate in the merging process @@ -432,7 +432,7 @@ test_that("cols_merge_uncert() works with row groups", { ) # Perform snapshot test - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) }) test_that("cols_merge_uncert() works nicely with different error bounds", { @@ -505,7 +505,7 @@ test_that("cols_merge_uncert() works nicely with different error bounds", { ) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) }) test_that("cols_merge_range() works correctly", { @@ -705,7 +705,7 @@ test_that("cols_merge_range() produces the correct output", { cols_merge_range(col_begin = row, col_end = a) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) # Merge the stub column with column `b` (has character values) gt_tbl_2 <- @@ -713,7 +713,7 @@ test_that("cols_merge_range() produces the correct output", { cols_merge_range(col_begin = row, col_end = b) # Perform snapshot test - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) # Merge the stub column with a formatted column `a` # (has lowercase Roman numerals, transformed to character from integer) @@ -723,7 +723,7 @@ test_that("cols_merge_range() produces the correct output", { cols_merge_range(col_begin = row, col_end = a) # Perform snapshot test - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) # Merge the formatted stub column with column `a` # (has lowercase Roman numerals, transformed to character from integer) @@ -733,7 +733,7 @@ test_that("cols_merge_range() produces the correct output", { cols_merge_range(col_begin = row, col_end = a) # Perform snapshot test - gt_tbl_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4) # Use `cols_merge_range()` with a vector of `rows` which limits the rows # that participate in the merging process @@ -746,7 +746,7 @@ test_that("cols_merge_range() produces the correct output", { ) # Perform snapshot test - gt_tbl_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5) }) test_that("cols_merge_n_pct() works correctly", { @@ -822,7 +822,7 @@ test_that("cols_merge_n_pct() works correctly", { cols_merge_n_pct(col_n = row, col_pct = a) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) # Use `cols_merge_n_pct()` with a vector of `rows` which limits the rows # that participate in the merging process @@ -837,5 +837,5 @@ test_that("cols_merge_n_pct() works correctly", { fmt_percent(columns = b, decimals = 1) # Perform snapshot test - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) }) diff --git a/tests/testthat/test-cols_width.R b/tests/testthat/test-cols_width.R index ff5dc883a..62e540b2e 100644 --- a/tests/testthat/test-cols_width.R +++ b/tests/testthat/test-cols_width.R @@ -1040,7 +1040,7 @@ test_that("column widths are accurately reflected in Latex multicolumn statement n = runif(5), w = runif(5)) - gt(tbl_random1, + gt_tbl <- gt(tbl_random1, rowname_col = 'x', row_group_as_column = FALSE) %>% fmt_number(decimals = 3) %>% @@ -1050,12 +1050,8 @@ test_that("column widths are accurately reflected in Latex multicolumn statement tab_spanner(label = 'Spanner with a long title that should be wrapped', columns = c('y', 'z')) %>% tab_spanner(label = 'Spanner2', columns = c('n', 'w')) %>% tab_spanner(label = 'Another long spanner that needs to wrap even more than the other', columns = c('z', 'm')) %>% - summary_rows(fns = list("mean")) %>% - as_latex() %>% - expect_snapshot() + summary_rows(fns = list("mean")) + expect_snapshot(as_latex(gt_tbl)) }) - - - diff --git a/tests/testthat/test-fmt_markdown.R b/tests/testthat/test-fmt_markdown.R index d68c79d82..eddeb5a62 100644 --- a/tests/testthat/test-fmt_markdown.R +++ b/tests/testthat/test-fmt_markdown.R @@ -233,5 +233,5 @@ test_that("LaTeX formulas render correctly in HTML", { ) skip_if_not_installed("katex", "1.4.1") # Take a snapshot of `gt_tbl` - gt_tbl %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl) }) diff --git a/tests/testthat/test-footer.R b/tests/testthat/test-footer.R index 8c21f72b3..201a3725f 100644 --- a/tests/testthat/test-footer.R +++ b/tests/testthat/test-footer.R @@ -20,9 +20,9 @@ test_that("The footer section formatting and options work well across all output ) # Take snapshots of `exibble_multiline` - exibble_multiline %>% render_as_html() %>% expect_snapshot() - exibble_multiline %>% as_latex() %>% as.character() %>% expect_snapshot() - exibble_multiline %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(exibble_multiline) + expect_snapshot_latex(exibble_multiline) + expect_snapshot_rtf(exibble_multiline) # 2: Footer as single-line paragraphs with `sep` setting exibble_oneline <- @@ -36,9 +36,9 @@ test_that("The footer section formatting and options work well across all output ) # Take snapshots of `exibble_oneline` - exibble_oneline %>% render_as_html() %>% expect_snapshot() - exibble_oneline %>% as_latex() %>% as.character() %>% expect_snapshot() - exibble_oneline %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(exibble_oneline) + expect_snapshot_latex(exibble_oneline) + expect_snapshot_rtf(exibble_oneline) # 3: Preservation of raw `sep` value in HTML output exibble_sep_html <- @@ -51,7 +51,7 @@ test_that("The footer section formatting and options work well across all output ) # Take snapshot of `exibble_sep_html` - exibble_sep_html %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(exibble_sep_html) # 4: Preservation of raw `sep` value in LaTeX output exibble_sep_latex <- @@ -65,7 +65,7 @@ test_that("The footer section formatting and options work well across all output ) # Take snapshot of `exibble_sep_latex` - exibble_sep_latex %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_latex(exibble_sep_latex) # 5: Preservation of raw `sep` value in RTF output exibble_sep_rtf <- @@ -78,5 +78,5 @@ test_that("The footer section formatting and options work well across all output ) # Take snapshot of `exibble_sep_rtf` - exibble_sep_rtf %>% as_rtf() %>% expect_snapshot() + expect_snapshot_rtf(exibble_sep_rtf) }) diff --git a/tests/testthat/test-l_summary_rows.R b/tests/testthat/test-l_summary_rows.R index 5b9c87b7c..e003aaada 100644 --- a/tests/testthat/test-l_summary_rows.R +++ b/tests/testthat/test-l_summary_rows.R @@ -19,131 +19,112 @@ test_that("Using summary rows in LaTeX tables is correct", { # Tests with `grand_summary_rows()` # - gt(tbl) %>% + gt_tbl_1 <- gt(tbl) %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) - gt(tbl, rowname_col = "row") %>% + expect_snapshot_latex(gt_tbl_1) + + gt_tbl_2 <- gt(tbl, rowname_col = "row") %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_2) - gt(tbl, groupname_col = "group") %>% + gt_tbl_3 <- gt(tbl, groupname_col = "group") %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_3) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + gt_tbl_4 <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_4) # # Tests with `summary_rows()` # - gt(tbl, groupname_col = "group") %>% + gt_tbl_5 <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_5) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + gt_tbl_6 <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% summary_rows( groups = "first_five", columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_6) - gt(tbl, groupname_col = "group") %>% + gt_tbl_7 <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_1, col_3), fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_7) - gt(tbl, groupname_col = "group") %>% + gt_tbl_8 <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_3, col_1, col_4), fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_8) - gt(tbl, groupname_col = "group") %>% + gt_tbl_9 <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_3, col_1, col_4, col_2), fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_9) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + gt_tbl_10 <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_1, col_3), fns = list(average = ~ mean(., na.rm = TRUE)), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_10) # # Tests with both `summary_rows()` and `grand_summary_rows()` # - gt(tbl, groupname_col = "group") %>% + gt_tbl_11 <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = col_1, @@ -183,12 +164,10 @@ test_that("Using summary rows in LaTeX tables is correct", { ), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + expect_snapshot_latex(gt_tbl_11) + gt_tbl_12 <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% summary_rows( groups = "first_five", columns = col_1, @@ -228,8 +207,6 @@ test_that("Using summary rows in LaTeX tables is correct", { ), fmt = list(~ fmt_number(.)) ) %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_12) }) diff --git a/tests/testthat/test-l_table_parts.R b/tests/testthat/test-l_table_parts.R index 7d87d1c7b..c2b955523 100644 --- a/tests/testthat/test-l_table_parts.R +++ b/tests/testthat/test-l_table_parts.R @@ -30,43 +30,38 @@ test_that("A gt table contains the expected heading components", { # Perform a snapshot test where a LaTeX table # contains only a title - mtcars_short %>% + gt_tbl_1 <- mtcars_short %>% gt() %>% tab_header(title = "test title") %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + + expect_snapshot_latex(gt_tbl_1) # Perform a snapshot test where a LaTeX table # contains a title and a subtitle - mtcars_short %>% + gt_tbl_2 <- mtcars_short %>% gt() %>% tab_header(title = "test title", subtitle = "test subtitle") %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + + expect_snapshot_latex(gt_tbl_2) # Expect that providing a subtitle value with an empty # string won't produce a subtitle line - mtcars_short %>% + gt_tbl_3 <- mtcars_short %>% gt() %>% tab_header(title = "test title", subtitle = "") %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + expect_snapshot_latex(gt_tbl_3) # Expect that providing a subtitle value with a series # a space characters also won't produce a subtitle line - mtcars_short %>% + gt_tbl_4 <- mtcars_short %>% gt() %>% tab_header(title = "test title", subtitle = " ") %>% - tab_options(latex.use_longtable = TRUE) %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + tab_options(latex.use_longtable = TRUE) + + expect_snapshot_latex(gt_tbl_4) }) test_that("A gt table contains the expected stubhead label", { @@ -102,10 +97,7 @@ test_that("A gt table contains the expected column spanner labels", { tab_options(latex.use_longtable = TRUE) # Expect that the spanner will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Create a `tbl_latex` object with `gt()`; this table # contains the spanner heading `perimeter` over the @@ -120,10 +112,7 @@ test_that("A gt table contains the expected column spanner labels", { tab_options(latex.use_longtable = TRUE) # Expect that the spanner will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Expect an error when using column labels that don't exist expect_error( @@ -157,10 +146,7 @@ test_that("A gt table contains the expected column spanner labels", { tab_options(latex.use_longtable = TRUE) # Expect that the spanners will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Create a `tbl_latex` object that doesn't gather columns under their # respective spanner column labels; also, while the labels are all the same @@ -174,10 +160,7 @@ test_that("A gt table contains the expected column spanner labels", { tab_options(latex.use_longtable = TRUE) # Expect that the spanners will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Create a `tbl_latex` object with spanners with different IDs # but the same label; the spanner with ID `y` gathers columns beginning @@ -190,10 +173,7 @@ test_that("A gt table contains the expected column spanner labels", { tab_options(latex.use_longtable = TRUE) # Expect that the spanners will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Create a `tbl_latex` object that uses `tab_spanner_delim()` # on a subset of columns; the single spanner column label is @@ -207,10 +187,7 @@ test_that("A gt table contains the expected column spanner labels", { tab_options(latex.use_longtable = TRUE) # Expect that the spanners will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) }) test_that("A gt table contains the expected source note", { @@ -225,10 +202,7 @@ test_that("A gt table contains the expected source note", { tab_options(latex.use_longtable = TRUE) # Expect that the source note will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Add another source note to the `gt_tbl` object # Create a `tbl_latex` object with `gt()`; this table @@ -244,10 +218,7 @@ test_that("A gt table contains the expected source note", { tab_options(latex.use_longtable = TRUE) # Expect that both source notes will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) }) test_that("A gt table contains the correct placement of row groups", { @@ -264,10 +235,7 @@ test_that("A gt table contains the correct placement of row groups", { tab_options(latex.use_longtable = TRUE) # Expect that the row groups will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) # Create a `tbl_latex` object with `gt()`; this table # contains a three row groups and the use of `row_group_order()` @@ -286,8 +254,5 @@ test_that("A gt table contains the correct placement of row groups", { tab_options(latex.use_longtable = TRUE) # Expect that the row groups will be correctly produced - tbl_latex %>% - as_latex() %>% - as.character() %>% - expect_snapshot() + expect_snapshot_latex(tbl_latex) }) diff --git a/tests/testthat/test-rtf_cols_width.R b/tests/testthat/test-rtf_cols_width.R index 6bffb2ba1..431d19644 100644 --- a/tests/testthat/test-rtf_cols_width.R +++ b/tests/testthat/test-rtf_cols_width.R @@ -20,10 +20,9 @@ test_that("cols_width() works in making RTF tables", { # (1) UNDEF # All columns are variable (equal widths unless # content in some columns causes width expansion) - gt_tbl %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + gt_tbl_1 <- gt_tbl %>% + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_1) # (2) PX @@ -32,54 +31,50 @@ test_that("cols_width() works in making RTF tables", { # (of px values will act as proportions of width, # as long as their sum isn't greater than the # overall table width) - gt_tbl %>% + gt_tbl_2 <- gt_tbl %>% cols_width( everything() ~ px(100) ) %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_2) # (3) PX + UNDEF # Define some columns in terms of px values; # undefined widths will be variable (based on content, # filling the remaining width) - gt_tbl %>% + gt_tbl_3 <- gt_tbl %>% cols_width( num ~ px(120), char ~ px(140) ) %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_3) # (4) PCT # If everything is in terms of percentages, the # proportional widths are normalized, overall # table width is honored - gt_tbl %>% + gt_tbl_4 <- gt_tbl %>% cols_width( everything() ~ pct(30) ) %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_4) # (5) PCT + UNDEF # Define some columns in terms of % values; # undefined widths will be variable (based on content, # filling the remaining width) - gt_tbl %>% + gt_tbl_5 <- gt_tbl %>% cols_width( row ~ pct(5), # this is the stub column char ~ pct(10) ) %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_5) # (6) PX + PCT @@ -88,16 +83,15 @@ test_that("cols_width() works in making RTF tables", { # exact routine is not intuitive; table.width seems # to be constant no matter what values are given # for the column widths - gt_tbl %>% + gt_tbl_6 <- gt_tbl %>% cols_width( row ~ px(100), num ~ px(100), char ~ pct(10), datetime ~ pct(10) ) %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_6) # (7) PX + PCT + UNDEF @@ -106,14 +100,13 @@ test_that("cols_width() works in making RTF tables", { # columns are fixed, other columns take up the remaining # space (if any); table.width seems to be constant no # matter what values are given for the column widths - gt_tbl %>% + gt_tbl_7 <- gt_tbl %>% cols_width( num ~ px(100), char ~ pct(50) ) %>% - tab_options(table.width = px(400)) %>% - as_rtf() %>% - expect_snapshot() + tab_options(table.width = px(400)) + expect_snapshot_rtf(gt_tbl_7) # @@ -123,15 +116,8 @@ test_that("cols_width() works in making RTF tables", { # (1) UNDEF # All columns are variable (equal widths unless # content in some columns causes width expansion) - gt_tbl %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() - - gt_tbl %>% - tab_options(table.width = pct(60)) %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(tab_options(gt_tbl, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl, table.width = pct(60))) # (2) PX @@ -140,88 +126,54 @@ test_that("cols_width() works in making RTF tables", { # (of px values will act as proportions of width, # as long as their sum isn't greater than the # overall table width) - gt_tbl %>% + gt_tbl_2 <- gt_tbl %>% cols_width( everything() ~ px(120) - ) %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() + ) - gt_tbl %>% - cols_width( - everything() ~ px(120) - ) %>% - tab_options(table.width = pct(80)) %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(tab_options(gt_tbl_2, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl_2, table.width = pct(80))) # (3) PX + UNDEF # Define some columns in terms of px values; # undefined widths will be variable (based on content, # filling the remaining width) - gt_tbl %>% + gt_tbl_3 <- gt_tbl %>% cols_width( num ~ px(120), char ~ px(140) - ) %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() + ) - gt_tbl %>% - cols_width( - num ~ px(120), - char ~ px(140) - ) %>% - tab_options(table.width = pct(80)) %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(tab_options(gt_tbl_3, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl_3, table.width = pct(80))) # (4) PCT # If everything is in terms of percentages, the # proportional widths are normalized, overall # table width is honored - gt_tbl %>% + gt_tbl_4 <- gt_tbl %>% cols_width( everything() ~ pct(30) - ) %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() + ) - gt_tbl %>% - cols_width( - everything() ~ pct(30) - ) %>% - tab_options(table.width = pct(80)) %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(tab_options(gt_tbl_4, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl_4, table.width = pct(80))) # (5) PCT + UNDEF # Define some columns in terms of % values; # undefined widths will be variable (based on content, # filling the remaining width) - gt_tbl %>% + gt_tbl_5 <- gt_tbl %>% cols_width( row ~ pct(5), # this is the stub column char ~ pct(10) - ) %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() + ) - gt_tbl %>% - cols_width( - row ~ pct(5), # this is the stub column - char ~ pct(10) - ) %>% - tab_options(table.width = pct(80)) %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(tab_options(gt_tbl_5, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl_5, table.width = pct(80))) # (6) PX + PCT @@ -230,28 +182,16 @@ test_that("cols_width() works in making RTF tables", { # exact routine is not intuitive; table.width seems # to be constant no matter what values are given # for the column widths - gt_tbl %>% - cols_width( - row ~ px(100), - num ~ px(100), - char ~ pct(10), - datetime ~ pct(10) - ) %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() - - gt_tbl %>% + gt_tbl_6 <- gt_tbl %>% cols_width( row ~ px(100), num ~ px(100), char ~ pct(10), datetime ~ pct(10) - ) %>% - tab_options(table.width = pct(80)) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(tab_options(gt_tbl_6, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl_6, table.width = pct(80))) # (7) PX + PCT + UNDEF # Define some columns in terms of px and % values; @@ -259,23 +199,14 @@ test_that("cols_width() works in making RTF tables", { # columns are fixed, other columns take up the remaining # space (if any); table.width seems to be constant no # matter what values are given for the column widths - gt_tbl %>% + gt_tbl_7 <- gt_tbl %>% cols_width( num ~ px(100), char ~ pct(50) - ) %>% - tab_options(table.width = pct(100)) %>% - as_rtf() %>% - expect_snapshot() + ) - gt_tbl %>% - cols_width( - num ~ px(100), - char ~ pct(50) - ) %>% - tab_options(table.width = pct(80)) %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(tab_options(gt_tbl_7, table.width = pct(100))) + expect_snapshot_rtf(tab_options(gt_tbl_7, table.width = pct(80))) # # III. No definition of the table width @@ -284,49 +215,44 @@ test_that("cols_width() works in making RTF tables", { # (1) UNDEF # All columns are variable (equal widths unless # content in some columns causes width expansion) - gt_tbl %>% - as_rtf() %>% - expect_snapshot() + expect_snapshot_rtf(gt_tbl) # (2) PX # Define all columns in terms of px values; # each px is exactly as specified # NOTE: we intervene and set the table width to 0px - gt_tbl %>% + gt_tbl_2 <- gt_tbl %>% cols_width( everything() ~ px(20) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl_2) # (3) PX + UNDEF # Define some columns in terms of px values; # undefined widths will be variable (based on content, # filling the remaining width) - gt_tbl %>% + gt_tbl_3 <- gt_tbl %>% cols_width( num ~ px(120), char ~ px(140) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl_3) # (4) PCT # If everything is in terms of percentages, the # proportional widths are normalized # NOTE: we intervene and set the table width to 100% - gt_tbl %>% + gt_tbl_4 <- gt_tbl %>% cols_width( row ~ pct(30), num ~ pct(30), char ~ pct(10), datetime ~ pct(10) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl_4) # (5) PCT + UNDEF @@ -334,13 +260,12 @@ test_that("cols_width() works in making RTF tables", { # undefined widths will be variable (based on content, # filling the remaining width); automatically, w/o # intervention, the table width goes to 100% - gt_tbl %>% + gt_tbl_5 <- gt_tbl %>% cols_width( row ~ pct(10), # this is the stub column char ~ pct(10) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl_5) # (6) PX + PCT @@ -348,15 +273,14 @@ test_that("cols_width() works in making RTF tables", { # these are all converted to proportions but the # exact routine is not intuitive; automatically, w/o # intervention, the table width goes to 100% - gt_tbl %>% + gt_tbl_6 <- gt_tbl %>% cols_width( row ~ px(100), num ~ px(100), char ~ pct(10), datetime ~ pct(10) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl_6) # (7) PX + PCT + UNDEF @@ -364,13 +288,12 @@ test_that("cols_width() works in making RTF tables", { # looks as though % columns are scaled and fixed, px # columns are fixed, other columns expand to fit their # content - gt_tbl %>% + gt_tbl_7 <- gt_tbl %>% cols_width( num ~ px(100), char ~ pct(50) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl_7) }) test_that("col_width_resolver_rtf() works correctly", { diff --git a/tests/testthat/test-rtf_page_options.R b/tests/testthat/test-rtf_page_options.R index 8af23fe5a..04f25638a 100644 --- a/tests/testthat/test-rtf_page_options.R +++ b/tests/testthat/test-rtf_page_options.R @@ -16,35 +16,36 @@ test_that("Page options can used for RTF output", { ) %>% tab_footnote(footnote = "The first footnote", locations = cells_body(columns = 1, rows = 1)) %>% tab_footnote(footnote = "The second footnote", locations = cells_body(columns = 2, rows = 1)) - + expect_snapshot_rtf(tbl_gt) # # Test RTF snapshots with varying degrees of header content and # different page options # - tbl_gt %>% as_rtf() %>% expect_snapshot() - - tbl_gt %>% + tbl_gt_1 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle" - ) %>% as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_1) - tbl_gt %>% + tbl_gt_2 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", preheader = "Protocol: Number #1" - ) %>% as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_2) - tbl_gt %>% + tbl_gt_3 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", preheader = c("Protocol: Number #1", "Population: Subset #1") - ) %>% as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_3) - tbl_gt %>% + tbl_gt_4 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", @@ -55,10 +56,10 @@ test_that("Page options can used for RTF output", { page.numbering = FALSE, page.header.use_tbl_headings = TRUE, page.footer.use_tbl_notes = TRUE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_4) - tbl_gt %>% + tbl_gt_5 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", @@ -69,10 +70,10 @@ test_that("Page options can used for RTF output", { page.numbering = TRUE, page.header.use_tbl_headings = TRUE, page.footer.use_tbl_notes = TRUE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_5) - tbl_gt %>% + tbl_gt_6 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", @@ -83,10 +84,10 @@ test_that("Page options can used for RTF output", { page.numbering = TRUE, page.header.use_tbl_headings = FALSE, page.footer.use_tbl_notes = FALSE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_6) - tbl_gt %>% + tbl_gt_7 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle" @@ -96,10 +97,10 @@ test_that("Page options can used for RTF output", { page.numbering = TRUE, page.header.use_tbl_headings = TRUE, page.footer.use_tbl_notes = TRUE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_7) - tbl_gt %>% + tbl_gt_8 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", @@ -110,10 +111,10 @@ test_that("Page options can used for RTF output", { page.numbering = FALSE, page.header.use_tbl_headings = TRUE, page.footer.use_tbl_notes = TRUE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_8) - tbl_gt %>% + tbl_gt_9 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", @@ -124,10 +125,10 @@ test_that("Page options can used for RTF output", { page.numbering = TRUE, page.header.use_tbl_headings = TRUE, page.footer.use_tbl_notes = TRUE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_9) - tbl_gt %>% + tbl_gt_10 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle", @@ -138,10 +139,10 @@ test_that("Page options can used for RTF output", { page.numbering = TRUE, page.header.use_tbl_headings = FALSE, page.footer.use_tbl_notes = FALSE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_10) - tbl_gt %>% + tbl_gt_11 <- tbl_gt %>% tab_header( title = "The Table Title", subtitle = "The Table Subtitle" @@ -151,6 +152,6 @@ test_that("Page options can used for RTF output", { page.numbering = TRUE, page.header.use_tbl_headings = TRUE, page.footer.use_tbl_notes = TRUE - ) %>% - as_rtf() %>% expect_snapshot() + ) + expect_snapshot_rtf(tbl_gt_11) }) diff --git a/tests/testthat/test-rtf_summary_rows.R b/tests/testthat/test-rtf_summary_rows.R index a651fc5fa..6eb3eb6c4 100644 --- a/tests/testthat/test-rtf_summary_rows.R +++ b/tests/testthat/test-rtf_summary_rows.R @@ -19,93 +19,83 @@ test_that("Using summary rows in RTF tables is correct", { # Tests with `grand_summary_rows()` # - gt(tbl) %>% + gt_tbl <- gt(tbl) %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, rowname_col = "row") %>% + gt_tbl <- gt(tbl, rowname_col = "row") %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, groupname_col = "group") %>% + gt_tbl <- gt(tbl, groupname_col = "group") %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + gt_tbl <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% grand_summary_rows( columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) # # Tests with `summary_rows()` # - gt(tbl, groupname_col = "group") %>% + gt_tbl <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + gt_tbl <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% summary_rows( groups = "first_five", columns = col_1, fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, groupname_col = "group") %>% + gt_tbl <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_1, col_3), fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, groupname_col = "group") %>% + gt_tbl <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_3, col_1, col_4), fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, groupname_col = "group") %>% + gt_tbl <- gt(tbl, groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_3, col_1, col_4, col_2), fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) - gt(tbl, rowname_col = "row", groupname_col = "group") %>% + gt_tbl <- gt(tbl, rowname_col = "row", groupname_col = "group") %>% summary_rows( groups = "first_five", columns = c(col_1, col_3), fns = list(average = ~ mean(., na.rm = TRUE)) - ) %>% - as_rtf() %>% - expect_snapshot() + ) + expect_snapshot_rtf(gt_tbl) }) diff --git a/tests/testthat/test-tab_footnote.R b/tests/testthat/test-tab_footnote.R index a827f0524..ebcaf81ae 100644 --- a/tests/testthat/test-tab_footnote.R +++ b/tests/testthat/test-tab_footnote.R @@ -793,9 +793,9 @@ test_that("Footnotes with no location are rendered correctly", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `gt_footnotes_1` - gt_footnotes_1 %>% render_as_html() %>% expect_snapshot() - gt_footnotes_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - gt_footnotes_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(gt_footnotes_1) + expect_snapshot_latex(gt_footnotes_1) + expect_snapshot_rtf(gt_footnotes_1) gt_footnotes_2 <- gt_tbl %>% @@ -824,9 +824,9 @@ test_that("Footnotes with no location are rendered correctly", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `gt_footnotes_4` - gt_footnotes_4 %>% render_as_html() %>% expect_snapshot() - gt_footnotes_4 %>% as_latex() %>% as.character() %>% expect_snapshot() - gt_footnotes_4 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(gt_footnotes_4) + expect_snapshot_latex(gt_footnotes_4) + expect_snapshot_rtf(gt_footnotes_4) gt_footnotes_5 <- gt_tbl %>% @@ -835,9 +835,9 @@ test_that("Footnotes with no location are rendered correctly", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `gt_footnotes_5` - gt_footnotes_5 %>% render_as_html() %>% expect_snapshot() - gt_footnotes_5 %>% as_latex() %>% as.character() %>% expect_snapshot() - gt_footnotes_5 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(gt_footnotes_5) + expect_snapshot_latex(gt_footnotes_5) + expect_snapshot_rtf(gt_footnotes_5) gt_footnotes_6 <- gt_tbl %>% @@ -848,9 +848,9 @@ test_that("Footnotes with no location are rendered correctly", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `gt_footnotes_6` - gt_footnotes_6 %>% render_as_html() %>% expect_snapshot() - gt_footnotes_6 %>% as_latex() %>% as.character() %>% expect_snapshot() - gt_footnotes_6 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(gt_footnotes_6) + expect_snapshot_latex(gt_footnotes_6) + expect_snapshot_rtf(gt_footnotes_6) }) test_that("The final placement of footnotes is correct with the 'auto' mode", { @@ -1033,12 +1033,11 @@ test_that("Footnotes are correctly placed with text produced by `fmt_markdown()` selection_text("[class='gt_row gt_left']") %>% expect_equal("apricot1") - exibble[1, 2] %>% + gt_tbl <- exibble[1, 2] %>% gt() %>% fmt_markdown(columns = char) %>% - tab_footnote(footnote = "note", locations = cells_body(char, 1)) %>% - render_as_html() %>% - expect_snapshot() + tab_footnote(footnote = "note", locations = cells_body(char, 1)) + expect_snapshot_html(gt_tbl) exibble[1, 2] %>% gt() %>% @@ -1049,12 +1048,11 @@ test_that("Footnotes are correctly placed with text produced by `fmt_markdown()` selection_text("[class='gt_row gt_left']") %>% expect_equal(paste0("1", "\U000A0", "apricot")) - exibble[1, 2] %>% + gt_tbl <- exibble[1, 2] %>% gt() %>% fmt_markdown(columns = char) %>% - tab_footnote(footnote = "note", locations = cells_body(char, 1), placement = "left") %>% - render_as_html() %>% - expect_snapshot() + tab_footnote(footnote = "note", locations = cells_body(char, 1), placement = "left") + expect_snapshot_html(gt_tbl) }) test_that("Footnotes work with group labels in 2-column stub arrangements", { @@ -1079,9 +1077,9 @@ test_that("Footnotes work with group labels in 2-column stub arrangements", { ) # Take snapshots of `gt_tbl` - gt_tbl %>% render_as_html() %>% expect_snapshot() - gt_tbl %>% as_latex() %>% as.character() %>% expect_snapshot() - gt_tbl %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(gt_tbl) + expect_snapshot_latex(gt_tbl) + expect_snapshot_rtf(gt_tbl) }) test_that("tab_footnote() produces helpful error messages (#475).", { diff --git a/tests/testthat/test-tab_options.R b/tests/testthat/test-tab_options.R index 7aaaf7c1d..e54e0e1b0 100644 --- a/tests/testthat/test-tab_options.R +++ b/tests/testthat/test-tab_options.R @@ -1789,7 +1789,7 @@ test_that("Vertical padding across several table parts can be applied", { snap_padded_tbl <- function(padding_px) { - mtcars[1:5, ] %>% + gt_tbl <- mtcars[1:5, ] %>% gt(rownames_to_stub = TRUE) %>% tab_header(title = "The mtcars Dataset", subtitle = "What a great dataset this is") %>% tab_spanner(label = "performance", columns = c(disp, hp, drat)) %>% @@ -1801,9 +1801,8 @@ test_that("Vertical padding across several table parts can be applied", { heading.padding = padding_px, footnotes.padding = padding_px, source_notes.padding = padding_px - ) %>% - render_as_html() %>% - expect_snapshot() + ) + expect_snapshot_html(gt_tbl) } # Generate a few snapshots at different `padding_px` amounts diff --git a/tests/testthat/test-tab_remove.R b/tests/testthat/test-tab_remove.R index 03b3c2f98..8149c818e 100644 --- a/tests/testthat/test-tab_remove.R +++ b/tests/testthat/test-tab_remove.R @@ -1,19 +1,17 @@ test_that("A table header can be removed using `rm_header()`", { # Perform a snapshot test where an HTML table contains a title and a subtitle - exibble %>% + gt_tbl <- exibble %>% gt() %>% - tab_header(title = "test title", subtitle = "test subtitle") %>% - render_as_html() %>% - expect_snapshot() + tab_header(title = "test title", subtitle = "test subtitle") + expect_snapshot_html(gt_tbl) # Expect that we can remove the title and subtitle with `rm_header()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_header(title = "test title", subtitle = "") %>% - rm_header() %>% - render_as_html() %>% - expect_snapshot() + rm_header() + expect_snapshot_html(gt_tbl) # Expect that removing a header creates a table no different than # one never having a header in the table object @@ -44,31 +42,27 @@ test_that("Stubhead labels can be removed using `rm_stubhead()`", { # Perform a snapshot test where an HTML table contains a stub # and a corresponding stubhead label - exibble %>% + gt_tbl <- exibble %>% gt(rowname_col = "row") %>% - tab_stubhead(label = "Stubhead Label") %>% - render_as_html() %>% - expect_snapshot() + tab_stubhead(label = "Stubhead Label") + expect_snapshot_html(gt_tbl) # Expect that we can remove the stubhead label with `rm_stubhead()` - exibble %>% + gt_tbl <- exibble %>% gt(rowname_col = "row") %>% tab_stubhead(label = "Stubhead Label") %>% - rm_stubhead() %>% - render_as_html() %>% - expect_snapshot() + rm_stubhead() + expect_snapshot_html(gt_tbl) # Expect that removing the stubhead label creates a table no different than # one never having the label in the table object - expect_equal( + expect_equal_gt( exibble %>% gt(rowname_col = "row") %>% tab_stubhead(label = "Stubhead Label") %>% - rm_stubhead() %>% - render_as_html(), + rm_stubhead(), exibble %>% - gt(rowname_col = "row") %>% - render_as_html() + gt(rowname_col = "row") ) # Expect that removing a non-existent stubhead label isn't different that @@ -92,7 +86,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { # Perform a snapshot test where an HTML table contains spanners over # two different levels (`1` and `2`) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -108,12 +102,11 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { hp, hp_rpm, trq, trq_rpm, mpg_c, mpg_h ) - ) %>% - render_as_html() %>% - expect_snapshot() + ) + expect_snapshot_html(gt_tbl) # Expect that all spanner column labels can be removed with `rm_spanners()` - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -130,12 +123,11 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners() %>% - render_as_html() %>% - expect_snapshot() + rm_spanners() + expect_snapshot_html(gt_tbl) # Expect that spanners selected via ID can be selectively removed - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -152,11 +144,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = "HP") %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(spanners = "HP") + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -173,11 +164,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = "Torque") %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(spanners = "Torque") + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -194,11 +184,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = "MPG") %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(spanners = "MPG") + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -215,11 +204,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = "Performance") %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(spanners = "Performance") + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -236,11 +224,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = c("HP", "Torque", "MPG")) %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(spanners = c("HP", "Torque", "MPG")) + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -257,13 +244,12 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = c("HP", "Torque", "MPG", "Performance")) %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(spanners = c("HP", "Torque", "MPG", "Performance")) + expect_snapshot_html(gt_tbl) # Expect that all spanner column labels of targeted levels can be # removed from the table - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -280,11 +266,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(levels = 1) %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(levels = 1) + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -301,11 +286,10 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(levels = 2) %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(levels = 2) + expect_snapshot_html(gt_tbl) - gtcars %>% + gt_tbl <- gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, -drivetrain, -trsmn, -ctry_origin @@ -322,13 +306,12 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(levels = 1:2) %>% - render_as_html() %>% - expect_snapshot() + rm_spanners(levels = 1:2) + expect_snapshot_html(gt_tbl) # Expect that select helpers can be used to target the ID values # of the spanner column labels - expect_equal( + expect_equal_gt( gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, @@ -346,8 +329,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = "Performance") %>% - render_as_html(), + rm_spanners(spanners = "Performance"), gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, @@ -365,8 +347,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = starts_with("Perf")) %>% - render_as_html() + rm_spanners(spanners = starts_with("Perf")) ) # Expect that a select expression that matches nothing will: @@ -392,7 +373,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { ) %>% rm_spanners(spanners = matches("nothing")) ) - expect_equal( + expect_equal_gt( gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, @@ -410,8 +391,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = matches("nothing")) %>% - render_as_html(), + rm_spanners(spanners = matches("nothing")), gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, @@ -428,13 +408,12 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { hp, hp_rpm, trq, trq_rpm, mpg_c, mpg_h ) - ) %>% - render_as_html() + ) ) # Expect that `TRUE` has the same effect as `everything()` when used as # a value for the `spanners` argument - expect_equal( + expect_equal_gt( gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, @@ -452,8 +431,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = everything()) %>% - render_as_html(), + rm_spanners(spanners = everything()), gtcars %>% dplyr::select( -mfr, -trim, bdy_style, drivetrain, @@ -471,8 +449,7 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { mpg_c, mpg_h ) ) %>% - rm_spanners(spanners = TRUE) %>% - render_as_html() + rm_spanners(spanners = TRUE) ) # Don't expect an error if targeting levels (in the `levels` arg of @@ -537,55 +514,49 @@ test_that("Spanner column labels can be removed using `rm_spanners()`", { test_that("Table footnotes can be removed using `rm_footnotes()`", { # Perform a snapshot test where an HTML table contains two footnotes - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% - tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - render_as_html() %>% - expect_snapshot() + tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) + expect_snapshot_html(gt_tbl) # Expect that we can remove both footnotes with `rm_footnotes()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - rm_footnotes() %>% - render_as_html() %>% - expect_snapshot() + rm_footnotes() + expect_snapshot_html(gt_tbl) # Expect that we can remove the first footnote with `rm_footnotes()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - rm_footnotes(footnotes = 1) %>% - render_as_html() %>% - expect_snapshot() + rm_footnotes(footnotes = 1) + expect_snapshot_html(gt_tbl) # Expect that we can remove the second footnote with `rm_footnotes()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - rm_footnotes(footnotes = 2) %>% - render_as_html() %>% - expect_snapshot() + rm_footnotes(footnotes = 2) + expect_snapshot_html(gt_tbl) # Expect that we can remove both footnotes with `rm_footnotes()` # in two different ways - expect_equal( + expect_equal_gt( exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - rm_footnotes() %>% - render_as_html(), + rm_footnotes(), exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - rm_footnotes(footnotes = 1:2) %>% - render_as_html() + rm_footnotes(footnotes = 1:2) ) # Expect an error when providing any integer values that don't correspond @@ -618,18 +589,16 @@ test_that("Table footnotes can be removed using `rm_footnotes()`", { tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% rm_footnotes(footnotes = matches("nothing")) ) - expect_equal( + expect_equal_gt( exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - rm_footnotes(footnotes = matches("nothing")) %>% - render_as_html(), + rm_footnotes(footnotes = matches("nothing")), exibble %>% gt() %>% tab_footnote(footnote = "Footnote 1", locations = cells_body(1, 1)) %>% - tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) %>% - render_as_html() + tab_footnote(footnote = "Footnote 2", locations = cells_body(1, 2)) ) # If there are no footnotes the function should return the @@ -639,69 +608,61 @@ test_that("Table footnotes can be removed using `rm_footnotes()`", { gt() %>% rm_footnotes(footnotes = 1:100) ) - expect_equal( + expect_equal_gt( exibble %>% gt() %>% - rm_footnotes(footnotes = 1:100) %>% - render_as_html(), + rm_footnotes(footnotes = 1:100), exibble %>% - gt() %>% - render_as_html() + gt() ) }) test_that("Table source notes can be removed using `rm_source_notes()`", { # Perform a snapshot test where an HTML table contains two source notes - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% - tab_source_note(source_note = "Source Note 2") %>% - render_as_html() %>% - expect_snapshot() + tab_source_note(source_note = "Source Note 2") + expect_snapshot_html(gt_tbl) # Expect that we can remove both source notes with `rm_source_notes()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% tab_source_note(source_note = "Source Note 2") %>% - rm_source_notes() %>% - render_as_html() %>% - expect_snapshot() + rm_source_notes() + expect_snapshot_html(gt_tbl) # Expect that we can remove the first source note with `rm_source_notes()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% tab_source_note(source_note = "Source Note 2") %>% - rm_source_notes(source_notes = 1) %>% - render_as_html() %>% - expect_snapshot() + rm_source_notes(source_notes = 1) + expect_snapshot_html(gt_tbl) # Expect that we can remove the second source note with `rm_source_notes()` - exibble %>% + gt_tbl <- exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% tab_source_note(source_note = "Source Note 2") %>% - rm_source_notes(source_notes = 2) %>% - render_as_html() %>% - expect_snapshot() + rm_source_notes(source_notes = 2) + expect_snapshot_html(gt_tbl) # Expect that we can remove both source notes with `rm_source_notes()` # in two different ways - expect_equal( + expect_equal_gt( exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% tab_source_note(source_note = "Source Note 2") %>% - rm_source_notes() %>% - render_as_html(), + rm_source_notes(), exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% tab_source_note(source_note = "Source Note 2") %>% - rm_source_notes(source_notes = 1:2) %>% - render_as_html() + rm_source_notes(source_notes = 1:2) ) # Expect an error when providing any integer values that don't correspond @@ -735,18 +696,16 @@ test_that("Table source notes can be removed using `rm_source_notes()`", { tab_source_note(source_note = "Source Note 2") %>% rm_source_notes(source_notes = matches("nothing")) ) - expect_equal( + expect_equal_gt( exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% tab_source_note(source_note = "Source Note 2") %>% - rm_source_notes(source_notes = matches("nothing")) %>% - render_as_html(), + rm_source_notes(source_notes = matches("nothing")), exibble %>% gt() %>% tab_source_note(source_note = "Source Note 1") %>% - tab_source_note(source_note = "Source Note 2") %>% - render_as_html() + tab_source_note(source_note = "Source Note 2") ) # If there are no source notes the function should return the @@ -756,13 +715,11 @@ test_that("Table source notes can be removed using `rm_source_notes()`", { gt() %>% rm_source_notes(source_notes = 1:100) ) - expect_equal( + expect_equal_gt( exibble %>% gt() %>% - rm_source_notes(source_notes = 1:100) %>% - render_as_html(), + rm_source_notes(source_notes = 1:100), exibble %>% - gt() %>% - render_as_html() + gt() ) }) diff --git a/tests/testthat/test-tab_spanner_delim.R b/tests/testthat/test-tab_spanner_delim.R index 0bdfadfc9..174fe7c78 100644 --- a/tests/testthat/test-tab_spanner_delim.R +++ b/tests/testthat/test-tab_spanner_delim.R @@ -677,7 +677,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".") # Take snapshots of `gt_tbl_1` - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) tbl_2 <- dplyr::tibble( @@ -692,7 +692,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".") # Take snapshots of `gt_tbl_2` - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) tbl_3 <- dplyr::tibble( @@ -707,7 +707,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".") # Take snapshots of `gt_tbl_3` - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) tbl_4 <- dplyr::tibble( @@ -722,7 +722,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".") # Take snapshots of `gt_tbl_4` - gt_tbl_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4) tbl_5 <- dplyr::tibble( @@ -737,7 +737,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".") # Take snapshot of `gt_tbl_5a` - gt_tbl_5a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5a) gt_tbl_5b <- gt(tbl_5) %>% @@ -747,7 +747,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshot of `gt_tbl_5b` - gt_tbl_5b %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5b) gt_tbl_5c <- gt(tbl_5) %>% @@ -757,7 +757,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshot of `gt_tbl_5c` - gt_tbl_5c %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5c) # Generate a table with delimiters that are composed of several characters # and are asymmetric with regard to the ordering of characters @@ -774,70 +774,70 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = "__1", split = "last") # Take snapshot of `gt_tbl_5m_a` - gt_tbl_5m_a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_a) gt_tbl_5m_b <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "first") # Take snapshot of `gt_tbl_5m_b` - gt_tbl_5m_b %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_b) gt_tbl_5m_c <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "first", limit = 1) # Take snapshot of `gt_tbl_5m_c` - gt_tbl_5m_c %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_c) gt_tbl_5m_d <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "first", limit = 2) # Take snapshot of `gt_tbl_5m_d` - gt_tbl_5m_d %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_d) gt_tbl_5m_e <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "last", limit = 1) # Take snapshot of `gt_tbl_5m_e` - gt_tbl_5m_e %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_e) gt_tbl_5m_f <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "last", limit = 2) # Take snapshot of `gt_tbl_5m_f` - gt_tbl_5m_f %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_f) gt_tbl_5m_g <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "last", limit = 2, reverse = TRUE) # Take snapshot of `gt_tbl_5m_g` - gt_tbl_5m_g %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_g) gt_tbl_5m_h <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "first", limit = 2, reverse = TRUE) # Take snapshot of `gt_tbl_5m_h` - gt_tbl_5m_h %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_h) gt_tbl_5m_i <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "last", limit = 1, reverse = TRUE) # Take snapshot of `gt_tbl_5m_i` - gt_tbl_5m_i %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_i) gt_tbl_5m_j <- gt(tbl_5m) %>% tab_spanner_delim(delim = "__1", split = "first", limit = 1, reverse = TRUE) # Take snapshot of `gt_tbl_5m_j` - gt_tbl_5m_j %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5m_j) # @@ -854,7 +854,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_1` - gt_tbl_spanner_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_1) gt_tbl_spanner_2 <- gt_tbl_spanner_1 %>% @@ -865,7 +865,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_2` - gt_tbl_spanner_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_2) gt_tbl_spanner_3 <- gt_tbl_spanner_2 %>% @@ -876,7 +876,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_3` - gt_tbl_spanner_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_3) # Expect that a replacement of a spanner won't work # because `replace = FALSE` by default @@ -899,7 +899,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_4` - gt_tbl_spanner_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_4) gt_tbl_spanner_5 <- gt_tbl_spanner_4 %>% @@ -909,7 +909,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_5` - gt_tbl_spanner_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_5) # # Equivalent ways to implicitly express the same spanner @@ -922,7 +922,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_A_1` - gt_tbl_spanner_A_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_A_1) gt_tbl_spanner_A_2 <- gt_tbl_1 %>% @@ -931,7 +931,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_A_1` - gt_tbl_spanner_A_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_A_2) expect_equal_gt(gt_tbl_spanner_A_1, gt_tbl_spanner_A_2) @@ -983,7 +983,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshots of `gt_tbl_spanner_B` - gt_tbl_spanner_B %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_B) gt_tbl_spanner_C <- gt_tbl_spanner_B %>% @@ -995,14 +995,14 @@ test_that("tab_spanner_delim() works on higher-order spanning", { cols_align(align = "center", columns = everything()) # Take snapshots of `gt_tbl_spanner_C` - gt_tbl_spanner_C %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_C) gt_tbl_spanner_D <- gt_tbl_spanner_C %>% cols_move_to_start(columns = 3:4) # Take snapshots of `gt_tbl_spanner_D` - gt_tbl_spanner_D %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_spanner_D) # # Splitting direction @@ -1021,7 +1021,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".", split = "last") # Take snapshots of `gt_tbl_1` - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) tbl_1_rev <- dplyr::tibble( @@ -1036,7 +1036,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".", split = "first") # Take snapshots of `gt_tbl_1_rev` - gt_tbl_1_rev %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1_rev) tbl_6 <- @@ -1053,21 +1053,21 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".", split = "first") # Take snapshot of `gt_tbl_6_first` - gt_tbl_6_first %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6_first) gt_tbl_6_last <- gt(tbl_6) %>% tab_spanner_delim(delim = ".", split = "last") # Take snapshot of `gt_tbl_6_last` - gt_tbl_6_last %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6_last) gt_tbl_6_first_rev <- gt(tbl_6) %>% tab_spanner_delim(delim = ".", split = "first", reverse = TRUE) # Take snapshot of `gt_tbl_6_first_rev` - gt_tbl_6_first_rev %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6_first_rev) # Expect an error should a `id` value be reused (here, # it's `"**Z**"` that's used twice) @@ -1085,7 +1085,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner(label = md("**Z**"), columns = 5, level = 1, id = "Z1") # Take snapshot of `gt_tbl_6_z` - gt_tbl_6_z %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6_z) # A replacement of an spanner with the same `id` doesn't work (even # though the duplicated ID does not result in duplicate IDs afterward) @@ -1112,7 +1112,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { ) # Take snapshot of `gt_tbl_6_yzzz` - gt_tbl_6_yzzz %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6_yzzz) tbl_7 <- @@ -1141,7 +1141,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".", split = "last", limit = 20) # Take snapshot of `gt_tbl_7a` - gt_tbl_7a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_7a) # Expect all tables to be the same expect_equal_gt(gt_tbl_7a, gt_tbl_7b) @@ -1175,7 +1175,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = ".", split = "last", limit = 20) # Take snapshot of `gt_tbl_8a` - gt_tbl_8a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_8a) # Expect all tables to be the same expect_equal_gt(gt_tbl_8a, gt_tbl_8b) @@ -1209,7 +1209,7 @@ test_that("tab_spanner_delim() works on higher-order spanning", { tab_spanner_delim(delim = "_", split = "last", limit = 20) # Take snapshot of `gt_tbl_9a` - gt_tbl_9a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_9a) # Expect all tables to be the same expect_equal_gt(gt_tbl_9a, gt_tbl_9b) diff --git a/tests/testthat/test-tab_stub_indent.R b/tests/testthat/test-tab_stub_indent.R index f26fac5da..548d766cc 100644 --- a/tests/testthat/test-tab_stub_indent.R +++ b/tests/testthat/test-tab_stub_indent.R @@ -9,8 +9,8 @@ test_that("A gt table can contain indentation in the stub", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_1` - tbl_1 %>% render_as_html() %>% expect_snapshot() - tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_1) + expect_snapshot_latex(tbl_1) # Do much the same as previously but perform the same indentation # operation twice, putting the three row labels at level 2 @@ -56,8 +56,8 @@ test_that("A gt table can contain indentation in the stub", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_5` - tbl_5 %>% render_as_html() %>% expect_snapshot() - tbl_5 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_5) + expect_snapshot_latex(tbl_5) }) test_that("Indentation values can be obtained from a table column", { @@ -76,8 +76,8 @@ test_that("Indentation values can be obtained from a table column", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_6` - tbl_6 %>% render_as_html() %>% expect_snapshot() - tbl_6 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_6) + expect_snapshot_latex(tbl_6) # This time, create a table that also has row groups; use the same indentation tbl_7 <- @@ -93,8 +93,8 @@ test_that("Indentation values can be obtained from a table column", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_7` - tbl_7 %>% render_as_html() %>% expect_snapshot() - tbl_7 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_7) + expect_snapshot_latex(tbl_7) # This variation of the previous includes an `na_value` tbl_8 <- @@ -110,8 +110,8 @@ test_that("Indentation values can be obtained from a table column", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_8` - tbl_8 %>% render_as_html() %>% expect_snapshot() - tbl_8 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_8) + expect_snapshot_latex(tbl_8) # This variation of the previous includes a function provided to `fn` tbl_9 <- @@ -131,8 +131,8 @@ test_that("Indentation values can be obtained from a table column", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_9` - tbl_9 %>% render_as_html() %>% expect_snapshot() - tbl_9 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_9) + expect_snapshot_latex(tbl_9) # This variation only affects rows where `matches("a")` is true for the stub tbl_10 <- @@ -148,8 +148,8 @@ test_that("Indentation values can be obtained from a table column", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_10` - tbl_10 %>% render_as_html() %>% expect_snapshot() - tbl_10 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_10) + expect_snapshot_latex(tbl_10) # This variation uses non-intergerish values for `rank` (values are truncated) tbl_11 <- @@ -165,6 +165,6 @@ test_that("Indentation values can be obtained from a table column", { tab_options(latex.use_longtable = TRUE) # Take snapshots of `tbl_11` - tbl_11 %>% render_as_html() %>% expect_snapshot() - tbl_11 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_html(tbl_11) + expect_snapshot_latex(tbl_11) }) diff --git a/tests/testthat/test-tab_style.R b/tests/testthat/test-tab_style.R index 23e1d1b56..fa3837412 100644 --- a/tests/testthat/test-tab_style.R +++ b/tests/testthat/test-tab_style.R @@ -605,5 +605,5 @@ test_that("Using fonts in `from_column()` works within `cell_*()` fns", { ) # Perform snapshot test - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) }) diff --git a/tests/testthat/test-tab_style_body.R b/tests/testthat/test-tab_style_body.R index c44220d6d..074a5edd1 100644 --- a/tests/testthat/test-tab_style_body.R +++ b/tests/testthat/test-tab_style_body.R @@ -23,7 +23,7 @@ test_that("tab_style_body() works correctly", { values = c(2046.13, 2028.26, 2018.40, 1988.12, 2030.25) ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_2 %>% render_as_html()) - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) gt_tbl_3 <- gt_tbl %>% @@ -40,7 +40,7 @@ test_that("tab_style_body() works correctly", { values = c(2046.13, 2028.26, 2018.40, 1988.12, 2030.25) ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_3 %>% render_as_html()) - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) # # Target rows and columns @@ -54,7 +54,7 @@ test_that("tab_style_body() works correctly", { targets = "row" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_4 %>% render_as_html()) - gt_tbl_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4) gt_tbl_5 <- gt_tbl %>% @@ -64,7 +64,7 @@ test_that("tab_style_body() works correctly", { targets = "column" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_5 %>% render_as_html()) - gt_tbl_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5) gt_tbl_6 <- gt_tbl %>% @@ -79,7 +79,7 @@ test_that("tab_style_body() works correctly", { targets = "row" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_6 %>% render_as_html()) - gt_tbl_6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6) gt_tbl_7 <- gt_tbl %>% @@ -94,7 +94,7 @@ test_that("tab_style_body() works correctly", { targets = "column" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_7 %>% render_as_html()) - gt_tbl_7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_7) gt_tbl_8 <- gt_tbl %>% @@ -104,7 +104,7 @@ test_that("tab_style_body() works correctly", { targets = "cell" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_8 %>% render_as_html()) - gt_tbl_8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_8) # # Use the `extents` argument to project styling to other locations @@ -119,7 +119,7 @@ test_that("tab_style_body() works correctly", { extents = "stub" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_9 %>% render_as_html()) - gt_tbl_9 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_9) gt_tbl_10 <- gt_tbl %>% @@ -130,7 +130,7 @@ test_that("tab_style_body() works correctly", { extents = c("body", "stub") ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_10 %>% render_as_html()) - gt_tbl_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_10) gt_tbl_11 <- gt_tbl %>% @@ -141,7 +141,7 @@ test_that("tab_style_body() works correctly", { extents = "body" ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_11 %>% render_as_html()) - gt_tbl_11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_11) gt_tbl_12 <- gt_tbl %>% @@ -152,7 +152,7 @@ test_that("tab_style_body() works correctly", { extents = c("body", "stub") ) expect_true(gt_tbl %>% render_as_html() != gt_tbl_12 %>% render_as_html()) - gt_tbl_12 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_12) # Generate an alternate table that will be used in checks of body styling gt_tbl_alt <- @@ -170,7 +170,7 @@ test_that("tab_style_body() works correctly", { pattern = "ne|na" ) expect_true(gt_tbl_alt %>% render_as_html() != gt_tbl_13 %>% render_as_html()) - gt_tbl_13 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_13) gt_tbl_14 <- gt_tbl_alt %>% @@ -179,7 +179,7 @@ test_that("tab_style_body() works correctly", { pattern = "2015-01-15" ) expect_true(gt_tbl_alt %>% render_as_html() != gt_tbl_14 %>% render_as_html()) - gt_tbl_14 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_14) gt_tbl_15 <- gt_tbl_alt %>% @@ -188,7 +188,7 @@ test_that("tab_style_body() works correctly", { pattern = "a$" ) expect_true(gt_tbl_alt %>% render_as_html() != gt_tbl_15 %>% render_as_html()) - gt_tbl_15 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_15) # # Use the `fn` argument to target body cells through a function @@ -202,5 +202,5 @@ test_that("tab_style_body() works correctly", { fn = function(x) x >= 0 && x < 50 ) expect_true(gt_tbl_alt %>% render_as_html() != gt_tbl_16 %>% render_as_html()) - gt_tbl_16 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_16) }) diff --git a/tests/testthat/test-table_parts.R b/tests/testthat/test-table_parts.R index fbb096c31..6a8feed85 100644 --- a/tests/testthat/test-table_parts.R +++ b/tests/testthat/test-table_parts.R @@ -54,34 +54,30 @@ test_that("A gt table contains the expected heading components", { expect_equal("test subtitle") # Perform a snapshot test where an HTML table contains only a title - mtcars_short %>% + gt_tbl <- mtcars_short %>% gt() %>% - tab_header(title = "test title") %>% - render_as_html() %>% - expect_snapshot() + tab_header(title = "test title") + expect_snapshot_html(gt_tbl) # Perform a snapshot test where an HTML table contains a title and a subtitle - mtcars_short %>% + gt_tbl <- mtcars_short %>% gt() %>% - tab_header(title = "test title", subtitle = "test subtitle") %>% - render_as_html() %>% - expect_snapshot() + tab_header(title = "test title", subtitle = "test subtitle") + expect_snapshot_html(gt_tbl) # Expect that providing a subtitle value with an empty # string won't produce a subtitle line - mtcars_short %>% + gt_tbl <- mtcars_short %>% gt() %>% - tab_header(title = "test title", subtitle = "") %>% - render_as_html() %>% - expect_snapshot() + tab_header(title = "test title", subtitle = "") + expect_snapshot_html(gt_tbl) # Expect that providing a subtitle value with a series # a space characters also won't produce a subtitle line - mtcars_short %>% + gt_tbl <- mtcars_short %>% gt() %>% - tab_header(title = "test title", subtitle = " ") %>% - render_as_html() %>% - expect_snapshot() + tab_header(title = "test title", subtitle = " ") + expect_snapshot_html(gt_tbl) # Expect an error if only a subtitle is provided to `tab_header()` expect_error( From b11a92dd230344e2717d061aaf34601376561c25 Mon Sep 17 00:00:00 2001 From: olivroy Date: Mon, 19 Aug 2024 10:19:12 -0400 Subject: [PATCH 3/3] Add the rest of tests --- tests/testthat/_snaps/data_color.md | 72 ++-- tests/testthat/_snaps/fmt_duration.md | 4 +- tests/testthat/_snaps/group_column_label.md | 132 +++---- tests/testthat/_snaps/image.md | 2 +- tests/testthat/_snaps/removal_functions.md | 40 +- tests/testthat/_snaps/rows_add.md | 398 ++++++++++---------- tests/testthat/_snaps/summary_rows.md | 154 ++++---- tests/testthat/test-data_color.R | 72 ++-- tests/testthat/test-fmt_auto.R | 20 +- tests/testthat/test-fmt_duration.R | 4 +- tests/testthat/test-fmt_fraction.R | 18 +- tests/testthat/test-group_column_label.R | 132 +++---- tests/testthat/test-removal_functions.R | 40 +- tests/testthat/test-rows_add.R | 398 ++++++++++---------- tests/testthat/test-summary_rows.R | 166 ++++---- 15 files changed, 826 insertions(+), 826 deletions(-) diff --git a/tests/testthat/_snaps/data_color.md b/tests/testthat/_snaps/data_color.md index 645501e77..08c5b179f 100644 --- a/tests/testthat/_snaps/data_color.md +++ b/tests/testthat/_snaps/data_color.md @@ -1,252 +1,252 @@ # Color palettes can be obtained from the paletteer package Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" # Some color palettes from the viridis package can be used Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" # Different combinations of methods and column types work well Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
monthmin_sza
jan73.0
feb67.2
mar57.7
apr45.5
may35.0
jun28.0
jul26.9
aug31.9
sep41.6
oct53.1
nov64.4
dec71.8
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" # The direction of coloring can be column-wise or row-wise Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
05300600063007000730080008300900093010001030110011301200
jan


84.978.772.766.161.556.552.148.345.543.643.0
feb

88.982.575.869.663.357.752.247.443.140.037.837.2
mar

85.778.872.065.258.652.346.240.535.531.428.627.7
apr
88.581.574.467.460.353.446.539.733.226.921.317.215.5
may
85.078.271.264.357.250.243.236.129.126.115.28.85.0
jun89.282.776.069.362.555.748.841.935.028.121.114.27.32.0
jul88.882.375.769.162.355.548.741.835.028.121.214.37.73.1
aug
83.877.170.263.356.449.442.435.428.321.314.37.31.9
sep
87.280.273.266.159.152.145.138.131.324.718.613.711.6
oct

84.177.170.263.356.549.943.537.532.027.424.323.1
nov

87.881.374.568.361.856.050.245.340.737.435.134.4
dec


84.378.071.866.160.555.650.947.244.242.441.8
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
05300600063007000730080008300900093010001030110011301200
jan


84.978.772.766.161.556.552.148.345.543.643.0
feb

88.982.575.869.663.357.752.247.443.140.037.837.2
mar

85.778.872.065.258.652.346.240.535.531.428.627.7
apr
88.581.574.467.460.353.446.539.733.226.921.317.215.5
may
85.078.271.264.357.250.243.236.129.126.115.28.85.0
jun89.282.776.069.362.555.748.841.935.028.121.114.27.32.0
jul88.882.375.769.162.355.548.741.835.028.121.214.37.73.1
aug
83.877.170.263.356.449.442.435.428.321.314.37.31.9
sep
87.280.273.266.159.152.145.138.131.324.718.613.711.6
oct

84.177.170.263.356.549.943.537.532.027.424.323.1
nov

87.881.374.568.361.856.050.245.340.737.435.134.4
dec


84.378.071.866.160.555.650.947.244.242.441.8
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
05300600063007000730080008300900093010001030110011301200
jan


84.978.772.766.161.556.552.148.345.543.643.0
feb

88.982.575.869.663.357.752.247.443.140.037.837.2
mar

85.778.872.065.258.652.346.240.535.531.428.627.7
apr
88.581.574.467.460.353.446.539.733.226.921.317.215.5
may
85.078.271.264.357.250.243.236.129.126.115.28.85.0
jun89.282.776.069.362.555.748.841.935.028.121.114.27.32.0
jul88.882.375.769.162.355.548.741.835.028.121.214.37.73.1
aug
83.877.170.263.356.449.442.435.428.321.314.37.31.9
sep
87.280.273.266.159.152.145.138.131.324.718.613.711.6
oct

84.177.170.263.356.549.943.537.532.027.424.323.1
nov

87.881.374.568.361.856.050.245.340.737.435.134.4
dec


84.378.071.866.160.555.650.947.244.242.441.8
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
05300600063007000730080008300900093010001030110011301200
jan


84.978.772.766.161.556.552.148.345.543.643.0
feb

88.982.575.869.663.357.752.247.443.140.037.837.2
mar

85.778.872.065.258.652.346.240.535.531.428.627.7
apr
88.581.574.467.460.353.446.539.733.226.921.317.215.5
may
85.078.271.264.357.250.243.236.129.126.115.28.85.0
jun89.282.776.069.362.555.748.841.935.028.121.114.27.32.0
jul88.882.375.769.162.355.548.741.835.028.121.214.37.73.1
aug
83.877.170.263.356.449.442.435.428.321.314.37.31.9
sep
87.280.273.266.159.152.145.138.131.324.718.613.711.6
oct

84.177.170.263.356.549.943.537.532.027.424.323.1
nov

87.881.374.568.361.856.050.245.340.737.435.134.4
dec


84.378.071.866.160.555.650.947.244.242.441.8
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
05300600063007000730080008300900093010001030110011301200
jan


84.978.772.766.161.556.552.148.345.543.643.0
feb

88.982.575.869.663.357.752.247.443.140.037.837.2
mar

85.778.872.065.258.652.346.240.535.531.428.627.7
apr
88.581.574.467.460.353.446.539.733.226.921.317.215.5
may
85.078.271.264.357.250.243.236.129.126.115.28.85.0
jun89.282.776.069.362.555.748.841.935.028.121.114.27.32.0
jul88.882.375.769.162.355.548.741.835.028.121.214.37.73.1
aug
83.877.170.263.356.449.442.435.428.321.314.37.31.9
sep
87.280.273.266.159.152.145.138.131.324.718.613.711.6
oct

84.177.170.263.356.549.943.537.532.027.424.323.1
nov

87.881.374.568.361.856.050.245.340.737.435.134.4
dec


84.378.071.866.160.555.650.947.244.242.441.8
" # Columns can indirectly apply coloring to other columns Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
2013201420152016201720182019202020212022
Mongolia2845153290282329647493029555309603031639913232430329433533477823398366
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
2013201420152016201720182019202020212022
Mongolia2845153290282329647493029555309603031639913232430329433533477823398366
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
2013201420152016201720182019202020212022
Mongolia2845153290282329647493029555309603031639913232430329433533477823398366
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n \n \n \n
2013201420152016201720182019202020212022
Mongolia2845153290282329647493029555309603031639913232430329433533477823398366
" diff --git a/tests/testthat/_snaps/fmt_duration.md b/tests/testthat/_snaps/fmt_duration.md index 43fc2a1bb..8b887e1f1 100644 --- a/tests/testthat/_snaps/fmt_duration.md +++ b/tests/testthat/_snaps/fmt_duration.md @@ -1,14 +1,14 @@ # fmt_duration() can produce localized outputs Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
afakarasasaastazbebembezbgbmbnbobscaccpcecebcggchrckbcydadavdedjeduadyodzebueeeleneoeseteuewofafffifilfofrfurfygagdglgswguzgvhawhehihrhsbhyidigiiitjajgojmcjvkakabkamkdekeakgpkhqkikkkkjklklnkmknkokokksksfkshkylaglblktlnloltluluoluylvmaimermfemgmghmkmlmnmnimtmuamymznnaqnbndnenlnnnnhnonusomorospapcmplptrmrnrorofrwrwksasahsaqsatsbpscsdsesehsessgshisiskslsmnsnsosqsuswtatetgtitktotrtttwqtzmugukunduruzvaivivunwaewoxogyavyoyrlyuezghzhzu
1 d. 4 min. 19 s.1 d 4 min 19 s

1 ي 4 د 19 ث

1 দিন 4 মিনিট 19 ছেকেণ্ড1 d 4 min 19 s1día 4mins 19segs1 gün 4 dəq 19 san1 сут 4 хв 19 с1 d 4 min 19 s1 d 4 min 19 s1 д 4 мин 19 с1 d 4 min 19 s1 দিন 4 মিঃ 19 সেঃ1 d 4 min 19 s1 d. 4 m 19 s1 d 4 min 19 s1 𑄘𑄨𑄚𑄴 4 𑄟𑄨𑄂 19 𑄥𑄬𑄂1 д. 4 мин 19 с1 adlaw 4 minuto 19segundo1 d 4 min 19 s1Ꭲ 4Ꭲ 19ᎠᏎ1 d 4 min 19 s1d 4mun 19 eil1 d 4 m 19 s1 d 4 min 19 s1 T 4 Min. 19 Sek.1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 sŋkeke 1 a 4 s 191 η 4 λ 19 δ1d 4m 19s1 d 4 min 19 s1d 4min 19s1 p 4 min 19 s1 e. 4 min 19 s1 d 4 min 19 s

1 روز 4m 19s

1 d 4 min 19 s1pv 4min 19s1 araw 4m 19s1d. 4m. 19s.1j 4min 19s1 d 4 min 19 s1 d 4 m 19 s1l 4n 19s1là 4m 19d1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s

י׳ 4 דק׳ 19 שנ׳

1दिन 4मि॰ 19से॰1 d. 4 m 19 s1 d 4 min 19 s1 օ 4 ր 19 վ1 hr 4 mnt 19 dtk1 d 4 min 19 s1 d 4 min 19 s1 g 4min 19s1d 4m 19s1 d 4 min 19 s1 d 4 min 19 s1d 4 mnt 19 dtk1 დღე 4წთ 19წმ1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 dia 4 min. 19 s1 kurã 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 к. 4 мин 19 с1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 ថ្ងៃ 4 នាទី 19 វិនាទី1ದಿ 4ನಿಮಿ 19 ಸೆಕೆಂ1일 4분 19초1दी 4 मि 19से1 d 4 min 19 s1 d 4 min 19 s1d 4m 19s1 кн 4 мүн 19 сек1 d 4 min 19 s1 D 4 min 19 s1-čháŋ 4 min Okpí 191 d 4 min 19 s1 ມ. 4 ນທ 19 ວິ1 d. 4 min. 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d. 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 д. 4 м. 19 с.1 ദി 4 മി. 19 സെ.1 хоног 4 мин 19 сек1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 ရက် 4 မိနစ် 19 s

1 روز 4 دَقه 19 ثانیه

1 d 4 min 19 s1d 4m 19s1 d 4 min 19 s1 दिन 4 मिनेट 19 सेकेन्ड1 d 4 m 19 s1d 4m 19s1 d 4 min 19 s1d 4m 19s1 d 4 min 19 s1 d 4 min 19 s1ଦିନ 4ମିନିଟ୍‌ 19ସେକ୍1 бон 4 мин. 19 s1 ਦਿਨ 4 ਮਿੰਟ 19 ਸਕਿੰਟ1Dè 4Mínit 19Sẹ́kọn1 d. 4 min 19 s1 dia 4 min 19 s1 dis 4 mins. 19 secs.1 d 4 min 19 s1 z 4 m 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 к. 4 мүн 19 с1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1d 4m 19s

1 ڏينهن 4 منٽ 19 سيڪنڊ

1d 4m 19s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 sදි 1 මි 4 ත 191 d. 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1m 4d 19il1 ditë 4 min. 19 sek.1 d 4 min 19 ssiku 1 dak 4 sek 191 நா 4 நிமி. 19 வி.1రో 4ని 19సె1 d 4 min 19 s1 d 4 min 19 s1g 4m 19se1 ʻa 4 m 19 s1g 4d 19sn1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s

1 كۈن 4m 19s

1д 4х 19с1d 4m 19s

1 دن 4 منٹ 19 سیکنڈ

1 kun 4 daq. 19 s1 d 4 min 19 s1 ngày 4 phút 19 giây1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 sọj 1 4/ìṣ 19 ìṣ àáy1 ara 4 min 19 s1 天 4 分鐘 19 秒1 d 4 min 19 s1天 4分钟 19秒1 4 umzuzu 19 s
5 189 w. 7 min. 12 s.5,189 w 7 min 12 s

5,189 أ 7 د 12 ث

5,189 সপ্তাহ 7 মিনিট 12 ছেকেণ্ড5,189 w 7 min 12 s5.189sels 7mins 12segs5.189 hft 7 dəq 12 san5 189 тыдз. 7 хв 12 с5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 седм. 7 мин 12 с5,189 w 7 min 12 s5,189 সপ্তাহ 7 মিঃ 12 সেঃ5,189 w 7 min 12 s5.189 sedm. 7 m 12 s5.189 setm. 7 min 12 s5,189 𑄥𑄛𑄴𑄖 7 𑄟𑄨𑄂 12 𑄥𑄬𑄂5,189 кӀ. 7 мин 12 с5,189w 7 minuto 12segundo5,189 w 7 min 12 s5,189Ꮢ 7Ꭲ 12ᎠᏎ5,189 w 7 min 12 s5,189w 7mun 12 eil5.189 u 7 m 12 s5,189 w 7 min 12 s5.189 W 7 Min. 12 Sek.5 189 w 7 min 12 s5 189 w 7 min 12 s5 189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 skɔsiɖa 5,189 a 7 s 125.189 ε 7 λ 12 δ5,189w 7m 12s5 189 w 7 min 12 s5.189sem 7min 12s5 189 n 7 min 12 s5.189 aste 7 min 12 s5 189 w 7 min 12 s

5,189 هفته 7m 12s

5 189 w 7 min 12 s5 189vk 7min 12s5,189linggo 7m 12s5.189v. 7m. 12s.5 189sem. 7min 12s5.189 w 7 min 12 s5.189 w 7 m 12 s5,189s 7n 12s5,189s 7m 12d5.189 sem. 7 min 12 s5’189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s

5,189 ש′ 7 דק׳ 12 שנ׳

5,189 सप्ताह 7मि॰ 12से॰5.189 tj. 7 m 12 s5.189 t. 7 min 12 s5 189 շ 7 ր 12 վ5.189 mgg 7 mnt 12 dtk5,189 w 7 min 12 s5,189 w 7 min 12 s5.189sett. 7min 12s5,189w 7m 12s5.189 w 7 min 12 s5,189 w 7 min 12 s5.189 peken 7 mnt 12 dtk5 189 კვრ 7წთ 12წმ5 189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 sim. 7 min. 12 s5.189 sim. Ag 7 min 12 s5 189 w 7 min 12 s5,189 w 7 min 12 s5 189 ап. 7 мин 12 с5.189 w 7 min 12 s5.189 w 7 min 12 s5,189 w 7 min 12 s5.189 សប្ដាហ៍ 7 នាទី 12 វិនាទី5,189ವಾ 7ನಿಮಿ 12 ಸೆಕೆಂ5,189주 7분 12초5,189स 7 मि 12से

5،189 w 7 min 12 s

5 189 w 7 min 12 s5 189 w 7m 12s5 189 ап 7 мүн 12 сек5,189 w 7 min 12 s5.189 W 7 min 12 sokó 5,189 7 min Okpí 125.189 w 7 min 12 s5.189 ອທ. 7 ນທ 12 ວິ5 189 sav. 7 min. 12 s5.189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 n. 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 w 7 min 12 s5,189 w 7 min 12 s5.189 w 7 min 12 s5.189 с. 7 м. 12 с.5,189 ആ 7 മി. 12 സെ.5,189 д.х 7 мин 12 сек5,189 w 7 min 12 s5,189 w 7 min 12 s5.189 w 7 min 12 s5,189 ပတ် 7 မိနစ် 12 s

5,189 هفته 7 دَقه 12 ثانیه

5,189 w 7 min 12 s5 189u 7m 12s5,189 w 7 min 12 s5,189 हप्ता 7 मिनेट 12 सेकेन्ड5.189 w 7 m 12 s5 189v 7m 12s5.189 w 7 min 12 s5 189u 7m 12s5,189 w 7 min 12 s5,189 w 7 min 12 s5,189 ସପ୍ 7ମିନିଟ୍‌ 12ସେକ୍5 189 w 7 мин. 12 s5,189 ਹਫ਼ਤੇ 7 ਮਿੰਟ 12 ਸਕਿੰਟ5,189Wik 7Mínit 12Sẹ́kọn5 189 tyg. 7 min 12 s5.189 sem. 7 min 12 s5’189 emnas 7 mins. 12 secs.5.189 w 7 min 12 s5.189 săpt. 7 m 12 s5,189 w 7 min 12 s5.189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 н. 7 мүн 12 с5,189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5.189ch. 7m 12s

5,189 هفتي 7 منٽ 12 سيڪنڊ

5 189v 7m 12s5.189 w 7 min 12 s5 189 w 7 min 12 s5.189 w 7 min 12 s5 189 w 7 min 12 sස 5,189 මි 7 ත 125 189 t. 7 min 12 s5.189 t 7 min 12 s5 189 w 7 min 12 s5,189 w 7 min 12 s5,189t 7d 12il5 189 javë 7 min. 12 sek.5.189 w 7 min 12 swiki 5,189 dak 7 sek 125,189 வா 7 நிமி. 12 வி.5,189వా 7ని 12సె5 189 w 7 min 12 s5,189 w 7 min 12 s5 189h 7m 12se5,189 u 7 m 12 s5.189h 7d 12sn5 189 w 7 min 12 s5 189 w 7 min 12 s5 189 w 7 min 12 s

5,189 ھەپتە 7m 12s

5 189т 7х 12с5,189w 7m 12s

5,189 ہفتے 7 منٹ 12 سیکنڈ

5 189 hafta 7 daq. 12 s5,189 w 7 min 12 s5.189 tuần 7 phút 12 giây5,189 w 7 min 12 s5’189 w 7 min 12 s5.189 w 7 min 12 s5,189 w 7 min 12 s5 189 w 7 min 12 s5,189 ọṣ 7/ìṣ 12 ìṣ àáy5.189 sem 7 min 12 s5,189 週 7 分鐘 12 秒5 189 w 7 min 12 s5,189周 7分钟 12秒5,189 w 7 umzuzu 12 s
5 d.5 d

5 ي

5 দিন5 d5díes5 gün5 сут5 d5 d5 д5 d5 দিন5 d5 d.5 d5 𑄘𑄨𑄚𑄴5 д.5 adlaw5 d5Ꭲ5 d5d5 d5 d5 T5 d5 d5 d5 d5 dŋkeke 55 η5d5 d5d5 p5 e.5 d

5 روز

5 d5pv5 na araw5d.5j5 d5 d5l5là5 d5 d5 d5 d5 d

5 י׳

5दिन5 d.5 d5 օ5 hr5 d5 d5gg5d5 d5 d5d5 დღე5 d5 d5 d5 dia5 kurã ag5 d5 d5 к.5 d5 d5 d5 ថ្ងៃ5ದಿ5일5दी5 d5 d5d5 кн5 d5 D5-čháŋ5 d5 ມ.5 d.5 d5 d5 d5 d.5 d5 d5 d5 d5 d5 д.5 ദി5 хоног5 d5 d5 d5 ရက်

5 روز

5 d5d5 d5 दिन5 d5d5 d5d5 d5 d5ଦିନ5 боны5 ਦਿਨ5Dè5 d.5 dias5 dis5 d5 z5 d5 d5 d5 d5 к.5 d5 d5 d5d

5 ڏينهن

5d5 d5 d5 d5 dදි 55 d.5 d5 d5 d5m5 ditë5 dsiku 55 நா5రో5 d5 d5g5 ʻa5g5 d5 d5 d

5 كۈن

5d

5 دن

5 kun5 d5 ngày5 d5 d5 d5 d5 dọj 55 ara5 天5 d5天5 suku
−4 w. 6 d. 12 u.−4 w 6 d 12 h

−4 أ 6 ي 12 س

−4 সপ্তাহ 6 দিন 12 ঘণ্টা−4 w 6 d 12 h−4sels 6díes 12hrs−4 hft 6 gün 12 saat−4 тыдз. 6 сут 12 гадз−4 w 6 d 12 h−4 w 6 d 12 h−4 седм. 6 д 12 ч−4 w 6 d 12 h−4 সপ্তাহ 6 দিন 12 ঘঃ−4 w 6 d 12 h−4 sedm. 6 d. 12 h−4 setm. 6 d 12 h−4 𑄥𑄛𑄴𑄖 6 𑄘𑄨𑄚𑄴 12 𑄊𑄂−4 кӀ. 6 д. 12 сахь.−4w 6 adlaw 12 ka oras−4 w 6 d 12 h−4Ꮢ 6Ꭲ 12Ꮡ−4 w 6 d 12 h−4w 6d 12 awr−4 u 6 d 12 t−4 w 6 d 12 h−4 W 6 T 12 Std.−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−kɔsiɖa 4 ŋkeke 6 gaƒoƒo 12−4 ε 6 η 12 ώ−4w 6d 12h−4 w 6 d 12 h−4sem 6d 12h−4 n 6 p 12 t−4 aste 6 e. 12 h−4 w 6 d 12 h

−4 هفته 6 روز 12h

−4 w 6 d 12 h−4vk 6pv 12t−4linggo 6 na araw 12 oras−4v. 6d. 12t.−4sem. 6j 12h−4 w 6 d 12 h−4 w 6 d 12 u−4s 6l 12u−4s 6là 12u−4 sem. 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h

−4 ש′ 6 י׳ 12 שע׳

−4 सप्ताह 6दिन 12घं॰−4 tj. 6 d. 12 h−4 t. 6 d 12 h−4 շ 6 օ 12 ժ−4 mgg 6 hr 12 j−4 w 6 d 12 h−4 w 6 d 12 h−4sett. 6gg 12h−4w 6d 12h−4 w 6 d 12 h−4 w 6 d 12 h−4 peken 6d 12j−4 კვრ 6 დღე 12სთ−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 sim. 6 dia 12 h−4 sim. Ag 6 kurã ag 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 ап. 6 к. 12 сағ−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 សប្ដាហ៍ 6 ថ្ងៃ 12 ម៉ោង−4ವಾ 6ದಿ 12ಗಂ.−4주 6일 12시간−4स 6दी 12व−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6d 12h−4 ап 6 кн 12 ст−4 w 6 d 12 h−4 W 6 D 12 st−okó 4 6-čháŋ Owápȟe 12−4 w 6 d 12 h−4 ອທ. 6 ມ. 12 ຊມ−4 sav. 6 d. 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 n. 6 d. 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 с. 6 д. 12 ч.−4 ആ 6 ദി 12 മ−4 д.х 6 хоног 12 ц−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 ပတ် 6 ရက် 12 နာရီ

−4 هفته 6 روز 12 ساعِت

−4 w 6 d 12 h−4u 6d 12t−4 w 6 d 12 h−4 हप्ता 6 दिन 12 घण्टा−4 w 6 d 12 u−4v 6d 12t−4 w 6 d 12 h−4u 6d 12t−4 w 6 d 12 h−4 w 6 d 12 h−4 ସପ୍ 6ଦିନ 12ଘଣ୍ଟା−4 w 6 боны 12 с.−4 ਹਫ਼ਤੇ 6 ਦਿਨ 12 ਘੰਟੇ−4Wik 6Dè 12Áwa−4 tyg. 6 d. 12 h−4 sem. 6 dias 12 h−4 emnas 6 dis 12 uras−4 w 6 d 12 h−4 săpt. 6 z 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 н. 6 к. 12 ч−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4ch. 6d 12o

−4 هفتي 6 ڏينهن 12 ڪلاڪ

−4v 6d 12h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−ස 4 දි 6 පැය 12−4 t. 6 d. 12 h−4 t 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4t 6m 12 s−4 javë 6 ditë 12 orë−4 w 6 d 12 h−wiki 4 siku 6 saa 12−4 வா 6 நா 12 ம.நே.−4వా 6రో 12గం−4 w 6 d 12 h−4 w 6 d 12 h−4h 6g 12sg−4 u 6 ʻa 12 h−4h 6g 12s−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h

−4 ھەپتە 6 كۈن 12h

−4т 6д 12 год.−4w 6d 12h

−4 ہفتے 6 دن 12 گھنٹے

−4 hafta 6 kun 12 soat−4 w 6 d 12 h−4 tuần 6 ngày 12 giờ−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 ọṣ ọj 6 12 wkt−4 sem 6 ara 12 h−4 週 6 天 12 小時−4 w 6 d 12 h−4周 6天 12小时−4 w 6 suku 12 hora
4 w. 3 d. 14 u. 24 min.4 w 3 d 14 h 24 min

4 أ 3 ي 14 س 24 د

4 সপ্তাহ 3 দিন 14 ঘণ্টা 24 মিনিট4 w 3 d 14 h 24 min4sels 3díes 14hrs 24mins4 hft 3 gün 14 saat 24 dəq4 тыдз. 3 сут 14 гадз 24 хв4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 седм. 3 д 14 ч 24 мин4 w 3 d 14 h 24 min4 সপ্তাহ 3 দিন 14 ঘঃ 24 মিঃ4 w 3 d 14 h 24 min4 sedm. 3 d. 14 h 24 m4 setm. 3 d 14 h 24 min4 𑄥𑄛𑄴𑄖 3 𑄘𑄨𑄚𑄴 14 𑄊𑄂 24 𑄟𑄨𑄂4 кӀ. 3 д. 14 сахь. 24 мин4w 3 adlaw 14 ka oras 24 minuto4 w 3 d 14 h 24 min4Ꮢ 3Ꭲ 14Ꮡ 24Ꭲ4 w 3 d 14 h 24 min4w 3d 14 awr 24mun4 u 3 d 14 t 24 m4 w 3 d 14 h 24 min4 W 3 T 14 Std. 24 Min.4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 minkɔsiɖa 4 ŋkeke 3 gaƒoƒo 14 a 244 ε 3 η 14 ώ 24 λ4w 3d 14h 24m4 w 3 d 14 h 24 min4sem 3d 14h 24min4 n 3 p 14 t 24 min4 aste 3 e. 14 h 24 min4 w 3 d 14 h 24 min

4 هفته 3 روز 14h 24m

4 w 3 d 14 h 24 min4vk 3pv 14t 24min4linggo 3 na araw 14 oras 24m4v. 3d. 14t. 24m.4sem. 3j 14h 24min4 w 3 d 14 h 24 min4 w 3 d 14 u 24 m4s 3l 14u 24n4s 3là 14u 24m4 sem. 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min

4 ש′ 3 י׳ 14 שע׳ 24 דק׳

4 सप्ताह 3दिन 14घं॰ 24मि॰4 tj. 3 d. 14 h 24 m4 t. 3 d 14 h 24 min4 շ 3 օ 14 ժ 24 ր4 mgg 3 hr 14 j 24 mnt4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4sett. 3gg 14h 24min4w 3d 14h 24m4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 peken 3d 14j 24 mnt4 კვრ 3 დღე 14სთ 24წთ4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 sim. 3 dia 14 h 24 min.4 sim. Ag 3 kurã ag 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ап. 3 к. 14 сағ 24 мин4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 សប្ដាហ៍ 3 ថ្ងៃ 14 ម៉ោង 24 នាទី4ವಾ 3ದಿ 14ಗಂ. 24ನಿಮಿ4주 3일 14시간 24분4स 3दी 14व 24 मि4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3d 14h 24m4 ап 3 кн 14 ст 24 мүн4 w 3 d 14 h 24 min4 W 3 D 14 st 24 minokó 4 3-čháŋ Owápȟe 14 24 min4 w 3 d 14 h 24 min4 ອທ. 3 ມ. 14 ຊມ 24 ນທ4 sav. 3 d. 14 h 24 min.4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 n. 3 d. 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 с. 3 д. 14 ч. 24 м.4 ആ 3 ദി 14 മ 24 മി.4 д.х 3 хоног 14 ц 24 мин4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ပတ် 3 ရက် 14 နာရီ 24 မိနစ်

4 هفته 3 روز 14 ساعِت 24 دَقه

4 w 3 d 14 h 24 min4u 3d 14t 24m4 w 3 d 14 h 24 min4 हप्ता 3 दिन 14 घण्टा 24 मिनेट4 w 3 d 14 u 24 m4v 3d 14t 24m4 w 3 d 14 h 24 min4u 3d 14t 24m4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ସପ୍ 3ଦିନ 14ଘଣ୍ଟା 24ମିନିଟ୍‌4 w 3 боны 14 с. 24 мин.4 ਹਫ਼ਤੇ 3 ਦਿਨ 14 ਘੰਟੇ 24 ਮਿੰਟ4Wik 3Dè 14Áwa 24Mínit4 tyg. 3 d. 14 h 24 min4 sem. 3 dias 14 h 24 min4 emnas 3 dis 14 uras 24 mins.4 w 3 d 14 h 24 min4 săpt. 3 z 14 h 24 m4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 н. 3 к. 14 ч 24 мүн4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4ch. 3d 14o 24m

4 هفتي 3 ڏينهن 14 ڪلاڪ 24 منٽ

4v 3d 14h 24m4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 minස 4 දි 3 පැය 14 මි 244 t. 3 d. 14 h 24 min4 t 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4t 3m 14 s 24d4 javë 3 ditë 14 orë 24 min.4 w 3 d 14 h 24 minwiki 4 siku 3 saa 14 dak 244 வா 3 நா 14 ம.நே. 24 நிமி.4వా 3రో 14గం 24ని4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4h 3g 14sg 24m4 u 3 ʻa 14 h 24 m4h 3g 14s 24d4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min

4 ھەپتە 3 كۈن 14h 24m

4т 3д 14 год. 24х4w 3d 14h 24m

4 ہفتے 3 دن 14 گھنٹے 24 منٹ

4 hafta 3 kun 14 soat 24 daq.4 w 3 d 14 h 24 min4 tuần 3 ngày 14 giờ 24 phút4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ọṣ ọj 3 14 wkt 24/ìṣ4 sem 3 ara 14 h 24 min4 週 3 天 14 小時 24 分鐘4 w 3 d 14 h 24 min4周 3天 14小时 24分钟4 w 3 suku 14 hora 24 umzuzu
4 w. 12 u.4 w 12 h

4 أ 12 س

4 সপ্তাহ 12 ঘণ্টা4 w 12 h4sels 12hrs4 hft 12 saat4 тыдз. 12 гадз4 w 12 h4 w 12 h4 седм. 12 ч4 w 12 h4 সপ্তাহ 12 ঘঃ4 w 12 h4 sedm. 12 h4 setm. 12 h4 𑄥𑄛𑄴𑄖 12 𑄊𑄂4 кӀ. 12 сахь.4w 12 ka oras4 w 12 h4Ꮢ 12Ꮡ4 w 12 h4w 12 awr4 u 12 t4 w 12 h4 W 12 Std.4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 hkɔsiɖa 4 gaƒoƒo 124 ε 12 ώ4w 12h4 w 12 h4sem 12h4 n 12 t4 aste 12 h4 w 12 h

4 هفته 12h

4 w 12 h4vk 12t4linggo 12 oras4v. 12t.4sem. 12h4 w 12 h4 w 12 u4s 12u4s 12u4 sem. 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 h

4 ש′ 12 שע׳

4 सप्ताह 12घं॰4 tj. 12 h4 t. 12 h4 շ 12 ժ4 mgg 12 j4 w 12 h4 w 12 h4sett. 12h4w 12h4 w 12 h4 w 12 h4 peken 12j4 კვრ 12სთ4 w 12 h4 w 12 h4 w 12 h4 sim. 12 h4 sim. Ag 12 h4 w 12 h4 w 12 h4 ап. 12 сағ4 w 12 h4 w 12 h4 w 12 h4 សប្ដាហ៍ 12 ម៉ោង4ವಾ 12ಗಂ.4주 12시간4स 12व4 w 12 h4 w 12 h4 w 12h4 ап 12 ст4 w 12 h4 W 12 stokó 4 Owápȟe 124 w 12 h4 ອທ. 12 ຊມ4 sav. 12 h4 w 12 h4 w 12 h4 w 12 h4 n. 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 с. 12 ч.4 ആ 12 മ4 д.х 12 ц4 w 12 h4 w 12 h4 w 12 h4 ပတ် 12 နာရီ

4 هفته 12 ساعِت

4 w 12 h4u 12t4 w 12 h4 हप्ता 12 घण्टा4 w 12 u4v 12t4 w 12 h4u 12t4 w 12 h4 w 12 h4 ସପ୍ 12ଘଣ୍ଟା4 w 12 с.4 ਹਫ਼ਤੇ 12 ਘੰਟੇ4Wik 12Áwa4 tyg. 12 h4 sem. 12 h4 emnas 12 uras4 w 12 h4 săpt. 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 н. 12 ч4 w 12 h4 w 12 h4 w 12 h4ch. 12o

4 هفتي 12 ڪلاڪ

4v 12h4 w 12 h4 w 12 h4 w 12 h4 w 12 hස 4 පැය 124 t. 12 h4 t 12 h4 w 12 h4 w 12 h4t 12 s4 javë 12 orë4 w 12 hwiki 4 saa 124 வா 12 ம.நே.4వా 12గం4 w 12 h4 w 12 h4h 12sg4 u 12 h4h 12s4 w 12 h4 w 12 h4 w 12 h

4 ھەپتە 12h

4т 12 год.4w 12h

4 ہفتے 12 گھنٹے

4 hafta 12 soat4 w 12 h4 tuần 12 giờ4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 ọṣ 12 wkt4 sem 12 h4 週 12 小時4 w 12 h4周 12小时4 w 12 hora
NANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n \n \n
afakarasasaastazbebembezbgbmbnbobscaccpcecebcggchrckbcydadavdedjeduadyodzebueeeleneoeseteuewofafffifilfofrfurfygagdglgswguzgvhawhehihrhsbhyidigiiitjajgojmcjvkakabkamkdekeakgpkhqkikkkkjklklnkmknkokokksksfkshkylaglblktlnloltluluoluylvmaimermfemgmghmkmlmnmnimtmuamymznnaqnbndnenlnnnnhnonusomorospapcmplptrmrnrorofrwrwksasahsaqsatsbpscsdsesehsessgshisiskslsmnsnsosqsuswtatetgtitktotrtttwqtzmugukunduruzvaivivunwaewoxogyavyoyrlyuezghzhzu
1 dag 4 minute 19 sekondes1 d 4 min 19 s

يوم 4 دقيقة 19 ثانية

1 দিন 4 মিনিট 19 ছেকেণ্ড1 d 4 min 19 s1 día 4 minutos 19 segundos1 gün 4 dəqiqə 19 saniyə1 суткі 4 хвіліны 19 секунды1 d 4 min 19 s1 d 4 min 19 s1 ден 4 минути 19 секунди1 d 4 min 19 s1 দিন 4 মিনিট 19 সেকেন্ড1 d 4 min 19 s1 dan 4 minuta 19 sekundi1 dia 4 minuts 19 segons1 𑄘𑄨𑄚𑄴 4 𑄟𑄨𑄚𑄨𑄖𑄴 19 𑄥𑄬𑄇𑄬𑄚𑄳𑄓𑄴1 де 4 минот 19 секунд1 ka adlaw 4 ka mga minuto 19 ka mga segundo1 d 4 min 19 s1 ᎢᎦ 4 ᎢᏯᏔᏬᏍᏔᏅ 19 ᏗᏎᏢ1 d 4 min 19 s1 diwrnod 4 munud 19 eiliad1 dag 4 minutter 19 sekunder1 d 4 min 19 s1 Tag 4 Minuten 19 Sekunden1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 sཉིན་ཞག་ 1 སྐར་མ་ 4 སྐར་ཆ་ 191 d 4 min 19 sŋkeke 1 aɖabaƒoƒo 4 sekend 19 wo1 ημέρα 4 λεπτά 19 δευτερόλεπτα1 day 4 minutes 19 seconds1 d 4 min 19 s1 día 4 minutos 19 segundos1 ööpäev 4 minutit 19 sekundit1 egun 4 minutu 19 segundo1 d 4 min 19 s

1 روز 4 دقیقه 19 ثانیه

1 d 4 min 19 s1 päivä 4 minuuttia 19 sekuntia1 araw 4 na minuto 19 na segundo1 dagur 4 minuttir 19 sekundir1 jour 4 minutes 19 secondes1 zornade 4 minûts 19 seconts1 dei 4 minuten 19 sekonden1 lá 4 nóiméad 19 soicind1 latha 4 mionaid 19 diog1 día 4 minutos 19 segundos1 Taag 4 Minuute 19 Sekunde1 d 4 min 19 s1 d 4 min 19 s1 lā 4 minuke 19 kekona

יום 1 4 דקות 19 שניות

1 दिन 4 मिनट 19 सेकंड1 dan 4 minuta 19 sekundi1 dźeń 4 minutow 19 sekundow1 օր 4 րոպե 19 վայրկյան1 hari 4 menit 19 detik1 d 4 min 19 s1 d 4 min 19 s1 giorno 4 minuti 19 secondi1 日 4 分 19 秒1 lɛ́Ꞌ 4 minút 19 s1 d 4 min 19 s1 dina 4 menit 19 detik1 დღე 4 წუთი 19 წამი1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 dia 4 minutu 19 sigundukurã 1 mĩnũtu 4 sigũnu 191 d 4 min 19 s1 d 4 min 19 s1 тәулік 4 минут 19 секунд1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 ថ្ងៃ 4 នាទី 19 វិនាទី1 ದಿನ 4 ನಿಮಿಷಗಳು 19 ಸೆಕೆಂಡುಗಳು1일 4분 19초1 दीस 4 मिण्टां 19 सेकंदांनी

1 دۄہ 4 مِنَٹ 19 سیکَنڈ

1 d 4 min 19 s1 Dääsch 4 Menutte 19 Sekunde1 күн 4 мүнөт 19 секунд1 d 4 min 19 s1 Dag 4 Minutten 19 Sekonnen1-čháŋ 4 min Okpí 191 d 4 min 19 s1 ມື້ 4 ນາທີ 19 ວິນາທີ1 diena 4 minučių 19 sekundžių1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 diena 4 minūtes 19 sekundes1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 ден 4 минути 19 секунди1 ദിവസം 4 മിനിറ്റ് 19 സെക്കൻഡ്1 хоног 4 минут 19 секунд1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 ရက် 4 မိနစ် 19 စက္ကန့်

1 روز 4 دقیقه 19 ثانیه

1 d 4 min 19 s1 døgn 4 minutter 19 sekunder1 d 4 min 19 s1 दिन 4 मिनेट 19 सेकेन्ड1 dag 4 minuten 19 seconden1 døgn 4 minutt 19 sekund1 d 4 min 19 s1 døgn 4 minutter 19 sekunder1 d 4 min 19 s1 d 4 min 19 s1 ଦିନ 4 ମିନିଟ୍ 19 ସେକେଣ୍ଡ1 бон 4 минуты 19 секунды1 ਦਿਨ 4 ਮਿੰਟ 19 ਸਕਿੰਟ1 Dè 4 Mínit 19 Sẹ́kọn1 doba 4 minuty 19 sekundy1 dia 4 minutos 19 segundos1 di 4 minutas 19 secundas1 d 4 min 19 s1 zi 4 de minute 19 de secunde1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 күн 4 мүнүүтэ 19 сөкүүндэ1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 die 4 minutos 19 segundos

1 ڏينهن 4 منٽ 19 سيڪنڊ

1 jándor 4 minuhtta 19 sekundda1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 sදින 1 මිනිත්තු 4 තත්පර 191 deň 4 minút 19 sekúnd1 dan 4 minut 19 sekund1 d 4 min 19 s1 d 4 min 19 s1 maalin 4 daqiiqo 19 ilbiriqsi1 ditë 4 minuta 19 sekonda1 d 4 min 19 ssiku 1 dakika 4 sekunde 191 நாள் 4 நிமிடங்கள் 19 விநாடிகள்1 రోజు 4 నిమిషాలు 19 సెకన్లు1 d 4 min 19 s1 d 4 min 19 s1 gün 4 minut 19 sekuntʻaho ʻe 1 miniti ʻe 4 sekoni ʻe 191 gün 4 dakika 19 saniye1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 s

1 كۈن 4 مىنۇت 19 سېكۇنت

1 день 4 хвилини 19 секунди1 day 4 minutes 19 seconds

1 دن 4 منٹ 19 سیکنڈ

1 kun 4 daqiqa 19 soniya1 d 4 min 19 s1 ngày 4 phút 19 giây1 d 4 min 19 s1 täg 4 minüte 19 sekunde1 d 4 min 19 s1 d 4 min 19 s1 d 4 min 19 sọj 1 4 ìṣ 19ìṣ àáy1 ara 4 minutu-ita 19 segũdu-ita1 天 4 分鐘 19 秒1 d 4 min 19 s1天 4分钟 19秒钟1 usuku 4 amaminithi 19 amasekhondi
5 189 weke 7 minute 12 sekondes5,189 w 7 min 12 s

5,189 أسبوع 7 دقيقة 12 ثانية

5,189 সপ্তাহ 7 মিনিট 12 ছেকেণ্ড5,189 w 7 min 12 s5.189 selmanes 7 minutos 12 segundos5.189 həftə 7 dəqiqə 12 saniyə5 189 тыдня 7 хвіліны 12 секунды5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 седмици 7 минути 12 секунди5,189 w 7 min 12 s5,189 সপ্তাহ 7 মিনিট 12 সেকেন্ড5,189 w 7 min 12 s5.189 sedmica 7 minuta 12 sekundi5.189 setmanes 7 minuts 12 segons5,189 𑄥𑄛𑄴𑄖 7 𑄟𑄨𑄚𑄨𑄖𑄴 12 𑄥𑄬𑄇𑄬𑄚𑄳𑄓𑄴5,189 кӀира 7 минот 12 секунд5,189 ka mga semana 7 ka mga minuto 12 ka mga segundo5,189 w 7 min 12 s5,189 ᎢᏳᎾᏙᏓᏆᏍᏗ 7 ᎢᏯᏔᏬᏍᏔᏅ 12 ᏗᏎᏢ5,189 w 7 min 12 s5,189 wythnos 7 munud 12 eiliad5.189 uger 7 minutter 12 sekunder5,189 w 7 min 12 s5.189 Wochen 7 Minuten 12 Sekunden5 189 w 7 min 12 s5 189 w 7 min 12 s5 189 w 7 min 12 sབངུན་ཕྲག་ 5,189 སྐར་མ་ 7 སྐར་ཆ་ 125,189 w 7 min 12 skɔsiɖa 5,189 aɖabaƒoƒo 7 sekend 12 wo5.189 εβδομάδες 7 λεπτά 12 δευτερόλεπτα5,189 weeks 7 minutes 12 seconds5 189 w 7 min 12 s5.189 semanas 7 minutos 12 segundos5 189 nädalat 7 minutit 12 sekundit5.189 aste 7 minutu 12 segundo5 189 w 7 min 12 s

5,189 هفته 7 دقیقه 12 ثانیه

5 189 w 7 min 12 s5 189 viikkoa 7 minuuttia 12 sekuntia5,189 na linggo 7 na minuto 12 na segundo5.189 vikur 7 minuttir 12 sekundir5 189 semaines 7 minutes 12 secondes5.189 setemanis 7 minûts 12 seconts5.189 wiken 7 minuten 12 sekonden5,189 seachtain 7 nóiméad 12 soicind5,189 seachdain 7 mionaid 12 diog5.189 semanas 7 minutos 12 segundos5’189 Wuche 7 Minuute 12 Sekunde5,189 w 7 min 12 s5,189 w 7 min 12 s5,189 pule 7 minuke 12 kekona

5,189 שבועות 7 דקות 12 שניות

5,189 सप्ताह 7 मिनट 12 सेकंड5.189 tjedana 7 minuta 12 sekundi5.189 tydźenjow 7 minutow 12 sekundow5 189 շաբաթ 7 րոպե 12 վայրկյան5.189 minggu 7 menit 12 detik5,189 w 7 min 12 s5,189 w 7 min 12 s5.189 settimane 7 minuti 12 secondi5,189 週間 7 分 12 秒5.189 w 7 minút 12 s5,189 w 7 min 12 s5.189 peken 7 menit 12 detik5 189 კვირა 7 წუთი 12 წამი5 189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 simana 7 minutu 12 sigundu5.189 simỹnỹ ag mĩnũtu 7 sigũnu 125 189 w 7 min 12 s5,189 w 7 min 12 s5 189 апта 7 минут 12 секунд5.189 w 7 min 12 s5.189 w 7 min 12 s5,189 w 7 min 12 s5.189 សប្ដាហ៍ 7 នាទី 12 វិនាទី5,189 ವಾರಗಳು 7 ನಿಮಿಷಗಳು 12 ಸೆಕೆಂಡುಗಳು5,189주 7분 12초5,189 सप्तक 7 मिण्टां 12 सेकंदांनी

5،189 ہَفتہٕ 7 مِنَٹ 12 سیکَنڈ

5 189 w 7 min 12 s5 189 Woche 7 Menutte 12 Sekunde5 189 апта 7 мүнөт 12 секунд5,189 w 7 min 12 s5.189 Wochen 7 Minutten 12 Sekonnenokó 5,189 7 min Okpí 125.189 w 7 min 12 s5.189 ອາທິດ 7 ນາທີ 12 ວິນາທີ5 189 savaičių 7 minučių 12 sekundžių5.189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 nedēļas 7 minūtes 12 sekundes5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 w 7 min 12 s5,189 w 7 min 12 s5.189 w 7 min 12 s5.189 седмици 7 минути 12 секунди5,189 ആഴ്ച 7 മിനിറ്റ് 12 സെക്കൻഡ്5,189 долоо хоног 7 минут 12 секунд5,189 w 7 min 12 s5,189 w 7 min 12 s5.189 w 7 min 12 s5,189 ပတ် 7 မိနစ် 12 စက္ကန့်

5,189 هفته 7 دقیقه 12 ثانیه

5,189 w 7 min 12 s5 189 uker 7 minutter 12 sekunder5,189 w 7 min 12 s5,189 हप्ता 7 मिनेट 12 सेकेन्ड5.189 weken 7 minuten 12 seconden5 189 veker 7 minutt 12 sekund5.189 w 7 min 12 s5 189 uker 7 minutter 12 sekunder5,189 w 7 min 12 s5,189 w 7 min 12 s5,189 ସପ୍ତାହ 7 ମିନିଟ୍ 12 ସେକେଣ୍ଡ5 189 къуырийы 7 минуты 12 секунды5,189 ਹਫ਼ਤੇ 7 ਮਿੰਟ 12 ਸਕਿੰਟ5,189 Wik 7 Mínit 12 Sẹ́kọn5 189 tygodnia 7 minuty 12 sekundy5.189 semanas 7 minutos 12 segundos5’189 emnas 7 minutas 12 secundas5.189 w 7 min 12 s5.189 de săptămâni 7 de minute 12 de secunde5,189 w 7 min 12 s5.189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5 189 нэдиэлэ 7 мүнүүтэ 12 сөкүүндэ5,189 w 7 min 12 s5,189 w 7 min 12 s5,189 w 7 min 12 s5.189 chidas 7 minutos 12 segundos

5,189 هفتا 7 منٽ 12 سيڪنڊ

5 189 váhkku 7 minuhtta 12 sekundda5.189 w 7 min 12 s5 189 w 7 min 12 s5.189 w 7 min 12 s5 189 w 7 min 12 sසති 5,189 මිනිත්තු 7 තත්පර 125 189 týždňov 7 minút 12 sekúnd5.189 tednov 7 minut 12 sekund5 189 w 7 min 12 s5,189 w 7 min 12 s5,189 toddobaadyo 7 daqiiqo 12 ilbiriqsi5 189 javë 7 minuta 12 sekonda5.189 w 7 min 12 swiki 5,189 dakika 7 sekunde 125,189 வாரங்கள் 7 நிமிடங்கள் 12 விநாடிகள்5,189 వారాలు 7 నిమిషాలు 12 సెకన్లు5 189 w 7 min 12 s5,189 w 7 min 12 s5 189 hepde 7 minut 12 sekuntuike ʻe 5,189 miniti ʻe 7 sekoni ʻe 125.189 hafta 7 dakika 12 saniye5 189 w 7 min 12 s5 189 w 7 min 12 s5 189 w 7 min 12 s

5,189 ھەپتە 7 مىنۇت 12 سېكۇنت

5 189 тижня 7 хвилини 12 секунди5,189 weeks 7 minutes 12 seconds

5,189 ہفتے 7 منٹ 12 سیکنڈ

5 189 hafta 7 daqiqa 12 soniya5,189 w 7 min 12 s5.189 tuần 7 phút 12 giây5,189 w 7 min 12 s5’189 wučä 7 minüte 12 sekunde5.189 w 7 min 12 s5,189 w 7 min 12 s5 189 w 7 min 12 s5,189 ọṣ 7 ìṣ 12ìṣ àáy5.189 sẽmãna-ita 7 minutu-ita 12 segũdu-ita5,189 週 7 分鐘 12 秒5 189 w 7 min 12 s5,189周 7分钟 12秒钟5,189 amaviki 7 amaminithi 12 amasekhondi
5 dae5 d

5 يوم

5 দিন5 d5 díes5 gün5 сутак5 d5 d5 дни5 d5 দিন5 d5 dana5 dies5 𑄘𑄨𑄚𑄴5 де5 ka mga adlaw5 d5 ᎯᎸᏍᎩ ᏧᏒᎯᏓ5 d5 diwrnod5 dage5 d5 Tage5 d5 d5 dཉིན་ཞག་ 55 dŋkeke 55 ημέρες5 days5 d5 días5 ööpäeva5 egun5 d

5 روز

5 d5 päivää5 na araw5 dagar5 jours5 zornadis5 deien5 lá5 latha5 días5 Tääg5 d5 d5 lā

5 ימים

5 दिन5 dana5 dnjow5 օր5 hari5 d5 d5 giorni5 日5 lɛ́Ꞌ5 d5 dina5 დღე5 d5 d5 d5 diakurã 55 d5 d5 тәулік5 d5 d5 d5 ថ្ងៃ5 ದಿನಗಳು5일5 दीस

5 دۄہ

5 d5 Dääsch5 күн5 d5 Deeg5-čháŋ5 d5 ມື້5 dienų5 d5 d5 d5 dienas5 d5 d5 d5 d5 d5 дена5 ദിവസം5 хоног5 d5 d5 d5 ရက်

5 روز

5 d5 døgn5 d5 दिन5 dagen5 døgn5 d5 døgn5 d5 d5 ଦିନ5 боны5 ਦਿਨ5 Dè5 doby5 dias5 dis5 d5 de zile5 d5 d5 d5 d5 күн5 d5 d5 d5 dies

5 ڏينهن

5 jándora5 d5 d5 d5 dදින 55 dní5 dni5 d5 d5 maalmood5 ditë5 dsiku 55 நாட்கள்5 రోజులు5 d5 d5 günʻaho ʻe 55 gün5 d5 d5 d

5 كۈن

5 дня5 days

5 دن

5 kun5 d5 ngày5 d5 täg5 d5 d5 dọj 55 ara-ita5 天5 d5天5 izinsuku
−4 weke 6 dae 12 uur−4 w 6 d 12 h

−4 أسبوع 6 يوم 12 ساعة

−4 সপ্তাহ 6 দিন 12 ঘণ্টা−4 w 6 d 12 h−4 selmanes 6 díes 12 hores−4 həftə 6 gün 12 saat−4 тыдня 6 сутак 12 гадзіны−4 w 6 d 12 h−4 w 6 d 12 h−4 седмици 6 дни 12 часа−4 w 6 d 12 h−4 সপ্তাহ 6 দিন 12 ঘন্টা−4 w 6 d 12 h−4 sedmica 6 dana 12 sati−4 setmanes 6 dies 12 hores−4 𑄥𑄛𑄴𑄖 6 𑄘𑄨𑄚𑄴 12 𑄊𑄧𑄚𑄴𑄘−4 кӀира 6 де 12 сахьт−4 ka mga semana 6 ka mga adlaw 12 ka mga oras−4 w 6 d 12 h−4 ᎢᏳᎾᏙᏓᏆᏍᏗ 6 ᎯᎸᏍᎩ ᏧᏒᎯᏓ 12 ᎢᏳᏟᎶᏓ−4 w 6 d 12 h−4 wythnos 6 diwrnod 12 awr−4 uger 6 dage 12 timer−4 w 6 d 12 h−4 Wochen 6 Tage 12 Stunden−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−བངུན་ཕྲག་ 4 ཉིན་ཞག་ 6 ཆུ་ཚོད་ 12−4 w 6 d 12 h−kɔsiɖa 4 ŋkeke 6 gaƒoƒo 12−4 εβδομάδες 6 ημέρες 12 ώρες−4 weeks 6 days 12 hours−4 w 6 d 12 h−4 semanas 6 días 12 horas−4 nädalat 6 ööpäeva 12 tundi−4 aste 6 egun 12 ordu−4 w 6 d 12 h

−4 هفته 6 روز 12 ساعت

−4 w 6 d 12 h−4 viikkoa 6 päivää 12 tuntia−4 na linggo 6 na araw 12 na oras−4 vikur 6 dagar 12 tímar−4 semaines 6 jours 12 heures−4 setemanis 6 zornadis 12 oris−4 wiken 6 deien 12 oere−4 seachtain 6 lá 12 uair−4 seachdain 6 latha 12 uair a thìde−4 semanas 6 días 12 horas−4 Wuche 6 Tääg 12 Schtunde−4 w 6 d 12 h−4 w 6 d 12 h−4 pule 6 lā 12 hola

−4 שבועות 6 ימים 12 שעות

−4 सप्ताह 6 दिन 12 घंटे−4 tjedana 6 dana 12 sati−4 tydźenjow 6 dnjow 12 hodźinow−4 շաբաթ 6 օր 12 ժամ−4 minggu 6 hari 12 jam−4 w 6 d 12 h−4 w 6 d 12 h−4 settimane 6 giorni 12 ore−4 週間 6 日 12 時間−4 w 6 lɛ́Ꞌ 12 háwa−4 w 6 d 12 h−4 peken 6 dina 12 jam−4 კვირა 6 დღე 12 საათი−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 simana 6 dia 12 ora−4 simỹnỹ ag kurã 6 óra ag 12−4 w 6 d 12 h−4 w 6 d 12 h−4 апта 6 тәулік 12 сағат−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 សប្ដាហ៍ 6 ថ្ងៃ 12 ម៉ោង−4 ವಾರಗಳು 6 ದಿನಗಳು 12 ಗಂಟೆಗಳು−4주 6일 12시간−4 सप्तक 6 दीस 12 वरां

−4 ہَفتہٕ 6 دۄہ 12 گٲنٹہٕ

−4 w 6 d 12 h−4 Woche 6 Dääsch 12 Schtunde−4 апта 6 күн 12 саат−4 w 6 d 12 h−4 Wochen 6 Deeg 12 Stonnen−okó 4 6-čháŋ Owápȟe 12−4 w 6 d 12 h−4 ອາທິດ 6 ມື້ 12 ຊົ່ວໂມງ−4 savaičių 6 dienų 12 valandų−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 nedēļas 6 dienas 12 stundas−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 седмици 6 дена 12 часа−4 ആഴ്ച 6 ദിവസം 12 മണിക്കൂർ−4 долоо хоног 6 хоног 12 цаг−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 ပတ် 6 ရက် 12 နာရီ

−4 هفته 6 روز 12 ساعِت

−4 w 6 d 12 h−4 uker 6 døgn 12 timer−4 w 6 d 12 h−4 हप्ता 6 दिन 12 घण्टा−4 weken 6 dagen 12 uur−4 veker 6 døgn 12 timar−4 w 6 d 12 h−4 uker 6 døgn 12 timer−4 w 6 d 12 h−4 w 6 d 12 h−4 ସପ୍ତାହ 6 ଦିନ 12 ଘଣ୍ଟା−4 къуырийы 6 боны 12 сахаты−4 ਹਫ਼ਤੇ 6 ਦਿਨ 12 ਘੰਟੇ−4 Wik 6 Dè 12 Áwa−4 tygodnia 6 doby 12 godziny−4 semanas 6 dias 12 horas−4 emnas 6 dis 12 uras−4 w 6 d 12 h−4 de săptămâni 6 de zile 12 de ore−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 нэдиэлэ 6 күн 12 чаас−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 chidas 6 dies 12 oras

−4 هفتا 6 ڏينهن 12 ڪلاڪ

−4 váhkku 6 jándora 12 diibmur−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−සති 4 දින 6 පැය 12−4 týždňov 6 dní 12 hodín−4 tednov 6 dni 12 ur−4 w 6 d 12 h−4 w 6 d 12 h−4 toddobaadyo 6 maalmood 12 saacadood−4 javë 6 ditë 12 orë−4 w 6 d 12 h−wiki 4 siku 6 saa 12−4 வாரங்கள் 6 நாட்கள் 12 மணிநேரங்கள்−4 వారాలు 6 రోజులు 12 గంటలు−4 w 6 d 12 h−4 w 6 d 12 h−4 hepde 6 gün 12 sagat−uike ʻe 4 ʻaho ʻe 6 houa ʻe 12−4 hafta 6 gün 12 saat−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h

−4 ھەپتە 6 كۈن 12 سائەت

−4 тижня 6 дня 12 години−4 weeks 6 days 12 hours

−4 ہفتے 6 دن 12 گھنٹے

−4 hafta 6 kun 12 soat−4 w 6 d 12 h−4 tuần 6 ngày 12 giờ−4 w 6 d 12 h−4 wučä 6 täg 12 stunde−4 w 6 d 12 h−4 w 6 d 12 h−4 w 6 d 12 h−4 ọṣ ọj 6 12 wkt−4 sẽmãna-ita 6 ara-ita 12 hura-ita−4 週 6 天 12 小時−4 w 6 d 12 h−4周 6天 12小时−4 amaviki 6 izinsuku 12 amahora
4 weke 3 dae 14 uur 24 minute4 w 3 d 14 h 24 min

4 أسبوع 3 يوم 14 ساعة 24 دقيقة

4 সপ্তাহ 3 দিন 14 ঘণ্টা 24 মিনিট4 w 3 d 14 h 24 min4 selmanes 3 díes 14 hores 24 minutos4 həftə 3 gün 14 saat 24 dəqiqə4 тыдня 3 сутак 14 гадзіны 24 хвіліны4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 седмици 3 дни 14 часа 24 минути4 w 3 d 14 h 24 min4 সপ্তাহ 3 দিন 14 ঘন্টা 24 মিনিট4 w 3 d 14 h 24 min4 sedmica 3 dana 14 sati 24 minuta4 setmanes 3 dies 14 hores 24 minuts4 𑄥𑄛𑄴𑄖 3 𑄘𑄨𑄚𑄴 14 𑄊𑄧𑄚𑄴𑄘 24 𑄟𑄨𑄚𑄨𑄖𑄴4 кӀира 3 де 14 сахьт 24 минот4 ka mga semana 3 ka mga adlaw 14 ka mga oras 24 ka mga minuto4 w 3 d 14 h 24 min4 ᎢᏳᎾᏙᏓᏆᏍᏗ 3 ᎯᎸᏍᎩ ᏧᏒᎯᏓ 14 ᎢᏳᏟᎶᏓ 24 ᎢᏯᏔᏬᏍᏔᏅ4 w 3 d 14 h 24 min4 wythnos 3 diwrnod 14 awr 24 munud4 uger 3 dage 14 timer 24 minutter4 w 3 d 14 h 24 min4 Wochen 3 Tage 14 Stunden 24 Minuten4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 minབངུན་ཕྲག་ 4 ཉིན་ཞག་ 3 ཆུ་ཚོད་ 14 སྐར་མ་ 244 w 3 d 14 h 24 minkɔsiɖa 4 ŋkeke 3 gaƒoƒo 14 aɖabaƒoƒo 244 εβδομάδες 3 ημέρες 14 ώρες 24 λεπτά4 weeks 3 days 14 hours 24 minutes4 w 3 d 14 h 24 min4 semanas 3 días 14 horas 24 minutos4 nädalat 3 ööpäeva 14 tundi 24 minutit4 aste 3 egun 14 ordu 24 minutu4 w 3 d 14 h 24 min

4 هفته 3 روز 14 ساعت 24 دقیقه

4 w 3 d 14 h 24 min4 viikkoa 3 päivää 14 tuntia 24 minuuttia4 na linggo 3 na araw 14 na oras 24 na minuto4 vikur 3 dagar 14 tímar 24 minuttir4 semaines 3 jours 14 heures 24 minutes4 setemanis 3 zornadis 14 oris 24 minûts4 wiken 3 deien 14 oere 24 minuten4 seachtain 3 lá 14 uair 24 nóiméad4 seachdain 3 latha 14 uair a thìde 24 mionaid4 semanas 3 días 14 horas 24 minutos4 Wuche 3 Tääg 14 Schtunde 24 Minuute4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 pule 3 lā 14 hola 24 minuke

4 שבועות 3 ימים 14 שעות 24 דקות

4 सप्ताह 3 दिन 14 घंटे 24 मिनट4 tjedana 3 dana 14 sati 24 minuta4 tydźenjow 3 dnjow 14 hodźinow 24 minutow4 շաբաթ 3 օր 14 ժամ 24 րոպե4 minggu 3 hari 14 jam 24 menit4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 settimane 3 giorni 14 ore 24 minuti4 週間 3 日 14 時間 24 分4 w 3 lɛ́Ꞌ 14 háwa 24 minút4 w 3 d 14 h 24 min4 peken 3 dina 14 jam 24 menit4 კვირა 3 დღე 14 საათი 24 წუთი4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 simana 3 dia 14 ora 24 minutu4 simỹnỹ ag kurã 3 óra ag 14 mĩnũtu 244 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 апта 3 тәулік 14 сағат 24 минут4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 សប្ដាហ៍ 3 ថ្ងៃ 14 ម៉ោង 24 នាទី4 ವಾರಗಳು 3 ದಿನಗಳು 14 ಗಂಟೆಗಳು 24 ನಿಮಿಷಗಳು4주 3일 14시간 24분4 सप्तक 3 दीस 14 वरां 24 मिण्टां

4 ہَفتہٕ 3 دۄہ 14 گٲنٹہٕ 24 مِنَٹ

4 w 3 d 14 h 24 min4 Woche 3 Dääsch 14 Schtunde 24 Menutte4 апта 3 күн 14 саат 24 мүнөт4 w 3 d 14 h 24 min4 Wochen 3 Deeg 14 Stonnen 24 Minuttenokó 4 3-čháŋ Owápȟe 14 24 min4 w 3 d 14 h 24 min4 ອາທິດ 3 ມື້ 14 ຊົ່ວໂມງ 24 ນາທີ4 savaičių 3 dienų 14 valandų 24 minučių4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 nedēļas 3 dienas 14 stundas 24 minūtes4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 седмици 3 дена 14 часа 24 минути4 ആഴ്ച 3 ദിവസം 14 മണിക്കൂർ 24 മിനിറ്റ്4 долоо хоног 3 хоног 14 цаг 24 минут4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ပတ် 3 ရက် 14 နာရီ 24 မိနစ်

4 هفته 3 روز 14 ساعِت 24 دقیقه

4 w 3 d 14 h 24 min4 uker 3 døgn 14 timer 24 minutter4 w 3 d 14 h 24 min4 हप्ता 3 दिन 14 घण्टा 24 मिनेट4 weken 3 dagen 14 uur 24 minuten4 veker 3 døgn 14 timar 24 minutt4 w 3 d 14 h 24 min4 uker 3 døgn 14 timer 24 minutter4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ସପ୍ତାହ 3 ଦିନ 14 ଘଣ୍ଟା 24 ମିନିଟ୍4 къуырийы 3 боны 14 сахаты 24 минуты4 ਹਫ਼ਤੇ 3 ਦਿਨ 14 ਘੰਟੇ 24 ਮਿੰਟ4 Wik 3 Dè 14 Áwa 24 Mínit4 tygodnia 3 doby 14 godziny 24 minuty4 semanas 3 dias 14 horas 24 minutos4 emnas 3 dis 14 uras 24 minutas4 w 3 d 14 h 24 min4 de săptămâni 3 de zile 14 de ore 24 de minute4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 нэдиэлэ 3 күн 14 чаас 24 мүнүүтэ4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 chidas 3 dies 14 oras 24 minutos

4 هفتا 3 ڏينهن 14 ڪلاڪ 24 منٽ

4 váhkku 3 jándora 14 diibmur 24 minuhtta4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 minසති 4 දින 3 පැය 14 මිනිත්තු 244 týždňov 3 dní 14 hodín 24 minút4 tednov 3 dni 14 ur 24 minut4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 toddobaadyo 3 maalmood 14 saacadood 24 daqiiqo4 javë 3 ditë 14 orë 24 minuta4 w 3 d 14 h 24 minwiki 4 siku 3 saa 14 dakika 244 வாரங்கள் 3 நாட்கள் 14 மணிநேரங்கள் 24 நிமிடங்கள்4 వారాలు 3 రోజులు 14 గంటలు 24 నిమిషాలు4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 hepde 3 gün 14 sagat 24 minutuike ʻe 4 ʻaho ʻe 3 houa ʻe 14 miniti ʻe 244 hafta 3 gün 14 saat 24 dakika4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min

4 ھەپتە 3 كۈن 14 سائەت 24 مىنۇت

4 тижня 3 дня 14 години 24 хвилини4 weeks 3 days 14 hours 24 minutes

4 ہفتے 3 دن 14 گھنٹے 24 منٹ

4 hafta 3 kun 14 soat 24 daqiqa4 w 3 d 14 h 24 min4 tuần 3 ngày 14 giờ 24 phút4 w 3 d 14 h 24 min4 wučä 3 täg 14 stunde 24 minüte4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 w 3 d 14 h 24 min4 ọṣ ọj 3 14 wkt 24 ìṣ4 sẽmãna-ita 3 ara-ita 14 hura-ita 24 minutu-ita4 週 3 天 14 小時 24 分鐘4 w 3 d 14 h 24 min4周 3天 14小时 24分钟4 amaviki 3 izinsuku 14 amahora 24 amaminithi
4 weke 12 uur4 w 12 h

4 أسبوع 12 ساعة

4 সপ্তাহ 12 ঘণ্টা4 w 12 h4 selmanes 12 hores4 həftə 12 saat4 тыдня 12 гадзіны4 w 12 h4 w 12 h4 седмици 12 часа4 w 12 h4 সপ্তাহ 12 ঘন্টা4 w 12 h4 sedmica 12 sati4 setmanes 12 hores4 𑄥𑄛𑄴𑄖 12 𑄊𑄧𑄚𑄴𑄘4 кӀира 12 сахьт4 ka mga semana 12 ka mga oras4 w 12 h4 ᎢᏳᎾᏙᏓᏆᏍᏗ 12 ᎢᏳᏟᎶᏓ4 w 12 h4 wythnos 12 awr4 uger 12 timer4 w 12 h4 Wochen 12 Stunden4 w 12 h4 w 12 h4 w 12 hབངུན་ཕྲག་ 4 ཆུ་ཚོད་ 124 w 12 hkɔsiɖa 4 gaƒoƒo 124 εβδομάδες 12 ώρες4 weeks 12 hours4 w 12 h4 semanas 12 horas4 nädalat 12 tundi4 aste 12 ordu4 w 12 h

4 هفته 12 ساعت

4 w 12 h4 viikkoa 12 tuntia4 na linggo 12 na oras4 vikur 12 tímar4 semaines 12 heures4 setemanis 12 oris4 wiken 12 oere4 seachtain 12 uair4 seachdain 12 uair a thìde4 semanas 12 horas4 Wuche 12 Schtunde4 w 12 h4 w 12 h4 pule 12 hola

4 שבועות 12 שעות

4 सप्ताह 12 घंटे4 tjedana 12 sati4 tydźenjow 12 hodźinow4 շաբաթ 12 ժամ4 minggu 12 jam4 w 12 h4 w 12 h4 settimane 12 ore4 週間 12 時間4 w 12 háwa4 w 12 h4 peken 12 jam4 კვირა 12 საათი4 w 12 h4 w 12 h4 w 12 h4 simana 12 ora4 simỹnỹ ag óra ag 124 w 12 h4 w 12 h4 апта 12 сағат4 w 12 h4 w 12 h4 w 12 h4 សប្ដាហ៍ 12 ម៉ោង4 ವಾರಗಳು 12 ಗಂಟೆಗಳು4주 12시간4 सप्तक 12 वरां

4 ہَفتہٕ 12 گٲنٹہٕ

4 w 12 h4 Woche 12 Schtunde4 апта 12 саат4 w 12 h4 Wochen 12 Stonnenokó 4 Owápȟe 124 w 12 h4 ອາທິດ 12 ຊົ່ວໂມງ4 savaičių 12 valandų4 w 12 h4 w 12 h4 w 12 h4 nedēļas 12 stundas4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 седмици 12 часа4 ആഴ്ച 12 മണിക്കൂർ4 долоо хоног 12 цаг4 w 12 h4 w 12 h4 w 12 h4 ပတ် 12 နာရီ

4 هفته 12 ساعِت

4 w 12 h4 uker 12 timer4 w 12 h4 हप्ता 12 घण्टा4 weken 12 uur4 veker 12 timar4 w 12 h4 uker 12 timer4 w 12 h4 w 12 h4 ସପ୍ତାହ 12 ଘଣ୍ଟା4 къуырийы 12 сахаты4 ਹਫ਼ਤੇ 12 ਘੰਟੇ4 Wik 12 Áwa4 tygodnia 12 godziny4 semanas 12 horas4 emnas 12 uras4 w 12 h4 de săptămâni 12 de ore4 w 12 h4 w 12 h4 w 12 h4 w 12 h4 нэдиэлэ 12 чаас4 w 12 h4 w 12 h4 w 12 h4 chidas 12 oras

4 هفتا 12 ڪلاڪ

4 váhkku 12 diibmur4 w 12 h4 w 12 h4 w 12 h4 w 12 hසති 4 පැය 124 týždňov 12 hodín4 tednov 12 ur4 w 12 h4 w 12 h4 toddobaadyo 12 saacadood4 javë 12 orë4 w 12 hwiki 4 saa 124 வாரங்கள் 12 மணிநேரங்கள்4 వారాలు 12 గంటలు4 w 12 h4 w 12 h4 hepde 12 sagatuike ʻe 4 houa ʻe 124 hafta 12 saat4 w 12 h4 w 12 h4 w 12 h

4 ھەپتە 12 سائەت

4 тижня 12 години4 weeks 12 hours

4 ہفتے 12 گھنٹے

4 hafta 12 soat4 w 12 h4 tuần 12 giờ4 w 12 h4 wučä 12 stunde4 w 12 h4 w 12 h4 w 12 h4 ọṣ 12 wkt4 sẽmãna-ita 12 hura-ita4 週 12 小時4 w 12 h4周 12小时4 amaviki 12 amahora
NANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANANA
" diff --git a/tests/testthat/_snaps/group_column_label.md b/tests/testthat/_snaps/group_column_label.md index 84be1b470..b4c329e2f 100644 --- a/tests/testthat/_snaps/group_column_label.md +++ b/tests/testthat/_snaps/group_column_label.md @@ -1,21 +1,21 @@ # Group labels as a column work well across many variations Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & \\multicolumn{3}{c}{timing} & & & \\\\ \n\\cmidrule(lr){4-6}\nnum & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 & grp\\_a \\\\ \n2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 & grp\\_a \\\\ \n3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 & grp\\_a \\\\ \n4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 & grp\\_a \\\\ \n5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 & grp\\_b \\\\ \nNA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 & grp\\_b \\\\ \n7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 & grp\\_b \\\\ \n8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -353,21 +353,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrll}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & \\multicolumn{3}{c}{timing} & & & \\\\ \n\\cmidrule(lr){4-6}\nnum & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 & grp\\_a \\\\ \n2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 & grp\\_a \\\\ \n3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 & grp\\_a \\\\ \n4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 & grp\\_a \\\\ \n5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 & grp\\_b \\\\ \nNA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 & grp\\_b \\\\ \n7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 & grp\\_b \\\\ \n8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -705,21 +705,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){4-6}\nnum & char & fctr & date & time & datetime & currency & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 \\\\ \n2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 \\\\ \n3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 \\\\ \n4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 \\\\ \nNA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 \\\\ \n7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 \\\\ \n8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1041,21 +1041,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{4}{*}{grp\\_a} & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{4}{*}{grp\\_b} & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1393,21 +1393,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -1745,21 +1745,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2097,21 +2097,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrr}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2433,21 +2433,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_arow_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_brow_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|l|rlcrrrr}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n\\multicolumn{2}{l}{} & & & & \\multicolumn{3}{c}{timing} & \\\\ \n\\cmidrule(lr){6-8}\n\\multicolumn{2}{c}{S.L.} & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{4}{*}{grp\\_a} & row\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \n & row\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \n & row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \n & row\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{4}{*}{grp\\_b} & row\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \n & row\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \n & row\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \n & row\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -2785,21 +2785,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrll}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 & grp\\_a \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 & grp\\_a \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 & grp\\_a \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 & grp\\_a \\\\ \n & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 & grp\\_b \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 & grp\\_b \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 & grp\\_b \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 & — & — \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3269,21 +3269,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrll}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & row & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 & grp\\_a \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 & grp\\_a \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 & grp\\_a \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 & grp\\_a \\\\ \n & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 & grp\\_b \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 & grp\\_b \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 & grp\\_b \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 & — & — \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -3753,21 +3753,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 \\\\ \n\\midrule \nmin & 0.11 & — & — & — & — & — & 1.39 & — \\\\ \nmax & 444.40 & — & — & — & — & — & 65100.00 & — \\\\ \navg & 120.02 & — & — & — & — & — & 16292.32 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 \\\\ \n\\midrule \nmin & 5550.00 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 1325.81 & — \\\\ \navg & 3220850.00 & — & — & — & — & — & 446.50 & — \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 & — \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -4398,21 +4398,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_b5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & row \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{7}{*}{grp\\_a} & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 \\\\ \n\\midrule \nmin & 0.11 & — & — & — & — & — & 1.39 & — \\\\ \nmax & 444.40 & — & — & — & — & — & 65100.00 & — \\\\ \navg & 120.02 & — & — & — & — & — & 16292.32 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{7}{*}{grp\\_b} & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 \\\\ \n\\midrule \nmin & 5550.00 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 1325.81 & — \\\\ \navg & 3220850.00 & — & — & — & — & — & 446.50 & — \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 & — \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -5029,21 +5029,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 & — \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -5474,21 +5474,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrrl}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 & — \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -5919,21 +5919,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|rlcrrrr}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{c}{timing} & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\midrule \nmin & 0.11 & — & — & — & — & — & 1.39 \\\\ \nmax & 444.40 & — & — & — & — & — & 65100.00 \\\\ \navg & 120.02 & — & — & — & — & — & 16292.32 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\midrule \nmin & 5550.00 & — & — & — & — & — & 0.44 \\\\ \nmax & 8880000.00 & — & — & — & — & — & 1325.81 \\\\ \navg & 3220850.00 & — & — & — & — & — & 446.50 \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -6507,21 +6507,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_arow_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_brow_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{l|l|rlcrrrr}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n\\multicolumn{2}{l}{} & & & & \\multicolumn{3}{c}{timing} & \\\\ \n\\cmidrule(lr){6-8}\n\\multicolumn{2}{c}{S.L.} & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{7}{*}{grp\\_a} & row\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \n & row\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \n & row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \n & row\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\cmidrule(l{-0.05em}r){2-9}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 0.11 & — & — & — & — & — & 1.39 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 444.40 & — & — & — & — & — & 65100.00 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 120.02 & — & — & — & — & — & 16292.32 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{7}{*}{grp\\_b} & row\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \n & row\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \n & row\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \n & row\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\cmidrule(l{-0.05em}r){2-9}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 5550.00 & — & — & — & — & — & 0.44 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 8880000.00 & — & — & — & — & — & 1325.81 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 3220850.00 & — & — & — & — & — & 446.50 \\\\ \n\\midrule \n\\midrule \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 0.11 & — & — & — & — & — & 0.44 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 8880000.00 & — & — & — & — & — & 65100.00 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 1380432.87 & — & — & — & — & — & 9501.26 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red51\green51\blue51;\red211\green211\blue211;} @@ -7138,126 +7138,126 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_arow_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_brow_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrowgroup
datetimedatetime
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencyrow
datetimedatetime
grp_a1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_b5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currencygroup
datetimedatetime
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
Data listing from exibble
exibble is an R dataset
S.L.numcharfctr\n timing\n currency
datetimedatetime
grp_arow_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065100.00
avg120.0216292.32
grp_brow_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
min5550.000.44
max8880000.001325.81
avg3220850.00446.50
min0.110.44
max8880000.0065100.00
avg1380432.879501.26
Source note #1
Source note #2
" # Group labels as a column work well in Latex with specified column widths Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{>{\\raggedright\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedright\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedright\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\centering\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n\\multicolumn{2}{>{\\raggedright\\arraybackslash}m{\\dimexpr 0.20\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}}{} & & & & \\multicolumn{3}{>{\\centering\\arraybackslash}m{\\dimexpr 0.30\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}}{timing} & \\\\ \n\\cmidrule(lr){6-8}\n\\multicolumn{2}{>{\\centering\\arraybackslash}m{\\dimexpr 0.20\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}}{S.L.} & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{7}{=}{grp\\_a} & row\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \n & row\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \n & row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \n & row\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\cmidrule(l{-0.05em}r){2-9}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 0.11 & — & — & — & — & — & 1.39 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 444.40 & — & — & — & — & — & 65100.00 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 120.02 & — & — & — & — & — & 16292.32 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{7}{=}{grp\\_b} & row\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \n & row\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \n & row\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \n & row\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\cmidrule(l{-0.05em}r){2-9}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 5550.00 & — & — & — & — & — & 0.44 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 8880000.00 & — & — & — & — & — & 1325.81 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 3220850.00 & — & — & — & — & — & 446.50 \\\\ \n\\midrule \n\\midrule \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 0.11 & — & — & — & — & — & 0.44 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 8880000.00 & — & — & — & — & — & 65100.00 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 1380432.87 & — & — & — & — & — & 9501.26 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\setlength{\\LTpost}{0mm}\n\\begin{longtable}{>{\\raggedright\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}|>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedright\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\centering\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}>{\\raggedleft\\arraybackslash}p{\\dimexpr 0.10\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}}\n\\caption*{\n{\\large Data listing from \\textbf{exibble}} \\\\ \n{\\small \\texttt{exibble} is an R dataset}\n} \\\\ \n\\toprule\n & & & & \\multicolumn{3}{>{\\centering\\arraybackslash}m{\\dimexpr 0.30\\linewidth -2\\tabcolsep-1.5\\arrayrulewidth}}{timing} & \\\\ \n\\cmidrule(lr){5-7}\nS.L. & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{>{\\raggedright\\arraybackslash}m{0.9\\linewidth}}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\midrule \nmin & 0.11 & — & — & — & — & — & 1.39 \\\\ \nmax & 444.40 & — & — & — & — & — & 65100.00 \\\\ \navg & 120.02 & — & — & — & — & — & 16292.32 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{>{\\raggedright\\arraybackslash}m{0.9\\linewidth}}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\midrule \nmin & 5550.00 & — & — & — & — & — & 0.44 \\\\ \nmax & 8880000.00 & — & — & — & — & — & 1325.81 \\\\ \navg & 3220850.00 & — & — & — & — & — & 446.50 \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 \\\\ \nmax & 8880000.00 & — & — & — & — & — & 65100.00 \\\\ \navg & 1380432.87 & — & — & — & — & — & 9501.26 \\\\ \n\\bottomrule\n\\end{longtable}\n\\begin{minipage}{\\linewidth}\nSource note \\#1\\\\\nSource note \\#2\\\\\n\\end{minipage}\n\\endgroup\n" diff --git a/tests/testthat/_snaps/image.md b/tests/testthat/_snaps/image.md index 85b71d476..3bbe57219 100644 --- a/tests/testthat/_snaps/image.md +++ b/tests/testthat/_snaps/image.md @@ -32,5 +32,5 @@ Code ggplot_image(plot_object = gg) Output - [1] "" + [1] "" diff --git a/tests/testthat/_snaps/removal_functions.md b/tests/testthat/_snaps/removal_functions.md index 1f1ccef0e..44cc5bf53 100644 --- a/tests/testthat/_snaps/removal_functions.md +++ b/tests/testthat/_snaps/removal_functions.md @@ -1,140 +1,140 @@ # The different removal functions work correctly Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
A Stubhead Labelnumcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n datetimedatetime\n Numbers\n
numcharfctrcurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Labelnum\n Words\n \n Date and Time\n currency
charfctrdatetimedatetime
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n charfctr\n Date and Time\n \n Numbers\n
numdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
A Stubhead Label\n Grand Spanner\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
A Stubhead Label\n Grand Spanner\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
A Stubhead Labelnumcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_21 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n
This is a caption
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
1 This is a footnote.
2 This is a second footnote.
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
The title of the table
The table's subtitle
\n Grand Spanner\n
A Stubhead Label\n Numbers\n \n Words\n \n Date and Time\n \n Numbers\n
numcharfctrdatetimedatetimecurrency
grp_a
row_11 1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22 2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
min0.111.39
max444.4065,100.00
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
total66,509
This is a source note.
This is a second source note.
1 This is a footnote.
2 This is a second footnote.
" diff --git a/tests/testthat/_snaps/rows_add.md b/tests/testthat/_snaps/rows_add.md index 9d228fa98..b388b6abb 100644 --- a/tests/testthat/_snaps/rows_add.md +++ b/tests/testthat/_snaps/rows_add.md @@ -1,1393 +1,1393 @@ # rows can be added to a table with name-value pairs Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00NANANANANA25.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
NA5.790e+00elderberryten2015-09-1522:302018-09-09 21:3725.300
NA5.790e+00elderberryeleven2015-09-1500:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
grp_c
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaacht2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
NA5.790e+00NANANANANA25.300NA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300NA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300NA
NA5.790e+00elderberryten2015-09-1522:302018-09-09 21:3725.300NA
NA5.790e+00elderberryeleven2015-09-1500:302018-09-09 21:3725.300NA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300NA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300grp_c
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
row_4.55.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300grp_a
row_8.52.720e+00ilamaacht2015-11-2322:12NA62.100grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
NANANANANANANANANA
NANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00NANANANANA25.300NANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300NANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300NANA
5.790e+00elderberryten2015-09-1522:302018-09-09 21:3725.300NANA
5.790e+00elderberryeleven2015-09-1500:302018-09-09 21:3725.300NANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300row_9NA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300row_9grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300row_9grp_c
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
5.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300row_4.5grp_a
2.720e+00ilamaacht2015-11-2322:12NA62.100row_8.5grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
NANANANANANANANANA
NANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
NANANANANANANANANA
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
NANANANANANANANANA
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
NANANANANANANANANA
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
NANANANANANANANANA
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
NANANANANANANANANA
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NANANANANANANANANA
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
NANANANANANANANANA
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
NANANANANANANANANA
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
NANANANANANANANANA
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
NANANANANANANANANA
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
NANANANANANANANANA
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
NANANANANANANANANA
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NANANANANANANANANA
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
NANANANANANANANANA
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
NANANANANANANANANA
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
NANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
NANANANANANANANANA
NANANANANANANANANA
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
NANANANANANANANANA
NANANANANANANANANA
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
NANANANANANANANANA
NANANANANANANANANA
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
NANANANANANANANANA
NANANANANANANANANA
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
NANANANANANANANANA
NANANANANANANANANA
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NANANANANANANANANA
NANANANANANANANANA
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
NANANANANANANANANA
NANANANANANANANANA
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
NANANANANANANANANA
NANANANANANANANANA
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
NANANANANANANANANA
NANANANANANANANANA
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
NANANANANANANANANA
NANANANANANANANANA
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
NANANANANANANANANA
NANANANANANANANANA
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
NANANANANANANANANA
NANANANANANANANANA
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NANANANANANANANANA
NANANANANANANANANA
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
NANANANANANANANANA
NANANANANANANANANA
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
NANANANANANANANANA
NANANANANANANANANA
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowgroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
NANANANANANANANANA
NANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
NANANANANANANANANA
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
NANANANANANANANANA
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
NANANANANANANANANA
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NANANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
NANANANANANANANANA
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
NANANANANANANANANA
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
NANANANANANANANANA
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
NANANANANANANANANA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
NANANANANANANANANA
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
NANANANANANANANANA
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NANANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
NANANANANANANANANA
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
NANANANANANANANANA
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
NANANANANANANANANA
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
NANANANANANANANANA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
NANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
NANANANANANANANANA
NANANANANANANANANA
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
NANANANANANANANANA
NANANANANANANANANA
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
NANANANANANANANANA
NANANANANANANANANA
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NANANANANANANANANA
NANANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
NANANANANANANANANA
NANANANANANANANANA
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
NANANANANANANANANA
NANANANANANANANANA
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
NANANANANANANANANA
NANANANANANANANANA
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
NANANANANANANANANA
NANANANANANANANANA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
NANANANANANANANANA
NANANANANANANANANA
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
NANANANANANANANANA
NANANANANANANANANA
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NANANANANANANANANA
NANANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
NANANANANANANANANA
NANANANANANANANANA
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
NANANANANANANANANA
NANANANANANANANANA
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
NANANANANANANANANA
NANANANANANANANANA
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
NANANANANANANANANA
NANANANANANANANANA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
NANANANANANANANANA
NANANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrow
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
NANANANANANANANA
NANANANANANANANA
" # adding rows can be done using formula-based expressions Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00NANANANANA25.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
NA5.790e+00elderberryten2015-09-1522:302018-09-09 21:3725.300
NA5.790e+00elderberryeleven2015-09-1500:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
grp_c
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaacht2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaacht2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryNA2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaNA2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryelderberry2015-09-1521:302018-09-09 21:375.790
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamailama2015-11-2322:12NA2.720
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
ab
121
222
323
424
525
626
727
828
929
1030
9999
" # adding rows can be done through the `.list` argument Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00NANANANANA25.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
NA5.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
NA5.790e+00elderberryten2015-09-1522:302018-09-09 21:3725.300
NA5.790e+00elderberryeleven2015-09-1500:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
grp_c
row_95.790e+00elderberrynine2015-09-1521:302018-09-09 21:3725.300
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaacht2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryvier2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaacht2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryNA2015-09-1521:302018-09-09 21:3725.300
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamaNA2015-11-2322:12NA62.100
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
row_4.55.790e+00elderberryelderberry2015-09-1521:302018-09-09 21:375.790
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
row_8.52.720e+00ilamailama2015-11-2322:12NA2.720
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
ab
121
222
323
424
525
626
727
828
929
1030
9999
" # adding rows and styling the table has the intended behavior Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
row_9NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
row_9NANANANANANANANA
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_3.5NANANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_0NANANANANANANANA
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
NA2.343e+03NANANANANANANA
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
" diff --git a/tests/testthat/_snaps/summary_rows.md b/tests/testthat/_snaps/summary_rows.md index 7029a2008..f7938d2e4 100644 --- a/tests/testthat/_snaps/summary_rows.md +++ b/tests/testthat/_snaps/summary_rows.md @@ -11,21 +11,21 @@ # Using `groups = NULL` in `summary_rows()` is a deprecated option Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average2027.83099
total20278.30990
std dev22.14929
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \n\\midrule \naverage & 2027.83099 & — & — & — \\\\ \ntotal & 20278.30990 & — & — & — \\\\ \nstd dev & 22.14929 & — & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -319,105 +319,105 @@ # Summary rows can be added to the top of any group Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
min2005.552029.611992.442002.61
max2063.452064.432038.332062.14
avg2035.242048.562016.852031.21
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nmin & 2005.55 & 2029.61 & 1992.44 & 2002.61 \\\\ \nmax & 2063.45 & 2064.43 & 2038.33 & 2062.14 \\\\ \navg & 2035.24 & 2048.56 & 2016.85 & 2031.21 \\\\ \n\\midrule \n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02min2005.552029.611992.442002.61
max2063.452064.432038.332062.14
avg2035.242048.562016.852031.21
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W032015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|l|rrrr}\n\\toprule\n\\multicolumn{2}{c}{} & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{8}{*}{W02} & \\multicolumn{1}{l|}{min} & 2005.55 & 2029.61 & 1992.44 & 2002.61 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 2063.45 & 2064.43 & 2038.33 & 2062.14 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 2035.24 & 2048.56 & 2016.85 & 2031.21 \\\\ \n\\cmidrule(l{-0.05em}r){2-6}\n & 16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n & 16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n & 16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n & 16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n & 16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{5}{*}{W03} & 16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n & 16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n & 16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n & 16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n & 16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
min2005.552029.611992.442002.61
max2063.452064.432038.332062.14
avg2035.242048.562016.852031.21
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
min1992.252018.401988.121992.67
max2046.132056.932022.582028.26
avg2020.422033.291999.772014.93
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nmin & 2005.55 & 2029.61 & 1992.44 & 2002.61 \\\\ \nmax & 2063.45 & 2064.43 & 2038.33 & 2062.14 \\\\ \navg & 2035.24 & 2048.56 & 2016.85 & 2031.21 \\\\ \n\\midrule \n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \nmin & 1992.25 & 2018.40 & 1988.12 & 1992.67 \\\\ \nmax & 2046.13 & 2056.93 & 2022.58 & 2028.26 \\\\ \navg & 2020.42 & 2033.29 & 1999.77 & 2014.93 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02min2005.552029.611992.442002.61
max2063.452064.432038.332062.14
avg2035.242048.562016.852031.21
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W032015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
min1992.252018.401988.121992.67
max2046.132056.932022.582028.26
avg2020.422033.291999.772014.93
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|l|rrrr}\n\\toprule\n\\multicolumn{2}{c}{} & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{8}{*}{W02} & \\multicolumn{1}{l|}{min} & 2005.55 & 2029.61 & 1992.44 & 2002.61 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 2063.45 & 2064.43 & 2038.33 & 2062.14 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 2035.24 & 2048.56 & 2016.85 & 2031.21 \\\\ \n\\cmidrule(l{-0.05em}r){2-6}\n & 16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n & 16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n & 16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n & 16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n & 16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{8}{*}{W03} & 16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n & 16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n & 16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n & 16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n & 16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\cmidrule(l{-0.05em}r){2-6}\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 1992.25 & 2018.40 & 1988.12 & 1992.67 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 2046.13 & 2056.93 & 2022.58 & 2028.26 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 2020.42 & 2033.29 & 1999.77 & 2014.93 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" # Grand summary rows can be added to the top of a table Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
min1992.252018.401988.121992.67
max2063.452064.432038.332062.14
avg2027.832040.922008.312023.07
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\nmin & 1992.25 & 2018.40 & 1988.12 & 1992.67 \\\\ \nmax & 2063.45 & 2064.43 & 2038.33 & 2062.14 \\\\ \navg & 2027.83 & 2040.92 & 2008.31 & 2023.07 \\\\ \n\\midrule \n\\midrule \n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
min1992.252018.401988.121992.67
max2063.452064.432038.332062.14
avg2027.832040.922008.312023.07
W022015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W032015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|l|rrrr}\n\\toprule\n\\multicolumn{2}{c}{} & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{min} & 1992.25 & 2018.40 & 1988.12 & 1992.67 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{max} & 2063.45 & 2064.43 & 2038.33 & 2062.14 \\\\ \n\\multicolumn{1}{l|}{} & \\multicolumn{1}{l|}{avg} & 2027.83 & 2040.92 & 2008.31 & 2023.07 \\\\ \n\\midrule \n\\midrule \n\\multirow{5}{*}{W02} & 16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n & 16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n & 16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n & 16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n & 16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multirow{5}{*}{W03} & 16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n & 16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n & 16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n & 16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n & 16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" # Labels can be intrepreted from Markdown using `md()` Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
Average2035.239982048.561982016.85402031.2080
Sum10176.1999010242.8099010084.269910156.0400
S.D.23.6575617.4761218.537222.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \n\\textbf{Average} & 2035.23998 & 2048.56198 & 2016.8540 & 2031.2080 \\\\ \nSum & 10176.19990 & 10242.80990 & 10084.2699 & 10156.0400 \\\\ \n\\emph{S.D.} & 23.65756 & 17.47612 & 18.5372 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -711,21 +711,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
Average2027.830992040.924982008.312982023.06900
Sum20278.3099020409.2498020083.1298020230.69000
S.D.22.1492918.7051618.3460219.82022
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \n\\midrule \n\\textbf{Average} & 2027.83099 & 2040.92498 & 2008.31298 & 2023.06900 \\\\ \nSum & 20278.30990 & 20409.24980 & 20083.12980 & 20230.69000 \\\\ \n\\emph{S.D.} & 22.14929 & 18.70516 & 18.34602 & 19.82022 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1019,21 +1019,21 @@ # Groups can be formatted selectively with a formatting group directive Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average2,035.2402,048.5622,016.8542,031.208
total10,176.20010,242.81010,084.27010,156.040
std dev23.65817.47618.53722.917
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average2020.422002033.287981999.771982014.9300
total10102.1100010166.439909998.8599010074.6500
std dev20.1721818.3306415.2084713.8957
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & 2,035.240 & 2,048.562 & 2,016.854 & 2,031.208 \\\\ \ntotal & 10,176.200 & 10,242.810 & 10,084.270 & 10,156.040 \\\\ \nstd dev & 23.658 & 17.476 & 18.537 & 22.917 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & 2020.42200 & 2033.28798 & 1999.77198 & 2014.9300 \\\\ \ntotal & 10102.11000 & 10166.43990 & 9998.85990 & 10074.6500 \\\\ \nstd dev & 20.17218 & 18.33064 & 15.20847 & 13.8957 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1384,21 +1384,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average2,035.2402,048.5622,016.8542,031.208
total10,176.20010,242.81010,084.27010,156.040
std dev23.65817.47618.53722.917
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average$2,020.42$2,033.29$1,999.77$2,014.93
total$10,102.11$10,166.44$9,998.86$10,074.65
std dev$20.17$18.33$15.21$13.90
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & 2,035.240 & 2,048.562 & 2,016.854 & 2,031.208 \\\\ \ntotal & 10,176.200 & 10,242.810 & 10,084.270 & 10,156.040 \\\\ \nstd dev & 23.658 & 17.476 & 18.537 & 22.917 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & \\$2,020.42 & \\$2,033.29 & \\$1,999.77 & \\$2,014.93 \\\\ \ntotal & \\$10,102.11 & \\$10,166.44 & \\$9,998.86 & \\$10,074.65 \\\\ \nstd dev & \\$20.17 & \\$18.33 & \\$15.21 & \\$13.90 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -1749,21 +1749,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average$2,035.24$2,048.56$2,016.85$2,031.21
total$10,176.20$10,242.81$10,084.27$10,156.04
std dev$23.66$17.48$18.54$22.92
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average$2,020.42$2,033.29$1,999.77$2,014.93
total$10,102.11$10,166.44$9,998.86$10,074.65
std dev$20.17$18.33$15.21$13.90
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & \\$2,035.24 & \\$2,048.56 & \\$2,016.85 & \\$2,031.21 \\\\ \ntotal & \\$10,176.20 & \\$10,242.81 & \\$10,084.27 & \\$10,156.04 \\\\ \nstd dev & \\$23.66 & \\$17.48 & \\$18.54 & \\$22.92 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & \\$2,020.42 & \\$2,033.29 & \\$1,999.77 & \\$2,014.93 \\\\ \ntotal & \\$10,102.11 & \\$10,166.44 & \\$9,998.86 & \\$10,074.65 \\\\ \nstd dev & \\$20.17 & \\$18.33 & \\$15.21 & \\$13.90 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -2114,21 +2114,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average2,027.8312,040.9252,008.3132,023.069
total20,278.31020,409.25020,083.13020,230.690
std dev22.14918.70518.34619.820
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \n\\midrule \naverage & 2,027.831 & 2,040.925 & 2,008.313 & 2,023.069 \\\\ \ntotal & 20,278.310 & 20,409.250 & 20,083.130 & 20,230.690 \\\\ \nstd dev & 22.149 & 18.705 & 18.346 & 19.820 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -2422,21 +2422,21 @@ # Formatting can be performed on summary cells in certain columns and rows Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average<2,035.24><2,048.56>2016.853982031.2080
total<10,176.20><10,242.81>10084.2699010156.0400
std dev<23.66><17.48>18.5372022.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42><2,033.29>1999.771982014.9300
total<10,102.11><10,166.44>9998.8599010074.6500
std dev<20.17><18.33>15.2084713.8957
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & <2,035.24> & <2,048.56> & 2016.85398 & 2031.2080 \\\\ \ntotal & <10,176.20> & <10,242.81> & 10084.26990 & 10156.0400 \\\\ \nstd dev & <23.66> & <17.48> & 18.53720 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & <2,033.29> & 1999.77198 & 2014.9300 \\\\ \ntotal & <10,102.11> & <10,166.44> & 9998.85990 & 10074.6500 \\\\ \nstd dev & <20.17> & <18.33> & 15.20847 & 13.8957 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -2787,21 +2787,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average<2,035.24><2,048.56>[2,016.85][2,031.21]
total<10,176.20><10,242.81>[10,084.27][10,156.04]
std dev<23.66><17.48>[18.54][22.92]
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42><2,033.29>[1,999.77][2,014.93]
total<10,102.11><10,166.44>[9,998.86][10,074.65]
std dev<20.17><18.33>[15.21][13.90]
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & <2,035.24> & <2,048.56> & [2,016.85] & [2,031.21] \\\\ \ntotal & <10,176.20> & <10,242.81> & [10,084.27] & [10,156.04] \\\\ \nstd dev & <23.66> & <17.48> & [18.54] & [22.92] \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & <2,033.29> & [1,999.77] & [2,014.93] \\\\ \ntotal & <10,102.11> & <10,166.44> & [9,998.86] & [10,074.65] \\\\ \nstd dev & <20.17> & <18.33> & [15.21] & [13.90] \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -3152,21 +3152,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average<2,035.24><2,048.56>2016.853982031.2080
total10176.1999010242.80990[10,084.27][10,156.04]
std dev23.6575617.4761218.5372022.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42><2,033.29>1999.771982014.9300
total10102.1100010166.43990[9,998.86][10,074.65]
std dev20.1721818.3306415.2084713.8957
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & <2,035.24> & <2,048.56> & 2016.85398 & 2031.2080 \\\\ \ntotal & 10176.19990 & 10242.80990 & [10,084.27] & [10,156.04] \\\\ \nstd dev & 23.65756 & 17.47612 & 18.53720 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & <2,033.29> & 1999.77198 & 2014.9300 \\\\ \ntotal & 10102.11000 & 10166.43990 & [9,998.86] & [10,074.65] \\\\ \nstd dev & 20.17218 & 18.33064 & 15.20847 & 13.8957 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -3517,21 +3517,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average2035.239982048.561982016.853982031.2080
total10176.1999010242.8099010084.2699010156.0400
std dev23.6575617.4761218.5372022.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42>2033.287981999.771982014.9300
total10102.1100010166.439909998.8599010074.6500
std dev20.1721818.3306415.2084713.8957
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & 2035.23998 & 2048.56198 & 2016.85398 & 2031.2080 \\\\ \ntotal & 10176.19990 & 10242.80990 & 10084.26990 & 10156.0400 \\\\ \nstd dev & 23.65756 & 17.47612 & 18.53720 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & 2033.28798 & 1999.77198 & 2014.9300 \\\\ \ntotal & 10102.11000 & 10166.43990 & 9998.85990 & 10074.6500 \\\\ \nstd dev & 20.17218 & 18.33064 & 15.20847 & 13.8957 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -3882,21 +3882,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average2035.239982048.561982016.853982031.2080
total10176.1999010242.8099010084.2699010156.0400
std dev23.6575617.4761218.5372022.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42>2033.287981999.771982014.9300
total<10,102.11>10166.439909998.8599010074.6500
std dev20.1721818.3306415.2084713.8957
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & 2035.23998 & 2048.56198 & 2016.85398 & 2031.2080 \\\\ \ntotal & 10176.19990 & 10242.80990 & 10084.26990 & 10156.0400 \\\\ \nstd dev & 23.65756 & 17.47612 & 18.53720 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & 2033.28798 & 1999.77198 & 2014.9300 \\\\ \ntotal & <10,102.11> & 10166.43990 & 9998.85990 & 10074.6500 \\\\ \nstd dev & 20.17218 & 18.33064 & 15.20847 & 13.8957 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -4247,21 +4247,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average2035.239982048.561982016.853982031.2080
total10176.1999010242.8099010084.2699010156.0400
std dev23.6575617.4761218.5372022.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42>2033.287981999.771982014.9300
total<10,102.11>10166.439909998.8599010074.6500
std dev<20.17>18.3306415.2084713.8957
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & 2035.23998 & 2048.56198 & 2016.85398 & 2031.2080 \\\\ \ntotal & 10176.19990 & 10242.80990 & 10084.26990 & 10156.0400 \\\\ \nstd dev & 23.65756 & 17.47612 & 18.53720 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & 2033.28798 & 1999.77198 & 2014.9300 \\\\ \ntotal & <10,102.11> & 10166.43990 & 9998.85990 & 10074.6500 \\\\ \nstd dev & <20.17> & 18.33064 & 15.20847 & 13.8957 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -4612,21 +4612,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n\n\n\n\n \n \n \n
openhighlowclose
W02
2015-01-052054.442054.442017.342020.58
2015-01-062022.152030.251992.442002.61
2015-01-072005.552029.612005.552025.90
2015-01-082030.612064.082030.612062.14
2015-01-092063.452064.432038.332044.81
average2035.239982048.561982016.853982031.2080
total10176.1999010242.8099010084.2699010156.0400
std dev23.6575617.4761218.5372022.9171
W03
2015-01-122046.132049.302022.582028.26
2015-01-132031.582056.932008.252023.03
2015-01-142018.402018.401988.442011.27
2015-01-152013.752021.351991.471992.67
2015-01-161992.252020.461988.122019.42
average<2,020.42>2033.287981999.77198<2,014.93>
total<10,102.11>10166.439909998.85990<10,074.65>
std dev<20.17>18.3306415.20847<13.90>
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rrrr}\n\\toprule\n & open & high & low & close \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W02} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16440 & 2054.44 & 2054.44 & 2017.34 & 2020.58 \\\\ \n16441 & 2022.15 & 2030.25 & 1992.44 & 2002.61 \\\\ \n16442 & 2005.55 & 2029.61 & 2005.55 & 2025.90 \\\\ \n16443 & 2030.61 & 2064.08 & 2030.61 & 2062.14 \\\\ \n16444 & 2063.45 & 2064.43 & 2038.33 & 2044.81 \\\\ \n\\midrule \naverage & 2035.23998 & 2048.56198 & 2016.85398 & 2031.2080 \\\\ \ntotal & 10176.19990 & 10242.80990 & 10084.26990 & 10156.0400 \\\\ \nstd dev & 23.65756 & 17.47612 & 18.53720 & 22.9171 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{5}{l}{W03} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n16447 & 2046.13 & 2049.30 & 2022.58 & 2028.26 \\\\ \n16448 & 2031.58 & 2056.93 & 2008.25 & 2023.03 \\\\ \n16449 & 2018.40 & 2018.40 & 1988.44 & 2011.27 \\\\ \n16450 & 2013.75 & 2021.35 & 1991.47 & 1992.67 \\\\ \n16451 & 1992.25 & 2020.46 & 1988.12 & 2019.42 \\\\ \n\\midrule \naverage & <2,020.42> & 2033.28798 & 1999.77198 & <2,014.93> \\\\ \ntotal & <10,102.11> & 10166.43990 & 9998.85990 & <10,074.65> \\\\ \nstd dev & <20.17> & 18.33064 & 15.20847 & <13.90> \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -4977,21 +4977,21 @@ # Situtations where `rowname` is a column name don't interfere with internals Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencygroup
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950grp_a
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950grp_a
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390grp_a
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000grp_a
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810grp_b
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255grp_b
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NAgrp_b
row_88.880e+06honeydeweight2015-08-1520:20NA0.440grp_b
min0.110.44
max8,880,000.0065,100.00
avg1,380,432.879,501.26
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrl}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8,880,000.00 & — & — & — & — & — & 65,100.00 & — \\\\ \navg & 1,380,432.87 & — & — & — & — & — & 9,501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -5377,21 +5377,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrownamegroup
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1grp_a
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2grp_a
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3grp_a
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5grp_b
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7grp_b
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8grp_b
min0.110.44
max8,880,000.0065,100.00
avg1,380,432.879,501.26
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrll}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & rowname & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 & grp\\_a \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 & grp\\_a \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 & grp\\_a \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 & grp\\_a \\\\ \n & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 & grp\\_b \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 & grp\\_b \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 & grp\\_b \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — & — \\\\ \nmax & 8,880,000.00 & — & — & — & — & — & 65,100.00 & — & — \\\\ \navg & 1,380,432.87 & — & — & — & — & — & 9,501.26 & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -5813,21 +5813,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrencyrowname
grp_a
1.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950row_1
2.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950row_2
3.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390row_3
4.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000row_4
median17.7833.95
grp_b
5.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810row_5
NAfigsix2015-06-15NA2018-06-06 16:1113.255row_6
7.770e+05grapefruitsevenNA19:102018-07-07 05:22NArow_7
8.880e+06honeydeweight2015-08-1520:20NA0.440row_8
median777,000.0013.26
min0.110.44
max8,880,000.0065,100.00
avg1,380,432.879,501.26
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrl}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & rowname \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 \\\\ \n & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 \\\\ \n & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 \\\\ \n & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 \\\\ \n\\midrule \nmedian & 17.78 & — & — & — & — & — & 33.95 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{9}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 \\\\ \n & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 \\\\ \n & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 \\\\ \n & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 \\\\ \n\\midrule \nmedian & 777,000.00 & — & — & — & — & — & 13.26 & — \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 & — \\\\ \nmax & 8,880,000.00 & — & — & — & — & — & 65,100.00 & — \\\\ \navg & 1,380,432.87 & — & — & — & — & — & 9,501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -6289,21 +6289,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n \n \n \n
numfctrdatetimedatetimecurrencyrownamegroup
apricot1.111e-01one2015-01-1513:352018-01-01 02:2249.950row_1grp_a
banana2.222e+00two2015-02-1514:402018-02-02 14:3317.950row_2grp_a
coconut3.333e+01three2015-03-1515:452018-03-03 03:441.390row_3grp_a
durian4.444e+02four2015-04-1516:502018-04-04 15:5565100.000row_4grp_a
NA5.550e+03five2015-05-1517:552018-05-05 04:001325.810row_5grp_b
figNAsix2015-06-15NA2018-06-06 16:1113.255row_6grp_b
grapefruit7.770e+05sevenNA19:102018-07-07 05:22NArow_7grp_b
honeydew8.880e+06eight2015-08-1520:20NA0.440row_8grp_b
min0.110.44
max8,880,000.0065,100.00
avg1,380,432.879,501.26
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rcrrrrll}\n\\toprule\n & num & fctr & date & time & datetime & currency & rowname & group \\\\ \n\\midrule\\addlinespace[2.5pt]\napricot & 1.111e-01 & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 & grp\\_a \\\\ \nbanana & 2.222e+00 & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 & grp\\_a \\\\ \ncoconut & 3.333e+01 & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 & grp\\_a \\\\ \ndurian & 4.444e+02 & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 & grp\\_a \\\\ \nNA & 5.550e+03 & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 & grp\\_b \\\\ \nfig & NA & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 & grp\\_b \\\\ \ngrapefruit & 7.770e+05 & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 & grp\\_b \\\\ \nhoneydew & 8.880e+06 & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 & grp\\_b \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & 0.44 & — & — \\\\ \nmax & 8,880,000.00 & — & — & — & — & 65,100.00 & — & — \\\\ \navg & 1,380,432.87 & — & — & — & — & 9,501.26 & — & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -6689,21 +6689,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numfctrdatetimedatetimecurrencyrowname
grp_a
apricot1.111e-01one2015-01-1513:352018-01-01 02:2249.950row_1
banana2.222e+00two2015-02-1514:402018-02-02 14:3317.950row_2
coconut3.333e+01three2015-03-1515:452018-03-03 03:441.390row_3
durian4.444e+02four2015-04-1516:502018-04-04 15:5565100.000row_4
median17.7833.95
grp_b
NA5.550e+03five2015-05-1517:552018-05-05 04:001325.810row_5
figNAsix2015-06-15NA2018-06-06 16:1113.255row_6
grapefruit7.770e+05sevenNA19:102018-07-07 05:22NArow_7
honeydew8.880e+06eight2015-08-1520:20NA0.440row_8
median777,000.0013.26
min0.110.44
max8,880,000.0065,100.00
avg1,380,432.879,501.26
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rcrrrrl}\n\\toprule\n & num & fctr & date & time & datetime & currency & rowname \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\napricot & 1.111e-01 & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & row\\_1 \\\\ \nbanana & 2.222e+00 & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & row\\_2 \\\\ \ncoconut & 3.333e+01 & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & row\\_3 \\\\ \ndurian & 4.444e+02 & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & row\\_4 \\\\ \n\\midrule \nmedian & 17.78 & — & — & — & — & 33.95 & — \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nNA & 5.550e+03 & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & row\\_5 \\\\ \nfig & NA & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & row\\_6 \\\\ \ngrapefruit & 7.770e+05 & seven & NA & 19:10 & 2018-07-07 05:22 & NA & row\\_7 \\\\ \nhoneydew & 8.880e+06 & eight & 2015-08-15 & 20:20 & NA & 0.440 & row\\_8 \\\\ \n\\midrule \nmedian & 777,000.00 & — & — & — & — & 13.26 & — \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & 0.44 & — \\\\ \nmax & 8,880,000.00 & — & — & — & — & 65,100.00 & — \\\\ \navg & 1,380,432.87 & — & — & — & — & 9,501.26 & — \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -7123,21 +7123,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n \n \n \n
numcharfctrdatetimedatetimecurrency
grp_a
row_11.111e-01apricotone2015-01-1513:352018-01-01 02:2249.950
row_22.222e+00bananatwo2015-02-1514:402018-02-02 14:3317.950
row_33.333e+01coconutthree2015-03-1515:452018-03-03 03:441.390
row_44.444e+02durianfour2015-04-1516:502018-04-04 15:5565100.000
median17.7833.95
grp_b
row_55.550e+03NAfive2015-05-1517:552018-05-05 04:001325.810
row_6NAfigsix2015-06-15NA2018-06-06 16:1113.255
row_77.770e+05grapefruitsevenNA19:102018-07-07 05:22NA
row_88.880e+06honeydeweight2015-08-1520:20NA0.440
median777,000.0013.26
min0.110.44
max8,880,000.0065,100.00
avg1,380,432.879,501.26
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrr}\n\\toprule\n & num & char & fctr & date & time & datetime & currency \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 \\\\ \nrow\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 \\\\ \n\\midrule \nmedian & 17.78 & — & — & — & — & — & 33.95 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{8}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 \\\\ \n\\midrule \nmedian & 777,000.00 & — & — & — & — & — & 13.26 \\\\ \n\\midrule \n\\midrule \nmin & 0.11 & — & — & — & — & — & 0.44 \\\\ \nmax & 8,880,000.00 & — & — & — & — & — & 65,100.00 \\\\ \navg & 1,380,432.87 & — & — & — & — & — & 9,501.26 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -7557,21 +7557,21 @@ --- Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n
population
1960s
196093,216,000
196194,055,000
196294,933,000
196395,900,000
196496,903,000
196597,952,000
196698,851,000
196799,879,000
1968101,011,000
1969102,219,000
min93,216,000
max102,219,000
" --- Code - . + as.character(as_latex(gt_tbl)) Output [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|r}\n\\toprule\n & population \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{2}{l}{1960s} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n1960 & 93,216,000 \\\\ \n1961 & 94,055,000 \\\\ \n1962 & 94,933,000 \\\\ \n1963 & 95,900,000 \\\\ \n1964 & 96,903,000 \\\\ \n1965 & 97,952,000 \\\\ \n1966 & 98,851,000 \\\\ \n1967 & 99,879,000 \\\\ \n1968 & 101,011,000 \\\\ \n1969 & 102,219,000 \\\\ \n\\midrule \n{\\bfseries \\cellcolor[HTML]{rgba(173,216,230,0.5)}{min}} & 93,216,000 \\\\ \nmax & 102,219,000 \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n" --- Code - . + as_rtf(gt_tbl) Output {\rtf\ansi\ansicpg1252{\fonttbl{\f0\froman\fcharset0\fprq0 Courier New;}{\f1\froman\fcharset0\fprq0 Times;}}{\colortbl;\red211\green211\blue211;} @@ -7722,14 +7722,14 @@ # Summary rows can be styled comprehensively Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n\n\n \n \n \n
hptrq
Lamborghini
Aventador700507
Huracan610413
Gallardo550398
Minimum550398
Maximum700507
Maserati
Granturismo454384
Quattroporte404406
Ghibli345369
Minimum345369
Maximum454406
Aston Martin
DB11608516
Rapide S552465
Vanquish568465
Vantage430361
Minimum430361
Maximum608516
Minimum345361
Maximum700516
" # Summary rows can use other columns' data Code - . + render_as_html(gt_tbl) Output [1] "\n \n \n \n \n \n \n \n \n \n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n\n\n\n \n \n \n
dateclosevolume
2015-12-312043.942655330000
2015-12-302063.362367430000
2015-12-292078.362542000000
2015-12-282056.502492510000
2015-12-242060.991411860000
2015-12-232064.293484090000
2015-12-222038.973520860000
2015-12-212021.153760280000
2015-12-182005.556683070000
2015-12-172041.894327390000
2015-12-162073.074635450000
2015-12-152043.414353540000
2015-12-142021.944612440000
2015-12-112012.374301060000
2015-12-102052.233715150000
2015-12-092047.624385250000
2015-12-082063.594173570000
2015-12-072077.074043820000
2015-12-042091.694214910000
2015-12-032049.624306490000
2015-12-022079.513950640000
2015-12-012102.633712120000
Average close2,054.08
Average volume weighted close2,051.51
Sum of `volume` in `close`83,649,260,000.00
" diff --git a/tests/testthat/test-data_color.R b/tests/testthat/test-data_color.R index 16ba8cda9..825507e27 100644 --- a/tests/testthat/test-data_color.R +++ b/tests/testthat/test-data_color.R @@ -606,7 +606,7 @@ test_that("Color palettes can be obtained from the paletteer package", { data_color(palette = "ggsci::red_material") # Perform snapshot test - tbl_gt_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_1) }) test_that("Some color palettes from the viridis package can be used", { @@ -618,7 +618,7 @@ test_that("Some color palettes from the viridis package can be used", { data_color(palette = "viridis") # Perform snapshot test - tbl_gt_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_1) # Use `data_color()` with all defaults and the "magma" palette tbl_gt_2 <- @@ -627,7 +627,7 @@ test_that("Some color palettes from the viridis package can be used", { data_color(palette = "magma") # Perform snapshot test - tbl_gt_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_2) # Use `data_color()` with all defaults and the "plasma" palette tbl_gt_3 <- @@ -636,7 +636,7 @@ test_that("Some color palettes from the viridis package can be used", { data_color(palette = "plasma") # Perform snapshot test - tbl_gt_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_3) # Use `data_color()` with all defaults and the "inferno" palette tbl_gt_4 <- @@ -645,7 +645,7 @@ test_that("Some color palettes from the viridis package can be used", { data_color(palette = "inferno") # Perform snapshot test - tbl_gt_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_4) }) test_that("Some color palettes from the RColorBrewer package can be used", { @@ -679,7 +679,7 @@ test_that("Different combinations of methods and column types work well", { data_color() # Perform snapshot test - tbl_gt_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_1) # Use `data_color()` with a subset of rows targeted tbl_gt_2 <- @@ -688,7 +688,7 @@ test_that("Different combinations of methods and column types work well", { data_color(rows = c(3:5, 8:10)) # Perform snapshot test - tbl_gt_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_2) # Target the `num` column and use the `data_color()` "numeric" method tbl_gt_3 <- @@ -697,7 +697,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = num, method = "numeric") # Perform snapshot test - tbl_gt_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_3) # Target the `num` column and use the `data_color()` "bin" method tbl_gt_4 <- @@ -706,7 +706,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = num, method = "bin") # Perform snapshot test - tbl_gt_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_4) # Target the `num` column and use the `data_color()` "quantile" method tbl_gt_5 <- @@ -715,7 +715,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = num, method = "quantile") # Perform snapshot test - tbl_gt_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_5) # Target the `num` column and use the `data_color()` "factor" method tbl_gt_6 <- @@ -724,7 +724,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = num, method = "factor") # Perform snapshot test - tbl_gt_6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_6) # Target the `char` column and use the `data_color()` "numeric" method tbl_gt_7 <- @@ -733,7 +733,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = char, method = "numeric") # Perform snapshot test - tbl_gt_7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_7) # Target the `char` column and use the `data_color()` "bin" method tbl_gt_8 <- @@ -742,7 +742,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = char, method = "bin") # Perform snapshot test - tbl_gt_8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_8) # Target the `char` column and use the `data_color()` "quantile" method tbl_gt_9 <- @@ -751,7 +751,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = char, method = "quantile") # Perform snapshot test - tbl_gt_9 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_9) # Target the `char` column and use the `data_color()` "factor" method tbl_gt_10 <- @@ -760,7 +760,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = char, method = "factor") # Perform snapshot test - tbl_gt_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_10) # Target the `fctr` column and use the `data_color()` "numeric" method tbl_gt_11 <- @@ -769,7 +769,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = fctr, method = "numeric") # Perform snapshot test - tbl_gt_11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_11) # Target the `fctr` column and use the `data_color()` "bin" method tbl_gt_12 <- @@ -778,7 +778,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = fctr, method = "bin") # Perform snapshot test - tbl_gt_12 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_12) # Target the `fctr` column and use the `data_color()` "quantile" method tbl_gt_13 <- @@ -787,7 +787,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = fctr, method = "quantile") # Perform snapshot test - tbl_gt_13 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_13) # Target the `fctr` column and use the `data_color()` "factor" method tbl_gt_14 <- @@ -796,7 +796,7 @@ test_that("Different combinations of methods and column types work well", { data_color(columns = fctr, method = "factor") # Perform snapshot test - tbl_gt_14 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_14) # With all columns, use the `data_color()` "numeric" method tbl_gt_15 <- @@ -805,7 +805,7 @@ test_that("Different combinations of methods and column types work well", { data_color(method = "numeric") # Perform snapshot test - tbl_gt_15 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_15) # With all columns, use the `data_color()` "bin" method tbl_gt_16 <- @@ -814,7 +814,7 @@ test_that("Different combinations of methods and column types work well", { data_color(method = "bin") # Perform snapshot test - tbl_gt_16 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_16) # With all columns, use the `data_color()` "quantile" method tbl_gt_17 <- @@ -823,7 +823,7 @@ test_that("Different combinations of methods and column types work well", { data_color(method = "quantile") # Perform snapshot test - tbl_gt_17 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_17) # With all columns, use the `data_color()` "factor" method tbl_gt_18 <- @@ -832,7 +832,7 @@ test_that("Different combinations of methods and column types work well", { data_color(method = "factor") # Perform snapshot test - tbl_gt_18 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_18) # # Use different options of the "bin" method @@ -850,7 +850,7 @@ test_that("Different combinations of methods and column types work well", { ) # Perform snapshot test - tbl_gt_19 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_19) # Using `bins = 5` tbl_gt_20 <- @@ -864,7 +864,7 @@ test_that("Different combinations of methods and column types work well", { ) # Perform snapshot test - tbl_gt_20 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_20) # # Use different options of the "quantile" method @@ -882,7 +882,7 @@ test_that("Different combinations of methods and column types work well", { ) # Perform snapshot test - tbl_gt_21 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_21) # Using `quantiles = 10` tbl_gt_22 <- @@ -896,7 +896,7 @@ test_that("Different combinations of methods and column types work well", { ) # Perform snapshot test - tbl_gt_22 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_22) }) test_that("The direction of coloring can be column-wise or row-wise", { @@ -923,7 +923,7 @@ test_that("The direction of coloring can be column-wise or row-wise", { ) # Perform snapshot test - tbl_gt_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_1) # Use `data_color()` with `direction = "row"` tbl_gt_2 <- @@ -936,7 +936,7 @@ test_that("The direction of coloring can be column-wise or row-wise", { ) # Perform snapshot test - tbl_gt_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_2) # Using a fixed domain should not result in any difference # between coloring that is applied column-wise or row-wise @@ -994,7 +994,7 @@ test_that("The direction of coloring can be column-wise or row-wise", { ) # Perform snapshot test - tbl_gt_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_3) # Use `data_color()` with `direction = "row"` and `method = "quantile"` tbl_gt_4 <- @@ -1007,7 +1007,7 @@ test_that("The direction of coloring can be column-wise or row-wise", { ) # Perform snapshot test - tbl_gt_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_4) # Use `data_color()` with `direction = "row"` and `method = "factor"` tbl_gt_5 <- @@ -1020,7 +1020,7 @@ test_that("The direction of coloring can be column-wise or row-wise", { ) # Perform snapshot test - tbl_gt_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_5) }) test_that("Columns can indirectly apply coloring to other columns", { @@ -1045,7 +1045,7 @@ test_that("Columns can indirectly apply coloring to other columns", { ) # Perform snapshot test - tbl_gt_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_1) # Apply coloring from one column to several different columns tbl_gt_2 <- @@ -1058,7 +1058,7 @@ test_that("Columns can indirectly apply coloring to other columns", { ) # Perform snapshot test - tbl_gt_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_2) # Apply coloring from multiple columns to several columns # of the same multiple @@ -1072,7 +1072,7 @@ test_that("Columns can indirectly apply coloring to other columns", { ) # Perform snapshot test - tbl_gt_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_3) # Apply coloring from multiple columns to several columns # of the same multiple, this time reversing the palette @@ -1087,7 +1087,7 @@ test_that("Columns can indirectly apply coloring to other columns", { ) # Perform snapshot test - tbl_gt_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_gt_4) }) test_that("data_color() validates its input related to color", { diff --git a/tests/testthat/test-fmt_auto.R b/tests/testthat/test-fmt_auto.R index de5b00fab..251d7bdff 100644 --- a/tests/testthat/test-fmt_auto.R +++ b/tests/testthat/test-fmt_auto.R @@ -30,7 +30,7 @@ test_that("fmt_auto() works correctly", { fmt_auto() # Take a snapshot of `gt_tbl_1` - gt_tbl_1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_1) # Use `fmt_auto()` on a table having a variety of column types and # prefer to use large-number suffixing @@ -39,7 +39,7 @@ test_that("fmt_auto() works correctly", { fmt_auto(lg_num_pref = "suf") # Take a snapshot of `gt_tbl_2` - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) # Use `fmt_auto()` on a table having very small and very large values gt_tbl_3 <- @@ -47,7 +47,7 @@ test_that("fmt_auto() works correctly", { fmt_auto() # Take a snapshot of `gt_tbl_3` - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) # Use `fmt_auto()` on a table having very small and very large values # and prefer to use large-number suffixing @@ -56,7 +56,7 @@ test_that("fmt_auto() works correctly", { fmt_auto(lg_num_pref = "suf") # Take a snapshot of `gt_tbl_4` - gt_tbl_4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4) # Use `fmt_auto()` on a table having row groups and row labels gt_tbl_5 <- @@ -64,7 +64,7 @@ test_that("fmt_auto() works correctly", { fmt_auto() # Take a snapshot of `gt_tbl_5` - gt_tbl_5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5) # Use `fmt_auto()` on a table having row groups and row labels # and prefer to use large-number suffixing @@ -73,7 +73,7 @@ test_that("fmt_auto() works correctly", { fmt_auto(lg_num_pref = "suf") # Take a snapshot of `gt_tbl_6` - gt_tbl_6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6) # Use `fmt_auto()` on a table having extremely large numbers gt_tbl_7 <- @@ -81,7 +81,7 @@ test_that("fmt_auto() works correctly", { fmt_auto() # Take a snapshot of `gt_tbl_7` - gt_tbl_7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_7) # Use `fmt_auto()` on a table having extremely large numbers # and prefer to use large-number suffixing @@ -90,7 +90,7 @@ test_that("fmt_auto() works correctly", { fmt_auto(lg_num_pref = "suf") # Take a snapshot of `gt_tbl_8` - gt_tbl_8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_8) # Ensure that `fmt_auto()` can target specific columns gt_tbl_9 <- @@ -98,7 +98,7 @@ test_that("fmt_auto() works correctly", { fmt_auto(columns = c(integer, amt.usd)) # Take a snapshot of `gt_tbl_9` - gt_tbl_9 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_9) # Ensure that `fmt_auto()` can target specific rows gt_tbl_10 <- @@ -106,5 +106,5 @@ test_that("fmt_auto() works correctly", { fmt_auto(rows = c(2, 4, 6, 8), lg_num_pref = "suf") # Take a snapshot of `gt_tbl_10` - gt_tbl_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_10) }) diff --git a/tests/testthat/test-fmt_duration.R b/tests/testthat/test-fmt_duration.R index 4d7f2edb9..44d52f559 100644 --- a/tests/testthat/test-fmt_duration.R +++ b/tests/testthat/test-fmt_duration.R @@ -1831,8 +1831,8 @@ test_that("fmt_duration() can produce localized outputs", { tab_style(style = cell_text(size = "smaller"), locations = cells_body()) # Perform snapshot tests - tab_narrow %>% render_as_html() %>% expect_snapshot() - tab_wide %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tab_narrow) + expect_snapshot_html(tab_wide) }) test_that("fmt_duration() will error in specific cases", { diff --git a/tests/testthat/test-fmt_fraction.R b/tests/testthat/test-fmt_fraction.R index 43d97a712..9b86cd89e 100644 --- a/tests/testthat/test-fmt_fraction.R +++ b/tests/testthat/test-fmt_fraction.R @@ -519,19 +519,19 @@ test_that("fmt_fraction() produces reproducible results for HTML output", { tab_options(latex.use_longtable = TRUE) # Perform snapshot tests for HTML outputs - fraction_tbl_diagonal %>% render_as_html() %>% expect_snapshot() - fraction_tbl_inline %>% render_as_html() %>% expect_snapshot() - fraction_tbl_simplified %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(fraction_tbl_diagonal) + expect_snapshot_html(fraction_tbl_inline) + expect_snapshot_html(fraction_tbl_simplified) # Perform snapshot tests for LaTeX outputs - fraction_tbl_diagonal %>% as_latex() %>% as.character() %>% expect_snapshot() - fraction_tbl_inline %>% as_latex() %>% as.character() %>% expect_snapshot() - fraction_tbl_simplified %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_latex(fraction_tbl_diagonal) + expect_snapshot_latex(fraction_tbl_inline) + expect_snapshot_latex(fraction_tbl_simplified) # Perform snapshot tests for RTF outputs - fraction_tbl_diagonal %>% as_rtf() %>% expect_snapshot() - fraction_tbl_inline %>% as_rtf() %>% expect_snapshot() - fraction_tbl_simplified %>% as_rtf() %>% expect_snapshot() + expect_snapshot_rtf(fraction_tbl_diagonal) + expect_snapshot_rtf(fraction_tbl_inline) + expect_snapshot_rtf(fraction_tbl_simplified) }) test_that("fmt_fraction() can render values in the Indian numbering system", { diff --git a/tests/testthat/test-group_column_label.R b/tests/testthat/test-group_column_label.R index 4193190c2..15860f8b1 100644 --- a/tests/testthat/test-group_column_label.R +++ b/tests/testthat/test-group_column_label.R @@ -138,9 +138,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_1` - tbl_1 %>% render_as_html() %>% expect_snapshot() - tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_1) + expect_snapshot_latex(tbl_1) + expect_snapshot_rtf(tbl_1) # 2: No row groups or row labels (no stub); option for group column taken # Note: Should be identical to #1 @@ -156,9 +156,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_2` - tbl_2 %>% render_as_html() %>% expect_snapshot() - tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_2) + expect_snapshot_latex(tbl_2) + expect_snapshot_rtf(tbl_2) # 3: Has row groups, no row labels (row group labels in standalone rows) tbl_3 <- @@ -173,9 +173,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_3` - tbl_3 %>% render_as_html() %>% expect_snapshot() - tbl_3 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_3 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_3) + expect_snapshot_latex(tbl_3) + expect_snapshot_rtf(tbl_3) # 4: Has row groups, no row labels (row group labels as column in 1-col stub) tbl_4 <- @@ -190,9 +190,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_1` - tbl_4 %>% render_as_html() %>% expect_snapshot() - tbl_4 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_4 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_4) + expect_snapshot_latex(tbl_4) + expect_snapshot_rtf(tbl_4) # 5: Has row labels, no row groups (makes 1-col stub with row labels) tbl_5 <- @@ -207,9 +207,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_5` - tbl_5 %>% render_as_html() %>% expect_snapshot() - tbl_5 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_5 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_5) + expect_snapshot_latex(tbl_5) + expect_snapshot_rtf(tbl_5) # 6: Has row labels, no row groups (makes 1-col stub with row labels); # option for group column taken @@ -226,9 +226,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_6` - tbl_6 %>% render_as_html() %>% expect_snapshot() - tbl_6 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_6 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_6) + expect_snapshot_latex(tbl_6) + expect_snapshot_rtf(tbl_6) # 7: Has row labels and row groups (makes 1-col stub with row labels, # row group labels are in standalone rows) @@ -244,9 +244,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_7` - tbl_7 %>% render_as_html() %>% expect_snapshot() - tbl_7 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_7 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_7) + expect_snapshot_latex(tbl_7) + expect_snapshot_rtf(tbl_7) # 8: Has row labels and row groups (makes 2-col stub with row groups and row # labels since option for group column taken) @@ -262,9 +262,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_8` - tbl_8 %>% render_as_html() %>% expect_snapshot() - tbl_8 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_8 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_8) + expect_snapshot_latex(tbl_8) + expect_snapshot_rtf(tbl_8) # 9: No row groups or row labels; added grand summary (creates 1-col stub which # is empty for data rows but populated with the necessary summary row labels) @@ -280,9 +280,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_9` - tbl_9 %>% render_as_html() %>% expect_snapshot() - tbl_9 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_9 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_9) + expect_snapshot_latex(tbl_9) + expect_snapshot_rtf(tbl_9) # 10: No row groups or row labels; added grand summary (creates 1-col stub # which is empty for data rows but populated with the necessary summary @@ -300,9 +300,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_10` - tbl_10 %>% render_as_html() %>% expect_snapshot() - tbl_10 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_10 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_10) + expect_snapshot_latex(tbl_10) + expect_snapshot_rtf(tbl_10) # 11: Has row groups, no row labels (row group labels in standalone rows); # added group and grand summaries (creates 1-col stub which is empty for @@ -319,9 +319,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_11` - tbl_11 %>% render_as_html() %>% expect_snapshot() - tbl_11 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_11 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_11) + expect_snapshot_latex(tbl_11) + expect_snapshot_rtf(tbl_11) # 12: Has row groups, no row labels (row group labels as column in 1-col stub # along with summary row labels) @@ -337,9 +337,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_12` - tbl_12 %>% render_as_html() %>% expect_snapshot() - tbl_12 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_12 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_12) + expect_snapshot_latex(tbl_12) + expect_snapshot_rtf(tbl_12) # 13: Has row labels, no row groups but a grand summary (ends up making a # 1-col stub with row labels and summary row labels) @@ -355,9 +355,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_13` - tbl_13 %>% render_as_html() %>% expect_snapshot() - tbl_13 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_13 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_13) + expect_snapshot_latex(tbl_13) + expect_snapshot_rtf(tbl_13) # 14: Has row labels, no row groups but a grand summary (ends up # making a 1-col stub with row labels and summary row labels); @@ -375,9 +375,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_14` - tbl_14 %>% render_as_html() %>% expect_snapshot() - tbl_14 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_14 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_14) + expect_snapshot_latex(tbl_14) + expect_snapshot_rtf(tbl_14) # 15: Has row labels, row groups, group summaries, and a grand summmary # (makes a 1-col stub with row labels and summary row labels, row group @@ -394,9 +394,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_15` - tbl_15 %>% render_as_html() %>% expect_snapshot() - tbl_15 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_15 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_15) + expect_snapshot_latex(tbl_15) + expect_snapshot_rtf(tbl_15) # 16: Has row labels, row groups, group summaries, and a grand summmary # (makes a hybrid 2-col stub with group/row labels and summary row labels) @@ -412,9 +412,9 @@ test_that("Group labels as a column work well across many variations", { ) # Take snapshots of `tbl_16` - tbl_16 %>% render_as_html() %>% expect_snapshot() - tbl_16 %>% as_latex() %>% as.character() %>% expect_snapshot() - tbl_16 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(tbl_16) + expect_snapshot_latex(tbl_16) + expect_snapshot_rtf(tbl_16) # S1: Styled version of table #1 tbl_s1 <- @@ -429,7 +429,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s1` - tbl_s1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s1) # S2: Styled version of table #2; same as #S1 tbl_s2 <- @@ -444,7 +444,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s2` - tbl_s2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s2) # S3: Styled version of table #3 tbl_s3 <- @@ -459,7 +459,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s3` - tbl_s3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s3) # S4: Styled version of table #4 tbl_s4 <- @@ -474,7 +474,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s4` - tbl_s4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s4) # S5: Styled version of table #5 tbl_s5 <- @@ -489,7 +489,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s5` - tbl_s5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s5) # S6: Styled version of table #6; same as #S5 tbl_s6 <- @@ -504,7 +504,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s6` - tbl_s6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s6) # S7: Styled version of table #7 tbl_s7 <- @@ -519,7 +519,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s7` - tbl_s7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s7) # S8: Styled version of table #8 tbl_s8 <- @@ -534,7 +534,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s8` - tbl_s8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s8) # S9: Styled version of table #9 tbl_s9 <- @@ -549,7 +549,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s9` - tbl_s9 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s9) # S10: Styled version of table #10; same as #S9 tbl_s10 <- @@ -564,7 +564,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s10` - tbl_s10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s10) # S11: Styled version of table #11 tbl_s11 <- @@ -579,7 +579,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s11` - tbl_s11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s11) # S12: Styled version of table #12 tbl_s12 <- @@ -594,7 +594,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s12` - tbl_s12 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s12) # S13: Styled version of table #13 tbl_s13 <- @@ -609,7 +609,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s13` - tbl_s13 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s13) # S14: Styled version of table #14; same as #S13 tbl_s14 <- @@ -624,7 +624,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s14` - tbl_s14 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s14) # S15: Styled version of table #15 tbl_s15 <- @@ -639,7 +639,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s15` - tbl_s15 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s15) # S16: Styled version of table #16 tbl_s16 <- @@ -654,7 +654,7 @@ test_that("Group labels as a column work well across many variations", { ) # Take a snapshot of `tbl_s16` - tbl_s16 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(tbl_s16) }) test_that("Group labels as a column work well in Latex with specified column widths", { @@ -672,7 +672,7 @@ test_that("Group labels as a column work well in Latex with specified column wid cols_width(everything() ~ pct(10)) # Take snapshots of `tbl_16` - tbl_17 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_latex(tbl_17) tbl_18 <- exibble_test( @@ -687,7 +687,7 @@ test_that("Group labels as a column work well in Latex with specified column wid cols_width(everything() ~ pct(10)) # Take snapshots of `tbl_16` - tbl_18 %>% as_latex() %>% as.character() %>% expect_snapshot() + expect_snapshot_latex(tbl_18) }) diff --git a/tests/testthat/test-removal_functions.R b/tests/testthat/test-removal_functions.R index 7c7e07214..c150ce5dd 100644 --- a/tests/testthat/test-removal_functions.R +++ b/tests/testthat/test-removal_functions.R @@ -42,7 +42,7 @@ test_that("The different removal functions work correctly", { gt_tbl_2 <- gt_tbl %>% rm_header() expect_true(gt_tbl %>% render_as_html() != gt_tbl_2 %>% render_as_html()) - gt_tbl_2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_2) # # Use `rm_stubhead()` to remove the stubhead label @@ -50,7 +50,7 @@ test_that("The different removal functions work correctly", { gt_tbl_3 <- gt_tbl %>% rm_stubhead() expect_true(gt_tbl %>% render_as_html() != gt_tbl_3 %>% render_as_html()) - gt_tbl_3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_3) # # Use `rm_spanners()` to remove the different spanners @@ -58,39 +58,39 @@ test_that("The different removal functions work correctly", { gt_tbl_4a <- gt_tbl %>% rm_spanners() expect_true(gt_tbl %>% render_as_html() != gt_tbl_4a %>% render_as_html()) - gt_tbl_4a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4a) gt_tbl_4b <- gt_tbl %>% rm_spanners(spanners = "Date and Time") expect_true(gt_tbl %>% render_as_html() != gt_tbl_4b %>% render_as_html()) - gt_tbl_4b %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4b) gt_tbl_4c <- gt_tbl %>% rm_spanners(spanners = "Numbers") expect_true(gt_tbl %>% render_as_html() != gt_tbl_4c %>% render_as_html()) - gt_tbl_4c %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4c) gt_tbl_4d <- gt_tbl %>% rm_spanners(spanners = "Words") expect_true(gt_tbl %>% render_as_html() != gt_tbl_4d %>% render_as_html()) - gt_tbl_4d %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4d) gt_tbl_4e <- gt_tbl %>% rm_spanners(spanners = "Grand Spanner") expect_true(gt_tbl %>% render_as_html() != gt_tbl_4e %>% render_as_html()) - gt_tbl_4e %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4e) gt_tbl_4f <- gt_tbl %>% rm_spanners(spanners = c("Date and Time", "Numbers", "Words")) expect_true(gt_tbl %>% render_as_html() != gt_tbl_4f %>% render_as_html()) - gt_tbl_4f %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4f) gt_tbl_4g <- gt_tbl %>% rm_spanners(levels = 1) expect_true(gt_tbl %>% render_as_html() != gt_tbl_4g %>% render_as_html()) - gt_tbl_4g %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4g) gt_tbl_4h <- gt_tbl %>% rm_spanners(levels = 2) expect_true(gt_tbl %>% render_as_html() != gt_tbl_4h %>% render_as_html()) - gt_tbl_4h %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4h) gt_tbl_4i <- gt_tbl %>% rm_spanners(levels = 1:2) expect_true(gt_tbl %>% render_as_html() != gt_tbl_4i %>% render_as_html()) - gt_tbl_4i %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_4i) # # Use `rm_footnotes()` to remove the different footnotes @@ -98,19 +98,19 @@ test_that("The different removal functions work correctly", { gt_tbl_5a <- gt_tbl %>% rm_footnotes() expect_true(gt_tbl %>% render_as_html() != gt_tbl_5a %>% render_as_html()) - gt_tbl_5a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5a) gt_tbl_5b <- gt_tbl %>% rm_footnotes(footnotes = 2) expect_true(gt_tbl %>% render_as_html() != gt_tbl_5b %>% render_as_html()) - gt_tbl_5b %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5b) gt_tbl_5c <- gt_tbl %>% rm_footnotes(footnotes = 1) expect_true(gt_tbl %>% render_as_html() != gt_tbl_5c %>% render_as_html()) - gt_tbl_5c %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5c) gt_tbl_5d <- gt_tbl %>% rm_footnotes(footnotes = 1:2) expect_true(gt_tbl %>% render_as_html() != gt_tbl_5d %>% render_as_html()) - gt_tbl_5d %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_5d) # # Use `rm_source_notes()` to remove the different source notes @@ -118,19 +118,19 @@ test_that("The different removal functions work correctly", { gt_tbl_6a <- gt_tbl %>% rm_source_notes() expect_true(gt_tbl %>% render_as_html() != gt_tbl_6a %>% render_as_html()) - gt_tbl_6a %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6a) gt_tbl_6b <- gt_tbl %>% rm_source_notes(source_notes = 2) expect_true(gt_tbl %>% render_as_html() != gt_tbl_6b %>% render_as_html()) - gt_tbl_6b %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6b) gt_tbl_6c <- gt_tbl %>% rm_source_notes(source_notes = 1) expect_true(gt_tbl %>% render_as_html() != gt_tbl_6c %>% render_as_html()) - gt_tbl_6c %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6c) gt_tbl_6d <- gt_tbl %>% rm_source_notes(source_notes = 1:2) expect_true(gt_tbl %>% render_as_html() != gt_tbl_6d %>% render_as_html()) - gt_tbl_6d %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_6d) # # Use `rm_caption()` to remove the table caption @@ -138,5 +138,5 @@ test_that("The different removal functions work correctly", { gt_tbl_7 <- gt_tbl %>% rm_caption() expect_true(gt_tbl %>% render_as_html() != gt_tbl_7 %>% render_as_html()) - gt_tbl_7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_7) }) diff --git a/tests/testthat/test-rows_add.R b/tests/testthat/test-rows_add.R index 0f72e967d..3e14225a5 100644 --- a/tests/testthat/test-rows_add.R +++ b/tests/testthat/test-rows_add.R @@ -33,7 +33,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_01_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_a_01 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_01) # Add a single row, this time with more values gt_tbl_a_02 <- @@ -59,7 +59,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_02_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_a_02 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_02) # Add three rows, include repeating values gt_tbl_a_03 <- @@ -85,7 +85,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_03_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), rep(NA, 3))) # Perform snapshot test - gt_tbl_a_03 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_03) # Add one row, include a `rowname_col` value in 'row' gt_tbl_a_04 <- @@ -112,7 +112,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_04_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_a_04 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_04) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' @@ -141,7 +141,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_05_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 5))) # Perform snapshot test - gt_tbl_a_05 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_05) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' (this time using a new group name) @@ -170,7 +170,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_06_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_c")) # Perform snapshot test - gt_tbl_a_06 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_06) # Add two rows, include two `rowname_col` values in 'row' and include # two different 'groupname_col' values in 'group' @@ -199,7 +199,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_07_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_a_07 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_07) # Add two empty rows gt_tbl_a_08 <- @@ -217,7 +217,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_08_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), rep(NA, 2))) # Perform snapshot test - gt_tbl_a_08 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_08) # Add no rows by supplying nothing to `rows_add()` gt_tbl_a_09 <- @@ -238,7 +238,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_09_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4))) # Perform snapshot test - gt_tbl_a_09 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_09) # Add no rows by supplying `0` to `.n_empty` gt_tbl_a_10 <- @@ -261,7 +261,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_a_10_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4))) # Perform snapshot test - gt_tbl_a_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_10) # Add two empty rows with `.n_empty` while attempting to add # rows with name-value pairs (which have no effect) @@ -293,7 +293,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_identical(tbl_a_11_stub, tbl_a_08_stub) # Perform snapshot test - gt_tbl_a_11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_a_11) gt_tbl_b <- exibble %>% @@ -328,7 +328,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_01_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_b_01 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_01) # Add a single row, this time with more values gt_tbl_b_02 <- @@ -354,7 +354,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_02_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_b_02 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_02) # Add three rows, include repeating values gt_tbl_b_03 <- @@ -380,7 +380,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_03_stub$group_id, rep(NA_character_, 11)) # Perform snapshot test - gt_tbl_b_03 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_03) # Add one row, include a `rowname_col` value in 'row' gt_tbl_b_04 <- @@ -407,7 +407,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_04_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_b_04 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_04) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' @@ -436,7 +436,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_05_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_b_05 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_05) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' (this time using a new group name) @@ -465,7 +465,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_06_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_b_06 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_06) # Add two rows, include two `rowname_col` values in 'row' and include # two different 'groupname_col' values in 'group' @@ -494,7 +494,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_07_stub$group_id, rep(NA_character_, 10)) # Perform snapshot test - gt_tbl_b_07 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_07) # Add two empty rows gt_tbl_b_08 <- @@ -512,7 +512,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_b_08_stub$group_id, rep(NA_character_, 10)) # Perform snapshot test - gt_tbl_b_08 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_b_08) gt_tbl_c <- exibble %>% @@ -547,7 +547,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_01_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_c_01 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_01) # Add a single row, this time with more values gt_tbl_c_02 <- @@ -573,7 +573,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_02_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_c_02 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_02) # Add three rows, include repeating values gt_tbl_c_03 <- @@ -599,7 +599,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_03_stub$group_id, rep(NA_character_, 11)) # Perform snapshot test - gt_tbl_c_03 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_03) # Add one row, include a `rowname_col` value in 'row' gt_tbl_c_04 <- @@ -626,7 +626,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_04_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_c_04 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_04) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' @@ -655,7 +655,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_05_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_c_05 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_05) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' (this time using a new group name) @@ -684,7 +684,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_06_stub$group_id, rep(NA_character_, 9)) # Perform snapshot test - gt_tbl_c_06 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_06) # Add two rows, include two `rowname_col` values in 'row' and include # two different 'groupname_col' values in 'group' @@ -713,7 +713,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_07_stub$group_id, rep(NA_character_, 10)) # Perform snapshot test - gt_tbl_c_07 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_07) # Add two empty rows gt_tbl_c_08 <- @@ -731,7 +731,7 @@ test_that("rows can be added to a table with name-value pairs", { expect_equal(tbl_c_08_stub$group_id, rep(NA_character_, 10)) # Perform snapshot test - gt_tbl_c_08 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_c_08) # Expect an error if non-valid values given to `.n_empty` expect_error(gt_tbl_c %>% rows_add(.n_empty = -1)) @@ -743,75 +743,75 @@ test_that("rows can be added to a table with name-value pairs", { gt() gt_tbl_d_add1_b1 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 1) - gt_tbl_d_add1_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b1) gt_tbl_d_add1_b2 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 2) - gt_tbl_d_add1_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b2) gt_tbl_d_add1_b3 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 3) - gt_tbl_d_add1_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b3) gt_tbl_d_add1_b4 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 4) - gt_tbl_d_add1_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b4) gt_tbl_d_add1_b5 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 5) - gt_tbl_d_add1_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b5) gt_tbl_d_add1_b6 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 6) - gt_tbl_d_add1_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b6) gt_tbl_d_add1_b7 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 7) - gt_tbl_d_add1_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b7) gt_tbl_d_add1_b8 <- gt_tbl_d %>% rows_add(.n_empty = 1, .before = 8) - gt_tbl_d_add1_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_b8) expect_error(gt_tbl_d %>% rows_add(.n_empty = 1, .before = 9)) gt_tbl_d_add1_a1 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 1) - gt_tbl_d_add1_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a1) gt_tbl_d_add1_a2 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 2) - gt_tbl_d_add1_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a2) gt_tbl_d_add1_a3 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 3) - gt_tbl_d_add1_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a3) gt_tbl_d_add1_a4 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 4) - gt_tbl_d_add1_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a4) gt_tbl_d_add1_a5 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 5) - gt_tbl_d_add1_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a5) gt_tbl_d_add1_a6 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 6) - gt_tbl_d_add1_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a6) gt_tbl_d_add1_a7 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 7) - gt_tbl_d_add1_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a7) gt_tbl_d_add1_a8 <- gt_tbl_d %>% rows_add(.n_empty = 1, .after = 8) - gt_tbl_d_add1_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add1_a8) expect_error(gt_tbl_d %>% rows_add(.n_empty = 1, .after = 9)) gt_tbl_d_add2_b1 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 1) - gt_tbl_d_add2_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b1) gt_tbl_d_add2_b2 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 2) - gt_tbl_d_add2_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b2) gt_tbl_d_add2_b3 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 3) - gt_tbl_d_add2_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b3) gt_tbl_d_add2_b4 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 4) - gt_tbl_d_add2_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b4) gt_tbl_d_add2_b5 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 5) - gt_tbl_d_add2_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b5) gt_tbl_d_add2_b6 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 6) - gt_tbl_d_add2_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b6) gt_tbl_d_add2_b7 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 7) - gt_tbl_d_add2_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b7) gt_tbl_d_add2_b8 <- gt_tbl_d %>% rows_add(.n_empty = 2, .before = 8) - gt_tbl_d_add2_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_b8) expect_error(gt_tbl_d %>% rows_add(.n_empty = 2, .before = 9)) gt_tbl_d_add2_a1 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 1) - gt_tbl_d_add2_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a1) gt_tbl_d_add2_a2 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 2) - gt_tbl_d_add2_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a2) gt_tbl_d_add2_a3 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 3) - gt_tbl_d_add2_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a3) gt_tbl_d_add2_a4 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 4) - gt_tbl_d_add2_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a4) gt_tbl_d_add2_a5 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 5) - gt_tbl_d_add2_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a5) gt_tbl_d_add2_a6 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 6) - gt_tbl_d_add2_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a6) gt_tbl_d_add2_a7 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 7) - gt_tbl_d_add2_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a7) gt_tbl_d_add2_a8 <- gt_tbl_d %>% rows_add(.n_empty = 2, .after = 8) - gt_tbl_d_add2_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_d_add2_a8) expect_error(gt_tbl_d %>% rows_add(.n_empty = 2, .after = 9)) gt_tbl_e <- @@ -819,75 +819,75 @@ test_that("rows can be added to a table with name-value pairs", { gt(rowname_col = "row") gt_tbl_e_add1_b1 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 1) - gt_tbl_e_add1_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b1) gt_tbl_e_add1_b2 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 2) - gt_tbl_e_add1_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b2) gt_tbl_e_add1_b3 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 3) - gt_tbl_e_add1_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b3) gt_tbl_e_add1_b4 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 4) - gt_tbl_e_add1_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b4) gt_tbl_e_add1_b5 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 5) - gt_tbl_e_add1_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b5) gt_tbl_e_add1_b6 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 6) - gt_tbl_e_add1_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b6) gt_tbl_e_add1_b7 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 7) - gt_tbl_e_add1_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b7) gt_tbl_e_add1_b8 <- gt_tbl_e %>% rows_add(.n_empty = 1, .before = 8) - gt_tbl_e_add1_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_b8) expect_error(gt_tbl_e %>% rows_add(.n_empty = 1, .before = 9)) gt_tbl_e_add1_a1 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 1) - gt_tbl_e_add1_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a1) gt_tbl_e_add1_a2 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 2) - gt_tbl_e_add1_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a2) gt_tbl_e_add1_a3 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 3) - gt_tbl_e_add1_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a3) gt_tbl_e_add1_a4 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 4) - gt_tbl_e_add1_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a4) gt_tbl_e_add1_a5 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 5) - gt_tbl_e_add1_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a5) gt_tbl_e_add1_a6 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 6) - gt_tbl_e_add1_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a6) gt_tbl_e_add1_a7 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 7) - gt_tbl_e_add1_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a7) gt_tbl_e_add1_a8 <- gt_tbl_e %>% rows_add(.n_empty = 1, .after = 8) - gt_tbl_e_add1_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add1_a8) expect_error(gt_tbl_e %>% rows_add(.n_empty = 1, .after = 9)) gt_tbl_e_add2_b1 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 1) - gt_tbl_e_add2_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b1) gt_tbl_e_add2_b2 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 2) - gt_tbl_e_add2_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b2) gt_tbl_e_add2_b3 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 3) - gt_tbl_e_add2_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b3) gt_tbl_e_add2_b4 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 4) - gt_tbl_e_add2_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b4) gt_tbl_e_add2_b5 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 5) - gt_tbl_e_add2_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b5) gt_tbl_e_add2_b6 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 6) - gt_tbl_e_add2_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b6) gt_tbl_e_add2_b7 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 7) - gt_tbl_e_add2_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b7) gt_tbl_e_add2_b8 <- gt_tbl_e %>% rows_add(.n_empty = 2, .before = 8) - gt_tbl_e_add2_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_b8) expect_error(gt_tbl_e %>% rows_add(.n_empty = 2, .before = 9)) gt_tbl_e_add2_a1 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 1) - gt_tbl_e_add2_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a1) gt_tbl_e_add2_a2 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 2) - gt_tbl_e_add2_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a2) gt_tbl_e_add2_a3 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 3) - gt_tbl_e_add2_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a3) gt_tbl_e_add2_a4 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 4) - gt_tbl_e_add2_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a4) gt_tbl_e_add2_a5 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 5) - gt_tbl_e_add2_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a5) gt_tbl_e_add2_a6 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 6) - gt_tbl_e_add2_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a6) gt_tbl_e_add2_a7 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 7) - gt_tbl_e_add2_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a7) gt_tbl_e_add2_a8 <- gt_tbl_e %>% rows_add(.n_empty = 2, .after = 8) - gt_tbl_e_add2_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_e_add2_a8) expect_error(gt_tbl_e %>% rows_add(.n_empty = 2, .after = 9)) gt_tbl_f <- @@ -895,75 +895,75 @@ test_that("rows can be added to a table with name-value pairs", { gt(rowname_col = "row", groupname_col = "group") gt_tbl_f_add1_b1 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 1) - gt_tbl_f_add1_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b1) gt_tbl_f_add1_b2 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 2) - gt_tbl_f_add1_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b2) gt_tbl_f_add1_b3 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 3) - gt_tbl_f_add1_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b3) gt_tbl_f_add1_b4 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 4) - gt_tbl_f_add1_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b4) gt_tbl_f_add1_b5 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 5) - gt_tbl_f_add1_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b5) gt_tbl_f_add1_b6 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 6) - gt_tbl_f_add1_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b6) gt_tbl_f_add1_b7 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 7) - gt_tbl_f_add1_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b7) gt_tbl_f_add1_b8 <- gt_tbl_f %>% rows_add(.n_empty = 1, .before = 8) - gt_tbl_f_add1_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_b8) expect_error(gt_tbl_f %>% rows_add(.n_empty = 1, .before = 9)) gt_tbl_f_add1_a1 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 1) - gt_tbl_f_add1_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a1) gt_tbl_f_add1_a2 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 2) - gt_tbl_f_add1_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a2) gt_tbl_f_add1_a3 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 3) - gt_tbl_f_add1_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a3) gt_tbl_f_add1_a4 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 4) - gt_tbl_f_add1_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a4) gt_tbl_f_add1_a5 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 5) - gt_tbl_f_add1_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a5) gt_tbl_f_add1_a6 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 6) - gt_tbl_f_add1_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a6) gt_tbl_f_add1_a7 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 7) - gt_tbl_f_add1_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a7) gt_tbl_f_add1_a8 <- gt_tbl_f %>% rows_add(.n_empty = 1, .after = 8) - gt_tbl_f_add1_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add1_a8) expect_error(gt_tbl_f %>% rows_add(.n_empty = 1, .after = 9)) gt_tbl_f_add2_b1 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 1) - gt_tbl_f_add2_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b1) gt_tbl_f_add2_b2 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 2) - gt_tbl_f_add2_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b2) gt_tbl_f_add2_b3 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 3) - gt_tbl_f_add2_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b3) gt_tbl_f_add2_b4 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 4) - gt_tbl_f_add2_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b4) gt_tbl_f_add2_b5 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 5) - gt_tbl_f_add2_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b5) gt_tbl_f_add2_b6 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 6) - gt_tbl_f_add2_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b6) gt_tbl_f_add2_b7 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 7) - gt_tbl_f_add2_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b7) gt_tbl_f_add2_b8 <- gt_tbl_f %>% rows_add(.n_empty = 2, .before = 8) - gt_tbl_f_add2_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_b8) expect_error(gt_tbl_f %>% rows_add(.n_empty = 2, .before = 9)) gt_tbl_f_add2_a1 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 1) - gt_tbl_f_add2_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a1) gt_tbl_f_add2_a2 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 2) - gt_tbl_f_add2_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a2) gt_tbl_f_add2_a3 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 3) - gt_tbl_f_add2_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a3) gt_tbl_f_add2_a4 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 4) - gt_tbl_f_add2_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a4) gt_tbl_f_add2_a5 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 5) - gt_tbl_f_add2_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a5) gt_tbl_f_add2_a6 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 6) - gt_tbl_f_add2_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a6) gt_tbl_f_add2_a7 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 7) - gt_tbl_f_add2_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a7) gt_tbl_f_add2_a8 <- gt_tbl_f %>% rows_add(.n_empty = 2, .after = 8) - gt_tbl_f_add2_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_f_add2_a8) expect_error(gt_tbl_f %>% rows_add(.n_empty = 2, .after = 9)) gt_tbl_g <- @@ -971,75 +971,75 @@ test_that("rows can be added to a table with name-value pairs", { gt(groupname_col = "group") gt_tbl_g_add1_b1 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 1) - gt_tbl_g_add1_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b1) gt_tbl_g_add1_b2 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 2) - gt_tbl_g_add1_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b2) gt_tbl_g_add1_b3 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 3) - gt_tbl_g_add1_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b3) gt_tbl_g_add1_b4 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 4) - gt_tbl_g_add1_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b4) gt_tbl_g_add1_b5 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 5) - gt_tbl_g_add1_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b5) gt_tbl_g_add1_b6 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 6) - gt_tbl_g_add1_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b6) gt_tbl_g_add1_b7 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 7) - gt_tbl_g_add1_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b7) gt_tbl_g_add1_b8 <- gt_tbl_g %>% rows_add(.n_empty = 1, .before = 8) - gt_tbl_g_add1_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_b8) expect_error(gt_tbl_g %>% rows_add(.n_empty = 1, .before = 9)) gt_tbl_g_add1_a1 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 1) - gt_tbl_g_add1_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a1) gt_tbl_g_add1_a2 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 2) - gt_tbl_g_add1_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a2) gt_tbl_g_add1_a3 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 3) - gt_tbl_g_add1_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a3) gt_tbl_g_add1_a4 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 4) - gt_tbl_g_add1_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a4) gt_tbl_g_add1_a5 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 5) - gt_tbl_g_add1_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a5) gt_tbl_g_add1_a6 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 6) - gt_tbl_g_add1_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a6) gt_tbl_g_add1_a7 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 7) - gt_tbl_g_add1_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a7) gt_tbl_g_add1_a8 <- gt_tbl_g %>% rows_add(.n_empty = 1, .after = 8) - gt_tbl_g_add1_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add1_a8) expect_error(gt_tbl_g %>% rows_add(.n_empty = 1, .after = 9)) gt_tbl_g_add2_b1 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 1) - gt_tbl_g_add2_b1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b1) gt_tbl_g_add2_b2 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 2) - gt_tbl_g_add2_b2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b2) gt_tbl_g_add2_b3 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 3) - gt_tbl_g_add2_b3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b3) gt_tbl_g_add2_b4 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 4) - gt_tbl_g_add2_b4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b4) gt_tbl_g_add2_b5 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 5) - gt_tbl_g_add2_b5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b5) gt_tbl_g_add2_b6 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 6) - gt_tbl_g_add2_b6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b6) gt_tbl_g_add2_b7 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 7) - gt_tbl_g_add2_b7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b7) gt_tbl_g_add2_b8 <- gt_tbl_g %>% rows_add(.n_empty = 2, .before = 8) - gt_tbl_g_add2_b8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_b8) expect_error(gt_tbl_g %>% rows_add(.n_empty = 2, .before = 9)) gt_tbl_g_add2_a1 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 1) - gt_tbl_g_add2_a1 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a1) gt_tbl_g_add2_a2 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 2) - gt_tbl_g_add2_a2 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a2) gt_tbl_g_add2_a3 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 3) - gt_tbl_g_add2_a3 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a3) gt_tbl_g_add2_a4 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 4) - gt_tbl_g_add2_a4 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a4) gt_tbl_g_add2_a5 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 5) - gt_tbl_g_add2_a5 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a5) gt_tbl_g_add2_a6 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 6) - gt_tbl_g_add2_a6 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a6) gt_tbl_g_add2_a7 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 7) - gt_tbl_g_add2_a7 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a7) gt_tbl_g_add2_a8 <- gt_tbl_g %>% rows_add(.n_empty = 2, .after = 8) - gt_tbl_g_add2_a8 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_g_add2_a8) expect_error(gt_tbl_g %>% rows_add(.n_empty = 2, .after = 9)) # Expect an error if using both `.before` and `.after` @@ -1116,7 +1116,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_01_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_h_01 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_01) # Add a single row, this time with more values gt_tbl_h_02 <- @@ -1142,7 +1142,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_02_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_h_02 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_02) # Add three rows, include repeating values gt_tbl_h_03 <- @@ -1168,7 +1168,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_03_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), rep(NA, 3))) # Perform snapshot test - gt_tbl_h_03 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_03) # Add one row, include a `rowname_col` value in 'row' gt_tbl_h_04 <- @@ -1195,7 +1195,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_04_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_h_04 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_04) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' @@ -1224,7 +1224,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_05_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 5))) # Perform snapshot test - gt_tbl_h_05 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_05) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' (this time using a new group name) @@ -1253,7 +1253,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_06_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_c")) # Perform snapshot test - gt_tbl_h_06 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_06) # Add two rows, include two `rowname_col` values in 'row' and include # two different 'groupname_col' values in 'group' @@ -1282,7 +1282,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_07_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_h_07 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_07) # Use a mix of name-value pairs and formula expressions gt_tbl_h_08 <- @@ -1310,7 +1310,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_08_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_h_08 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_08) # Use Tidyselect-style expressions on the LHS gt_tbl_h_09 <- @@ -1338,7 +1338,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_09_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_h_09 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_09) # Use mix of Tidyselect-style expressions and vectors on the LHS gt_tbl_h_10 <- @@ -1368,7 +1368,7 @@ test_that("adding rows can be done using formula-based expressions", { expect_equal(tbl_h_10_data$num[10], tbl_h_10_data$currency[10]) # Perform snapshot test - gt_tbl_h_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_10) # Use `everything()` to target all columns in a simple table gt_tbl_h_11 <- @@ -1382,7 +1382,7 @@ test_that("adding rows can be done using formula-based expressions", { ) # Perform snapshot test - gt_tbl_h_11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_h_11) # Expect an error if using a one-sided formula expect_error( @@ -1424,7 +1424,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_01_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_i_01 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_01) # Add a single row, this time with more values gt_tbl_i_02 <- @@ -1452,7 +1452,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_02_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_i_02 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_02) # Add three rows, include repeating values gt_tbl_i_03 <- @@ -1480,7 +1480,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_03_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), rep(NA, 3))) # Perform snapshot test - gt_tbl_i_03 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_03) # Add one row, include a `rowname_col` value in 'row' gt_tbl_i_04 <- @@ -1509,7 +1509,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_04_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), NA)) # Perform snapshot test - gt_tbl_i_04 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_04) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' @@ -1540,7 +1540,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_05_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 5))) # Perform snapshot test - gt_tbl_i_05 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_05) # Add one row, include a `rowname_col` value in 'row' and include # a 'groupname_col' value in 'group' (this time using a new group name) @@ -1571,7 +1571,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_06_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_c")) # Perform snapshot test - gt_tbl_i_06 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_06) # Add two rows, include two `rowname_col` values in 'row' and include # two different 'groupname_col' values in 'group' @@ -1602,7 +1602,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_07_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_i_07 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_07) # Use a mix of name-value pairs and formula expressions gt_tbl_i_08 <- @@ -1632,7 +1632,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_08_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_i_08 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_08) # Use Tidyselect-style expressions on the LHS gt_tbl_i_09 <- @@ -1662,7 +1662,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_09_stub$group_id, c(rep("grp_a", 4), rep("grp_b", 4), "grp_a", "grp_b")) # Perform snapshot test - gt_tbl_i_09 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_09) # Use mix of Tidyselect-style expressions and vectors on the LHS gt_tbl_i_10 <- @@ -1694,7 +1694,7 @@ test_that("adding rows can be done through the `.list` argument", { expect_equal(tbl_i_10_data$num[10], tbl_i_10_data$currency[10]) # Perform snapshot test - gt_tbl_i_10 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_10) # Use `everything()` to target all columns in a simple table gt_tbl_i_11 <- @@ -1710,7 +1710,7 @@ test_that("adding rows can be done through the `.list` argument", { ) # Perform snapshot test - gt_tbl_i_11 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_i_11) }) test_that("adding rows can only involve columns already present in the table", { @@ -1933,28 +1933,28 @@ test_that("adding rows and styling the table has the intended behavior", { rows_add(num = 2343, .after = "row_3") # Perform several snapshot tests - gt_tbl_style_01 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_02 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_03 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_04 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_05 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_06 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_07 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_08 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_09 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_10 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_11 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_12 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_13 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_14 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_15 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_16 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_17 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_18 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_19 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_20 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_21 %>% render_as_html() %>% expect_snapshot() - gt_tbl_style_22 %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl_style_01) + expect_snapshot_html(gt_tbl_style_02) + expect_snapshot_html(gt_tbl_style_03) + expect_snapshot_html(gt_tbl_style_04) + expect_snapshot_html(gt_tbl_style_05) + expect_snapshot_html(gt_tbl_style_06) + expect_snapshot_html(gt_tbl_style_07) + expect_snapshot_html(gt_tbl_style_08) + expect_snapshot_html(gt_tbl_style_09) + expect_snapshot_html(gt_tbl_style_10) + expect_snapshot_html(gt_tbl_style_11) + expect_snapshot_html(gt_tbl_style_12) + expect_snapshot_html(gt_tbl_style_13) + expect_snapshot_html(gt_tbl_style_14) + expect_snapshot_html(gt_tbl_style_15) + expect_snapshot_html(gt_tbl_style_16) + expect_snapshot_html(gt_tbl_style_17) + expect_snapshot_html(gt_tbl_style_18) + expect_snapshot_html(gt_tbl_style_19) + expect_snapshot_html(gt_tbl_style_20) + expect_snapshot_html(gt_tbl_style_21) + expect_snapshot_html(gt_tbl_style_22) # Expect an error when trying to resolve indices that don't yet exist # (i.e., the order of `rows_add()` and `tab_style()` matters) diff --git a/tests/testthat/test-summary_rows.R b/tests/testthat/test-summary_rows.R index c4e36ea9d..e3e063c3b 100644 --- a/tests/testthat/test-summary_rows.R +++ b/tests/testthat/test-summary_rows.R @@ -424,9 +424,9 @@ test_that("Using `groups = NULL` in `summary_rows()` is a deprecated option", { ) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + expect_snapshot_rtf(summary_tbl_1) # The equivalent of `summary_tbl_1` (and the non-deprecated way) is to # use `grand_summary_rows()` to make a grand summary @@ -462,9 +462,9 @@ test_that("Summary rows can be added to the top of any group", { ) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - # summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + # expect_snapshot_rtf(summary_tbl_1) # Create summary rows for the first group only, place the summary # at the top of the group, and place the group label into it's own @@ -484,9 +484,9 @@ test_that("Summary rows can be added to the top of any group", { tab_options(row_group.as_column = TRUE) # Take snapshots of `summary_tbl_2` - summary_tbl_2 %>% render_as_html() %>% expect_snapshot() - summary_tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - # summary_tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_2) + expect_snapshot_latex(summary_tbl_2) + # expect_snapshot_rtf(summary_tbl_2) # Create summary rows for the first and second groups in separate calls such # that the placement is at the top in the first group and at the bottom in @@ -515,9 +515,9 @@ test_that("Summary rows can be added to the top of any group", { ) # Take snapshots of `summary_tbl_3` - summary_tbl_3 %>% render_as_html() %>% expect_snapshot() - summary_tbl_3 %>% as_latex() %>% as.character() %>% expect_snapshot() - # summary_tbl_3 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_3) + expect_snapshot_latex(summary_tbl_3) + # expect_snapshot_rtf(summary_tbl_3) # Create summary rows for the first and second groups in separate calls such # that the placement is at the top in the first group and at the bottom in @@ -547,9 +547,9 @@ test_that("Summary rows can be added to the top of any group", { tab_options(row_group.as_column = TRUE) # Take snapshots of `summary_tbl_4` - summary_tbl_4 %>% render_as_html() %>% expect_snapshot() - summary_tbl_4 %>% as_latex() %>% as.character() %>% expect_snapshot() - # summary_tbl_4 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_4) + expect_snapshot_latex(summary_tbl_4) + # expect_snapshot_rtf(summary_tbl_4) }) test_that("Grand summary rows can be added to the top of a table", { @@ -568,9 +568,9 @@ test_that("Grand summary rows can be added to the top of a table", { ) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - # summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + # expect_snapshot_rtf(summary_tbl_1) # Create grand summary rows and place them at the top of the table; put # the group label into it's own column in the LHS of stub @@ -588,9 +588,9 @@ test_that("Grand summary rows can be added to the top of a table", { tab_options(row_group.as_column = TRUE) # Take snapshots of `summary_tbl_2` - summary_tbl_2 %>% render_as_html() %>% expect_snapshot() - summary_tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - # summary_tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_2) + expect_snapshot_latex(summary_tbl_2) + # expect_snapshot_rtf(summary_tbl_2) }) test_that("The ordering of groups shouldn't affect group/grand summary calcs", { @@ -1031,9 +1031,9 @@ test_that("Labels can be intrepreted from Markdown using `md()`", { ) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + expect_snapshot_rtf(summary_tbl_1) summary_tbl_2 <- tbl %>% @@ -1047,9 +1047,9 @@ test_that("Labels can be intrepreted from Markdown using `md()`", { ) # Take snapshots of `summary_tbl_2` - summary_tbl_2 %>% render_as_html() %>% expect_snapshot() - summary_tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_2) + expect_snapshot_latex(summary_tbl_2) + expect_snapshot_rtf(summary_tbl_2) }) test_that("Groups can be formatted selectively with a formatting group directive", { @@ -1067,9 +1067,9 @@ test_that("Groups can be formatted selectively with a formatting group directive ) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + expect_snapshot_rtf(summary_tbl_1) summary_tbl_2 <- tbl %>% @@ -1087,9 +1087,9 @@ test_that("Groups can be formatted selectively with a formatting group directive ) # Take snapshots of `summary_tbl_2` - summary_tbl_2 %>% render_as_html() %>% expect_snapshot() - summary_tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_2) + expect_snapshot_latex(summary_tbl_2) + expect_snapshot_rtf(summary_tbl_2) # These summary tables should all be the same (using different ways to # express the same formatting) @@ -1178,9 +1178,9 @@ test_that("Groups can be formatted selectively with a formatting group directive ) # Take snapshots of `summary_tbl_3` - summary_tbl_3 %>% render_as_html() %>% expect_snapshot() - summary_tbl_3 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_3 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_3) + expect_snapshot_latex(summary_tbl_3) + expect_snapshot_rtf(summary_tbl_3) # Equality checks of summary_tbl_[3-9] expect_equal_gt(summary_tbl_3, summary_tbl_4) @@ -1239,9 +1239,9 @@ test_that("Groups can be formatted selectively with a formatting group directive ) # Take snapshots of `summary_tbl_10` - summary_tbl_10 %>% render_as_html() %>% expect_snapshot() - summary_tbl_10 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_10 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_10) + expect_snapshot_latex(summary_tbl_10) + expect_snapshot_rtf(summary_tbl_10) # Equality checks of summary_tbl_[10-13] expect_equal_gt(summary_tbl_10, summary_tbl_11) @@ -1265,9 +1265,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + expect_snapshot_rtf(summary_tbl_1) # Perform formatting twice across two sets of distinct columns summary_tbl_2 <- @@ -1286,9 +1286,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_2` - summary_tbl_2 %>% render_as_html() %>% expect_snapshot() - summary_tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_2) + expect_snapshot_latex(summary_tbl_2) + expect_snapshot_rtf(summary_tbl_2) # Perform formatting across two sets of distinct columns and rows summary_tbl_3 <- @@ -1307,9 +1307,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_3` - summary_tbl_3 %>% render_as_html() %>% expect_snapshot() - summary_tbl_3 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_3 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_3) + expect_snapshot_latex(summary_tbl_3) + expect_snapshot_rtf(summary_tbl_3) # Perform formatting at a single cell (targeting column, row, and group) summary_tbl_4 <- @@ -1327,9 +1327,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_4` - summary_tbl_4 %>% render_as_html() %>% expect_snapshot() - summary_tbl_4 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_4 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_4) + expect_snapshot_latex(summary_tbl_4) + expect_snapshot_rtf(summary_tbl_4) # Perform formatting at two cells (targeting a column, two rows, and a group) summary_tbl_5 <- @@ -1347,9 +1347,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_5` - summary_tbl_5 %>% render_as_html() %>% expect_snapshot() - summary_tbl_5 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_5 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_5) + expect_snapshot_latex(summary_tbl_5) + expect_snapshot_rtf(summary_tbl_5) # Perform formatting at a single column of a single group summary_tbl_6 <- @@ -1367,9 +1367,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_6` - summary_tbl_6 %>% render_as_html() %>% expect_snapshot() - summary_tbl_6 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_6 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_6) + expect_snapshot_latex(summary_tbl_6) + expect_snapshot_rtf(summary_tbl_6) # Perform formatting at two columns of a single group summary_tbl_7 <- @@ -1387,9 +1387,9 @@ test_that("Formatting can be performed on summary cells in certain columns and r ) # Take snapshots of `summary_tbl_7` - summary_tbl_7 %>% render_as_html() %>% expect_snapshot() - summary_tbl_7 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_7 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_7) + expect_snapshot_latex(summary_tbl_7) + expect_snapshot_rtf(summary_tbl_7) # Perform the same summarizing as in `summary_tbl_5` except place the # `rows` argument at the end of the expression @@ -1698,9 +1698,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_1` - summary_tbl_1 %>% render_as_html() %>% expect_snapshot() - summary_tbl_1 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_1 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_1) + expect_snapshot_latex(summary_tbl_1) + expect_snapshot_rtf(summary_tbl_1) # Here the default value of `rowname_col` is set to NULL set that the # `"rowname"` col won't be used as the stub; it exists as a visible column @@ -1721,9 +1721,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_2` - summary_tbl_2 %>% render_as_html() %>% expect_snapshot() - summary_tbl_2 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_2 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_2) + expect_snapshot_latex(summary_tbl_2) + expect_snapshot_rtf(summary_tbl_2) # Here, the `"rowname"` column is prevented from being used in the stub # but the `"group"` column is used to generate row group labels; we have @@ -1754,9 +1754,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_3` - summary_tbl_3 %>% render_as_html() %>% expect_snapshot() - summary_tbl_3 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_3 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_3) + expect_snapshot_latex(summary_tbl_3) + expect_snapshot_rtf(summary_tbl_3) # This table has a stub with values but it is utilizing the `"char"` # column for its labels (`"rowname"` and `"group"` are visible columns) @@ -1776,9 +1776,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_4` - summary_tbl_4 %>% render_as_html() %>% expect_snapshot() - summary_tbl_4 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_4 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_4) + expect_snapshot_latex(summary_tbl_4) + expect_snapshot_rtf(summary_tbl_4) # This table is a slight modification on `summary_tbl_4` in that the # `"group"` column is being used to generate row groups @@ -1806,9 +1806,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_5` - summary_tbl_5 %>% render_as_html() %>% expect_snapshot() - summary_tbl_5 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_5 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_5) + expect_snapshot_latex(summary_tbl_5) + expect_snapshot_rtf(summary_tbl_5) # This table uses the `"rowname"` column to generate rownames in the stub, # and, the `"group"` column is used to form row groups @@ -1836,9 +1836,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_6` - summary_tbl_6 %>% render_as_html() %>% expect_snapshot() - summary_tbl_6 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_6 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_6) + expect_snapshot_latex(summary_tbl_6) + expect_snapshot_rtf(summary_tbl_6) # This table has a single row group and the summary rows are to # be styled via `tab_style()` @@ -1876,9 +1876,9 @@ test_that("Situtations where `rowname` is a column name don't interfere with int tab_options(latex.use_longtable = TRUE) # Take snapshots of `summary_tbl_7` - summary_tbl_7 %>% render_as_html() %>% expect_snapshot() - summary_tbl_7 %>% as_latex() %>% as.character() %>% expect_snapshot() - summary_tbl_7 %>% as_rtf() %>% expect_snapshot() + expect_snapshot_html(summary_tbl_7) + expect_snapshot_latex(summary_tbl_7) + expect_snapshot_rtf(summary_tbl_7) # We should expect no errors or warnings when rendering each of these # tables to the different output formats @@ -1960,7 +1960,7 @@ test_that("Summary rows can be styled comprehensively", { ) # Take a snapshot of `gt_tbl` - gt_tbl %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl) }) test_that("Summary rows can use other columns' data", { @@ -1987,7 +1987,7 @@ test_that("Summary rows can use other columns' data", { ) # Take a snapshot of `gt_tbl` - gt_tbl %>% render_as_html() %>% expect_snapshot() + expect_snapshot_html(gt_tbl) }) test_that("normalize_summary_fns() works with a variety of inputs", {