The binaries for the build pack can be built using Heroku's vulcan build server.
Create a build server using vulcan:
vulcan create vulcan-build-r
Where vulcan-build-r
is the name of the Heroku application created.
Initiate the build by running the vulcan-build
executable script:
$ ./vulcan-build
The build-r script will be uploaded to the vulcan build server and executed.
The R sources and dependencies are downloaded and compiled, and the binary output downloaded.
During the build process, the outputs from configure
and make
will be displayed in the console.
- To configure the R version to build, edit the
rversion
variable in the vulcan-build file. - The binaries output file must be uploaded to S3.
- Update the path in the compile file for your S3 bucket name and path.
Build script inspired by Noah Lorang's Rook on Heroku project.