Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2e7f757 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 21, 2024
1 parent b8d96b3 commit 0d5633e
Show file tree
Hide file tree
Showing 8 changed files with 1,097 additions and 815 deletions.
Binary file modified freeze.rds
Binary file not shown.
44 changes: 22 additions & 22 deletions man/format_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@ <h3 class="anchored" data-anchor-id="usage">Usage</h3>
num_suffix = FALSE,
num_mark_big = "",
num_mark_dec = getOption("OutDec", default = "."),
sprintf = NULL,
url = FALSE,
date = "%Y-%m-%d",
bool = function(column) tools::toTitleCase(tolower(column)),
other = identity
other = as.character,
markdown = FALSE,
sprintf = NULL
)
</code></pre>
</section>
Expand Down Expand Up @@ -348,42 +348,42 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_tt_:_sprintf">sprintf</code>
<code id="format_tt_:_date">date</code>
</td>
<td>
String passed to the <code>?sprintf</code> function to format numbers or interpolate strings with a user-defined pattern (similar to the <code>glue</code> package, but using Base R).
A string passed to the <code>format()</code> function, such as "%Y-%m-%d". See the "Details" section in <code>?strptime</code>
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_tt_:_url">url</code>
<code id="format_tt_:_bool">bool</code>
</td>
<td>
Logical; if TRUE, treats the column as a URL.
A function to format logical columns. Defaults to title case.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_tt_:_date">date</code>
<code id="format_tt_:_other">other</code>
</td>
<td>
A string passed to the <code>format()</code> function, such as "%Y-%m-%d". See the "Details" section in <code>?strptime</code>
A function to format columns of other types. Defaults to <code>as.character()</code>.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_tt_:_bool">bool</code>
<code id="format_tt_:_markdown">markdown</code>
</td>
<td>
A function to format logical columns. Defaults to title case.
Logical; if TRUE, render markdown syntax in cells. Ex: <code style="white-space: pre;"><em>italicized text</em></code> is properly italicized in HTML and LaTeX.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="format_tt_:_other">other</code>
<code id="format_tt_:_sprintf">sprintf</code>
</td>
<td>
A function to format columns of other types. Defaults to identity (no formatting).
String passed to the <code>?sprintf</code> function to format numbers or interpolate strings with a user-defined pattern (similar to the <code>glue</code> package, but using Base R).
</td>
</tr>

Expand Down Expand Up @@ -413,7 +413,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tinytable_4jnwouda9otcsbw5oret</title>
<title>tinytable_ya2ir0pobmed37kuepdg</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
</style>
Expand All @@ -433,7 +433,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>


