tiernanmartin / NeighborhoodChangeTypology

Project: Neighborhood Change Typology for King County, WA
Other
4 stars 2 forks source link

Speed up the package build time #8

Closed tiernanmartin closed 5 years ago

tiernanmartin commented 5 years ago

Right now the package takes forever to build.

Look into ways to make the build time faster so that I can get more work done.

tiernanmartin commented 5 years ago

It's possible that the large files in extdata/ could be slowing things down (see here).

tiernanmartin commented 5 years ago

Editing the R CMD INSTALL options might be a good way to reduce the build time (see here).

tiernanmartin commented 5 years ago

Adding --no-inst to R CMD INSTALL dramatically reduces the build time:

image

tiernanmartin commented 5 years ago

Hmm... after doing this some of the changes I made were not included in the rebuild. 🤔

Then I tried clicking the 'Clean and Rebuild' option and the changes were included... not sure why that was necessary.

screenshot