Skip to content

dataheld/crow

unversioned · 53b3db44217e

Build, test and document shiny modules with crow's helpers.

add-shiny-module

Add a shiny module to an R package the crow way, with foo_ui, foo_server and a foo_app testbed from crow::module2app(), testServer() tests covering all server logic, and shinytest2 screenshots of the interaction inserted into the docs. Use when creating or restructuring a shiny module in an R package.

Compatibility
Requires R, an R package with testthat 3e, and the R packages crow, shiny, shinytest2, pkgload and withr. Screenshots need Chrome.
Read SKILL.md at the source

Pinned to revision 53b3db44217e, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.