Skip to content

Commit d09d15d

Browse files
authored
Tidy up documentation (#218)
1 parent da95ea7 commit d09d15d

13 files changed

+107
-97
lines changed

docs/_quarto.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ website:
6969
text: Extension Website Notes
7070
- href: https://quarto-webr.thecoatlessprofessor.com/tests/
7171
text: Test Suite
72-
72+
body-footer: |
73+
:::{.callout-important}
74+
This Quarto extension is open source software and is **not affiliated with** Posit, Quarto, or webR. The extension is at best a community effort to simplify the integration of webR inside of Quarto generated documents.
75+
:::
76+
7377
format:
7478
html:
7579
toc: true

docs/index.qmd

+2-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ filters:
77
- webr
88
---
99

10-
Welcome to the documentation portal for the [`quarto-webr`](https://github.com/coatless/quarto-webr) extension – your key to unlocking the endless possibilities of [webR](https://docs.r-wasm.org/webr/latest/) within various [Quarto](https://quarto.org/) formats, including [HTML](https://quarto.org/docs/output-formats/html-basics.html), [RevealJS](https://quarto.org/docs/presentations/revealjs/), [Websites](https://quarto.org/docs/websites/), [Blogs](https://quarto.org/docs/websites/website-blog.html), and [Books](https://quarto.org/docs/books).
10+
Welcome to the documentation portal for the community [`quarto-webr`](https://github.com/coatless/quarto-webr) extension – your key to unlocking the endless possibilities of [webR](https://docs.r-wasm.org/webr/latest/) within various [Quarto](https://quarto.org/) formats, including [HTML](https://quarto.org/docs/output-formats/html-basics.html), [RevealJS](https://quarto.org/docs/presentations/revealjs/), [Websites](https://quarto.org/docs/websites/), [Blogs](https://quarto.org/docs/websites/website-blog.html), and [Books](https://quarto.org/docs/books).
1111

1212
Ready for an exciting journey into the world of webR's interactive code cells? Click the "Run Code" button below to experience it firsthand:
1313

@@ -19,10 +19,6 @@ model = lm(mpg ~ wt, data = mtcars)
1919
summary(model)
2020
```
2121

22-
At its core, the [`quarto-webr` extension](https://github.com/coatless/quarto-webr) is designed to empower you to run R code directly in your web browser using familiar reporting tools, all without the need for an external R server. Moreover, the extension abstracts away the need to know HTML or JavaScript to use webR. However, it's worth noting that you can also choose to unlock the full potential of webR and create more complex applications independently by directly using [webR's JavaScript API](https://docs.r-wasm.org/webr/latest/evaluating.html), granting you unparalleled freedom to harness the power of R in innovative ways.
22+
At its core, the community [`quarto-webr` extension](https://github.com/coatless/quarto-webr) is designed to empower you to run R code directly in your web browser using familiar reporting tools, all without the need for an external R server. Moreover, the extension abstracts away the need to know HTML or JavaScript to use webR. However, it's worth noting that you can also choose to unlock the full potential of webR and create more complex applications independently by directly using **[webR's JavaScript API](https://docs.r-wasm.org/webr/latest/evaluating.html)**, granting you unparalleled freedom to harness the power of R in innovative ways.
2323

2424
With this in mind, let's dive in and kickstart your journey with interactive code cells by [creating our very first webR-powered Quarto document](qwebr-first-steps.qmd) or [exploring some examples](qwebr-code-cell-demos.qmd)!
25-
26-
:::{.callout-important}
27-
This Quarto extension is open source software and is **not affiliated with** Posit, Quarto, or webR. The extension is at best a community effort to simplify the integration of webR inside of Quarto generated documents.
28-
:::

docs/qwebr-acknowledgements.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ aliases:
77
- webr-acknowledgements.html
88
---
99

10-
We would like to express our heartfelt gratitude to several individuals and teams who played a pivotal role in bringing [`quarto-webR`](https://github.com/coatless/quarto-webr) to life as an extension for Quarto. Without their dedication and contributions, this project would not have been possible.
10+
We would like to express our heartfelt gratitude to several individuals and teams who played a pivotal role in bringing [`quarto-webr`](https://github.com/coatless/quarto-webr) to life as an extension for Quarto. Without their dedication and contributions, this project would not have been possible.
1111

1212
## quarto-webr Extension Core Developers
1313

1414
- [James Joseph Balamuta](https://github.com/coatless)
1515
- [JooYoung Seo](https://github.com/jooyoungseo) for accessibility improvements.
1616

17-
Their relentless dedication have played a pivotal role in shaping the development of this extension.
17+
They played a pivotal role in shaping the development of this Quarto extension.
1818

1919
## webR Core Developers
2020

2121
- [George Stagg](https://github.com/georgestagg)
2222
- [Lionel Henry](https://github.com/lionel-)
2323

24-
Their tireless efforts and expertise in developing [webR](https://docs.r-wasm.org/webr/latest/) were instrumental in the development of this extension, and we are immensely grateful for their contributions.
24+
Their tireless efforts and expertise in developing [webR](https://docs.r-wasm.org/webr/latest/) were instrumental in being able to even develop this extension for Quarto. We are immensely grateful for their contribution of the webR project. Further, we greatly appreciate them answering our questions and providing guidance throughout the development process.
2525

2626
## Early Testing Feedback
2727

@@ -40,7 +40,7 @@ We would like to acknowledge the Quarto team for their assistance in setting up
4040

4141
Our project built upon the initial proof of concept for a standalone Quarto HTML document, made possible by the work of the [coatless-r-n-d/webR-quarto-demos](https://github.com/coatless-r-n-d/webR-quarto-demos) repository.
4242

43-
Additionally, we were inspired by the following public-facing examples from the webR Core developers:
43+
Additionally, we were inspired by the following public-facing examples from the webR Core developers that contributed to the initial standalone experiment:
4444

4545
- [Source of Tidyverse Blog Post](https://github.com/tidyverse/tidyverse.org/pull/617/files) and [Minor fix](https://github.com/tidyverse/tidyverse.org/commit/72bb2dd7ca0b2f211498a891aa54f55ddcad5014)
4646
- [webR documentation landing page](https://github.com/r-wasm/webr/blob/53acd8861c44f1f167941d0a40f62b0cc23852da/src/docs/index.qmd#L23-L68) ([Live page](https://docs.r-wasm.org/webr/latest/))

docs/qwebr-code-cell-demos.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ aliases:
1414
- webr-code-cell-demos.html
1515
---
1616

17-
Welcome to the world of interactive code cells, unlocked by the `quarto-webr` extension. These cells allow you to run R code directly within your Quarto HTML documents, enabling real-time computations, dynamic visualizations, and more. Let's explore the impressive capabilities webR offers.
17+
Welcome to the world of interactive code cells, unlocked by the community `quarto-webr` extension. These cells allow you to run R code directly within your Quarto HTML documents, enabling real-time computations, dynamic visualizations, and more. Let's explore the impressive capabilities webR offers.
1818

1919
# Creating webR-Enabled Code Cells
2020

docs/qwebr-community-examples.qmd

+14-7
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ aliases:
1010
- webr-community-examples.html
1111
---
1212

13-
Welcome to the Community Examples page for the `quarto-webr` extension. This section celebrates the diverse and innovative ways that members of our community are harnessing the power of the `quarto-webr` extension. These examples showcase real-world use cases, highlighting the extension's adaptability and functionality across various fields. You may also find references to examples from the [main webR project](https://webr.r-wasm.org/) here as well.
1413

15-
Explore the projects, applications, educational materials, and more created by fellow users. Gain inspiration from the community's contributions and discover how you can leverage the full potential of `quarto-webr` in your own work. Whether your interests lie in data analysis, interactive reports, or educational resources, you'll find valuable insights and ideas within the community's projects.
14+
Welcome to the Community Examples page for the `quarto-webr` extension. Here, we showcase diverse and innovative ways that members of our community are using the extension. You'll find real-world examples of projects, applications, educational materials, and more created by fellow users.
1615

17-
Do you have your own project or example that incorporates `quarto-webr`? We invite you to contribute to this growing collection of community-driven projects by submitting a [pull request](https://github.com/coatless/quarto-webr/edit/main/docs/qwebr-community-examples.qmd) or [creating an issue](https://github.com/coatless/quarto-webr/issues/new?assignees=&labels=community-example&projects=&template=community-example.yml&title=%5BExample%5D%3A+). Your experiences and creativity can inspire others and promote collaboration within our community. Together, we can continue to expand the possibilities of `quarto-webr`.
16+
Have a project using `quarto-webr`? Contribute by submitting a [pull request](https://github.com/coatless/quarto-webr/edit/main/docs/qwebr-community-examples.qmd) or [creating an issue](https://github.com/coatless/quarto-webr/issues/new?assignees=&labels=community-example&projects=&template=community-example.yml&title=%5BExample%5D%3A+). Your contributions can inspire and foster collaboration within our community, expanding the possibilities of `quarto-webr`.
1817

1918
# Videos
2019

@@ -27,6 +26,10 @@ Do you have your own project or example that incorporates `quarto-webr`? We invi
2726

2827
**English**
2928

29+
- [Andrew Heiss'](https://andrewheiss.com) conversion of [R Primers](https://r-primers.andrewheiss.com/). Spring 2024.
30+
- [Source repository](https://github.com/andrewheiss/r-primers)
31+
- [Andrew Heiss'](https://andrewheiss.com)'s course [Data Visualization with R](https://datavizs24.classes.andrewheiss.com/lesson/06-lesson.html#histograms) at Georgia State University. Summer 2024.
32+
- [Source repository](https://github.com/andrewheiss/r-primers)
3033
- [E.D. Gennatas](https://egenn.lambdamd.org/)'s tech demo with [progressive reveal tutorials](https://rtemis.org/pdsx/rdemo.html). Spring 2024.
3134
- Faculty of Medicine, University of Oslo's [MF9130E - Introductory Course in Statistics](https://www.uio.no/studier/emner/medisin/med/MF9130E/). Spring 2024.
3235
- [Sample Lab](https://ocbe-uio.github.io/teaching_mf9130e/lab/lab_distribution.html) and [source repo](https://github.com/ocbe-uio/teaching_mf9130e) announced on [Linkedin](https://www.linkedin.com/posts/andreaczhang_webr-rstats-quarto-activity-7183880219089334272-AZaq)
@@ -54,6 +57,12 @@ Do you have your own project or example that incorporates `quarto-webr`? We invi
5457
- [Javier Arántegui](https://github.com/runjaj)'s course [Calidad 2023-24](https://runjaj.quarto.pub/calidad-23-24-gcta) contained short R Tutorials with examples using `quarto-webr`
5558
- [Lecture: Introduction to R (Spanish)](https://runjaj.quarto.pub/calidad-23-24-gcta/intro_R.html), [Lecture: Acceptance Sampling](https://runjaj.quarto.pub/calidad-23-24-gcta/intro_AcceptanceSampling.html), and [mastodon tweet](https://mastodon.social/@runjaj/112241537253261459).
5659

60+
61+
**Turkish**
62+
63+
- [Alper Yilmaz](https://github.com/alperyilmaz)'s lecture notes for [MBG1032 Biyoistatistik](https://alperyilmaz.github.io/biostats-webr). Spring 2024.
64+
- [Source](https://github.com/alperyilmaz/biostats-webr)
65+
5766
# Talks
5867

5968
- [Nicola Rennie](https://nrennie.rbind.io/)'s talk on [Teaching statistics interactively with webR](https://nrennie.rbind.io/talks/rss-conference-teaching-webr/). Nov 22th, 2023 @ RSS/RoSE UK Statistics Education Meeting 2023
@@ -76,10 +85,6 @@ Do you have your own project or example that incorporates `quarto-webr`? We invi
7685
- [Slides](https://mine-cetinkaya-rundel.github.io/teach-with-quarto/talks/5-teaching-materials/) and [Source code](https://github.com/mine-cetinkaya-rundel/teach-with-quarto/tree/main/talks/5-teaching-materials)
7786
- [WebR Demo](https://maria.quarto.pub/webr-demo/) on [Quarto Pub](https://quarto.pub)
7887

79-
**Turkish**
80-
81-
- [Alper Yilmaz](https://github.com/alperyilmaz)'s lecture notes for [MBG1032 Biyoistatistik](https://alperyilmaz.github.io/biostats-webr). Spring 2024.
82-
- [Source](https://github.com/alperyilmaz/biostats-webr)
8388

8489
# Textbooks
8590

@@ -142,6 +147,8 @@ Do you have your own project or example that incorporates `quarto-webr`? We invi
142147

143148
**English**
144149

150+
- [Pawel Rucki](https://pawelru.github.io/cv/)'s post on the Pharmaverse blog [TLG Catalog 🤝 WebR](https://pharmaverse.github.io/blog/posts/2024-05-08_tlg_catalog_webr/tlg_catalog_webr.html).
151+
- [Example page: ADAT01](https://insightsengineering.github.io/tlg-catalog/stable/tables/ADA/adat01.html#tabset-1-2) and [Source repository](https://github.com/insightsengineering/tlg-catalog).
145152
- Rodolfo Lourenzutti's tutorial post on [A/B Testing](https://lourenzutti.github.io/tutorials/AB-testing/ab-test.html). Apr 3rd, 2024.
146153
- [Source](https://github.com/Lourenzutti/lourenzutti.github.io/blob/master/tutorials/AB-testing/ab-test.qmd)
147154
- [Claudiu Papasteri](https://github.com/ClaudiuPapasteri)'s post on [Hugo blogdown posts with in-browser interactive code chunks using webR and Quarto?](https://claudiu.psychlab.eu/post/hugo-blogdown-interactive-code-chunk-webr-quarto/). Feb 5th, 2024.

docs/qwebr-deployment-templates.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ date: "10-01-2023"
44
date-modified: last-modified
55
---
66

7-
Discover a range of sample deployment templates for the `quarto-webr` extension at our GitHub repository [here](https://github.com/coatless/quarto-webr/tree/main/examples). These templates serve as convenient starting points for various web-based projects that harness the power of the `quarto-webr` extension, enabling interactive data analysis inside of a web browser. Whether you're embarking on an individual report, creating an interactive website, or compiling a digital book, these templates simplify the process, making it effortless to kickstart your own projects.
7+
Discover a range of sample deployment templates for the community `quarto-webr` extension at our [GitHub repository](https://github.com/coatless/quarto-webr/tree/main/examples). These templates serve as convenient starting points for various web-based projects that harness the power of the `quarto-webr` extension, enabling interactive data analysis inside of a web browser. Whether you're embarking on an individual report, creating an interactive website, or compiling a digital book, these templates simplify the process, making it effortless to kickstart your own projects.
88

99
# HTML Document Template
1010

docs/qwebr-developer-resources.qmd

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ format:
88
toc: true
99
---
1010

11-
Are you eager to contribute to the development of the `quarto-webr` extension or explore ways to modify it to suit your needs? This resource page is your guide to invaluable tools and references that will empower you on your development journey.
11+
Want to contribute to the `quarto-webr` extension or customize it? This resource page guides you with essential tools and references.
1212

1313
## Mastering webR
1414

15-
Before diving into extension development, it's essential to understand the core of what powers the `quarto-webr` extension: [webR](https://docs.r-wasm.org/webr/latest/). These webR resources will be your trusty companions:
15+
Understanding [webR](https://docs.r-wasm.org/webr/latest/), which powers the interactivity, is crucial for developing `quarto-webr`. Review these resources:
1616

17-
- **[webR Documentation](https://docs.r-wasm.org/webr/latest/)**: This comprehensive documentation is your gateway to a deep understanding of webR. It provides profound insights into webR's features, usage, and capabilities. Dive into practical examples, comprehensive guides, and everything you need to become a webR expert.
17+
- **[webR Documentation](https://docs.r-wasm.org/webr/latest/)**: Comprehensive guides and examples to deepen your webR knowledge.
18+
- **[webR Source Code](https://github.com/r-wasm/webr/)**: For the technically curious, explore the official webR project's development on GitHub.
19+
- **[Bob Rudis' Experiments with webR](https://rud.is/webr-experiments/)**: Discover diverse projects using the webR JavaScript API.
1820

19-
- **[webR Source Code](https://github.com/r-wasm/webr/)**: For the technically curious, webR's GitHub source code repository offers transparency into the development of webR. Here, you can review, contribute, and engage with the vibrant webR community to enhance its capabilities.
21+
These resources will help you master webR and, subsequently, your ability to create interactive code cells in HTML documents. Remember, webR is a versatile tool that can be used independently or alongside the community Quarto extension to unlock the magic of interactive code cells in HTML documents.
2022

21-
- **[Bob Rudis' Experiments with webR](https://rud.is/webr-experiments/)**: Many different projects that explore a variety of use cases for webR. These experiments make use of the underlying webR JavaScript API.
22-
23-
These resources empower you to master webR, whether you're just starting out or you're a seasoned developer eager to contribute. Remember, webR is a versatile tool that can be used independently or alongside the Quarto extension to unlock the magic of interactive code cells in HTML documents.
23+
Want to contribute to the `quarto-webr` extension or customize it? This resource page guides you with essential tools and references.
2424

2525
## Quarto Development Ecosystem
2626

docs/qwebr-faq.qmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Frequently Asked Questions"
3-
subtitle: "Find Answers to Common Queries About `quarto-webr` Extension"
3+
subtitle: "Find Answers to Common Queries About the community `quarto-webr` Extension"
44
date: "10-01-2023"
55
date-modified: last-modified
66
engine: markdown
@@ -11,7 +11,7 @@ aliases:
1111
- webr-faq.html
1212
---
1313

14-
Welcome to our Frequently Asked Questions (FAQ) page, your go-to resource for finding answers to common queries about the `quarto-webr` extension. If you can't find the answer you're looking for, don't hesitate to reach out to our community for additional support by opening a [question](https://github.com/coatless/quarto-webr/issues/new?assignees=&labels=q%26a&projects=&template=question.yml&title=%5BQ%26A%5D%3A+) or a [bug report](https://github.com/coatless/quarto-webr/issues/new?assignees=&labels=bug%2Ctriage-needed&projects=&template=bug-report.yml&title=%5BBug%5D%3A+) on the [issue tracker](https://github.com/coatless/quarto-webr/issues).
14+
Welcome to our Frequently Asked Questions (FAQ) page, your go-to resource for finding answers to common queries about the community `quarto-webr` extension. If you can't find the answer you're looking for, don't hesitate to reach out to our community for additional support by opening a [question](https://github.com/coatless/quarto-webr/issues/new?assignees=&labels=q%26a&projects=&template=question.yml&title=%5BQ%26A%5D%3A+) or a [bug report](https://github.com/coatless/quarto-webr/issues/new?assignees=&labels=bug%2Ctriage-needed&projects=&template=bug-report.yml&title=%5BBug%5D%3A+) on the [issue tracker](https://github.com/coatless/quarto-webr/issues).
1515

1616
# Stability and Long Term Support
1717

docs/qwebr-first-steps.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ If an engine is not specified, Quarto will attempt to use the `jupyter` compute
7373

7474
# Fin
7575

76-
In summary, this guide has provided an overview of how to incorporate the `quarto-webr` extension into your Quarto HTML documents using RStudio. We began with a walkthrough video that offered an in-depth understanding of how this Quarto extension operates within the Quarto framework. Subsequently, we explored key workflow changes necessary for incorporating webR into your Quarto HTML documents, from installation to document rendering.
76+
In summary, this guide has provided an overview of how to incorporate the community `quarto-webr` extension into your Quarto HTML documents using RStudio. We began with a walkthrough video that offered an in-depth understanding of how this Quarto extension operates within the Quarto framework. Subsequently, we explored key workflow changes necessary for incorporating webR into your Quarto HTML documents, from installation to document rendering.
7777

7878
For your next steps consider looking at different use cases for [interactive options](qwebr-code-cell-demos.qmd).
7979

0 commit comments

Comments
 (0)