Developing locally with RStudio
Last updated
Last updated
You can use RStudio to develop your Shiny application, whether starting a new application or migrating an already existing application. Follow these tips to ensure your RStudio workflow is optimized for Shiny on Heroku.
If you cloned the as a template, when creating a new project in RStudio select Version Control
Click Tools → Project Options → Packrat.
Make sure that the following checkboxes are all selected. This will speed up your deployment process after the initial deploy.
✔️ Use packrat with this project
✔️ Automatically snapshot local changes
✔️ Git ignore packrat library
✔️ Git ignore packrat sources
When creating a project from scratch in RStudio, make sure the following options are selected.
✔️ Create a git repository
✔️ Use packrat with this project
Open your project normally as you would through RStudio and enable Packrat, following the above instructions for enabling Packrat support in a project.