“Let’s be honest – all of your R Shiny app logic is contained in a single app.R file, and it’s probably several hundreds of lines long.” 😅 (Not always, but more often than I’d like to admit)
How to Create Your First R Shiny Module, by Dario Radečić on the @appsilon blog
https://appsilon.com/r-shiny-modules/
#rstats #RShiny @rstats
@analyst42 @smach @appsilon @rstats You don't have to do that, though. You can have modules, for examples, or source external files.
@nicolaromano @analyst42 @appsilon Yes, I often source external files with functions instead of putting everything in 2 big files. Makes testing easier. Modules would be a lot more re-usable, though.