Skip to content

runExample() improvements #3907

@schloerke

Description

@schloerke

Prior PR #1458 that sparked conversation.
(Note: PR closed when HEAD branch was moved.)

Goal

Adopt some plumber::plumb_api() functionality for shiny::runExample():

  • Package has value, no example name: Provides all examples for package
  • No example name, no package name: Provides all examples for all installed packages
  • For now, no edit parameter.
  • Printing method
  • Use "shiny" as subfolder within inst to distinguish from generically named "examples" folder
    • Keep examples as is. Packages like {shinytest2} depend on it being there.
    • Ask team for new core / bslib examples to fill inst/shiny apps

Code to alter from:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions