In theory and practice this can be done in a similar fashion, just put all the functions in the package and export the main function to the user, make sure to have the package depend on shiny and other libraries used. Normally shiny apps will not be distributed as R packages, but via the web, people create the app deploy it on their server (or a server dedicated to hosting shiny apps) and have users interact with the shiny app via their browser.
@@DannyArends Thank you for your prompt response! I'm making an app to run mass-spectrometry proteomics analysis for non-coders. Initially I had planned to share my app via the web, but given the large files and computational power required, I figured it's probably better to make it easily available as a package to run locally.
Thank you for summarizing and sharing this info!
My pleasure! R packages are a great way to get your research out there
Thank you for another great video! Do you have any tips for creating a package from a large shiny app?
In theory and practice this can be done in a similar fashion, just put all the functions in the package and export the main function to the user, make sure to have the package depend on shiny and other libraries used.
Normally shiny apps will not be distributed as R packages, but via the web, people create the app deploy it on their server (or a server dedicated to hosting shiny apps) and have users interact with the shiny app via their browser.
@@DannyArends Thank you for your prompt response!
I'm making an app to run mass-spectrometry proteomics analysis for non-coders.
Initially I had planned to share my app via the web, but given the large files and computational power required, I figured it's probably better to make it easily available as a package to run locally.
Nice, then just package up the shiny app and have people run it locally. Good luck 👍