/heroku-buildpack-r-build2

Heroku buildpack for R (http://www.r-project.org) Build Automation

Primary LanguageRMIT LicenseMIT

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 22 Corresponds to numeric suffix of the Heroku Stack. Valid values include 18, 20 and 22.
UBUNTU_IMAGE ubuntu:22.04 The docker image for the Ubuntu image. Should correspond with the Ubuntu version of the Heroku Stack.
R_VERSION 4.2.1 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.