btubbs / heroku-buildpack-shiny

For deploying apps running on R's "Shiny" web framework
55 stars 9 forks source link

Added cache ability #4

Closed KentonWhite closed 10 years ago

KentonWhite commented 10 years ago

The buildpack was downloading the R binaries and installing all packages with every push to Heroku. Heroku supports caching of binaries and packages. Added this to the buildpack. Now the first push installs R binaries and all packages from scratch. Subsequent pushes will use the binaries and packages in the cache

Also added "internal" for unzip in the .RPofile options. On most Linux distributions, this is set out of the box. Heroku, for some reason, does not set this. Causes problems installing some packages. Easy fix so made the change.