With rmarkdown, the app source can be outside of the code cell using:
```{r}
shiny::shinyAppDir(
"path/to/shiny/app/"
)
```
Would it be possible to get a similar file name directive for shinylive? As it stands, something like:
```{shinylive-r}
#| standalone: true
#| viewerHeight: 600
shiny::shinyAppDir(
"path/to/shiny/app/"
)
```
or
```{shinylive-r}
#| standalone: true
#| viewerHeight: 600
#| shinyAppDir: path/to/shiny/app/
```
Note: This isn't quite the same as support for the ## file: directive (not yet implemented for R) that allows for breaking up a code cell inside of Quarto. This request focuses more on external apps vs. internal/embedded apps.
With
rmarkdown, the app source can be outside of the code cell using:Would it be possible to get a similar file name directive for shinylive? As it stands, something like:
or
Note: This isn't quite the same as support for the
## file:directive (not yet implemented for R) that allows for breaking up a code cell inside of Quarto. This request focuses more on external apps vs. internal/embedded apps.