create_polish_app: Create a ready-to-use Polish App skeleton

Description Usage Arguments Examples

View source: R/create_polish_app.R

Description

Creates needed files and directories so that you can quickly begin development of your Shiny App.

Usage

1
2
3
4
5
create_polish_app(
  app.dirname,
  example.modules = FALSE,
  helpful.comments = FALSE
)

Arguments

app.dirname

New directory that will be created and contain the shiny app files

example.modules

If TRUE, two example modules will be created along with the app skeleton

helpful.comments

If TRUE, comments will be included to help the user learn how Polish Apps work

Examples

1
2
3
4
5
6
7
8
9
# Create a new polish app skeleton with example modules and helpful comments in the app.R file.
## Not run: 
polish::create_polish_app(
  app.dirname = file.path('.', 'my_new_shiny_app'),
  example.modules = TRUE,
  helpful.comments = TRUE
)

## End(Not run)

ndrewGele/polish documentation built on March 9, 2021, 6:34 p.m.