pack | R Documentation |
This Function make your shiny app to an executable file Go to your project directory(Including app.R), and run this function.
pack(app_name = "myapp", electron_settings = list(), option = list())
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. |
Returns nothing. For generating new files.
Changwoo Lim
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()
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.