Skip to content

virtualstaticvoid/heroku-buildpack-r-build2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Heroku Buildpack R Build - Second Edition

CI

Build for the heroku-buildpack-r buildpack.

Prerequisites

Usage

To build, test and publish artifacts for the buildpack:

make build
make test
make publish

Variables

The following build variables are available:

Variable Default Notes
HEROKU_STACK 24 Corresponds to numeric suffix of the Heroku Stack. Valid values include 18, 20, 22 and 24.
UBUNTU_IMAGE ubuntu:24.04 The docker image for the Ubuntu image. Should correspond with the Ubuntu version of the Heroku Stack.
R_VERSION 4.4.2 The version of R to be built.
CRAN_VERSION cran40 The CRAN repository version.
BUILDPACK_VERSION latest Version of the buildpack. This maps to the directory used on S3. Valid values include at least latest and test.

E.g. To build for the heroku-20 stack

export HEROKU_STACK=20
make build
make test
make publish

Credits

License

MIT License. Copyright (c) 2020 Chris Stefano. See LICENSE for details.