posit-dev / posit-dev/shinylive

Question: how to use custom repos on shinylive.io

Open
#189 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 was thinking that it is webr_pkg_repos option value but apparently it does not work in shinylive.io.

A minimal example:

options(webr_pkg_repos = c("r-universe" = "https://pharmaverse.r-universe.dev", getOption("webr_pkg_repos")))
library(teal.code)
packageVersion("teal.code")

In webR REPL app it works correctly:
Image

However, in shinylive.io it does not:
Image
sharable link

(I am sorry if this is not appropriate repo. If that's the case - please guide me where should I open this)

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

Start by running the minimal R example in the linked shinylive.io editor and compare it with the webR REPL app, where the custom repository works. Use the sharable link to reproduce the package lookup behavior; done means the custom webr_pkg_repos value allows teal.code and its version to be resolved in shinylive.io.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.