Skip to content

Commit

Permalink
Set version v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Mar 22, 2024
1 parent 03cead5 commit d03314a
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 25 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# cd src; prefetch-npm-deps package-lock.json
srcNpmDeps = pkgs.fetchNpmDeps {
src = "${self}/src";
hash = "sha256-dFk41ynJpjb+y27G35akLZNOBotAvNAm+wXuqPufm8Y=";
hash = "sha256-xCAcEegU6q4QWkfaI7xz2JZ6u4nsx4KOlaPQU1M7ZiQ=";
};

inherit system;
Expand Down
2 changes: 1 addition & 1 deletion src/docs/examples.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,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.3.0-rc.1/webr.mjs';
import { Console } from 'https://webr.r-wasm.org/v0.3.0/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
Original file line number Diff line number Diff line change
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.3.0-rc.1/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.3.0/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
Original file line number Diff line number Diff line change
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.3.0-rc.1/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.3.0/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.3.0-rc.1/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.3.0/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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
importScripts('https://webr.r-wasm.org/v0.3.0-rc.1/webr-serviceworker.js');
importScripts('https://webr.r-wasm.org/v0.3.0/webr-serviceworker.js');
2 changes: 1 addition & 1 deletion src/docs/webr-worker.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
importScripts('https://webr.r-wasm.org/v0.3.0-rc.1/webr-worker.js');
importScripts('https://webr.r-wasm.org/v0.3.0/webr-worker.js');
37 changes: 20 additions & 17 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webr",
"version": "0.3.0-rc.1",
"version": "0.3.0",
"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 d03314a

Please sign in to comment.