Skip to content

Releases: coatless/quarto-webr

Across the webR-Verse to v0.2.0

17 Aug 15:21
265c215
Compare
Choose a tag to compare

Feature

  • Implements changes required to run webR v0.2.0

Demo, Demo, Demo!

17 Aug 15:20
Compare
Choose a tag to compare

Bug fix

  • Attempted to resolve missing service workers for published Quarto webR enabled documents on https://quarto.pub

Deployment

  • Added a GitHub actions website deployment workflow to generate sample pages.
  • Added a devcontainer.json for development on GitHub
  • Added a script to update the version of Quarto used inside of the devcontainer.json.

Accessibility with the Monaco Editor

02 May 00:13
2cc9dcb
Compare
Choose a tag to compare

Breaking Changes

Features

  • Code editing areas on the Quarto document now use the Monaco Editor for improved accessibility.
  • Execute code using keyboard shortcuts:
    • Run selected code using: [Cmd + Enter] on macOS or [Ctrl+Enter] on Windows
    • Run the entire code area using: [Shift+Enter]
  • Dynamically growing code editor as new lines are added.
  • Announcing the status changes of webR initialization states through arias.

Setting Options in Document YAML

11 Apr 09:26
7c605ee
Compare
Choose a tag to compare

Features

  • Upgraded the version of webR to use v0.1.1.
  • Set options directly inside the document's YAML header to control webR:
    • Support is available for setting the following WebR.WebROptions options:
      • home-dir: The WebAssembly user’s home directory and initial working directory (Documentation). Default: '/home/web_user'.
      • base-url: The base URL used for downloading R WebAssembly binaries. (Documentation). Default: 'https://webr.r-wasm.org/[version]/'.
      • service-worker-url: The base URL from where to load JavaScript worker scripts when loading webR with the ServiceWorker communication channel mode (Documentation). Default: ''.
  • webR initialization status stages are now described and shown as stoplights (inspired by Bob Rudis)
    • show-startup-message: Display in the document header the state of WebR initialization. Default: true
    • show-header-message: Display in the document header whether COOP and COEP headers are in use for faster page loads. Default: false

New status lighting

Execute webr cells when developing in VS Code or RStudio

30 Mar 07:24
288faab
Compare
Choose a tag to compare

Breaking Changes

  • We've transitioned to using the {webr-r} code cell designation from our original {webr} designation.
    • The {webr-r} tag allows for code cell evaluation prior to rendering the document
    • Moreover, the {webr-r} component does not need to be registered under the knitr compute engine.

Please update code cells from:

```{webr}

```

To:

```{webr-r}

```

Escape Escape!

19 Mar 07:42
Compare
Choose a tag to compare

Bugfix

  • Escape characters \ are further escaped.
```{webr}
add_one <- \(x) x + 1
add_one(2)
```

Should now appear in a webR code cell as:

add_one <- \(x) x + 1
add_one(2)

Documentation

  • Added details on how to host webR content
  • Added additional examples and details in the webr-demo.qmd file.

All about that margin

12 Mar 20:58
Compare
Choose a tag to compare

Bug Fixes

  • Fixed the error of figure margins too large due to canvas sizing issues.
  • Removed the attempt to switch between / and '' if COOP and COEP are not present. Defaults to relative directory.

Initial Release: Democratizing Data Science

12 Mar 20:56
Compare
Choose a tag to compare

Features

  • Enable webR code cells inside of a Quarto document.

quarto-webr Filter in Action