pack: Make Shiny Application to Executable File

View source: R/pack.R

packR Documentation

Make Shiny Application to Executable File

Description

This Function make your shiny app to an executable file Go to your project directory(Including app.R), and run this function.

Usage

pack(app_name = "myapp", electron_settings = list(), option = list())

Arguments

app_name

Name of your application. Default will be "myapp".

electron_settings

A list including package.json settings. Including product_name, app_version, app_description, author_name, author_email, repository_url

option

A list containing option for packing. See option_description.md for details.

Value

Returns nothing. For generating new files.

Author(s)

Changwoo Lim

Examples

if (interactive()) {
  # Needs at least 1 minute.
  pack(
    app_name = "myapp",
    electron_settings = list(
      c("product_name_template", "My Own Product Name"),
      c("app_description_template", "App Description"),
      c("author_name_template", "Author Name"),
      c("author_email_template", "Author E-mail"),
      c("repository_url_template", "Repository URL")
    ),
    option = list()
  )
}

executablePackeR documentation built on May 29, 2024, 3:52 a.m.