hadley / mastering-shiny

Mastering Shiny: a book
https://mastering-shiny.org/
Other
1.33k stars 566 forks source link

File organisation: not much info #592

Open nick-youngblut opened 1 year ago

nick-youngblut commented 1 year ago

the File organisation section doesn't have much info on actually organizing functions besides:

I recommend putting large functions (and any smaller helper functions that they need) into their own R/{function-name}.R file.

You might want to collect smaller, simpler, functions into one place. I often use R/utils.R for this, but if they’re primarily used in your ui you might use R/ui.R.

... assuming that one does not want to make a full-fledged package.

Questions that an shiny app developer might have: