Skip to content

Commit

Permalink
Deploying to gh-pages from @ 85d5756 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Aug 25, 2024
1 parent 7d1da8f commit d1d94ed
Show file tree
Hide file tree
Showing 46 changed files with 2,200 additions and 2,054 deletions.
2 changes: 1 addition & 1 deletion CITATION.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ <h2 id="toc-title">On this page</h2>
<h1>Citation</h1>
<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.4.0, <a href="https://vincentarelbundock.github.io/tinytable/">https://vincentarelbundock.github.io/tinytable/</a>.
Arel-Bundock V (????). <em>tinytable: Simple and Configurable Tables in ‘HTML’, ‘LaTeX’, ‘Markdown’, ‘Word’, ‘PNG’, ‘PDF’, and ‘Typst’ Formats</em>. R package version 0.4.0.1, <a href="https://vincentarelbundock.github.io/tinytable/">https://vincentarelbundock.github.io/tinytable/</a>.
</p>


Expand Down
7 changes: 7 additions & 0 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ <h2 id="toc-title">On this page</h2>
<ul>
<li><a href="#news" id="toc-news" class="nav-link active" data-scroll-target="#news">News</a>
<ul class="collapse">
<li><a href="#development" id="toc-development" class="nav-link" data-scroll-target="#development">Development</a></li>
<li><a href="#section" id="toc-section" class="nav-link" data-scroll-target="#section">0.4.0</a>
<ul class="collapse">
<li><a href="#breaking-change" id="toc-breaking-change" class="nav-link" data-scroll-target="#breaking-change">Breaking change</a></li>
Expand Down Expand Up @@ -370,6 +371,12 @@ <h2 id="toc-title">On this page</h2>

<section id="news" class="level1">
<h1>News</h1>
<section id="development" class="level2">
<h2 class="anchored" data-anchor-id="development">Development</h2>
<ul>
<li>The <code>i</code> argument in <code>style_tt()</code> now accepts a logical matrix of same dimensions as <code>x</code>, to style specific cells, rather than all combinations of <code>i</code> and <code>j</code> vectors. Thanks to <a href="https://github.com/dhicks"><span class="citation" data-cites="dhicks">@dhicks</span></a> for the feature request <a href="https://github.com/vincentarelbundock/tinytable/issues/329">#329</a>.</li>
</ul>
</section>
<section id="section" class="level2">
<h2 class="anchored" data-anchor-id="section">0.4.0</h2>
<section id="breaking-change" class="level3">
Expand Down
Binary file modified freeze.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,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.4.0 tutorial will take you much further. It is available in two formats:</p>
<p>The <code>tinytable</code> 0.4.0.1 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
132 changes: 66 additions & 66 deletions man/format_tt.html

Large diffs are not rendered by default.

