Skip to content

Commit

Permalink
Deploying to gh-pages from @ cc30dba 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Sep 22, 2024
1 parent d9c6814 commit a706a77
Show file tree
Hide file tree
Showing 45 changed files with 2,350 additions and 2,129 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.5, <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.6, <a href="https://vincentarelbundock.github.io/tinytable/">https://vincentarelbundock.github.io/tinytable/</a>.
</p>


Expand Down
1 change: 1 addition & 0 deletions NEWS.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ <h1>News</h1>
<h2 class="anchored" data-anchor-id="development">Development</h2>
<p>New:</p>
<ul>
<li><code>group_tt(i = vec)</code> accepts a vector of labels of length equal to the number of rows in the dataset.</li>
<li><code>tt()</code> gets an <code>escape</code> argument. Thanks to Cameron Patrick for the feature request.</li>
<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>
<li><code>style_tt()</code> gets new <code>output</code> argument for conditional styling based on output format.</li>
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.5 tutorial will take you much further. It is available in two formats:</p>
<p>The <code>tinytable</code> 0.4.0.6 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
134 changes: 67 additions & 67 deletions man/format_tt.html

Large diffs are not rendered by default.

418 changes: 270 additions & 148 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_doz3bagpbcxxfdf2yr74(i, j, css_id) {
var table = document.getElementById("tinytable_doz3bagpbcxxfdf2yr74");
function styleCell_pn72g9bivzcqebcc06zw(i, j, css_id) {
var table = document.getElementById("tinytable_pn72g9bivzcqebcc06zw");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_doz3bagpbcxxfdf2yr74');
var table = document.getElementById('tinytable_pn72g9bivzcqebcc06zw');
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_doz3bagpbcxxfdf2yr74(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_doz3bagpbcxxfdf2yr74");
function spanCell_pn72g9bivzcqebcc06zw(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_pn72g9bivzcqebcc06zw");
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_doz3bagpbcxxfdf2yr74(0, 0, 'tinytable_css_idyr8hu2fopvvbo3tgk5ul') })
window.addEventListener('load', function () { styleCell_doz3bagpbcxxfdf2yr74(0, 1, 'tinytable_css_idyr8hu2fopvvbo3tgk5ul') })
window.addEventListener('load', function () { styleCell_doz3bagpbcxxfdf2yr74(0, 2, 'tinytable_css_idyr8hu2fopvvbo3tgk5ul') })
window.addEventListener('load', function () { styleCell_doz3bagpbcxxfdf2yr74(0, 3, 'tinytable_css_idyr8hu2fopvvbo3tgk5ul') })
window.addEventListener('load', function () { styleCell_doz3bagpbcxxfdf2yr74(0, 4, 'tinytable_css_idyr8hu2fopvvbo3tgk5ul') })
window.addEventListener('load', function () { styleCell_pn72g9bivzcqebcc06zw(0, 0, 'tinytable_css_idokt87v0wxh05c5ncii6s') })
window.addEventListener('load', function () { styleCell_pn72g9bivzcqebcc06zw(0, 1, 'tinytable_css_idokt87v0wxh05c5ncii6s') })
window.addEventListener('load', function () { styleCell_pn72g9bivzcqebcc06zw(0, 2, 'tinytable_css_idokt87v0wxh05c5ncii6s') })
window.addEventListener('load', function () { styleCell_pn72g9bivzcqebcc06zw(0, 3, 'tinytable_css_idokt87v0wxh05c5ncii6s') })
window.addEventListener('load', function () { styleCell_pn72g9bivzcqebcc06zw(0, 4, 'tinytable_css_idokt87v0wxh05c5ncii6s') })
</script>

<style>
.table td.tinytable_css_idyr8hu2fopvvbo3tgk5ul, .table th.tinytable_css_idyr8hu2fopvvbo3tgk5ul { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_idokt87v0wxh05c5ncii6s, .table th.tinytable_css_idokt87v0wxh05c5ncii6s { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_doz3bagpbcxxfdf2yr74" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_pn72g9bivzcqebcc06zw" 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_tagkx79z3avvglske60o(i, j, css_id) {
var table = document.getElementById("tinytable_tagkx79z3avvglske60o");
function styleCell_yrw6wyr5wi1bt7v56zt7(i, j, css_id) {
var table = document.getElementById("tinytable_yrw6wyr5wi1bt7v56zt7");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_tagkx79z3avvglske60o');
var table = document.getElementById('tinytable_yrw6wyr5wi1bt7v56zt7');
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_tagkx79z3avvglske60o(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_tagkx79z3avvglske60o");
function spanCell_yrw6wyr5wi1bt7v56zt7(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_yrw6wyr5wi1bt7v56zt7");
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_tagkx79z3avvglske60o(0, 0, 'tinytable_css_idal9s2a90t58l0rg1ftcz') })
window.addEventListener('load', function () { styleCell_tagkx79z3avvglske60o(0, 1, 'tinytable_css_idal9s2a90t58l0rg1ftcz') })
window.addEventListener('load', function () { styleCell_tagkx79z3avvglske60o(0, 2, 'tinytable_css_idal9s2a90t58l0rg1ftcz') })
window.addEventListener('load', function () { styleCell_tagkx79z3avvglske60o(0, 3, 'tinytable_css_idal9s2a90t58l0rg1ftcz') })
window.addEventListener('load', function () { styleCell_tagkx79z3avvglske60o(0, 4, 'tinytable_css_idal9s2a90t58l0rg1ftcz') })
window.addEventListener('load', function () { styleCell_yrw6wyr5wi1bt7v56zt7(0, 0, 'tinytable_css_iduvard663xn9ogcguqcue') })
window.addEventListener('load', function () { styleCell_yrw6wyr5wi1bt7v56zt7(0, 1, 'tinytable_css_iduvard663xn9ogcguqcue') })
window.addEventListener('load', function () { styleCell_yrw6wyr5wi1bt7v56zt7(0, 2, 'tinytable_css_iduvard663xn9ogcguqcue') })
window.addEventListener('load', function () { styleCell_yrw6wyr5wi1bt7v56zt7(0, 3, 'tinytable_css_iduvard663xn9ogcguqcue') })
window.addEventListener('load', function () { styleCell_yrw6wyr5wi1bt7v56zt7(0, 4, 'tinytable_css_iduvard663xn9ogcguqcue') })
</script>

<style>
.table td.tinytable_css_idal9s2a90t58l0rg1ftcz, .table th.tinytable_css_idal9s2a90t58l0rg1ftcz { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_iduvard663xn9ogcguqcue, .table th.tinytable_css_iduvard663xn9ogcguqcue { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_tagkx79z3avvglske60o" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_yrw6wyr5wi1bt7v56zt7" 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_j6m143rk6afazv1cm9kt(i, j, css_id) {
var table = document.getElementById("tinytable_j6m143rk6afazv1cm9kt");
function styleCell_63fpnaod1h5i1zlr3b3c(i, j, css_id) {
var table = document.getElementById("tinytable_63fpnaod1h5i1zlr3b3c");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_j6m143rk6afazv1cm9kt');
var table = document.getElementById('tinytable_63fpnaod1h5i1zlr3b3c');
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_j6m143rk6afazv1cm9kt(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_j6m143rk6afazv1cm9kt");
function spanCell_63fpnaod1h5i1zlr3b3c(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_63fpnaod1h5i1zlr3b3c");
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_j6m143rk6afazv1cm9kt(0, 0, 'tinytable_css_ido5r9eb70lggjczf7bklv') })
window.addEventListener('load', function () { styleCell_j6m143rk6afazv1cm9kt(0, 1, 'tinytable_css_ido5r9eb70lggjczf7bklv') })
window.addEventListener('load', function () { styleCell_j6m143rk6afazv1cm9kt(0, 2, 'tinytable_css_ido5r9eb70lggjczf7bklv') })
window.addEventListener('load', function () { styleCell_j6m143rk6afazv1cm9kt(0, 3, 'tinytable_css_ido5r9eb70lggjczf7bklv') })
window.addEventListener('load', function () { styleCell_j6m143rk6afazv1cm9kt(0, 4, 'tinytable_css_ido5r9eb70lggjczf7bklv') })
window.addEventListener('load', function () { styleCell_63fpnaod1h5i1zlr3b3c(0, 0, 'tinytable_css_idv8a6ku3xdz7cdkoe5ri5') })
window.addEventListener('load', function () { styleCell_63fpnaod1h5i1zlr3b3c(0, 1, 'tinytable_css_idv8a6ku3xdz7cdkoe5ri5') })
window.addEventListener('load', function () { styleCell_63fpnaod1h5i1zlr3b3c(0, 2, 'tinytable_css_idv8a6ku3xdz7cdkoe5ri5') })
window.addEventListener('load', function () { styleCell_63fpnaod1h5i1zlr3b3c(0, 3, 'tinytable_css_idv8a6ku3xdz7cdkoe5ri5') })
window.addEventListener('load', function () { styleCell_63fpnaod1h5i1zlr3b3c(0, 4, 'tinytable_css_idv8a6ku3xdz7cdkoe5ri5') })
</script>

<style>
.table td.tinytable_css_ido5r9eb70lggjczf7bklv, .table th.tinytable_css_ido5r9eb70lggjczf7bklv { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_idv8a6ku3xdz7cdkoe5ri5, .table th.tinytable_css_idv8a6ku3xdz7cdkoe5ri5 { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_j6m143rk6afazv1cm9kt" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_63fpnaod1h5i1zlr3b3c" 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_tqtozuff2uc5jj122ms0(i, j, css_id) {
var table = document.getElementById("tinytable_tqtozuff2uc5jj122ms0");
function styleCell_yuthelfapzarphamzo9h(i, j, css_id) {
var table = document.getElementById("tinytable_yuthelfapzarphamzo9h");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_tqtozuff2uc5jj122ms0');
var table = document.getElementById('tinytable_yuthelfapzarphamzo9h');
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_tqtozuff2uc5jj122ms0(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_tqtozuff2uc5jj122ms0");
function spanCell_yuthelfapzarphamzo9h(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_yuthelfapzarphamzo9h");
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_tqtozuff2uc5jj122ms0(0, 0, 'tinytable_css_idgslpivjznypfwqxogj2c') })
window.addEventListener('load', function () { styleCell_tqtozuff2uc5jj122ms0(0, 1, 'tinytable_css_idgslpivjznypfwqxogj2c') })
window.addEventListener('load', function () { styleCell_tqtozuff2uc5jj122ms0(0, 2, 'tinytable_css_idgslpivjznypfwqxogj2c') })
window.addEventListener('load', function () { styleCell_yuthelfapzarphamzo9h(0, 0, 'tinytable_css_idadcky2qiktks33ehrrao') })
window.addEventListener('load', function () { styleCell_yuthelfapzarphamzo9h(0, 1, 'tinytable_css_idadcky2qiktks33ehrrao') })
window.addEventListener('load', function () { styleCell_yuthelfapzarphamzo9h(0, 2, 'tinytable_css_idadcky2qiktks33ehrrao') })
</script>

<style>
.table td.tinytable_css_idgslpivjznypfwqxogj2c, .table th.tinytable_css_idgslpivjznypfwqxogj2c { border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable_css_idadcky2qiktks33ehrrao, .table th.tinytable_css_idadcky2qiktks33ehrrao { border-bottom: solid 0.1em #d3d8dc; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_tqtozuff2uc5jj122ms0" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_yuthelfapzarphamzo9h" 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
Loading

0 comments on commit a706a77

Please sign in to comment.