Skip to content

Commit

Permalink
Set version v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Sep 12, 2023
1 parent cb1b5f4 commit 2537c29
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
@@ -1,5 +1,7 @@
# webR (development version)

# webR 0.2.1

## New features

* Added a new communication channel based on `postMessage`, to be used when both Cross Origin Isolation and Service Workers are unavailable. Nested R REPLs (e.g. `readline()`, `menu()`, `browser()`, etc.) are unsupported when using this channel.
Expand Down
2 changes: 1 addition & 1 deletion packages/webr/DESCRIPTION
@@ -1,7 +1,7 @@
Type: Package
Package: webr
Title: WebR Support Package
Version: 0.2.0.9000
Version: 0.2.1
Authors@R: c(
person("George", "Stagg", , "george.stagg@posit.co", role = c("aut", "cre")),
person("Lionel", "Henry", , "lionel@posit.co", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion src/docs/_quarto.yml
Expand Up @@ -15,7 +15,7 @@ website:
favicon: images/webR.png
page-navigation: true
sidebar:
title: "WebR 0.2.1-dev Documentation"
title: "WebR 0.2.1 Documentation"
logo: images/webR.png
contents:
- index.qmd
Expand Down
2 changes: 1 addition & 1 deletion src/docs/examples.qmd
Expand Up @@ -339,7 +339,7 @@ After loading, the resulting web page should present an interactive R console si
</div>
</div>
<script type="module">
import { Console } from 'https://webr.r-wasm.org/v0.2.0/webr.mjs';
import { Console } from 'https://webr.r-wasm.org/v0.2.1/webr.mjs';
const webRConsole = new Console({
stdout: line => document.getElementById('out').append(line + '\n'),
stderr: line => document.getElementById('out').append(line + '\n'),
Expand Down
2 changes: 1 addition & 1 deletion src/docs/index.qmd
Expand Up @@ -39,7 +39,7 @@ summary(fit)</div>
editor.setOptions({ fontSize: "11pt", maxLines: Infinity });
editor.session.setMode("ace/mode/r");
import { WebR } from 'https://webr.r-wasm.org/v0.2.0/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.2.1/webr.mjs';
const webR = new WebR();
await webR.init();
await webR.evalRVoid('options(device=webr::canvas)');
Expand Down
4 changes: 2 additions & 2 deletions src/docs/plotting.qmd
Expand Up @@ -82,7 +82,7 @@ text(4, -4, "זה כתוב בעברית")</div>
editor.setOptions({ fontSize: "11pt", maxLines: Infinity });
editor.session.setMode("ace/mode/r");
import { WebR } from 'https://webr.r-wasm.org/v0.2.0/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.2.1/webr.mjs';
const webR = new WebR();
await webR.init();
await webR.evalRVoid('options(device=function(...){webr::canvas(width=500, height=300)})');
Expand Down Expand Up @@ -207,7 +207,7 @@ Click the button below to see the output of this demo,
<button id="plot-button" class="btn btn-success btn-sm" disabled="true">Run graphics demo</button>
<div style="text-align: center" id="plot-container"></div>
<script type="module">
import { WebR } from 'https://webr.r-wasm.org/v0.2.0/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.2.1/webr.mjs';
const webR = new WebR();
let canvas = null;
let container = document.getElementById('plot-container');
Expand Down
2 changes: 1 addition & 1 deletion src/docs/webr-serviceworker.js
@@ -1 +1 @@
importScripts('https://webr.r-wasm.org/v0.2.0/webr-serviceworker.js');
importScripts('https://webr.r-wasm.org/v0.2.1/webr-serviceworker.js');
2 changes: 1 addition & 1 deletion src/docs/webr-worker.js
@@ -1 +1 @@
importScripts('https://webr.r-wasm.org/v0.2.0/webr-worker.js');
importScripts('https://webr.r-wasm.org/v0.2.1/webr-worker.js');
2 changes: 1 addition & 1 deletion src/package.json
@@ -1,6 +1,6 @@
{
"name": "webr",
"version": "0.2.1-dev",
"version": "0.2.1",
"description": "The statistical programming langauge R compiled into WASM for use in a web browser and node.",
"keywords": [
"webR",
Expand Down

0 comments on commit 2537c29

Please sign in to comment.