The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Examples for functions that install a runtime, launch an app, or clear the cache now run only in interactive sessions.
The Download Prebuilt Demos guide moved from a bundled vignette to the package website, and outdated external documentation links were refreshed.
wizard() now requires the appdir
argument instead of defaulting to the working directory.
This release grows shinyelectron from an R shinylive exporter into a general Shiny-to-desktop toolkit, adding Python apps, five runtime strategies, and multi-app suites.
app_type now takes only "r-shiny",
"py-shiny", or NULL (autodetected), and
shinylive is a runtime_strategy rather than an app type.
The old "r-shinylive" and "py-shinylive"
values still work with a deprecation warning and will be removed in a
future release.app_type
autodetects "r-shiny" or "py-shiny" from
appdir, so export(appdir, destdir) works with
no other arguments.runtime_strategy selects how an app runs, and all five
strategies work with both languages: shinylive (the
default; compiled to WebAssembly and run offline in the browser),
bundled (embeds a portable R or Python runtime),
system (uses an installed interpreter),
auto-download (fetches the runtime on first launch), and
container (runs in Docker or Podman).apps array in _shinyelectron.yml
lists them, and each app can set its own
runtime_strategy.export() and build_electron_app() gain a
sign argument for macOS signing and notarization and
Windows Authenticode, driven by the usual CSC_* and
APPLE_* environment variables.enable_auto_updates(),
disable_auto_updates(), and
check_auto_update_status() manage electron-updater
configuration.install_r_portable(),
install_python_standalone(), and
install_nodejs() download and cache portable runtimes, and
cache_dir(), cache_info(), and
cache_remove() inspect and prune the cache.dependencies.r.version,
dependencies.python.version, and
dependencies.electron.version pin the versions a build
uses; each accepts null, "latest", or an exact
version.library() and require()
calls for R and requirements.txt or
pyproject.toml for Python._shinyelectron.yml.app_check() validates an app before building,
wizard() generates a config interactively,
show_config() prints the merged configuration, and
available_examples() and example_app() browse
the bundled demos.app_dependencies() reports the R or Python packages a
Shiny app or multi-app suite uses, which helps install an app’s
dependencies before a shinylive build._brand.yml for theming.runtime_strategy argument overrides a suite’s
build.runtime_strategy for apps that set no per-app
strategy, so a suite built as shinylive really is shinylive
rather than falling back to the config default._brand.yml that names palette colors (for example
primary: plum) resolves those references before theming the
shell.shinylive::export() compiles the WebAssembly bundle from
installed packages.build_electron_app() refuses to overwrite protected
directories such as ~, /, and
R.home().convert_shiny_to_shinylive() removes its temporary copy
on every exit path.export() cleans up partial output when a build fails,
so a retry no longer needs overwrite = TRUE, for single
apps and multi-app suites alike.export() no longer aborts or deletes a finished build
when a run_after or open_after step fails;
those steps now only warn.init_config() escapes app names so the generated YAML
round-trips, and build.type may be omitted and
autodetected.run_electron_app() reports the real exit code and
stderr on failure and returns NULL when interrupted.sitrep_shinyelectron() also checks the Python shinylive
CLI and shiny package.LD_LIBRARY_PATH,
fixing a Linux No module named shinylive error.tar on macOS
and Linux and bsdtar on Windows, handling archives R’s internal tar
cannot read.system strategy checks for R >= 4.4.0 or Python
>= 3.9.0 and fails with an actionable message.splash.width,
splash.height, preloader.enabled,
lifecycle.splash_min_duration) are removed, and
menu.template accepts only "default" and
"minimal".r-shinylive support._shinyelectron.yml.electron-updater.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.