posit-dev / posit-dev/shinylive

jsonvalidate and V8 Wasm dependencies

Open
#215 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
251
Forks
25
Avg merge
19m
Merged PRs (30d)
2

Description

I'm trying to deploy a shinylive app that uses the jsonvalidate package, which itself uses V8. According to http://repo.r-wasm.org, both of these packages should be available, but I'm getting a warning Can't find V8 in Wasm binary repository: <http://repo.r-wasm.org> in R and preload error: Requested package V8 not found in webR binary repo. and preload error:Warning: Error in loadNamespace: there is no package called ‘V8’ in the app. I've tried installing both the CRAN and https://jeroen.r-universe.dev/V8 versions of V8. I have also tried shinylive asset versions 0.9.1 and 0.10.6. I am using R 4.5.2.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the shinylive app failure with jsonvalidate, V8, R 4.5.2, and asset versions 0.9.1 or 0.10.6. Start by checking the webR binary repository lookup and preload errors described in the issue; done means the V8 dependency is found and the app loads without the reported warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, wasm
Domain
build-system, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.