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 whether to use {golem}: yes #37

Closed FrieseWoudloper closed 3 years ago

FrieseWoudloper commented 3 years ago

The golem framework makes it easier to develop large and complex Shiny apps and adhere to best practises. This issue may only be relevant if we decide to use Shiny modules (https://github.com/informalr/snackman/issues/24).

Hadley Wickham in Mastering Shiny recommends using modules and golem for more complex Shiny apps.

[...] if you’re making a complicated app, particularly if there are multiple authors, there are substantial advantages to making a full fledged package. If you want to do this, I recommend reading the Engineering Shiny book and using the accompanying golem package.

janclod commented 3 years ago

I totally agree in relying on a framework like golem.

I have experimented with here.

I thought that the whole point of using a framework was to free my hands from writing repetitive code and help me strucutre my project, but I found out:

...and found myself having to correct golem generated code templates.

One thing that worked very smoothly was deploying the app to shinyapps.io, but I never deployed without golem. So not sure about advantages.

richelbilderbeek commented 3 years ago

Sounds like there is agreement to me. I suggest to use golem then. Or do I overlook some pro-Shiny other team members?

richelbilderbeek commented 3 years ago

Golem it is!