posit-dev / posit-dev/shinylive
Question: how to use custom repos on shinylive.io
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:
However, in shinylive.io it does not:
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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