Skip to content

Commit

Permalink
Deploying to gh-pages from @ d09d15d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Jun 24, 2024
1 parent f96fa50 commit 967ba4a
Show file tree
Hide file tree
Showing 87 changed files with 1,841 additions and 1,505 deletions.
18 changes: 15 additions & 3 deletions demos/qwebr-auto-run.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.45">
<meta name="generator" content="quarto-1.5.47">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -401,7 +401,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":1,"options":{"results":"markup","fig-height":5,"editor-word-wrap":"true","out-height":"","context":"interactive","out-width":"700px","label":"unnamed-chunk-1","autorun":"false","read-only":"false","editor-max-height":"","warning":"true","output":"true","classes":"","message":"true","comment":"","editor-quick-suggestions":"false","fig-cap":"","editor-font-scale":"1","dpi":72,"fig-width":7}},{"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":2,"options":{"results":"markup","fig-height":5,"editor-word-wrap":"true","out-height":"","context":"interactive","out-width":"700px","label":"unnamed-chunk-2","autorun":"true","read-only":"false","editor-max-height":"","warning":"true","output":"true","classes":"","message":"true","comment":"","editor-quick-suggestions":"false","fig-cap":"","editor-font-scale":"1","dpi":72,"fig-width":7}},{"code":"data(\"gapminder\", package = \"gapminder\")\nhead(gapminder)","id":3,"options":{"results":"markup","fig-height":5,"editor-word-wrap":"true","out-height":"","context":"output","out-width":"700px","label":"unnamed-chunk-3","autorun":"true","read-only":"false","editor-max-height":"","warning":"true","output":"true","classes":"","message":"true","comment":"","editor-quick-suggestions":"false","fig-cap":"","editor-font-scale":"1","dpi":72,"fig-width":7}},{"code":"ggplot(gapminder, aes(lifeExp)) + \n geom_density(aes(fill=continent), alpha=1/4) + theme_bw() ","id":4,"options":{"results":"markup","fig-height":"3","editor-word-wrap":"true","out-height":"","context":"output","out-width":"500px","label":"unnamed-chunk-4","autorun":"true","read-only":"false","editor-max-height":"","warning":"true","output":"true","classes":"","message":"true","comment":"","editor-quick-suggestions":"false","fig-cap":"","editor-font-scale":"1","dpi":72,"fig-width":"5"}},{"code":"ggplot(gapminder, aes(lifeExp)) + \n theme_bw() ","id":5,"options":{"results":"markup","fig-height":"3","editor-word-wrap":"true","out-height":"","context":"interactive","out-width":"500px","label":"unnamed-chunk-5","autorun":"true","read-only":"false","editor-max-height":"","warning":"true","output":"true","classes":"","message":"true","comment":"","editor-quick-suggestions":"false","fig-cap":"","editor-font-scale":"1","dpi":72,"fig-width":"5"}}];
globalThis.qwebrCellDetails = [{"id":1,"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","options":{"comment":"","fig-cap":"","editor-font-scale":"1","out-height":"","editor-max-height":"","read-only":"false","output":"true","autorun":"false","out-width":"700px","label":"unnamed-chunk-1","editor-word-wrap":"true","message":"true","dpi":72,"classes":"","editor-quick-suggestions":"false","context":"interactive","results":"markup","fig-height":5,"warning":"true","fig-width":7}},{"id":2,"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","options":{"comment":"","fig-cap":"","editor-font-scale":"1","out-height":"","editor-max-height":"","read-only":"false","output":"true","autorun":"true","out-width":"700px","label":"unnamed-chunk-2","editor-word-wrap":"true","message":"true","dpi":72,"classes":"","editor-quick-suggestions":"false","context":"interactive","results":"markup","fig-height":5,"warning":"true","fig-width":7}},{"id":3,"code":"data(\"gapminder\", package = \"gapminder\")\nhead(gapminder)","options":{"comment":"","fig-cap":"","editor-font-scale":"1","out-height":"","editor-max-height":"","read-only":"false","output":"true","autorun":"true","out-width":"700px","label":"unnamed-chunk-3","editor-word-wrap":"true","message":"true","dpi":72,"classes":"","editor-quick-suggestions":"false","context":"output","results":"markup","fig-height":5,"warning":"true","fig-width":7}},{"id":4,"code":"ggplot(gapminder, aes(lifeExp)) + \n geom_density(aes(fill=continent), alpha=1/4) + theme_bw() ","options":{"comment":"","fig-cap":"","editor-font-scale":"1","out-height":"","editor-max-height":"","read-only":"false","output":"true","autorun":"true","out-width":"500px","label":"unnamed-chunk-4","editor-word-wrap":"true","message":"true","dpi":72,"classes":"","editor-quick-suggestions":"false","context":"output","results":"markup","fig-height":"3","warning":"true","fig-width":"5"}},{"id":5,"code":"ggplot(gapminder, aes(lifeExp)) + \n theme_bw() ","options":{"comment":"","fig-cap":"","editor-font-scale":"1","out-height":"","editor-max-height":"","read-only":"false","output":"true","autorun":"true","out-width":"500px","label":"unnamed-chunk-5","editor-word-wrap":"true","message":"true","dpi":72,"classes":"","editor-quick-suggestions":"false","context":"interactive","results":"markup","fig-height":"3","warning":"true","fig-width":"5"}}];

