heroku-buildpack-r icon indicating copy to clipboard operation
heroku-buildpack-r copied to clipboard

I would really appreciate a walkthrough for a regular R user

Open RMHogervorst opened this issue 5 years ago • 3 comments

Maybe something like:

  1. You have a script and want to run it on heroku
  2. run this command to start a new heroku project with this buildpack
  3. test if it works using this command
  4. deploy on heroku with this command

RMHogervorst avatar Sep 21 '20 06:09 RMHogervorst

I created a rough version here https://blog.rmhogervorst.nl/blog/2020/09/21/running-an-r-script-on-a-schedule-heroku/

RMHogervorst avatar Sep 23 '20 13:09 RMHogervorst

Hi @RMHogervorst

There are a couple posts I've see around, but all assume existing knowledge of R, Heroku, how projects are structured, how Heroku deployments work with buildpacks, combining multiple buildpacks etc. Also there isn't an opinionated way to test R programs in the context of Heroku; at least to my knowledge.

The most comprehensive post I've seen is this one by Steve Condylios although it is for a Shiny application.

Your 2018 post does a good job of covering the basics, albeit for the heroku-16 stack, but the buildpack hasn't changed that much for the current heroku-18 stack, so it is still relevant.

I'm afraid I have limited time at the moment, otherwise I'd have a go at writing a such a guide.

virtualstaticvoid avatar Sep 24 '20 21:09 virtualstaticvoid

I see what you mean, please don't feel pressured to create something because someone opened an issue 😉.

RMHogervorst avatar Sep 25 '20 06:09 RMHogervorst