Have just found [shinysnippets](https://github.com/ThinkR-open/shinysnippets). It would be useful if we could add them to R snippets.