Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for shinylive #126

Open
fifteenforty opened this issue Sep 14, 2023 · 4 comments
Open

Add support for shinylive #126

fifteenforty opened this issue Sep 14, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@fifteenforty
Copy link
Collaborator

As the documentation reads: "Shinylive allows you to run Shiny applications entirely in a web browser, without the need for a separate server"

stanpumpR should be faster, more responsive and more reliable when run directly in the browser. As it has no external datasource dependencies, this is the ideal way to run it!

https://github.com/posit-dev/r-shinylive

@fifteenforty fifteenforty added the enhancement New feature or request label Sep 14, 2023
@StevenLShafer
Copy link
Owner

StevenLShafer commented Sep 14, 2023 via email

@fifteenforty
Copy link
Collaborator Author

Unfortunately this is not yet achievable, due to dependencies on packages that aren't compatible yet with webR. Soon I hope. The list of supported packages is available here: https://repo.r-wasm.org

@maplequest
Copy link

The stanpumpR PK engine itself has no fundamental dependencies and that subset of the R source code runs happily directly in the WebR environment. This repo illustrates that approach, running live here. This shell script is what assembles the working WebR code straight from the stanpumpR source.

@fifteenforty
Copy link
Collaborator Author

The stanpumpR PK engine itself has no fundamental dependencies and that subset of the R source code runs happily directly in the WebR environment.

Agreed, I just haven't been able to put the time into figuring out exactly is stopping execution of the whole package. There were limited debugging tools available when I made this comment. Great work on posiTIVA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants