Package: shinyelectron 0.2.1

James Joseph Balamuta

shinyelectron: Export 'Shiny' Applications as Desktop Apps using 'Electron'

Provides tools to export 'Shiny' applications written in 'R' or 'Python' as standalone desktop applications using 'Electron'. The applications run as native, cross-platform programs. Depending on the runtime strategy chosen, end users do not need 'R' or 'Python' installed on their machine.

Authors:James Joseph Balamuta [aut, cre, cph]

shinyelectron_0.2.1.tar.gz
shinyelectron_0.2.1.zip(r-4.7-any)shinyelectron_0.2.1.zip(r-4.6-any)shinyelectron_0.2.1.zip(r-4.5-any)
shinyelectron_0.2.1.tgz(r-4.6-any)shinyelectron_0.2.1.tgz(r-4.5-any)
shinyelectron_0.2.1.tar.gz(r-4.7-any)shinyelectron_0.2.1.tar.gz(r-4.6-any)
shinyelectron_0.2.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
shinyelectron/json (API)

# Install 'shinyelectron' in R:
install.packages('shinyelectron', repos = c('https://coatless-rpkg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/coatless-rpkg/shinyelectron/issues

Pkgdown/docs site:https://r-pkg.thecoatlessprofessor.com

On CRAN:

Conda:

electron-appr-shinyr-shinyliveshinyshiny-appstandalone-appquarto

8.09 score 117 stars 22 scripts 428 downloads 27 exports 10 dependencies

Last updated from:b334020d9e. Checks:4 ERROR, 5 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR206
source / vignettesOK259
linux-releaseERROR200
macos-releaseERROR175
macos-oldrelERROR197
windows-develOK212
windows-releaseOK231
windows-oldrelOK225
wasm-releaseOK137

Exports:app_checkapp_dependenciesavailable_examplesbuild_electron_appcache_clearcache_dircache_infocache_removecheck_auto_update_statusconvert_py_to_shinyliveconvert_shiny_to_shinylivedisable_auto_updatesenable_auto_updatesexample_appexportinit_configinstall_nodejsinstall_python_standaloneinstall_r_portablerun_electron_appshow_configsitrep_electron_build_toolssitrep_electron_dependenciessitrep_electron_projectsitrep_electron_systemsitrep_shinyelectronwizard

Dependencies:clifsjsonliteprocessxpsR6rappdirsrlangwhiskeryaml

Configuration Guide
Why use one | Getting a config file in place | Complete reference | How values get resolved | File paths | Section reference | app | Settle the slug before you ship | build | Cross-platform caveats | icon and icons | Creating icons | window | server | nodejs | auto_install is planned, not yet active | dependencies | Version keys | Detection and extra packages | R-specific dependency options | Pruning the bundled R runtime | Local R packages | Python-specific dependency options | system_packages | container | apps | logging | lifecycle | signing | installer | Decide on per_machine before the first release | Build Windows installers on Windows | Common recipes | Development setup | Production multi-platform build | Native R app with bundled runtime | Multi-app suite | What happens when a value is invalid | Next steps

Last update: 2026-09-30
Started: 2026-04-22

Getting Started with shinyelectron
Install the package | Run a pre-flight check | Build a demo end to end | Try a prebuilt demo | Export your Shiny app | Shinylive: runs in the browser | Native: runs a real R or Python process | Choose an app type and runtime strategy | What export produces | Build for several platforms in one call | Give the app a custom icon | Capture build settings in a config file | Where to go next | Function cheat sheet

Last update: 2026-09-30
Started: 2026-04-22

Runtime Strategies
Picking a strategy | Shinylive strategy | The export flow | Tradeoffs | System strategy | The launch flow | Bundled strategy | The build flow | Local R packages | Auto-download strategy | Container strategy | Platform considerations | Portable runtime coverage | Cross-platform builds | macOS code signing | Next steps

Last update: 2026-09-30
Started: 2026-04-22

Code Signing and Distribution
When signing matters | Turning signing on | macOS: sign and notarize | Windows: sign with a code signing certificate | Linux: optional GPG signing | Signing in CI | Development versus production | Environment variables reference | Next steps

Last update: 2026-09-30
Started: 2026-04-22

Troubleshooting Guide
Start with a full report | Targeted diagnostics | Local versus system Node.js | Reading sitrep results in code | Install-time problems | Node.js not found | Node.js version too old | npm not found | Missing R packages | Xcode Command Line Tools missing (macOS) | Visual Studio Build Tools missing (Windows) | Build tools missing (Linux) | Python not found | Python shinylive CLI not working | Python shiny package not installed | Docker or Podman not found | Docker on Parallels and other nested virtualization | Build-time problems | package.json not found | node_modules not found | Container image pull failure | Container port conflict | GNU tar versus bsdtar on Windows | EBUSY file locks when rebuilding (Windows) | Slow builds (Windows) | Runtime problems | R not on PATH (Windows) | Gatekeeper blocks the app (macOS) | SmartScreen blocks the installer (Windows) | Clear the cache | Debugging a packaged app | Deprecation warnings: shinylive as an app type | Getting help | Next steps

Last update: 2026-09-30
Started: 2026-04-22

Customizations
Lifecycle window | Splash | Preloader | Advanced lifecycle options | System tray | What the buttons do | Tray menu | Tray icon, per platform | Application menu | What each template ships | Platform conventions | About dialog | DevTools | Wiring it all together | Editing config from R | Next steps

Last update: 2026-09-30
Started: 2026-04-25

Multi-App Suites
Layout | R suite | Python suite | Configuration | R suite config | Python suite config | Fields in an apps entry | Mixed-strategy suites | How dependencies are handled | R apps | Python apps | Exporting a suite | Launcher and app switching | One runtime, one active app | Building your own suite

Last update: 2026-09-30
Started: 2026-04-22

Automatic Updates
Pick a publish host | Quick start | GitHub Releases | Configure the app | Build the app | Publish a release | What the user sees | Configuration | Three knobs, one pipeline | Private repositories | S3 | Generic HTTP | Code signing | macOS | Windows | Turning updates off | Troubleshooting | The check fails | Downloads, never installs | Always "No updates available" | Debug logging | Publishing from CI | Next steps

Last update: 2026-09-29
Started: 2026-04-22

Building with GitHub Actions
Why automate | Before you start | Use the bundled workflow | Configure it | What the matrix builds | Push and tag | Status badge | Customising | App in a different folder | Narrower platform list | Runtime strategy | Icons and other options | Config file wins, action inputs override | Signing in CI | Roll your own | CI-specific troubleshooting | appdir points at the wrong directory | Linux build fails on missing libraries | shinylive build stops with "there is no package called ..." | Pin the shinyelectron version | Job hits the six-hour limit | Next steps

Last update: 2026-09-29
Started: 2026-04-22

Container Strategy
When to reach for a container | Prerequisites | The launch flow | Configuration | Where the image comes from | Built-in R image | Built-in Python image | System dependency baking | Registry image | Passing volumes and env vars | Verifying the engine | Limitations | Platform notes

Last update: 2026-09-29
Started: 2026-04-22

Node.js Management
Why a local install | Installing | Which Node.js shinyelectron uses | Auto-install from _shinyelectron.yml (planned) | Not yet implemented | Cache layout | Download integrity | Clearing the cache | Local versus system | Troubleshooting | Network error during download | Checksum mismatch | Wrong architecture | Local install skipped | Next steps

Last update: 2026-09-29
Started: 2026-04-22

Security Considerations
Two processes, one trust boundary | What shinyelectron locks down | Content-Security-Policy scope | Cross-origin headers (Shinylive only) | Runtime download integrity | Where your app still has to think | Inputs are user-controlled | File access is user-wide | Secrets and per-user credentials | Giving each user their own token | Never bundle credentials | Strategy-specific notes | Shinylive | System, bundled, auto-download | Container | Distribution | What not to do | Do not modify these settings in the generated Electron code | Summary

Last update: 2026-09-29
Started: 2026-04-22