246 changes: 123 additions & 123 deletions man/group_tt.html

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions man/rbind2-tinytable-tinytable-method.html
Original file line number Diff line number Diff line change
Expand Up @@ -487,21 +487,21 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_o4h7t7yufl5fco6xhovr(i, j, css_id) {
var table = document.getElementById("tinytable_o4h7t7yufl5fco6xhovr");
function styleCell_tujz3lyrh10z6rhqrerj(i, j, css_id) {
var table = document.getElementById("tinytable_tujz3lyrh10z6rhqrerj");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_o4h7t7yufl5fco6xhovr');
var table = document.getElementById('tinytable_tujz3lyrh10z6rhqrerj');
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_o4h7t7yufl5fco6xhovr(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_o4h7t7yufl5fco6xhovr");
function spanCell_tujz3lyrh10z6rhqrerj(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_tujz3lyrh10z6rhqrerj");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand All @@ -527,18 +527,18 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
targetCell.rowSpan = rowspan;
targetCell.colSpan = colspan;
}
window.addEventListener('load', function () { styleCell_o4h7t7yufl5fco6xhovr(0, 0, 'tinytable_css_id3vyj2m6hamrax0s4u99v') })
window.addEventListener('load', function () { styleCell_o4h7t7yufl5fco6xhovr(0, 1, 'tinytable_css_id3vyj2m6hamrax0s4u99v') })
window.addEventListener('load', function () { styleCell_o4h7t7yufl5fco6xhovr(0, 2, 'tinytable_css_id3vyj2m6hamrax0s4u99v') })
window.addEventListener('load', function () { styleCell_o4h7t7yufl5fco6xhovr(0, 3, 'tinytable_css_id3vyj2m6hamrax0s4u99v') })
window.addEventListener('load', function () { styleCell_o4h7t7yufl5fco6xhovr(0, 4, 'tinytable_css_id3vyj2m6hamrax0s4u99v') })
window.addEventListener('load', function () { styleCell_tujz3lyrh10z6rhqrerj(0, 0, 'tinytable_css_id0t5yvjdkczukop2289u4') })
window.addEventListener('load', function () { styleCell_tujz3lyrh10z6rhqrerj(0, 1, 'tinytable_css_id0t5yvjdkczukop2289u4') })
window.addEventListener('load', function () { styleCell_tujz3lyrh10z6rhqrerj(0, 2, 'tinytable_css_id0t5yvjdkczukop2289u4') })
window.addEventListener('load', function () { styleCell_tujz3lyrh10z6rhqrerj(0, 3, 'tinytable_css_id0t5yvjdkczukop2289u4') })
window.addEventListener('load', function () { styleCell_tujz3lyrh10z6rhqrerj(0, 4, 'tinytable_css_id0t5yvjdkczukop2289u4') })
</script>

<style>
.table td.tinytable_css_id3vyj2m6hamrax0s4u99v, .table th.tinytable_css_id3vyj2m6hamrax0s4u99v { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_id0t5yvjdkczukop2289u4, .table th.tinytable_css_id0t5yvjdkczukop2289u4 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_o4h7t7yufl5fco6xhovr" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_tujz3lyrh10z6rhqrerj" 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 @@ -603,21 +603,21 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_lz8qbduywfwyy38nir4x(i, j, css_id) {
var table = document.getElementById("tinytable_lz8qbduywfwyy38nir4x");
function styleCell_0ux9s4l8gk3zj77smxhq(i, j, css_id) {
var table = document.getElementById("tinytable_0ux9s4l8gk3zj77smxhq");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_lz8qbduywfwyy38nir4x');
var table = document.getElementById('tinytable_0ux9s4l8gk3zj77smxhq');
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_lz8qbduywfwyy38nir4x(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_lz8qbduywfwyy38nir4x");
function spanCell_0ux9s4l8gk3zj77smxhq(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_0ux9s4l8gk3zj77smxhq");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand All @@ -643,18 +643,18 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
targetCell.rowSpan = rowspan;
targetCell.colSpan = colspan;
}
window.addEventListener('load', function () { styleCell_lz8qbduywfwyy38nir4x(0, 0, 'tinytable_css_idcjxok7s8l83n39jtbnny') })
window.addEventListener('load', function () { styleCell_lz8qbduywfwyy38nir4x(0, 1, 'tinytable_css_idcjxok7s8l83n39jtbnny') })
window.addEventListener('load', function () { styleCell_lz8qbduywfwyy38nir4x(0, 2, 'tinytable_css_idcjxok7s8l83n39jtbnny') })
window.addEventListener('load', function () { styleCell_lz8qbduywfwyy38nir4x(0, 3, 'tinytable_css_idcjxok7s8l83n39jtbnny') })
window.addEventListener('load', function () { styleCell_lz8qbduywfwyy38nir4x(0, 4, 'tinytable_css_idcjxok7s8l83n39jtbnny') })
window.addEventListener('load', function () { styleCell_0ux9s4l8gk3zj77smxhq(0, 0, 'tinytable_css_id1trjr9u3v3xxgr4alnhl') })
window.addEventListener('load', function () { styleCell_0ux9s4l8gk3zj77smxhq(0, 1, 'tinytable_css_id1trjr9u3v3xxgr4alnhl') })
window.addEventListener('load', function () { styleCell_0ux9s4l8gk3zj77smxhq(0, 2, 'tinytable_css_id1trjr9u3v3xxgr4alnhl') })
window.addEventListener('load', function () { styleCell_0ux9s4l8gk3zj77smxhq(0, 3, 'tinytable_css_id1trjr9u3v3xxgr4alnhl') })
window.addEventListener('load', function () { styleCell_0ux9s4l8gk3zj77smxhq(0, 4, 'tinytable_css_id1trjr9u3v3xxgr4alnhl') })
</script>

<style>
.table td.tinytable_css_idcjxok7s8l83n39jtbnny, .table th.tinytable_css_idcjxok7s8l83n39jtbnny { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_id1trjr9u3v3xxgr4alnhl, .table th.tinytable_css_id1trjr9u3v3xxgr4alnhl { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_lz8qbduywfwyy38nir4x" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_0ux9s4l8gk3zj77smxhq" 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 @@ -720,21 +720,21 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_iboytmt4189hfl8r4b3h(i, j, css_id) {
var table = document.getElementById("tinytable_iboytmt4189hfl8r4b3h");
function styleCell_nvomyudlid21b4plh0zh(i, j, css_id) {
var table = document.getElementById("tinytable_nvomyudlid21b4plh0zh");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_iboytmt4189hfl8r4b3h');
var table = document.getElementById('tinytable_nvomyudlid21b4plh0zh');
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_iboytmt4189hfl8r4b3h(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_iboytmt4189hfl8r4b3h");
function spanCell_nvomyudlid21b4plh0zh(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_nvomyudlid21b4plh0zh");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand All @@ -760,18 +760,18 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
targetCell.rowSpan = rowspan;
targetCell.colSpan = colspan;
}
window.addEventListener('load', function () { styleCell_iboytmt4189hfl8r4b3h(0, 0, 'tinytable_css_idzwzmxvgffnxudblaqc83') })
window.addEventListener('load', function () { styleCell_iboytmt4189hfl8r4b3h(0, 1, 'tinytable_css_idzwzmxvgffnxudblaqc83') })
window.addEventListener('load', function () { styleCell_iboytmt4189hfl8r4b3h(0, 2, 'tinytable_css_idzwzmxvgffnxudblaqc83') })
window.addEventListener('load', function () { styleCell_iboytmt4189hfl8r4b3h(0, 3, 'tinytable_css_idzwzmxvgffnxudblaqc83') })
window.addEventListener('load', function () { styleCell_iboytmt4189hfl8r4b3h(0, 4, 'tinytable_css_idzwzmxvgffnxudblaqc83') })
window.addEventListener('load', function () { styleCell_nvomyudlid21b4plh0zh(0, 0, 'tinytable_css_idxu38dipbt0bp9k6z4jcm') })
window.addEventListener('load', function () { styleCell_nvomyudlid21b4plh0zh(0, 1, 'tinytable_css_idxu38dipbt0bp9k6z4jcm') })
window.addEventListener('load', function () { styleCell_nvomyudlid21b4plh0zh(0, 2, 'tinytable_css_idxu38dipbt0bp9k6z4jcm') })
window.addEventListener('load', function () { styleCell_nvomyudlid21b4plh0zh(0, 3, 'tinytable_css_idxu38dipbt0bp9k6z4jcm') })
window.addEventListener('load', function () { styleCell_nvomyudlid21b4plh0zh(0, 4, 'tinytable_css_idxu38dipbt0bp9k6z4jcm') })
</script>

<style>
.table td.tinytable_css_idzwzmxvgffnxudblaqc83, .table th.tinytable_css_idzwzmxvgffnxudblaqc83 { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_idxu38dipbt0bp9k6z4jcm, .table th.tinytable_css_idxu38dipbt0bp9k6z4jcm { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_iboytmt4189hfl8r4b3h" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_nvomyudlid21b4plh0zh" 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 @@ -830,21 +830,21 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_puzxgavr21x34sem42ax(i, j, css_id) {
var table = document.getElementById("tinytable_puzxgavr21x34sem42ax");
function styleCell_3iciw5rci4apzxkkax25(i, j, css_id) {
var table = document.getElementById("tinytable_3iciw5rci4apzxkkax25");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_puzxgavr21x34sem42ax');
var table = document.getElementById('tinytable_3iciw5rci4apzxkkax25');
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_puzxgavr21x34sem42ax(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_puzxgavr21x34sem42ax");
function spanCell_3iciw5rci4apzxkkax25(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_3iciw5rci4apzxkkax25");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand All @@ -870,16 +870,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
targetCell.rowSpan = rowspan;
targetCell.colSpan = colspan;
}
window.addEventListener('load', function () { styleCell_puzxgavr21x34sem42ax(0, 0, 'tinytable_css_idz0vu8gado3mvygcbe80a') })
window.addEventListener('load', function () { styleCell_puzxgavr21x34sem42ax(0, 1, 'tinytable_css_idz0vu8gado3mvygcbe80a') })
window.addEventListener('load', function () { styleCell_puzxgavr21x34sem42ax(0, 2, 'tinytable_css_idz0vu8gado3mvygcbe80a') })
window.addEventListener('load', function () { styleCell_3iciw5rci4apzxkkax25(0, 0, 'tinytable_css_id9dxm23zac8byugpop6b3') })
window.addEventListener('load', function () { styleCell_3iciw5rci4apzxkkax25(0, 1, 'tinytable_css_id9dxm23zac8byugpop6b3') })
window.addEventListener('load', function () { styleCell_3iciw5rci4apzxkkax25(0, 2, 'tinytable_css_id9dxm23zac8byugpop6b3') })
</script>

<style>
.table td.tinytable_css_idz0vu8gado3mvygcbe80a, .table th.tinytable_css_idz0vu8gado3mvygcbe80a { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_id9dxm23zac8byugpop6b3, .table th.tinytable_css_id9dxm23zac8byugpop6b3 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_puzxgavr21x34sem42ax" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_3iciw5rci4apzxkkax25" 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/style_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
<code id="i">i</code>
</td>
<td>
Row indices where the styling should be applied. Can be a single value or a vector. <code>i=0</code> is the header, and negative values are higher level headers. If <code>colspan</code> is used, <code>i</code> must be of length 1.
Row indices where the styling should be applied. Can be a single value, a vector, or a logical matrix with the same number of rows and columns as <code>x</code>. <code>i=0</code> is the header, and negative values are higher level headers.
</td>
</tr>
<tr>
Expand Down
Loading

0 comments on commit d1d94ed

Please sign in to comment.