informalr / snackman

Fun game inspired by Pacman with shrinking and growing features
GNU Affero General Public License v3.0
0 stars 1 forks source link

Decide on which function to use to launch the game #23

Closed FrieseWoudloper closed 3 years ago

FrieseWoudloper commented 3 years ago

I'd like to look into the difference between runApp(), ShinyApp() and shinyAppDir(), and propose the best way to launch our Shiny game. See https://www.r-bloggers.com/2019/06/shinyapp-runapp-shinyappdir-and-a-fourth-option/

FrieseWoudloper commented 3 years ago

Our game will probably be deployed on Shinyapps.io, an online platform for hosting Shiny apps. In that case, we shouldn't use runApp(), but shinyApp() or shinyAppDir(), otherwise the app will not launch and global options are not read. We could also use golem::run_app(), but then we should also decide upon using the golem framework for building our app (issue #24).