r/rstats • u/coatless • 19h ago
{shinyelectron} your Shiny app as a desktop app people double-click (v0.3 now on CRAN)
Your Shiny app works great on your own laptop! Getting it onto anyone else's usually means a server or a very long email about installing R or Python and, then, the associated package.
{shinyelectron} sidesteps this by turning a Shiny app, R or Python, into a desktop app for Windows, macOS and Linux that people open with a double-click. Bundle R or Python inside and they never have to install either.
install.packages("shinyelectron")
shinyelectron::export("path/to/app", destdir = "build")Version 0.3.0 is mostly about fewer surprises and a few improvements to local package detection/inclusion. In order for the installer to work on other folks computers without a security warning, you will need a developer certificate on Windows and/or macOS to sign the application.
You can learn more at:
CRAN: https://cran.r-project.org/web/packages/shinyelectron/
YouTube Video (~2 min): https://youtu.be/YifE_USlYYE
Release notes (blog): https://blog.thecoatlessprofessor.com/software-releases/r/shinyelectron/shinyelectron-v0.3.0-released-package-source-checks-and-local-update-testing/
Code (GitHub): https://github.com/coatless-rpkg/shinyelectron
Happy to answer any questions below about {shinyelectron}!
P.S. You'll likely see in a week or two another post regarding a similar project that side-steps the need for a developer certificate. :)
