Skip to content

Commit

Permalink
Deploying to gh-pages from @ 0e24dad 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jul 6, 2024
1 parent 04ea084 commit e16bb57
Show file tree
Hide file tree
Showing 46 changed files with 1,405 additions and 1,414 deletions.
19 changes: 4 additions & 15 deletions CITATION.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,21 +344,10 @@ <h2 id="toc-title">On this page</h2>

<section id="citation" class="level1">
<h1>Citation</h1>
<pre class="verbatim"><code>To cite package ‘tinytable’ in publications use:

Arel-Bundock V (????). _tinytable: Simple and Configurable Tables in
'HTML', 'LaTeX', 'Markdown', 'Word', 'PNG', 'PDF', and 'Typst'
Formats_. R package version 0.3.0.23,
&lt;https://vincentarelbundock.github.io/tinytable/&gt;.

A BibTeX entry for LaTeX users is

@Manual{,
title = {tinytable: Simple and Configurable Tables in 'HTML', 'LaTeX', 'Markdown', 'Word', 'PNG', 'PDF', and 'Typst' Formats},
author = {Vincent Arel-Bundock},
note = {R package version 0.3.0.23},
url = {https://vincentarelbundock.github.io/tinytable/},
}</code></pre>
<p>To cite package ‘tinytable’ in publications use:</p>
<p>
Arel-Bundock V (????). <em>tinytable: Simple and Configurable Tables in ‘HTML’, ‘LaTeX’, ‘Markdown’, ‘Word’, ‘PNG’, ‘PDF’, and ‘Typst’ Formats</em>. R package version 0.3.0.24, <a href="https://vincentarelbundock.github.io/tinytable/">https://vincentarelbundock.github.io/tinytable/</a>.
</p>


</section>
Expand Down
2 changes: 2 additions & 0 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,15 @@ <h3 class="anchored" data-anchor-id="breaking-change">Breaking change</h3>
<section id="general" class="level3">
<h3 class="anchored" data-anchor-id="general">General</h3>
<ul>
<li>Support Viewer Pane in Positron IDE. Thank to <a href="https://github.com/kylebutts"><span class="citation" data-cites="kylebutts">@kylebutts</span></a> for code contribution in PR <a href="https://github.com/vincentarelbundock/tinytable/issues/299">#299</a>.</li>
<li>Improved documentation.</li>
<li><code>format_tt(markdown=TRUE)</code> escapes groups and notes when <code>i</code> and <code>j</code> are <code>NULL</code>.</li>
<li><code>plot_tt()</code>: The <code>height</code> argument is now respected in Markdown and Word documents.</li>
<li><code>group_tt()</code> allows 0 and duplicates in <code>i</code> argument for labels in the first row and consecutive labels.</li>
<li>Headers are now styled and formatted when <code>i=NULL</code>.</li>
<li><code>colnames(x)&lt;-NULL</code> works on a <code>tinytable</code> object.</li>
<li><code>format_tt(num_big_mark)</code> applies to integer columns.</li>
<li>Use <code>getOption("viewer")</code> instead of <code>rstudioapi::viewer()</code> for positron support</li>
</ul>
</section>
<section id="html" class="level3">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ <h2 class="anchored" data-anchor-id="first-steps">First steps</h2>
</section>
<section id="tutorial" class="level2">
<h2 class="anchored" data-anchor-id="tutorial">Tutorial</h2>
<p>The <code>tinytable</code> 0.3.0.23 tutorial will take you much further. It is available in two formats:</p>
<p>The <code>tinytable</code> 0.3.0.24 tutorial will take you much further. It is available in two formats:</p>
<ul>
<li><a href="https://vincentarelbundock.github.io/tinytable/vignettes/tinytable_tutorial.pdf">Tutorial (PDF)</a></li>
<li>Tutorial (HTML):
Expand Down
138 changes: 69 additions & 69 deletions man/format_tt.html

Large diffs are not rendered by default.

160 changes: 80 additions & 80 deletions man/group_tt.html

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions man/rbind2-tinytable-tinytable-method.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ <h3 class="anchored" data-anchor-id="details">Details</h3>
<section id="examples" class="level3">
<h3 class="anchored" data-anchor-id="examples">Examples</h3>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tinytable)</span>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(<span class="st">"tinytable"</span>)</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tinytable)</span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a>x <span class="ot">=</span> <span class="fu">tt</span>(mtcars[<span class="dv">1</span><span class="sc">:</span><span class="dv">3</span>, <span class="dv">1</span><span class="sc">:</span><span class="dv">2</span>], <span class="at">caption =</span> <span class="st">"Combine two tiny tables."</span>)</span>
Expand All @@ -483,24 +483,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_tinytable_rpyrkml87ff0fxoo4ji6(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_tyi1470coh8jy30xpnav");
function styleCell_tinytable_ds05eqslcheetnb4vcwj(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_yz37e99ewae0tvsluu38");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_tyi1470coh8jy30xpnav');
var table = document.getElementById('tinytable_yz37e99ewae0tvsluu38');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_rpyrkml87ff0fxoo4ji6(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_tyi1470coh8jy30xpnav");
function spanCell_tinytable_ds05eqslcheetnb4vcwj(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_yz37e99ewae0tvsluu38");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -529,19 +529,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_bc22s5pgcpj1a31o9hro'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_m14g891ql3p8e86v2p6r'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_rpyrkml87ff0fxoo4ji6('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_ds05eqslcheetnb4vcwj('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_bc22s5pgcpj1a31o9hro, .table th.tinytable_css_bc22s5pgcpj1a31o9hro { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_m14g891ql3p8e86v2p6r, .table th.tinytable_css_m14g891ql3p8e86v2p6r { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_tyi1470coh8jy30xpnav" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_yz37e99ewae0tvsluu38" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -606,24 +606,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_tinytable_utzkusrzlmd6o8jocc5i(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_wna0udmh16lwpz9wqloq");
function styleCell_tinytable_9svy8spdqd9c92fjfu3l(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_kpz0vz4asplsuud4h1lq");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_wna0udmh16lwpz9wqloq');
var table = document.getElementById('tinytable_kpz0vz4asplsuud4h1lq');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_utzkusrzlmd6o8jocc5i(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_wna0udmh16lwpz9wqloq");
function spanCell_tinytable_9svy8spdqd9c92fjfu3l(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_kpz0vz4asplsuud4h1lq");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -652,19 +652,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_ruut7gk1wjivacibs6hg'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_nla8hrc459holf3xt2mj'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_utzkusrzlmd6o8jocc5i('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_9svy8spdqd9c92fjfu3l('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_ruut7gk1wjivacibs6hg, .table th.tinytable_css_ruut7gk1wjivacibs6hg { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_nla8hrc459holf3xt2mj, .table th.tinytable_css_nla8hrc459holf3xt2mj { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_wna0udmh16lwpz9wqloq" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_kpz0vz4asplsuud4h1lq" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -730,24 +730,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_tinytable_33sq0xc83mmcp1r3vbnd(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_7tv3zb0st5akgjqxjxlg");
function styleCell_tinytable_c6pdb3ddmsmq1sywfxhb(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_bdoltwe3ebld8jucspp0");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_7tv3zb0st5akgjqxjxlg');
var table = document.getElementById('tinytable_bdoltwe3ebld8jucspp0');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_33sq0xc83mmcp1r3vbnd(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_7tv3zb0st5akgjqxjxlg");
function spanCell_tinytable_c6pdb3ddmsmq1sywfxhb(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_bdoltwe3ebld8jucspp0");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -776,19 +776,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_86uvgonexrmc3xgcwkby'},
{coords: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4]], class: 'tinytable_css_n68pygdpyrpv2m3wk5sp'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_33sq0xc83mmcp1r3vbnd('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_c6pdb3ddmsmq1sywfxhb('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_86uvgonexrmc3xgcwkby, .table th.tinytable_css_86uvgonexrmc3xgcwkby { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_n68pygdpyrpv2m3wk5sp, .table th.tinytable_css_n68pygdpyrpv2m3wk5sp { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_7tv3zb0st5akgjqxjxlg" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_bdoltwe3ebld8jucspp0" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -847,24 +847,24 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_tinytable_65bwak7r6ct5y7vimlnl(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_7ju3nl0464stx4gopa90");
function styleCell_tinytable_xgkghlcjq75lp07nqmvm(tableId, cellCoordinates, cssClass) {
var table = document.getElementById("tinytable_wgro3gr4ebu7cvrxxcbd");
cellCoordinates.forEach(([i, j]) => {
table.rows[i].cells[j].classList.add(cssClass);
});
}

function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_7ju3nl0464stx4gopa90');
var table = document.getElementById('tinytable_wgro3gr4ebu7cvrxxcbd');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
// newCell.innerText = content;
// this may be unsafe, but innerText does not interpret <br>
newCell.innerHTML = content;
}
function spanCell_tinytable_65bwak7r6ct5y7vimlnl(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_7ju3nl0464stx4gopa90");
function spanCell_tinytable_xgkghlcjq75lp07nqmvm(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_wgro3gr4ebu7cvrxxcbd");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -893,19 +893,19 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

window.addEventListener('load', function () {
const cellStyles = [
{coords: [[0, 0], [0, 1], [0, 2]], class: 'tinytable_css_8txt4qtyaf3zpo7519d7'},
{coords: [[0, 0], [0, 1], [0, 2]], class: 'tinytable_css_eqsx3magvsbzohkbo3d3'},
];
cellStyles.forEach(({coords, class: cssClass}) => {
styleCell_tinytable_65bwak7r6ct5y7vimlnl('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
styleCell_tinytable_xgkghlcjq75lp07nqmvm('tinytable_szxl8eb7ubljmabuxmyx', coords, cssClass);
});
});
</script>

<style>
.table td.tinytable_css_8txt4qtyaf3zpo7519d7, .table th.tinytable_css_8txt4qtyaf3zpo7519d7 { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_eqsx3magvsbzohkbo3d3, .table th.tinytable_css_eqsx3magvsbzohkbo3d3 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_7ju3nl0464stx4gopa90" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_wgro3gr4ebu7cvrxxcbd" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down
2 changes: 1 addition & 1 deletion man/save_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ <h3 class="anchored" data-anchor-id="value">Value</h3>
<section id="examples" class="level3">
<h3 class="anchored" data-anchor-id="examples">Examples</h3>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tinytable)</span>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(<span class="st">"tinytable"</span>)</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tinytable)</span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a>x <span class="ot">&lt;-</span> mtcars[<span class="dv">1</span><span class="sc">:</span><span class="dv">4</span>, <span class="dv">1</span><span class="sc">:</span><span class="dv">5</span>]</span>
Expand Down
2 changes: 1 addition & 1 deletion man/style_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ <h3 class="anchored" data-anchor-id="latex-preamble">LaTeX preamble</h3>
<section id="examples" class="level3">
<h3 class="anchored" data-anchor-id="examples">Examples</h3>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tinytable)</span>
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(<span class="st">"tinytable"</span>)</span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a></span>
Expand Down
Loading

0 comments on commit e16bb57

Please sign in to comment.