coatless / quarto-webr

Community developed Quarto Extension to Embed webR for HTML Documents, RevealJS, Websites, Blogs, and Books.
https://quarto-webr.thecoatlessprofessor.com/
395 stars 19 forks source link

Add `version` document option #211

Closed coatless closed 5 months ago

coatless commented 5 months ago

Allow for specifying the version of main webR project to be used.

This is a toggle to ensure documents work well when the version of R is boosted; but the extension isn't running the latest version.

coatless commented 5 months ago

We probably should add this.

But, the main driver was needing to specify webr-image under the action build recipe for build-rwasm.

      - name: Build WASM R packages
        uses: r-wasm/actions/build-rwasm@v1
        with:
          packages: "."
          repo-path: "_site"
          webr-image: "ghcr.io/r-wasm/webr:v0.3.3"

c.f. https://github.com/r-wasm/actions/issues/22 and https://github.com/r-wasm/rwasm/issues/33