Skip to content
Shiny packaging with Electron
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst
man
tests
vignettes
.Rbuildignore
.gitattributes
.gitignore
.travis.yml
DESCRIPTION
LICENSE
LICENSE.md
NAMESPACE
Notes.md
README.Rmd
README.md
appveyor.yml
codecov.yml
example.Rmd
shinyLocal.Rproj
ss.Rmd

README.md

  • Lifecycle: experimental

Windows CI:

  • Build status

Mac and Linux CI

  • Build Status

Introduction

The purpose of this package is to make local shiny apps. It uses electron for creating the application and for repeatability it installs both R and R packages from a single MRAN date.

It currently only builds windows apps, but support is being added for Mac and Linux as well.

Your shiny app should be built as an R package and should list all dependencies, as an R package would.

A template for desgining a shiny app as a package may be found here: https://github.com/ThinkR-open/shinytemplate

Example

installTo <- tempdir()

MRANdate <- as.character(Sys.Date() - 3)


electricShine::buildPackage(
appName = "My_App",
description = "My demo application",
packageName = "demoApp",
semanticVersion = "1.0.0",
installTo = installTo,
MRANdate = MRANdate,
functionName = "run_app",
githubRepo = "chasemc/demoApp",
localPath  = NULL,
only64 = TRUE
)
You can’t perform that action at this time.