View source: R/detect-app-type.R
| detect_app_type | R Documentation |
Scans appdir for Shiny entrypoints and returns the implied language.
R apps may use app.R or the pair server.R plus ui.R. Python apps
use app.py. A directory that carries both R and Python entrypoints
is rejected; the multi-app-suite path is the right place to combine them.
detect_app_type(appdir)
appdir |
Character path to the candidate app directory. Must exist. |
Character, either "r-shiny" or "py-shiny".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.