Skip to content

Commit

Permalink
Set version v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Nov 16, 2023
1 parent 48d27f2 commit 71acd7c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
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.2-rc.0/webr.mjs';
import { Console } from 'https://webr.r-wasm.org/v0.2.2/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.2-rc.0/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.2.2/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.2-rc.0/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.2.2/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.2-rc.0/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.2.2/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.2-rc.0/webr-serviceworker.js');
importScripts('https://webr.r-wasm.org/v0.2.2/webr-serviceworker.js');
2 changes: 1 addition & 1 deletion src/docs/webr-worker.js
@@ -1 +1 @@
importScripts('https://webr.r-wasm.org/v0.2.2-rc.0/webr-worker.js');
importScripts('https://webr.r-wasm.org/v0.2.2/webr-worker.js');
2 changes: 1 addition & 1 deletion src/package.json
@@ -1,6 +1,6 @@
{
"name": "webr",
"version": "0.2.2-rc.1",
"version": "0.2.2",
"description": "The statistical programming language R compiled into WASM for use in a web browser and node.",
"keywords": [
"webR",
Expand Down

0 comments on commit 71acd7c

Please sign in to comment.