#RStats hivemind:

What is current best practice for including a shiny interface within a package?

Anyone know of a good example?

@coolbutuseless Not sure if if this answeres your question, but I think following the golem or leprechaun frameworks could be considered good practice. In both frameworks the package exports a run function that returns the shiny interface. The remainder of the shiny app is in internal functions. See for example: https://leprechaun.opifex.org
leprechaun

@friessn @coolbutuseless I'd agree with using those frameworks as the best practice. Here's an example dashboard built with golem: https://github.com/JohnCoene/coronavirus

Engineering Production Grade Shiny Apps book by Colin Fay is a great resource.

GitHub - JohnCoene/coronavirus: 🦠 Novel Coronavirus (COVID-19) Tracker

🦠 Novel Coronavirus (COVID-19) Tracker. Contribute to JohnCoene/coronavirus development by creating an account on GitHub.

GitHub