diff --git a/404.html b/404.html index cd2b784..bccedd3 100644 --- a/404.html +++ b/404.html @@ -24,7 +24,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/articles/HTML.html b/articles/HTML.html index e545d78..6454847 100644 --- a/articles/HTML.html +++ b/articles/HTML.html @@ -26,7 +26,7 @@ tables - 0.9.26 + 0.9.27 @@ -575,12 +575,12 @@ Fine tuning</style>", doCSS = TRUE) tab - + diff --git a/articles/index.html b/articles/index.html index 4d58949..9022f48 100644 --- a/articles/index.html +++ b/articles/index.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/articles/knitrTables.pdf b/articles/knitrTables.pdf index d12f370..93d62a7 100644 Binary files a/articles/knitrTables.pdf and b/articles/knitrTables.pdf differ diff --git a/authors.html b/authors.html index 23e0db2..a0b0a6d 100644 --- a/authors.html +++ b/authors.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 @@ -65,13 +65,13 @@ Citation Murdoch D (2024). tables: Formula-Driven Table Generation. -R package version 0.9.26, https://dmurdoch.github.io/tables/. +R package version 0.9.27, https://dmurdoch.github.io/tables/. @Manual{, title = {tables: Formula-Driven Table Generation}, author = {Duncan Murdoch}, year = {2024}, - note = {R package version 0.9.26}, + note = {R package version 0.9.27}, url = {https://dmurdoch.github.io/tables/}, } diff --git a/index.html b/index.html index e990335..6651e52 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/news/index.html b/news/index.html index 7f287e4..fe272cb 100644 --- a/news/index.html +++ b/news/index.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 @@ -52,9 +52,10 @@ -tables 0.9.26 +tables 0.9.27 A factor level of "" caused an error when displayed. It will now be changed to " " for display (issue #19). The VignetteBuilder field in DESCRIPTION has been changed to rmarkdown so that Pandoc can be found even when it is not on the PATH. +Another minor update due to changes to the formatters package. tables 0.9.25CRAN release: 2024-04-13 diff --git a/pkgdown.yml b/pkgdown.yml index 8d7b936..702529c 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: HTML: HTML.html knitrTables: knitrTables.pdf -last_built: 2024-06-04T08:28Z +last_built: 2024-06-25T14:33Z urls: reference: https://dmurdoch.github.io/tables/reference article: https://dmurdoch.github.io/tables/articles diff --git a/reference/All.html b/reference/All.html index ae155a3..5bd4e2e 100644 --- a/reference/All.html +++ b/reference/All.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/AllObs.html b/reference/AllObs.html index d7a578a..02d1299 100644 --- a/reference/AllObs.html +++ b/reference/AllObs.html @@ -14,7 +14,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Arguments.html b/reference/Arguments.html index e92f932..21e00ae 100644 --- a/reference/Arguments.html +++ b/reference/Arguments.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/DropEmpty.html b/reference/DropEmpty.html index 0bef89c..4986600 100644 --- a/reference/DropEmpty.html +++ b/reference/DropEmpty.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Format.html b/reference/Format.html index 001fbbc..6a72d81 100644 --- a/reference/Format.html +++ b/reference/Format.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/HTMLfootnotes.html b/reference/HTMLfootnotes.html index 6e08ca6..00a6969 100644 --- a/reference/HTMLfootnotes.html +++ b/reference/HTMLfootnotes.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Heading.html b/reference/Heading.html index 7b082c9..31ce6b7 100644 --- a/reference/Heading.html +++ b/reference/Heading.html @@ -16,7 +16,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Hline.html b/reference/Hline.html index b8d99b8..6d479cf 100644 --- a/reference/Hline.html +++ b/reference/Hline.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Justify.html b/reference/Justify.html index 768fbe7..0545b8f 100644 --- a/reference/Justify.html +++ b/reference/Justify.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Literal.html b/reference/Literal.html index f794ede..b406518 100644 --- a/reference/Literal.html +++ b/reference/Literal.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Paste.html b/reference/Paste.html index eb0e2eb..7d9bf7b 100644 --- a/reference/Paste.html +++ b/reference/Paste.html @@ -14,7 +14,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/Percent.html b/reference/Percent.html index c3c1423..7f89319 100644 --- a/reference/Percent.html +++ b/reference/Percent.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/PlusMinus.html b/reference/PlusMinus.html index 202d329..2ca74b9 100644 --- a/reference/PlusMinus.html +++ b/reference/PlusMinus.html @@ -14,7 +14,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/RowFactor.html b/reference/RowFactor.html index 69e2b30..cc5e7f5 100644 --- a/reference/RowFactor.html +++ b/reference/RowFactor.html @@ -18,7 +18,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/as.matrix.tabular.html b/reference/as.matrix.tabular.html index 3e3bffa..e9c4cb6 100644 --- a/reference/as.matrix.tabular.html +++ b/reference/as.matrix.tabular.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/as.tabular.html b/reference/as.tabular.html index 320c22b..2e030ef 100644 --- a/reference/as.tabular.html +++ b/reference/as.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/html.tabular.html b/reference/html.tabular.html index d5c3955..59cb091 100644 --- a/reference/html.tabular.html +++ b/reference/html.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/index.html b/reference/index.html index 2f4ad9e..1dd6089 100644 --- a/reference/index.html +++ b/reference/index.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/knit_print.tabular.html b/reference/knit_print.tabular.html index 6808ab4..be00740 100644 --- a/reference/knit_print.tabular.html +++ b/reference/knit_print.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/labelSubset.html b/reference/labelSubset.html index ffcacf6..72da8eb 100644 --- a/reference/labelSubset.html +++ b/reference/labelSubset.html @@ -14,7 +14,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/labels.html b/reference/labels.html index 6f4d105..66bc676 100644 --- a/reference/labels.html +++ b/reference/labels.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/latex.tabular.html b/reference/latex.tabular.html index 1b44d36..f3c3dd3 100644 --- a/reference/latex.tabular.html +++ b/reference/latex.tabular.html @@ -14,7 +14,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/latexNumeric.html b/reference/latexNumeric.html index e37ab8c..1432a3f 100644 --- a/reference/latexNumeric.html +++ b/reference/latexNumeric.html @@ -16,7 +16,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/latexTable.html b/reference/latexTable.html index da6ab1b..14dd4af 100644 --- a/reference/latexTable.html +++ b/reference/latexTable.html @@ -18,7 +18,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/matrix_form.tabular.html b/reference/matrix_form.tabular.html index 5508628..2b2f0fb 100644 --- a/reference/matrix_form.tabular.html +++ b/reference/matrix_form.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.26 + 0.9.27 @@ -114,8 +114,14 @@ Examples } # This gives the breaks by columns, counting the - # row label columns: - bycol <- formatters::vert_pag_indices(mform, cpp = 30, rep_cols = 2) + # row label columns. + # The formatters::vert_pag_indices function had an incompatible + # change in v0.5.8 + if ("fontspec" %in% names(formals(formatters::vert_pag_indices))) + bycol <- formatters::vert_pag_indices(mform, cpp = 30, rep_cols = 2, + fontspec = NULL) + else + bycol <- formatters::vert_pag_indices(mform, cpp = 30, rep_cols = 2) # Display the table with both kinds of breaks for (i in seq_along(byrow)) { rows <- byrow[[i]] diff --git a/reference/table_options.html b/reference/table_options.html index 3d3fef0..f3935f9 100644 --- a/reference/table_options.html +++ b/reference/table_options.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/tabular.html b/reference/tabular.html index 221d061..a5ff921 100644 --- a/reference/tabular.html +++ b/reference/tabular.html @@ -10,7 +10,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/toKable.html b/reference/toKable.html index 2a4eded..1661da9 100644 --- a/reference/toKable.html +++ b/reference/toKable.html @@ -16,7 +16,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/toTinytable.html b/reference/toTinytable.html index 042d14c..2a3708c 100644 --- a/reference/toTinytable.html +++ b/reference/toTinytable.html @@ -16,7 +16,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/useGroupLabels.html b/reference/useGroupLabels.html index 3f3eeb9..3eb9e6e 100644 --- a/reference/useGroupLabels.html +++ b/reference/useGroupLabels.html @@ -16,7 +16,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/reference/write.csv.tabular.html b/reference/write.csv.tabular.html index a672ec0..a80a724 100644 --- a/reference/write.csv.tabular.html +++ b/reference/write.csv.tabular.html @@ -14,7 +14,7 @@ tables - 0.9.26 + 0.9.27 diff --git a/search.json b/search.json index 56bb816..3ae01f6 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"initializing","dir":"Articles","previous_headings":"","what":"Initializing","title":"HTML Tables","text":"First, need load tables. Packages uses print banner messages, ’ll usually want set chunk option message=FALSE. table now constructed usual way. R Markdown document, don’t want table output HTML document header, turn options:","code":"library(tables) X <- rnorm(125, sd=100) Group <- factor(sample(letters[1:5], 125, rep=TRUE)) tab <- tabular( Group ~ (N=1)+Format(digits=2)*X*((Mean=mean) + Heading(\"Std Dev\")*sd) ) table_options(htmloptions(head=FALSE))"},{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"inserting-a-table","dir":"Articles","previous_headings":"","what":"Inserting a Table","title":"HTML Tables","text":"two ways insert table knitr/rmarkdown document. Since tables version 0.8.4, can just print object, automatically formatted according current table_options(): previous behaviour required explicit call toHTML() function, knitr option results = 'asis' chunk. require older method, use table_options(knit_print = FALSE): either case, styling information needs included document. Ideally header, can inserted anywhere calling writeCSS results = 'asis':","code":"tab table_options(knit_print = FALSE) tab # This chunk uses the default results = 'markup' ## ## X ## Group N Mean Std Dev ## a 20 -30.9 88.6 ## b 33 4.2 130.8 ## c 21 37.8 97.4 ## d 28 15.3 107.5 ## e 23 -1.4 67.1 toHTML(tab) # This chunk uses results = 'asis' writeCSS()"},{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"improving-the-look","dir":"Articles","previous_headings":"","what":"Improving the Look","title":"HTML Tables","text":"default justification makes columns numbers look messy. can set justification right, headers look wrong: best look comes pad = TRUE option. adds nonbreaking spaces around numbers centering looks good. also changes hyphens proper minus signs: Unfortunately, cut table paste spreadsheet, spaces minus signs probably won’t understood. don’t know get everything want :-(.","code":"table_options(htmloptions(head = FALSE, justification = \"r\", knit_print = TRUE)) tab table_options(htmloptions(head = FALSE, justification = \"c\", pad = TRUE)) tab"},{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"fine-tuning","dir":"Articles","previous_headings":"","what":"Fine tuning","title":"HTML Tables","text":"document uses default CSS table_options()$CSS. producing html_document, okay. look quite right slidy_presentation, good ioslides_presentation. Furthermore, might agree design choices. cases, substitute CSS. need modify default one, can use CSS argument writeCSS(), set new default table_options(). default setting: Note #ID values replaced id string given writeCSS(), toHTML() corresponding argument allow make changes one specific table. using newer form display table_options(knit_print = TRUE), can get customized display one table also using table_options(doCSS = TRUE). example,","code":"
Murdoch D (2024). tables: Formula-Driven Table Generation. -R package version 0.9.26, https://dmurdoch.github.io/tables/. +R package version 0.9.27, https://dmurdoch.github.io/tables/.
@Manual{, title = {tables: Formula-Driven Table Generation}, author = {Duncan Murdoch}, year = {2024}, - note = {R package version 0.9.26}, + note = {R package version 0.9.27}, url = {https://dmurdoch.github.io/tables/}, }
""
" "
VignetteBuilder
DESCRIPTION
rmarkdown
PATH
formatters
CRAN release: 2024-04-13