Skip to content

Commit

Permalink
Set version v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Apr 9, 2024
1 parent 2f3b467 commit 33708d8
Show file tree
Hide file tree
Showing 12 changed files with 82 additions and 85 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# webR (development version)

# webR 0.3.2

## New features

* The `captureGraphics` option in `EvalROptions` now allows the caller to set the arguments to be passed to the capturing `webr::canvas()` device (#390).
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

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

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-Zpbt9QY9tO/jb0UAWzU2w+C5JN0Oa4SQPN65zGFZJiE=";
hash = "sha256-s3QeJV3RhqizVCrswEEJj5RBhvU9jcxai4GYg92MOJ4=";
};

inherit system;
Expand Down
2 changes: 1 addition & 1 deletion packages/webr/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: webr
Title: WebR Support Package
Version: 0.3.1
Version: 0.3.2
Authors@R: c(
person("George", "Stagg", , "[email protected]", role = c("aut", "cre")),
person("Lionel", "Henry", , "[email protected]", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion src/docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ website:
favicon: images/webR.png
page-navigation: true
sidebar:
title: "WebR 0.3.1 Documentation"
title: "WebR 0.3.2 Documentation"
logo: images/webR.png
contents:
- index.qmd
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.1/webr.mjs';
import { Console } from 'https://webr.r-wasm.org/v0.3.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
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.1/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.3.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
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.1/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.3.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.3.1/webr.mjs';
import { WebR } from 'https://webr.r-wasm.org/v0.3.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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
importScripts('https://webr.r-wasm.org/v0.3.1/webr-serviceworker.js');
importScripts('https://webr.r-wasm.org/v0.3.2/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.1/webr-worker.js');
importScripts('https://webr.r-wasm.org/v0.3.2/webr-worker.js');
Loading

0 comments on commit 33708d8

Please sign in to comment.