-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51b406c
commit 74360c8
Showing
8 changed files
with
515 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: tinytable | ||
Type: Package | ||
Title: Simple markdown, LaTeX, and HTML tables | ||
Description: Lightweight R package to create markdown, LaTeX and HTML tables. | ||
Title: Simple and Customizable Tables in 'HTML', 'LaTeX', 'Markdown', and 'Typst' | ||
Description: Create highly customized tables with this simple and dependency-free package. Data frames can be converted to 'HTML', 'LaTeX', 'Markdown', or 'Typst' tables. The user interface is minimalist and the syntax concise. 'HTML' tables can be customized using the flexible 'Bootstrap' framework, and 'LaTeX' code with the 'tabularray' package. | ||
Version: 0.0.1 | ||
Depends: | ||
R (>= 4.0.0) | ||
|
@@ -11,13 +11,13 @@ Suggests: | |
rmarkdown, | ||
rstudioapi, | ||
tinytest | ||
URL: https://github.com/vincentarelbundock/tinytable | ||
URL: https://vincentarelbundock.github.io/tinytable, https://github.com/vincentarelbundock/tinytable | ||
Authors@R: c( | ||
person("Vincent", "Arel-Bundock", | ||
email = "[email protected]", | ||
role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-2042-7063"))) | ||
License: GPL (>= 3) | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.2.3.9000 | ||
RoxygenNote: 7.2.3 | ||
Roxygen: list(markdown = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -397,7 +397,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_by6668w2z4599gwplqpt</title> | ||
<title>tinytable_t2bmixfdvwwbdg7z354d</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
|
@@ -410,7 +410,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
|
||
<div class="container"> | ||
<table class="table" id="tinytable_by6668w2z4599gwplqpt" data-quarto-disable-processing="true"> | ||
<table class="table" id="tinytable_t2bmixfdvwwbdg7z354d" data-quarto-disable-processing="true"> | ||
<thead> | ||
|
||
<tr> | ||
|
@@ -453,12 +453,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
</tr> | ||
</tbody> | ||
<script> | ||
function styleCell_by6668w2z4599gwplqpt(i, j, css_id) { | ||
var table = document.getElementById("tinytable_by6668w2z4599gwplqpt"); | ||
function styleCell_t2bmixfdvwwbdg7z354d(i, j, css_id) { | ||
var table = document.getElementById("tinytable_t2bmixfdvwwbdg7z354d"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('tinytable_by6668w2z4599gwplqpt'); | ||
var table = document.getElementById('tinytable_t2bmixfdvwwbdg7z354d'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
|
@@ -495,7 +495,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_466icir58vingcz4k623</title> | ||
<title>tinytable_afm6k0lhhpmngwn3y77e</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
|
@@ -508,7 +508,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
|
||
|
||
<div class="container"> | ||
<table class="table table-striped" id="tinytable_466icir58vingcz4k623" data-quarto-disable-processing="true"> | ||
<table class="table table-striped" id="tinytable_afm6k0lhhpmngwn3y77e" data-quarto-disable-processing="true"> | ||
<thead> | ||
</thead><caption>Data about cars.</caption> | ||
<tbody><tr> | ||
|
@@ -551,42 +551,42 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
</tr> | ||
</tbody> | ||
<script> | ||
function styleCell_tinytable_css_h4cxiphhh35iaz6turqu(i, j, css_id) { | ||
var table = document.getElementById("tinytable_466icir58vingcz4k623"); | ||
function styleCell_tinytable_css_egsx9tjoa8kz502pzvub(i, j, css_id) { | ||
var table = document.getElementById("tinytable_afm6k0lhhpmngwn3y77e"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('tinytable_466icir58vingcz4k623'); | ||
var table = document.getElementById('tinytable_afm6k0lhhpmngwn3y77e'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
newCell.innerText = content; | ||
} | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(0, 0, 'tinytable_css_m7wllyrx4ynao0qk9l2t') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(1, 0, 'tinytable_css_m7wllyrx4ynao0qk9l2t') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(2, 0, 'tinytable_css_m7wllyrx4ynao0qk9l2t') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(3, 0, 'tinytable_css_m7wllyrx4ynao0qk9l2t') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(4, 0, 'tinytable_css_m7wllyrx4ynao0qk9l2t') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(0, 1, 'tinytable_css_nzz39mtocp529r53tgw1') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(1, 1, 'tinytable_css_nzz39mtocp529r53tgw1') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(2, 1, 'tinytable_css_nzz39mtocp529r53tgw1') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(3, 1, 'tinytable_css_nzz39mtocp529r53tgw1') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(4, 1, 'tinytable_css_nzz39mtocp529r53tgw1') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(0, 2, 'tinytable_css_0nqech6e2yd6ccu5nk60') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(1, 2, 'tinytable_css_0nqech6e2yd6ccu5nk60') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(2, 2, 'tinytable_css_0nqech6e2yd6ccu5nk60') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(3, 2, 'tinytable_css_0nqech6e2yd6ccu5nk60') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(4, 2, 'tinytable_css_0nqech6e2yd6ccu5nk60') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(0, 3, 'tinytable_css_i7enntbdttuydw3tf1om') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(1, 3, 'tinytable_css_i7enntbdttuydw3tf1om') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(2, 3, 'tinytable_css_i7enntbdttuydw3tf1om') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(3, 3, 'tinytable_css_i7enntbdttuydw3tf1om') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(4, 3, 'tinytable_css_i7enntbdttuydw3tf1om') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(0, 4, 'tinytable_css_h4cxiphhh35iaz6turqu') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(1, 4, 'tinytable_css_h4cxiphhh35iaz6turqu') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(2, 4, 'tinytable_css_h4cxiphhh35iaz6turqu') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(3, 4, 'tinytable_css_h4cxiphhh35iaz6turqu') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_h4cxiphhh35iaz6turqu(4, 4, 'tinytable_css_h4cxiphhh35iaz6turqu') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(0, 0, 'tinytable_css_9zrkjz6ptjz2xo0vrahd') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(1, 0, 'tinytable_css_9zrkjz6ptjz2xo0vrahd') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(2, 0, 'tinytable_css_9zrkjz6ptjz2xo0vrahd') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(3, 0, 'tinytable_css_9zrkjz6ptjz2xo0vrahd') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(4, 0, 'tinytable_css_9zrkjz6ptjz2xo0vrahd') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(0, 1, 'tinytable_css_wqkzqumv86fzaxun1a8q') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(1, 1, 'tinytable_css_wqkzqumv86fzaxun1a8q') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(2, 1, 'tinytable_css_wqkzqumv86fzaxun1a8q') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(3, 1, 'tinytable_css_wqkzqumv86fzaxun1a8q') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(4, 1, 'tinytable_css_wqkzqumv86fzaxun1a8q') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(0, 2, 'tinytable_css_83g141ctc2xora0c5mmj') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(1, 2, 'tinytable_css_83g141ctc2xora0c5mmj') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(2, 2, 'tinytable_css_83g141ctc2xora0c5mmj') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(3, 2, 'tinytable_css_83g141ctc2xora0c5mmj') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(4, 2, 'tinytable_css_83g141ctc2xora0c5mmj') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(0, 3, 'tinytable_css_brn1q8tc9n4oc68b4g4a') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(1, 3, 'tinytable_css_brn1q8tc9n4oc68b4g4a') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(2, 3, 'tinytable_css_brn1q8tc9n4oc68b4g4a') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(3, 3, 'tinytable_css_brn1q8tc9n4oc68b4g4a') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(4, 3, 'tinytable_css_brn1q8tc9n4oc68b4g4a') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(0, 4, 'tinytable_css_egsx9tjoa8kz502pzvub') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(1, 4, 'tinytable_css_egsx9tjoa8kz502pzvub') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(2, 4, 'tinytable_css_egsx9tjoa8kz502pzvub') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(3, 4, 'tinytable_css_egsx9tjoa8kz502pzvub') }) | ||
window.addEventListener('load', function () { styleCell_tinytable_css_egsx9tjoa8kz502pzvub(4, 4, 'tinytable_css_egsx9tjoa8kz502pzvub') }) | ||
// tinytable cells before this | ||
</script> | ||
<style> | ||
|
@@ -595,11 +595,11 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3> | |
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.table td.tinytable_css_m7wllyrx4ynao0qk9l2t, th.tinytable_css_m7wllyrx4ynao0qk9l2t { text-align: center } | ||
.table td.tinytable_css_nzz39mtocp529r53tgw1, th.tinytable_css_nzz39mtocp529r53tgw1 { text-align: center } | ||
.table td.tinytable_css_0nqech6e2yd6ccu5nk60, th.tinytable_css_0nqech6e2yd6ccu5nk60 { text-align: right } | ||
.table td.tinytable_css_i7enntbdttuydw3tf1om, th.tinytable_css_i7enntbdttuydw3tf1om { text-align: right } | ||
.table td.tinytable_css_h4cxiphhh35iaz6turqu, th.tinytable_css_h4cxiphhh35iaz6turqu { text-align: left } | ||
.table td.tinytable_css_9zrkjz6ptjz2xo0vrahd, th.tinytable_css_9zrkjz6ptjz2xo0vrahd { text-align: center } | ||
.table td.tinytable_css_wqkzqumv86fzaxun1a8q, th.tinytable_css_wqkzqumv86fzaxun1a8q { text-align: center } | ||
.table td.tinytable_css_83g141ctc2xora0c5mmj, th.tinytable_css_83g141ctc2xora0c5mmj { text-align: right } | ||
.table td.tinytable_css_brn1q8tc9n4oc68b4g4a, th.tinytable_css_brn1q8tc9n4oc68b4g4a { text-align: right } | ||
.table td.tinytable_css_egsx9tjoa8kz502pzvub, th.tinytable_css_egsx9tjoa8kz502pzvub { text-align: left } | ||
// tinytable css before this | ||
</style> | ||
|
||
|
Oops, something went wrong.