Learn R Programming

shinybones (version 0.2.4)

sb_add_page: Add a page module

Description

Add a page module

Add a component module

Usage

sb_add_page(module, text = module,
  dir_pages = getOption("SB_DIR_PAGES", "pages"), add_to_yaml = FALSE,
  ...)

sb_add_component(module, dir_pages = getOption("SB_DIR_COMPONENTS", "components"), ...)

Arguments

module

name of the module

text

text to add to _site.yml

dir_pages

directory to save the module to

add_to_yaml

logical indicating if module should be added to _site.yml

...

additional parameters to add to _site.yml