I am using packrat in an R project, and it is rather laborious to add functions to my custom package, rebuild, push to GitHub, and then re-download the package from GitHub into packrat. Besides taking a lot of extra time this involves pushing my new functions to the master, which is not ideal when I'm still iterating on new functions.
If I were not using packrat I could just rebuild the package locally, restart R and the updated version of the package would be accessible.
Is there a way to speed up this workflow and still use packrat?
Here is how I installed a locally built package in packrat:
After building the package locally from RStudio, a path was displayed in the Build tab:
Copy this path along with the package name and return to your project that is using packrat. In the console enter:
Your local package will now be in packrat and all of its functions will be available for use.