Skip to content

Commit

Permalink
Deploying to gh-pages from @ d78631e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Sep 21, 2024
1 parent b4202c7 commit 5c3858e
Show file tree
Hide file tree
Showing 42 changed files with 2,018 additions and 2,017 deletions.
1 change: 1 addition & 0 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ <h2 class="anchored" data-anchor-id="development">Development</h2>
<ul>
<li>Table code is much more concise and efficient.</li>
<li>Fix indexing bug for groups. Issue <a href="https://github.com/vincentarelbundock/tinytable/issues/323">#323</a> and <a href="https://github.com/vincentarelbundock/tinytable/issues/343">#343</a>.</li>
<li><code>style_tt()</code> can override cell styling with successive calls, and the call order is respected.</li>
</ul>
</section>
<section id="section" class="level2">
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_6c5aampbgn0d7ahfgpzx(i, j, css_id) {
var table = document.getElementById("tinytable_6c5aampbgn0d7ahfgpzx");
function styleCell_rvxctc1uult7i9cjmkke(i, j, css_id) {
var table = document.getElementById("tinytable_rvxctc1uult7i9cjmkke");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_6c5aampbgn0d7ahfgpzx');
var table = document.getElementById('tinytable_rvxctc1uult7i9cjmkke');
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_6c5aampbgn0d7ahfgpzx(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_6c5aampbgn0d7ahfgpzx");
function spanCell_rvxctc1uult7i9cjmkke(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_rvxctc1uult7i9cjmkke");
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_6c5aampbgn0d7ahfgpzx(0, 0, 'tinytable_css_ide2ac2ui4x7wg1f8zrt37') })
window.addEventListener('load', function () { styleCell_6c5aampbgn0d7ahfgpzx(0, 1, 'tinytable_css_ide2ac2ui4x7wg1f8zrt37') })
window.addEventListener('load', function () { styleCell_6c5aampbgn0d7ahfgpzx(0, 2, 'tinytable_css_ide2ac2ui4x7wg1f8zrt37') })
window.addEventListener('load', function () { styleCell_6c5aampbgn0d7ahfgpzx(0, 3, 'tinytable_css_ide2ac2ui4x7wg1f8zrt37') })
window.addEventListener('load', function () { styleCell_6c5aampbgn0d7ahfgpzx(0, 4, 'tinytable_css_ide2ac2ui4x7wg1f8zrt37') })
window.addEventListener('load', function () { styleCell_rvxctc1uult7i9cjmkke(0, 0, 'tinytable_css_idk7hyo8x44b6wjecvln30') })
window.addEventListener('load', function () { styleCell_rvxctc1uult7i9cjmkke(0, 1, 'tinytable_css_idk7hyo8x44b6wjecvln30') })
window.addEventListener('load', function () { styleCell_rvxctc1uult7i9cjmkke(0, 2, 'tinytable_css_idk7hyo8x44b6wjecvln30') })
window.addEventListener('load', function () { styleCell_rvxctc1uult7i9cjmkke(0, 3, 'tinytable_css_idk7hyo8x44b6wjecvln30') })
window.addEventListener('load', function () { styleCell_rvxctc1uult7i9cjmkke(0, 4, 'tinytable_css_idk7hyo8x44b6wjecvln30') })
</script>

<style>
.table td.tinytable_css_ide2ac2ui4x7wg1f8zrt37, .table th.tinytable_css_ide2ac2ui4x7wg1f8zrt37 { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_idk7hyo8x44b6wjecvln30, .table th.tinytable_css_idk7hyo8x44b6wjecvln30 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_6c5aampbgn0d7ahfgpzx" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_rvxctc1uult7i9cjmkke" 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_k81veabd7sphzu2mr6cl(i, j, css_id) {
var table = document.getElementById("tinytable_k81veabd7sphzu2mr6cl");
function styleCell_ptqaiu5p2dmibtanvv76(i, j, css_id) {
var table = document.getElementById("tinytable_ptqaiu5p2dmibtanvv76");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_k81veabd7sphzu2mr6cl');
var table = document.getElementById('tinytable_ptqaiu5p2dmibtanvv76');
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_k81veabd7sphzu2mr6cl(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_k81veabd7sphzu2mr6cl");
function spanCell_ptqaiu5p2dmibtanvv76(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_ptqaiu5p2dmibtanvv76");
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_k81veabd7sphzu2mr6cl(0, 0, 'tinytable_css_id0b07wzqyuog18hx04ofh') })
window.addEventListener('load', function () { styleCell_k81veabd7sphzu2mr6cl(0, 1, 'tinytable_css_id0b07wzqyuog18hx04ofh') })
window.addEventListener('load', function () { styleCell_k81veabd7sphzu2mr6cl(0, 2, 'tinytable_css_id0b07wzqyuog18hx04ofh') })
window.addEventListener('load', function () { styleCell_k81veabd7sphzu2mr6cl(0, 3, 'tinytable_css_id0b07wzqyuog18hx04ofh') })
window.addEventListener('load', function () { styleCell_k81veabd7sphzu2mr6cl(0, 4, 'tinytable_css_id0b07wzqyuog18hx04ofh') })
window.addEventListener('load', function () { styleCell_ptqaiu5p2dmibtanvv76(0, 0, 'tinytable_css_id4l139h2xhxfi2w2k05aq') })
window.addEventListener('load', function () { styleCell_ptqaiu5p2dmibtanvv76(0, 1, 'tinytable_css_id4l139h2xhxfi2w2k05aq') })
window.addEventListener('load', function () { styleCell_ptqaiu5p2dmibtanvv76(0, 2, 'tinytable_css_id4l139h2xhxfi2w2k05aq') })
window.addEventListener('load', function () { styleCell_ptqaiu5p2dmibtanvv76(0, 3, 'tinytable_css_id4l139h2xhxfi2w2k05aq') })
window.addEventListener('load', function () { styleCell_ptqaiu5p2dmibtanvv76(0, 4, 'tinytable_css_id4l139h2xhxfi2w2k05aq') })
</script>

<style>
.table td.tinytable_css_id0b07wzqyuog18hx04ofh, .table th.tinytable_css_id0b07wzqyuog18hx04ofh { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_id4l139h2xhxfi2w2k05aq, .table th.tinytable_css_id4l139h2xhxfi2w2k05aq { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_k81veabd7sphzu2mr6cl" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_ptqaiu5p2dmibtanvv76" 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_w2ogi1zrofc79s7n79t3(i, j, css_id) {
var table = document.getElementById("tinytable_w2ogi1zrofc79s7n79t3");
function styleCell_uctyockpgpxx7d3y9vst(i, j, css_id) {
var table = document.getElementById("tinytable_uctyockpgpxx7d3y9vst");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_w2ogi1zrofc79s7n79t3');
var table = document.getElementById('tinytable_uctyockpgpxx7d3y9vst');
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_w2ogi1zrofc79s7n79t3(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_w2ogi1zrofc79s7n79t3");
function spanCell_uctyockpgpxx7d3y9vst(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_uctyockpgpxx7d3y9vst");
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_w2ogi1zrofc79s7n79t3(0, 0, 'tinytable_css_idkj0bdum2wv50n2slkpn6') })
window.addEventListener('load', function () { styleCell_w2ogi1zrofc79s7n79t3(0, 1, 'tinytable_css_idkj0bdum2wv50n2slkpn6') })
window.addEventListener('load', function () { styleCell_w2ogi1zrofc79s7n79t3(0, 2, 'tinytable_css_idkj0bdum2wv50n2slkpn6') })
window.addEventListener('load', function () { styleCell_w2ogi1zrofc79s7n79t3(0, 3, 'tinytable_css_idkj0bdum2wv50n2slkpn6') })
window.addEventListener('load', function () { styleCell_w2ogi1zrofc79s7n79t3(0, 4, 'tinytable_css_idkj0bdum2wv50n2slkpn6') })
window.addEventListener('load', function () { styleCell_uctyockpgpxx7d3y9vst(0, 0, 'tinytable_css_id238slvlcelo8aw22j1fa') })
window.addEventListener('load', function () { styleCell_uctyockpgpxx7d3y9vst(0, 1, 'tinytable_css_id238slvlcelo8aw22j1fa') })
window.addEventListener('load', function () { styleCell_uctyockpgpxx7d3y9vst(0, 2, 'tinytable_css_id238slvlcelo8aw22j1fa') })
window.addEventListener('load', function () { styleCell_uctyockpgpxx7d3y9vst(0, 3, 'tinytable_css_id238slvlcelo8aw22j1fa') })
window.addEventListener('load', function () { styleCell_uctyockpgpxx7d3y9vst(0, 4, 'tinytable_css_id238slvlcelo8aw22j1fa') })
</script>

<style>
.table td.tinytable_css_idkj0bdum2wv50n2slkpn6, .table th.tinytable_css_idkj0bdum2wv50n2slkpn6 { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_id238slvlcelo8aw22j1fa, .table th.tinytable_css_id238slvlcelo8aw22j1fa { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_w2ogi1zrofc79s7n79t3" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_uctyockpgpxx7d3y9vst" 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_m9zr4a9y6few6d1uyk0f(i, j, css_id) {
var table = document.getElementById("tinytable_m9zr4a9y6few6d1uyk0f");
function styleCell_smgizc691zp87y7sw17h(i, j, css_id) {
var table = document.getElementById("tinytable_smgizc691zp87y7sw17h");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_m9zr4a9y6few6d1uyk0f');
var table = document.getElementById('tinytable_smgizc691zp87y7sw17h');
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_m9zr4a9y6few6d1uyk0f(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_m9zr4a9y6few6d1uyk0f");
function spanCell_smgizc691zp87y7sw17h(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_smgizc691zp87y7sw17h");
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_m9zr4a9y6few6d1uyk0f(0, 0, 'tinytable_css_ideblkbw5j10n92xoekrw6') })
window.addEventListener('load', function () { styleCell_m9zr4a9y6few6d1uyk0f(0, 1, 'tinytable_css_ideblkbw5j10n92xoekrw6') })
window.addEventListener('load', function () { styleCell_m9zr4a9y6few6d1uyk0f(0, 2, 'tinytable_css_ideblkbw5j10n92xoekrw6') })
window.addEventListener('load', function () { styleCell_smgizc691zp87y7sw17h(0, 0, 'tinytable_css_idg2gc85v45u0vl4gc4os4') })
window.addEventListener('load', function () { styleCell_smgizc691zp87y7sw17h(0, 1, 'tinytable_css_idg2gc85v45u0vl4gc4os4') })
window.addEventListener('load', function () { styleCell_smgizc691zp87y7sw17h(0, 2, 'tinytable_css_idg2gc85v45u0vl4gc4os4') })
</script>

<style>
.table td.tinytable_css_ideblkbw5j10n92xoekrw6, .table th.tinytable_css_ideblkbw5j10n92xoekrw6 { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_idg2gc85v45u0vl4gc4os4, .table th.tinytable_css_idg2gc85v45u0vl4gc4os4 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_m9zr4a9y6few6d1uyk0f" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_smgizc691zp87y7sw17h" 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
34 changes: 17 additions & 17 deletions man/theme_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -575,21 +575,21 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_3t9o99gkgf7zzva3ulg8(i, j, css_id) {
var table = document.getElementById("tinytable_3t9o99gkgf7zzva3ulg8");
function styleCell_vfa49whx11vwy8488kzk(i, j, css_id) {
var table = document.getElementById("tinytable_vfa49whx11vwy8488kzk");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_3t9o99gkgf7zzva3ulg8');
var table = document.getElementById('tinytable_vfa49whx11vwy8488kzk');
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_3t9o99gkgf7zzva3ulg8(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_3t9o99gkgf7zzva3ulg8");
function spanCell_vfa49whx11vwy8488kzk(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_vfa49whx11vwy8488kzk");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -620,7 +620,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<style>
</style>
<div class="container">
<table class="table table-striped" id="tinytable_3t9o99gkgf7zzva3ulg8" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-striped" id="tinytable_vfa49whx11vwy8488kzk" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -666,21 +666,21 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
<!-- preamble start -->

<script>
function styleCell_j3nku165907es34erfj9(i, j, css_id) {
var table = document.getElementById("tinytable_j3nku165907es34erfj9");
function styleCell_d8wdvauh419z98u6mwus(i, j, css_id) {
var table = document.getElementById("tinytable_d8wdvauh419z98u6mwus");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_j3nku165907es34erfj9');
var table = document.getElementById('tinytable_d8wdvauh419z98u6mwus');
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_j3nku165907es34erfj9(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_j3nku165907es34erfj9");
function spanCell_d8wdvauh419z98u6mwus(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_d8wdvauh419z98u6mwus");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand All @@ -706,17 +706,17 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
targetCell.rowSpan = rowspan;
targetCell.colSpan = colspan;
}
window.addEventListener('load', function () { styleCell_j3nku165907es34erfj9(0, 0, 'tinytable_css_ido6tvni3oa7w4cdgesrud') })
window.addEventListener('load', function () { styleCell_j3nku165907es34erfj9(0, 1, 'tinytable_css_ido6tvni3oa7w4cdgesrud') })
window.addEventListener('load', function () { styleCell_j3nku165907es34erfj9(0, 2, 'tinytable_css_ido6tvni3oa7w4cdgesrud') })
window.addEventListener('load', function () { styleCell_j3nku165907es34erfj9(0, 3, 'tinytable_css_ido6tvni3oa7w4cdgesrud') })
window.addEventListener('load', function () { styleCell_d8wdvauh419z98u6mwus(0, 0, 'tinytable_css_id695dijyl02y4zbhzgds3') })
window.addEventListener('load', function () { styleCell_d8wdvauh419z98u6mwus(0, 1, 'tinytable_css_id695dijyl02y4zbhzgds3') })
window.addEventListener('load', function () { styleCell_d8wdvauh419z98u6mwus(0, 2, 'tinytable_css_id695dijyl02y4zbhzgds3') })
window.addEventListener('load', function () { styleCell_d8wdvauh419z98u6mwus(0, 3, 'tinytable_css_id695dijyl02y4zbhzgds3') })
</script>

<style>
.table td.tinytable_css_ido6tvni3oa7w4cdgesrud, .table th.tinytable_css_ido6tvni3oa7w4cdgesrud { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_id695dijyl02y4zbhzgds3, .table th.tinytable_css_id695dijyl02y4zbhzgds3 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_j3nku165907es34erfj9" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_d8wdvauh419z98u6mwus" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down
Loading

0 comments on commit 5c3858e

Please sign in to comment.