Skip to contents

Start with the studio (experimental): every exported function and argument, live, with explanations and the code to copy. "theme" is a page of the same app that themes one character and gives the code to copy. The other examples show one scenario each. All work offline. Some need optional packages: the studio, the theme page and the single-file examples need bslib, and the studio also needs knitr; the long-task example needs promises and later, and the golem example needs golem. The rhino-shaped example uses plain Shiny without rhino or box.

Usage

mascot_examples()

Value

A data frame with character columns name, title and description, in teaching order. name is accepted by mascot_example(). A base data frame. Columns may be added at the end in later versions; existing columns keep their names and types.

See also

Examples

mascot_examples()
#>         name                        title
#> 1     studio                Mascot studio
#> 2 form-check                 Check a form
#> 3  long-task           Show task progress
#> 4    modules              Work in modules
#> 5      theme               Theme a mascot
#> 6      golem                Work in golem
#> 7      rhino Use a rhino-shaped structure
#>                                                                                             description
#> 1                            Every function and argument, live, with explanations and the code to copy.
#> 2                               A worried helper names invalid fields and becomes happy when both pass.
#> 3     Thinking during a slow step, then success or a lasting error bubble. Requires promises and later.
#> 4                                                Two module helpers and a parent-owned floating helper.
#> 5 A palette, your own or your brand's colours, the code to copy and every mood checked. Requires bslib.
#> 6               Function-built UI, golem runtime options and two nested review modules. Requires golem.
#> 7                             Plain Shiny view modules with two nested reviews; no rhino or box needed.