rstudio / shiny-server

Host Shiny applications over the web.
https://rstudio.com/shiny/server
Other
714 stars 289 forks source link

Adminstrator's Guide is Missing Hosting Model for Packaged Applications #536

Closed DarioS closed 2 years ago

DarioS commented 2 years ago

Section 2.7 Hosting Model is missing details about how to correctly deploy applications that have been converted into packages (i.e. the Shiny code is in the R subdirectory). Application loading begins if R is tacked onto the end of the URL, such as, http://shiny.university.edu/applicationAsPackage/R/ (which is unsightly but otherwise there is Page Not Found Error) but it causes problems because commands like load("datasets/experiment.RData") no longer work like they do if load_all() is used at the RStudio command line from the top-level package directory to load the application. Currently, the guide looks like image and it makes no mention of the kind of folder structure described in Chapter 20 of Mastering Shiny book.

jcheng5 commented 2 years ago

I think that section in the Mastering Shiny book explains it near the end, specifically: https://mastering-shiny.org/scaling-packaging.html#deploying-your-app-package

DarioS commented 2 years ago

Ah, touché.