diff --git a/404.html b/404.html index 0eeb6ba..5a150d9 100644 --- a/404.html +++ b/404.html @@ -20,7 +20,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/articles/HTML.html b/articles/HTML.html index dcf0a1c..86dc5e6 100644 --- a/articles/HTML.html +++ b/articles/HTML.html @@ -20,7 +20,7 @@ tables - 0.9.29 + 0.9.30 @@ -560,12 +560,12 @@ Fine tuning</style>", doCSS = TRUE) tab - + diff --git a/articles/index.html b/articles/index.html index 6a88344..8d94f40 100644 --- a/articles/index.html +++ b/articles/index.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/articles/knitrTables.pdf b/articles/knitrTables.pdf index 3910840..191b689 100644 Binary files a/articles/knitrTables.pdf and b/articles/knitrTables.pdf differ diff --git a/authors.html b/authors.html index 9e8fd7c..e6448d2 100644 --- a/authors.html +++ b/authors.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 @@ -51,13 +51,13 @@ Citation Murdoch D (2024). tables: Formula-Driven Table Generation. -R package version 0.9.29, https://dmurdoch.github.io/tables/. +R package version 0.9.30, https://dmurdoch.github.io/tables/. @Manual{, title = {tables: Formula-Driven Table Generation}, author = {Duncan Murdoch}, year = {2024}, - note = {R package version 0.9.29}, + note = {R package version 0.9.30}, url = {https://dmurdoch.github.io/tables/}, } diff --git a/index.html b/index.html index 9fdfe5c..ed8eac3 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/news/index.html b/news/index.html index 06fa3d6..5294de8 100644 --- a/news/index.html +++ b/news/index.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 @@ -38,8 +38,10 @@ Changelog -tables 0.9.29 +tables 0.9.30 In a few places len was used instead of length.out in calls to rep(), leading to warnings. Similarly, rep was used instead of replace in sample() (issue #28). + +tabular assumed it was on the search list, and didn’t work when called as tables::tabular (issue #30). tables 0.9.28CRAN release: 2024-06-26 diff --git a/pkgdown.yml b/pkgdown.yml index 9599266..304b863 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: HTML: HTML.html knitrTables: knitrTables.pdf -last_built: 2024-08-22T15:46Z +last_built: 2024-08-22T23:17Z 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 4ed3db7..9033f87 100644 --- a/reference/All.html +++ b/reference/All.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/AllObs.html b/reference/AllObs.html index c4100e3..705ba3e 100644 --- a/reference/AllObs.html +++ b/reference/AllObs.html @@ -11,7 +11,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Arguments.html b/reference/Arguments.html index cc05d3e..cf23004 100644 --- a/reference/Arguments.html +++ b/reference/Arguments.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/DropEmpty.html b/reference/DropEmpty.html index a83b321..906b3ed 100644 --- a/reference/DropEmpty.html +++ b/reference/DropEmpty.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Format.html b/reference/Format.html index 19feb66..37564bf 100644 --- a/reference/Format.html +++ b/reference/Format.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/HTMLfootnotes.html b/reference/HTMLfootnotes.html index 5b3a2b5..2353ecf 100644 --- a/reference/HTMLfootnotes.html +++ b/reference/HTMLfootnotes.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Heading.html b/reference/Heading.html index 8490cbb..aae54a2 100644 --- a/reference/Heading.html +++ b/reference/Heading.html @@ -13,7 +13,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Hline.html b/reference/Hline.html index aadf3e8..502aeb2 100644 --- a/reference/Hline.html +++ b/reference/Hline.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Justify.html b/reference/Justify.html index b7764d3..048ae3e 100644 --- a/reference/Justify.html +++ b/reference/Justify.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Literal.html b/reference/Literal.html index 52edff6..d25880b 100644 --- a/reference/Literal.html +++ b/reference/Literal.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Paste.html b/reference/Paste.html index ce320a0..662304c 100644 --- a/reference/Paste.html +++ b/reference/Paste.html @@ -11,7 +11,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/Percent.html b/reference/Percent.html index 8d31d73..55ebffc 100644 --- a/reference/Percent.html +++ b/reference/Percent.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/PlusMinus.html b/reference/PlusMinus.html index c2c3e8c..bfe7ca2 100644 --- a/reference/PlusMinus.html +++ b/reference/PlusMinus.html @@ -11,7 +11,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/RowFactor.html b/reference/RowFactor.html index eee50f5..d7eb614 100644 --- a/reference/RowFactor.html +++ b/reference/RowFactor.html @@ -15,7 +15,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/as.matrix.tabular.html b/reference/as.matrix.tabular.html index dab7a5a..1889b81 100644 --- a/reference/as.matrix.tabular.html +++ b/reference/as.matrix.tabular.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/as.tabular.html b/reference/as.tabular.html index fccd40c..21da52d 100644 --- a/reference/as.tabular.html +++ b/reference/as.tabular.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/html.tabular.html b/reference/html.tabular.html index a625464..66e6a00 100644 --- a/reference/html.tabular.html +++ b/reference/html.tabular.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/index.html b/reference/index.html index 17d231b..b1d4eb8 100644 --- a/reference/index.html +++ b/reference/index.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/knit_print.tabular.html b/reference/knit_print.tabular.html index 42f5301..ef7eda4 100644 --- a/reference/knit_print.tabular.html +++ b/reference/knit_print.tabular.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/labelSubset.html b/reference/labelSubset.html index 1dc91ef..29b7935 100644 --- a/reference/labelSubset.html +++ b/reference/labelSubset.html @@ -11,7 +11,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/labels.html b/reference/labels.html index e426052..8593885 100644 --- a/reference/labels.html +++ b/reference/labels.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/latex.tabular.html b/reference/latex.tabular.html index ef442fa..727a952 100644 --- a/reference/latex.tabular.html +++ b/reference/latex.tabular.html @@ -11,7 +11,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/latexNumeric.html b/reference/latexNumeric.html index 71c1784..06705f7 100644 --- a/reference/latexNumeric.html +++ b/reference/latexNumeric.html @@ -13,7 +13,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/latexTable.html b/reference/latexTable.html index 5b7ec00..9e9c943 100644 --- a/reference/latexTable.html +++ b/reference/latexTable.html @@ -15,7 +15,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/matrix_form.tabular.html b/reference/matrix_form.tabular.html index f1f74cd..5c59f4b 100644 --- a/reference/matrix_form.tabular.html +++ b/reference/matrix_form.tabular.html @@ -9,7 +9,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/table_options.html b/reference/table_options.html index f8e42b4..08a2f7b 100644 --- a/reference/table_options.html +++ b/reference/table_options.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/tabular.html b/reference/tabular.html index d4536da..3650efa 100644 --- a/reference/tabular.html +++ b/reference/tabular.html @@ -7,7 +7,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/toKable.html b/reference/toKable.html index f3f69ea..c9996ba 100644 --- a/reference/toKable.html +++ b/reference/toKable.html @@ -13,7 +13,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/toTinytable.html b/reference/toTinytable.html index 4b94914..9ab2a14 100644 --- a/reference/toTinytable.html +++ b/reference/toTinytable.html @@ -13,7 +13,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/useGroupLabels.html b/reference/useGroupLabels.html index d3ffafd..f5f7c09 100644 --- a/reference/useGroupLabels.html +++ b/reference/useGroupLabels.html @@ -13,7 +13,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/reference/write.csv.tabular.html b/reference/write.csv.tabular.html index 1cb8731..dc1b9e4 100644 --- a/reference/write.csv.tabular.html +++ b/reference/write.csv.tabular.html @@ -11,7 +11,7 @@ tables - 0.9.29 + 0.9.30 diff --git a/search.json b/search.json index cd06f03..6c465a9 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, replace = 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.29, https://dmurdoch.github.io/tables/. +R package version 0.9.30, https://dmurdoch.github.io/tables/.
@Manual{, title = {tables: Formula-Driven Table Generation}, author = {Duncan Murdoch}, year = {2024}, - note = {R package version 0.9.29}, + note = {R package version 0.9.30}, url = {https://dmurdoch.github.io/tables/}, }
len
length.out
rep()
rep
replace
sample()
tabular
tables::tabular
CRAN release: 2024-06-26