-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
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 withininst
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
- Keep
Code to alter from:
- Original
{plumber}
PR: Addplumb_api()
andavailable_apis()
plumber#631- Related follow up PR: Fix available apis printing plumber#736
- Current
{plumber}
function implementation: https://github.com/rstudio/plumber/blob/e829af6a94380cb897441c1c56129504afb9564f/R/plumb.R#L84-L290
Metadata
Metadata
Assignees
Labels
No labels