Starts a standalone Shiny application for browsing an artist's artwork
collections. Use this to launch the modBrowse interface as a complete app,
typically during development or for single-artist portfolio displays.
The standalone app includes:
- Dark mode toggle (top-right corner)
- Full browse interface with collection selection
- All filtering and sorting functionality
- Statistics display
For production deployment, embed modBrowse in `appPlatform` instead.
Usage
run_app(artist, cn = NULL)
Arguments
- artist
Character. Artist UUID (format: `746bxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`).
Obtain from the platform database or use a known test artist UUID.
- cn
Database connection. Optional; passed to [artshiny::reactive_appdata()].
If NULL (default), the function creates and manages its own connection.
Value
A `shiny.appobj` (invisibly). Called for its side effect of running
the Shiny app. The app runs until the user closes the browser window or
stops the R session.
See also
* [modBrowseUI()] and [modBrowseServer()] for the module components
* [modBrowse_theme()] for the theme configuration
* [artshiny::reactive_appdata()] for reactive data initialization
Examples
if (FALSE) { # \dontrun{
# Launch browse app for a specific artist
modBrowse::run_app(artist = "746b8207-72f5-4ab6-8d19-a91d03daec3d")
} # }