Skip to content

Commit

Permalink
Deploying to gh-pages from @ fc18875 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed May 14, 2024
1 parent f7a4551 commit f22b315
Show file tree
Hide file tree
Showing 63 changed files with 1,597 additions and 89 deletions.
2 changes: 1 addition & 1 deletion demos/qwebr-auto-run.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
};

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

</script>
<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion demos/qwebr-code-cell-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"options":{"out-height":"","message":"true","read-only":"false","editor-font-scale":1,"autorun":"false","fig-height":5,"label":"unnamed-chunk-1","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"700px","fig-cap":"","context":"interactive","editor-max-height":"","comment":"","output":"true","fig-width":7,"results":"markup","dpi":72},"id":1,"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))"},{"options":{"out-height":"","message":"true","read-only":"false","editor-font-scale":1,"autorun":"true","fig-height":5,"label":"unnamed-chunk-2","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"700px","fig-cap":"","context":"setup","editor-max-height":"","comment":"","output":"true","fig-width":7,"results":"markup","dpi":72},"id":2,"code":" \n# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)"},{"options":{"out-height":"","message":"true","read-only":"false","editor-font-scale":1,"autorun":"false","fig-height":5,"label":"unnamed-chunk-3","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"700px","fig-cap":"","context":"interactive","editor-max-height":"","comment":"","output":"true","fig-width":7,"results":"asis","dpi":72},"id":3,"code":"knitr::kable(data, \"html\")"},{"options":{"out-height":"","message":"true","read-only":"false","editor-font-scale":1,"autorun":"false","fig-height":5,"label":"unnamed-chunk-4","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"700px","fig-cap":"","context":"interactive","editor-max-height":"","comment":"","output":"true","fig-width":7,"results":"markup","dpi":72},"id":4,"code":"knitr::kable(data, \"html\")"},{"options":{"out-height":"","message":"true","read-only":"false","editor-font-scale":1,"autorun":"true","fig-height":"6","label":"unnamed-chunk-5","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"700px","fig-cap":"","context":"output","editor-max-height":"","comment":"","output":"true","fig-width":"6","results":"markup","dpi":72},"id":5,"code":"\ntinyplot::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)"},{"options":{"out-height":"","message":"true","read-only":"false","editor-font-scale":1,"autorun":"true","fig-height":5,"label":"unnamed-chunk-6","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"700px","fig-cap":"","context":"output","editor-max-height":"","comment":"","output":"true","fig-width":7,"results":"markup","dpi":72},"id":6,"code":"\ntinyplot::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)"},{"options":{"out-height":"500px","message":"true","read-only":"false","editor-font-scale":1,"autorun":"true","fig-height":"6","label":"unnamed-chunk-7","classes":"","warning":"true","editor-quick-suggestions":"false","out-width":"500px","fig-cap":"","context":"output","editor-max-height":"","comment":"","output":"true","fig-width":"6","results":"markup","dpi":72},"id":7,"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 = [{"code":"# Write your name here by replace ___\nname <- \"_____\"\nprint(paste0(\"Hello, \", name, \"!\"))","id":1,"options":{"results":"markup","fig-width":7,"editor-font-scale":1,"label":"unnamed-chunk-1","warning":"true","fig-cap":"","out-width":"700px","fig-height":5,"message":"true","dpi":72,"out-height":"","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"false","output":"true","editor-max-height":"","context":"interactive"}},{"code":" \n# Generating a simple table\ndata <- data.frame(\n Name = c(\"Alice\", \"Bob\", \"Charlie\"),\n Age = c(25, 30, 22)\n)","id":2,"options":{"results":"markup","fig-width":7,"editor-font-scale":1,"label":"unnamed-chunk-2","warning":"true","fig-cap":"","out-width":"700px","fig-height":5,"message":"true","dpi":72,"out-height":"","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"true","output":"true","editor-max-height":"","context":"setup"}},{"code":"knitr::kable(data, \"html\")","id":3,"options":{"results":"asis","fig-width":7,"editor-font-scale":1,"label":"unnamed-chunk-3","warning":"true","fig-cap":"","out-width":"700px","fig-height":5,"message":"true","dpi":72,"out-height":"","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"false","output":"true","editor-max-height":"","context":"interactive"}},{"code":"knitr::kable(data, \"html\")","id":4,"options":{"results":"markup","fig-width":7,"editor-font-scale":1,"label":"unnamed-chunk-4","warning":"true","fig-cap":"","out-width":"700px","fig-height":5,"message":"true","dpi":72,"out-height":"","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"false","output":"true","editor-max-height":"","context":"interactive"}},{"code":"\ntinyplot::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":5,"options":{"results":"markup","fig-width":"6","editor-font-scale":1,"label":"unnamed-chunk-5","warning":"true","fig-cap":"","out-width":"700px","fig-height":"6","message":"true","dpi":72,"out-height":"","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"true","output":"true","editor-max-height":"","context":"output"}},{"code":"\ntinyplot::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":{"results":"markup","fig-width":7,"editor-font-scale":1,"label":"unnamed-chunk-6","warning":"true","fig-cap":"","out-width":"700px","fig-height":5,"message":"true","dpi":72,"out-height":"","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"true","output":"true","editor-max-height":"","context":"output"}},{"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":{"results":"markup","fig-width":"6","editor-font-scale":1,"label":"unnamed-chunk-7","warning":"true","fig-cap":"","out-width":"500px","fig-height":"6","message":"true","dpi":72,"out-height":"500px","classes":"","comment":"","read-only":"false","editor-quick-suggestions":"false","autorun":"true","output":"true","editor-max-height":"","context":"output"}}];

</script>
<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion demos/qwebr-custom-repository.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"code":"# Check to see if the function works\ndemorwasmbinary::in_webr()\n\n# View help documentation\n?demorwasmbinary::in_webr","options":{"label":"unnamed-chunk-1","results":"markup","output":"true","fig-height":5,"editor-font-scale":1,"warning":"true","message":"true","out-height":"","fig-cap":"","editor-max-height":"","context":"interactive","classes":"","dpi":72,"fig-width":7,"comment":"","editor-quick-suggestions":"false","read-only":"false","out-width":"700px","autorun":"false"}}];
globalThis.qwebrCellDetails = [{"options":{"out-width":"700px","autorun":"false","dpi":72,"fig-width":7,"editor-quick-suggestions":"false","classes":"","label":"unnamed-chunk-1","output":"true","read-only":"false","warning":"true","context":"interactive","comment":"","out-height":"","message":"true","results":"markup","fig-cap":"","fig-height":5,"editor-font-scale":1,"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
2 changes: 1 addition & 1 deletion demos/qwebr-editor-options.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":1,"options":{"fig-width":7,"editor-font-scale":"1","dpi":72,"label":"unnamed-chunk-1","fig-height":5,"editor-quick-suggestions":"false","out-width":"700px","comment":"","results":"markup","editor-max-height":"","read-only":"false","message":"true","classes":"","context":"interactive","out-height":"","autorun":"true","fig-cap":"","output":"true","warning":"true"}},{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":2,"options":{"fig-width":7,"editor-font-scale":"0.5","dpi":72,"label":"unnamed-chunk-2","fig-height":5,"editor-quick-suggestions":"false","out-width":"700px","comment":"","results":"markup","editor-max-height":"","read-only":"false","message":"true","classes":"","context":"interactive","out-height":"","autorun":"true","fig-cap":"","output":"true","warning":"true"}},{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":3,"options":{"fig-width":7,"editor-font-scale":"2","dpi":72,"label":"unnamed-chunk-3","fig-height":5,"editor-quick-suggestions":"false","out-width":"700px","comment":"","results":"markup","editor-max-height":"","read-only":"false","message":"true","classes":"","context":"interactive","out-height":"","autorun":"true","fig-cap":"","output":"true","warning":"true"}},{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":4,"options":{"fig-width":7,"editor-font-scale":"0.95","dpi":72,"label":"unnamed-chunk-4","fig-height":5,"editor-quick-suggestions":"false","out-width":"700px","comment":"","results":"markup","editor-max-height":"","read-only":"false","message":"true","classes":"","context":"interactive","out-height":"","autorun":"true","fig-cap":"","output":"true","warning":"true"}}];
globalThis.qwebrCellDetails = [{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":1,"options":{"context":"interactive","comment":"","out-height":"","fig-cap":"","label":"unnamed-chunk-1","warning":"true","dpi":72,"fig-width":7,"message":"true","out-width":"700px","results":"markup","output":"true","editor-max-height":"","fig-height":5,"classes":"","editor-quick-suggestions":"false","read-only":"false","editor-font-scale":"1","autorun":"true"}},{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":2,"options":{"context":"interactive","comment":"","out-height":"","fig-cap":"","label":"unnamed-chunk-2","warning":"true","dpi":72,"fig-width":7,"message":"true","out-width":"700px","results":"markup","output":"true","editor-max-height":"","fig-height":5,"classes":"","editor-quick-suggestions":"false","read-only":"false","editor-font-scale":"0.5","autorun":"true"}},{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":3,"options":{"context":"interactive","comment":"","out-height":"","fig-cap":"","label":"unnamed-chunk-3","warning":"true","dpi":72,"fig-width":7,"message":"true","out-width":"700px","results":"markup","output":"true","editor-max-height":"","fig-height":5,"classes":"","editor-quick-suggestions":"false","read-only":"false","editor-font-scale":"2","autorun":"true"}},{"code":"fit = lm(mpg ~ am, data = mtcars)\n\nconfint(fit)","id":4,"options":{"context":"interactive","comment":"","out-height":"","fig-cap":"","label":"unnamed-chunk-4","warning":"true","dpi":72,"fig-width":7,"message":"true","out-width":"700px","results":"markup","output":"true","editor-max-height":"","fig-height":5,"classes":"","editor-quick-suggestions":"false","read-only":"false","editor-font-scale":"0.95","autorun":"true"}}];

</script>
<script type="module">
Expand Down
2 changes: 1 addition & 1 deletion demos/qwebr-global-cell-defaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
};

// Store cell data
globalThis.qwebrCellDetails = [{"id":1,"options":{"label":"unnamed-chunk-1","read-only":"true","out-width":"100%","editor-quick-suggestions":"false","fig-height":5,"results":"markup","fig-width":7,"editor-font-scale":1,"dpi":72,"fig-cap":"","classes":"","output":"true","autorun":"true","context":"interactive","warning":"true","comment":"","message":"true","out-height":"","editor-max-height":""},"code":"fit = lm(mpg ~ am, data = mtcars)\nsummary(fit)"},{"id":2,"options":{"label":"unnamed-chunk-2","read-only":"false","out-width":"100%","editor-quick-suggestions":"false","fig-height":5,"results":"markup","fig-width":7,"editor-font-scale":1,"dpi":72,"fig-cap":"","classes":"","output":"true","autorun":"true","context":"interactive","warning":"true","comment":"","message":"true","out-height":"","editor-max-height":""},"code":"plot(fit)"}];
globalThis.qwebrCellDetails = [{"options":{"dpi":72,"fig-height":5,"classes":"","read-only":"true","results":"markup","message":"true","fig-width":7,"output":"true","out-height":"","editor-quick-suggestions":"false","comment":"","context":"interactive","warning":"true","autorun":"true","editor-font-scale":1,"editor-max-height":"","fig-cap":"","out-width":"100%","label":"unnamed-chunk-1"},"id":1,"code":"fit = lm(mpg ~ am, data = mtcars)\nsummary(fit)"},{"options":{"dpi":72,"fig-height":5,"classes":"","read-only":"false","results":"markup","message":"true","fig-width":7,"output":"true","out-height":"","editor-quick-suggestions":"false","comment":"","context":"interactive","warning":"true","autorun":"true","editor-font-scale":1,"editor-max-height":"","fig-cap":"","out-width":"100%","label":"unnamed-chunk-2"},"id":2,"code":"plot(fit)"}];

</script>
<script type="module">
Expand Down
Loading

0 comments on commit f22b315

Please sign in to comment.