</script>
<script type="module">
Expand Down Expand Up @@ -2272,7 +2272,19 @@ <h1>Fin</h1>

</section>

</main> <!-- /main -->
<div class="callout callout-style-default callout-important callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Important
</div>
</div>
<div class="callout-body-container callout-body">
<p>This Quarto extension is open source software and is <strong>not affiliated with</strong> Posit, Quarto, or webR. The extension is at best a community effort to simplify the integration of webR inside of Quarto generated documents.</p>
</div>
</div></main> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const toggleBodyColorMode = (bsSheetEl) => {
Expand Down
18 changes: 15 additions & 3 deletions demos/qwebr-code-cell-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.45">
<meta name="generator" content="quarto-1.5.47">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -401,7 +401,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"options":{"label":"unnamed-chunk-1","editor-quick-suggestions":"false","out-height":"","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":5,"read-only":"false","context":"interactive","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7,"message":"true","autorun":"false","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"markup"},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))"},{"id":2,"options":{"label":"unnamed-chunk-2","editor-quick-suggestions":"false","out-height":"","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":5,"read-only":"false","context":"setup","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7,"message":"true","autorun":"true","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"markup"},"code":"# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)"},{"id":3,"options":{"label":"unnamed-chunk-3","editor-quick-suggestions":"false","out-height":"","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":5,"read-only":"false","context":"interactive","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7,"message":"true","autorun":"false","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"asis"},"code":"knitr::kable(data, \"html\")"},{"id":4,"options":{"label":"unnamed-chunk-4","editor-quick-suggestions":"false","out-height":"","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":5,"read-only":"false","context":"interactive","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7,"message":"true","autorun":"false","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"markup"},"code":"knitr::kable(data, \"html\")"},{"id":5,"options":{"label":"unnamed-chunk-5","editor-quick-suggestions":"false","out-height":"","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":"6","read-only":"false","context":"output","out-width":"700px","fig-cap":"","dpi":72,"fig-width":"6","message":"true","autorun":"true","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"markup"},"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)"},{"id":6,"options":{"label":"unnamed-chunk-6","editor-quick-suggestions":"false","out-height":"","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":5,"read-only":"false","context":"output","out-width":"700px","fig-cap":"","dpi":72,"fig-width":7,"message":"true","autorun":"true","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"markup"},"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)"},{"id":7,"options":{"label":"unnamed-chunk-7","editor-quick-suggestions":"false","out-height":"500px","editor-max-height":"","editor-font-scale":"1","classes":"","fig-height":"6","read-only":"false","context":"output","out-width":"500px","fig-cap":"","dpi":72,"fig-width":"6","message":"true","autorun":"true","warning":"true","output":"true","comment":"","editor-word-wrap":"true","results":"markup"},"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)"}];
globalThis.qwebrCellDetails = [{"id":1,"options":{"autorun":"false","results":"markup","classes":"","out-width":"700px","out-height":"","comment":"","fig-cap":"","label":"unnamed-chunk-1","output":"true","editor-max-height":"","read-only":"false","fig-width":7,"dpi":72,"context":"interactive","message":"true","fig-height":5,"editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))"},{"id":2,"options":{"autorun":"true","results":"markup","classes":"","out-width":"700px","out-height":"","comment":"","fig-cap":"","label":"unnamed-chunk-2","output":"true","editor-max-height":"","read-only":"false","fig-width":7,"dpi":72,"context":"setup","message":"true","fig-height":5,"editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)"},{"id":3,"options":{"autorun":"false","results":"asis","classes":"","out-width":"700px","out-height":"","comment":"","fig-cap":"","label":"unnamed-chunk-3","output":"true","editor-max-height":"","read-only":"false","fig-width":7,"dpi":72,"context":"interactive","message":"true","fig-height":5,"editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"knitr::kable(data, \"html\")"},{"id":4,"options":{"autorun":"false","results":"markup","classes":"","out-width":"700px","out-height":"","comment":"","fig-cap":"","label":"unnamed-chunk-4","output":"true","editor-max-height":"","read-only":"false","fig-width":7,"dpi":72,"context":"interactive","message":"true","fig-height":5,"editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"knitr::kable(data, \"html\")"},{"id":5,"options":{"autorun":"true","results":"markup","classes":"","out-width":"700px","out-height":"","comment":"","fig-cap":"","label":"unnamed-chunk-5","output":"true","editor-max-height":"","read-only":"false","fig-width":"6","dpi":72,"context":"output","message":"true","fig-height":"6","editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)"},{"id":6,"options":{"autorun":"true","results":"markup","classes":"","out-width":"700px","out-height":"","comment":"","fig-cap":"","label":"unnamed-chunk-6","output":"true","editor-max-height":"","read-only":"false","fig-width":7,"dpi":72,"context":"output","message":"true","fig-height":5,"editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)"},{"id":7,"options":{"autorun":"true","results":"markup","classes":"","out-width":"500px","out-height":"500px","comment":"","fig-cap":"","label":"unnamed-chunk-7","output":"true","editor-max-height":"","read-only":"false","fig-width":"6","dpi":72,"context":"output","message":"true","fig-height":"6","editor-word-wrap":"true","editor-quick-suggestions":"false","warning":"true","editor-font-scale":"1"},"code":"tinyplot::tinyplot(\n ~ Petal.Length | Species,\n data = iris,\n type = \"density\",\n palette = \"dark\", fill = \"by\",\n grid = TRUE,\n main = \"Distribution of petal lengths by species\"\n)"}];

</script>
<script type="module">
Expand Down Expand Up @@ -2354,7 +2354,19 @@ <h2 class="anchored" data-anchor-id="conclusion">Conclusion</h2>
</section>
</section>

</main> <!-- /main -->
<div class="callout callout-style-default callout-important callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Important
</div>
</div>
<div class="callout-body-container callout-body">
<p>This Quarto extension is open source software and is <strong>not affiliated with</strong> Posit, Quarto, or webR. The extension is at best a community effort to simplify the integration of webR inside of Quarto generated documents.</p>
</div>
</div></main> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const toggleBodyColorMode = (bsSheetEl) => {
Expand Down
18 changes: 15 additions & 3 deletions demos/qwebr-custom-repository.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.45">
<meta name="generator" content="quarto-1.5.47">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -401,7 +401,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"options":{"results":"markup","autorun":"false","out-width":"700px","message":"true","editor-font-scale":"1","read-only":"false","dpi":72,"fig-width":7,"warning":"true","editor-quick-suggestions":"false","label":"unnamed-chunk-1","context":"interactive","output":"true","fig-cap":"","editor-word-wrap":"true","comment":"","out-height":"","editor-max-height":"","classes":"","fig-height":5},"code":"# Check to see if the function works\ndemorwasmbinary::in_webr()\n\n# View help documentation\n?demorwasmbinary::in_webr"}];
globalThis.qwebrCellDetails = [{"options":{"editor-font-scale":"1","classes":"","comment":"","message":"true","context":"interactive","warning":"true","label":"unnamed-chunk-1","editor-quick-suggestions":"false","editor-word-wrap":"true","results":"markup","output":"true","read-only":"false","out-width":"700px","dpi":72,"fig-cap":"","fig-height":5,"fig-width":7,"out-height":"","autorun":"false","editor-max-height":""},"id":1,"code":"# Check to see if the function works\ndemorwasmbinary::in_webr()\n\n# View help documentation\n?demorwasmbinary::in_webr"}];

</script>
<script type="module">
Expand Down Expand Up @@ -2211,7 +2211,19 @@ <h1>Explore the package</h1>

</section>

</main> <!-- /main -->
<div class="callout callout-style-default callout-important callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Important
</div>
</div>
<div class="callout-body-container callout-body">
<p>This Quarto extension is open source software and is <strong>not affiliated with</strong> Posit, Quarto, or webR. The extension is at best a community effort to simplify the integration of webR inside of Quarto generated documents.</p>
</div>
</div></main> <!-- /main -->
<script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) {
const toggleBodyColorMode = (bsSheetEl) => {
Expand Down
Loading

0 comments on commit 967ba4a

Please sign in to comment.