scaffold: Scaffold Leprechaun

Description Usage Arguments Value Examples

View source: R/scaffold.R

Description

Scaffolds a leprechaun project. This must be run from within a package and should only be run once per project.

Usage

1
2
3
4
5
scaffold(
  ui = c("navbarPage", "fluidPage"),
  bs_version = bootstrap_version(),
  overwrite = FALSE
)

Arguments

ui

Type of UI to use.

bs_version

Bootstrap version to use. If shiny > 1.6 is installed defaults to version 5, otherwise version 4.

overwrite

Whether to force overwrite all files. This is not recommended, make sure you have save and/or committed and checked that the files that will be overwritten can be before proceeding with this option.

Value

Invisibly return NULL, called for side-effects.

Examples

1
## Not run: scaffold()

leprechaun documentation built on Jan. 19, 2022, 5:08 p.m.