Riksrevisjonen / pioneeR

R package for running a Shiny app for DEA analysis
https://riksrevisjonen.github.io/pioneeR/
GNU General Public License v3.0
6 stars 2 forks source link

Move code from `server()` to Shiny modules #102

Open ohjakobsen opened 4 months ago

ohjakobsen commented 4 months ago

The server() function is currently quite bloated. It should be split into modules for better readability and quality control. This will also facilitate the ability to provide separate apps for specialised tasks while keeping the functionality within the pioneeR app. The following functions should be split into modules:

All modules should be kept in a mod_*.R file with a *_ui() and *_server() function. All server modules should return a reactive object that can be passed to other modules if needed.