<div class="container">
<table class="table" id="tinytable_4jnwouda9otcsbw5oret" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table" id="tinytable_ya2ir0pobmed37kuepdg" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand All @@ -444,29 +444,29 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<tbody>
<tr>
<td>10 001</td>
<td> 9 998</td>
<td>10 002</td>
</tr>
<tr>
<td>10 001</td>
<td>10 002</td>
<td> 9 999</td>
</tr>
<tr>
<td> 9 999</td>
<td>10 001</td>
<td>10 000</td>
<td>10 000</td>
</tr>
</tbody>
</table>
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
function styleCell_4jnwouda9otcsbw5oret(i, j, css_id) {
var table = document.getElementById("tinytable_4jnwouda9otcsbw5oret");
function styleCell_ya2ir0pobmed37kuepdg(i, j, css_id) {
var table = document.getElementById("tinytable_ya2ir0pobmed37kuepdg");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_4jnwouda9otcsbw5oret');
var table = document.getElementById('tinytable_ya2ir0pobmed37kuepdg');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
Expand Down
10 changes: 10 additions & 0 deletions man/style_bootstrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ <h3 class="anchored" data-anchor-id="description">Description</h3>
</section>
<section id="usage" class="level3">
<h3 class="anchored" data-anchor-id="usage">Usage</h3>

<pre><code class="language-R">style_bootstrap(
x,
i = NULL,
Expand All @@ -241,6 +242,7 @@ <h3 class="anchored" data-anchor-id="usage">Usage</h3>
align = NULL,
colspan = NULL,
indent = 0,
bootstrap_class = "table",
bootstrap_css = NULL,
bootstrap_css_rule = NULL
)
Expand Down Expand Up @@ -402,6 +404,14 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="style_bootstrap_:_bootstrap_class">bootstrap_class</code>
</td>
<td>
String. A Bootstrap table class such as <code>“table”</code>, <code>“table table-dark”</code> or <code>“table table-dark table-hover”</code>. See the bootstrap documentation.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="style_bootstrap_:_bootstrap_css">bootstrap_css</code>
</td>
<td>
Expand Down
10 changes: 10 additions & 0 deletions man/style_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ <h3 class="anchored" data-anchor-id="description">Description</h3>
</section>
<section id="usage" class="level3">
<h3 class="anchored" data-anchor-id="usage">Usage</h3>

<pre><code class="language-R">style_tt(
x,
i = NULL,
Expand All @@ -283,6 +284,7 @@ <h3 class="anchored" data-anchor-id="usage">Usage</h3>
indent = 0,
tabularray_inner = NULL,
tabularray_outer = NULL,
bootstrap_class = "table",
bootstrap_css = NULL,
bootstrap_css_rule = NULL,
...
Expand Down Expand Up @@ -461,6 +463,14 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="style_tt_:_bootstrap_class">bootstrap_class</code>
</td>
<td>
String. A Bootstrap table class such as <code>“table”</code>, <code>“table table-dark”</code> or <code>“table table-dark table-hover”</code>. See the bootstrap documentation.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="style_tt_:_bootstrap_css">bootstrap_css</code>
</td>
<td>
Expand Down
22 changes: 11 additions & 11 deletions man/tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
<p>LaTeX: "default", "striped", "void", or "grid".</p>
</li>
<li>
<p>HTML: "default", "striped", "void", "grid", or a (composite) Bootstrap class such as <code>“table table-dark”</code> or <code>“table table-dark table-hover”</code>. See</p>
<p>HTML: "default", "striped", "void", "grid", or a (composite)</p>
</li>
</ul>
</td>
Expand Down Expand Up @@ -395,7 +395,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tinytable_vc63vj96acsgyxgjmkvo</title>
<title>tinytable_v8y1fgnq2tfh9we5w5t6</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
</style>
Expand All @@ -415,7 +415,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>


<div class="container">
<table class="table" id="tinytable_vc63vj96acsgyxgjmkvo" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table" id="tinytable_v8y1fgnq2tfh9we5w5t6" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -462,12 +462,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
function styleCell_vc63vj96acsgyxgjmkvo(i, j, css_id) {
var table = document.getElementById("tinytable_vc63vj96acsgyxgjmkvo");
function styleCell_v8y1fgnq2tfh9we5w5t6(i, j, css_id) {
var table = document.getElementById("tinytable_v8y1fgnq2tfh9we5w5t6");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_vc63vj96acsgyxgjmkvo');
var table = document.getElementById('tinytable_v8y1fgnq2tfh9we5w5t6');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
Expand All @@ -493,7 +493,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tinytable_h3aanfhtjt23u7af4c0u</title>
<title>tinytable_3auh6zccitqq75mwyr7n</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
</style>
Expand All @@ -513,7 +513,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>


<div class="container">
<table class="table table-striped" id="tinytable_h3aanfhtjt23u7af4c0u" style="table-layout: fixed; width: 50% !important; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table" id="tinytable_3auh6zccitqq75mwyr7n" style="table-layout: fixed; width: 50% !important; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Data about cars.</caption>
<tbody><tr>
Expand Down Expand Up @@ -560,12 +560,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
function styleCell_h3aanfhtjt23u7af4c0u(i, j, css_id) {
var table = document.getElementById("tinytable_h3aanfhtjt23u7af4c0u");
function styleCell_3auh6zccitqq75mwyr7n(i, j, css_id) {
var table = document.getElementById("tinytable_3auh6zccitqq75mwyr7n");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_h3aanfhtjt23u7af4c0u');
var table = document.getElementById('tinytable_3auh6zccitqq75mwyr7n');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
Expand Down
Loading

0 comments on commit 0d5633e

Please sign in to comment.