Title: | Make 'shiny' App to Executable Program |
Version: | 0.0.2 |
Maintainer: | Changwoo Lim <limcw@zarathu.com> |
Description: | Make your 'shiny' application as executable program. Users do not need to install 'R' and 'shiny' on their system. |
License: | GPL-3 |
Depends: | R (≥ 4.2) |
Imports: | automagic, cli, rstudioapi, utils |
Encoding: | UTF-8 |
RoxygenNote: | 7.3.1 |
NeedsCompilation: | no |
Packaged: | 2024-02-27 02:14:30 UTC; limcw |
Author: | Changwoo Lim |
Repository: | CRAN |
Date/Publication: | 2024-02-27 06:00:05 UTC |
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()
)
}